Commit graph

927 commits

Author SHA1 Message Date
bholmesdev
f0135576af feat: add perf benchmark check to mdx 2023-03-06 10:11:40 -05:00
bholmesdev
c16e79616a Revert "feat: support .md overrides for content collections"
This reverts commit c06f83ef85.
2023-03-06 10:11:18 -05:00
bholmesdev
3db67a2187 feat: generate .md types override 2023-03-06 10:11:18 -05:00
bholmesdev
a47e1b7709 feat: support .md overrides for content collections 2023-03-06 10:11:18 -05:00
bholmesdev
7331ce6350 deps: remove html-escaper 2023-03-06 10:11:18 -05:00
bholmesdev
9f0d50d55c fix: remove unneeded html-escaper 2023-03-06 10:11:18 -05:00
bholmesdev
702ca067d4 fix: type inferencing in preview 2023-03-06 10:11:18 -05:00
bholmesdev
785bd200c7 fix: import types from @astrojs/markdoc 2023-03-06 10:11:17 -05:00
bholmesdev
d24883f3f4 refactor: remove unneeded async 2023-03-06 10:11:17 -05:00
bholmesdev
7d69cbacff nit: 0.0.0 to avoid version bump 2023-03-06 10:11:17 -05:00
bholmesdev
24ea49063c nit: reorder type import 2023-03-06 10:11:17 -05:00
bholmesdev
d6137d0622 refactor: clean up astroNode 2023-03-06 10:11:17 -05:00
bholmesdev
a4a7f99435 docs: add usage and examples to Markdoc README 2023-03-06 10:11:17 -05:00
bholmesdev
4c65283027 fix: line endings in test 2023-03-06 10:11:17 -05:00
bholmesdev
f760756108 docs: @astrojs/markdoc README intro 2023-03-06 10:11:17 -05:00
bholmesdev
1ebea26bca chore: remove markdoc.config loader 2023-03-06 10:11:17 -05:00
bholmesdev
8e3f4ca430 feat: content prop types for markdoc! 2023-03-06 10:11:17 -05:00
bholmesdev
576b481adb feat: allow Render type injection 2023-03-06 10:11:17 -05:00
bholmesdev
e9e37cbff1 chore: remove unused options object 2023-03-06 10:11:17 -05:00
bholmesdev
be672248b5 chore: remove content-types. Too early! 2023-03-06 10:11:17 -05:00
bholmesdev
24efa3bade chore: Markdoc working! log 2023-03-06 10:11:17 -05:00
bholmesdev
bce7eb6cb5 test: content component dev and build 2023-03-06 10:11:17 -05:00
bholmesdev
260bde4054 test: prod builds 2023-03-06 10:11:17 -05:00
bholmesdev
39676acc50 fix: stop bundling markdoc for isTag 2023-03-06 10:11:17 -05:00
bholmesdev
10a9df65ed fix: avoid import if no config present (prod build error) 2023-03-06 10:11:16 -05:00
bholmesdev
6ac351eda0 chore: ignore .astro type error 2023-03-06 10:11:16 -05:00
bholmesdev
03d96d20e8 fix: remove "components" from tsconfig 2023-03-06 10:11:16 -05:00
bholmesdev
2159ad1e9d test: entry and collections parse 2023-03-06 10:11:16 -05:00
bholmesdev
1194763e2b deps: devalue, test fixture 2023-03-06 10:11:16 -05:00
bholmesdev
25aefb1a6b fix: markdoc.config loading 2023-03-06 10:11:16 -05:00
bholmesdev
e17e8735be refactor: pass file contents 2023-03-06 10:11:16 -05:00
bholmesdev
3ba5253ff7 wip: move mdx to collection type API 2023-03-06 10:11:16 -05:00
bholmesdev
a89fb2f2bd wip: scaffold content types 2023-03-06 10:11:16 -05:00
bholmesdev
b64e64b1a8 feat: move Renderer to markdoc, get Content component! 2023-03-06 10:11:16 -05:00
bholmesdev
10c8fa16be deps: move to @astrojs/markdoc 2023-03-06 10:11:16 -05:00
bholmesdev
092a1b1541 feat: addContentEntryType integration hook 2023-03-06 10:11:16 -05:00
bholmesdev
b97ea127e0 deps: graymatter 2023-03-06 10:11:16 -05:00
bholmesdev
926c82d8a5 wip: play with separate markdoc config 2023-03-06 10:11:16 -05:00
bholmesdev
30815b454a feat: basic Astro renderer in with-markdoc 2023-03-06 10:11:16 -05:00
bholmesdev
00da0737a3 wip: expose Markdoc from integration 2023-03-06 10:11:16 -05:00
bholmesdev
5315c50709 feat: get markdoc contents 2023-03-06 10:11:16 -05:00
bholmesdev
e5d009a3cf chore: integration setup 2023-03-06 10:11:16 -05:00
bluwy
1aea58f14a [ci] format 2023-03-06 14:58:51 +00:00
Bjorn Lu
c5bac09a42
Add page render benchmark (#6415) 2023-03-06 22:55:44 +08:00
Houston (Bot)
5c95f4f95a
[ci] release (#6377)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-03-02 14:32:38 -06:00
Juan Martín Seery
0e378c3b87
fix(vercel): update getRequest to use undici (#6380)
* fix(vercel): update getRequest to use undici

* Changeset

* haha ts-expect-error is a double-edged sword

---------

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-03-01 19:00:52 +00:00
Houston (Bot)
71743aeca7
[ci] release (#6359)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-27 08:55:42 -05:00
natemoo-re
b0aca3c66a [ci] format 2023-02-24 18:13:07 +00:00
Reece McDonald
26bf12ef3c
[Lit] render DSD attributes based on shadowRootOptions (#6351)
* [Lit] render DSD attributes based on `shadowRootOptions`

## Changes

- Update `@astrojs/lit`’s `server.js` to properly render elements with `delegatesFocus: false` set in their `shadowRootOptions`.
- Logic is based on `@lit-labs/ssr` [latest implementation as found here](b0c3f82ef0/packages/labs/ssr/src/lib/render-value.ts (L738))

## Testing

A test was added to ensure an element with `delegatesFocus` set to true has this attribute properly included in the rendered static markup.

* chore: add changeset
2023-02-24 12:10:56 -06:00
Houston (Bot)
a848a723f6
[ci] release (#6287)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-23 14:50:11 -06:00