Commit graph

925 commits

Author SHA1 Message Date
bholmesdev
d8f664c807 feat: add perf benchmark check to mdx 2023-03-03 08:42:47 -05:00
bholmesdev
9e45239133 Revert "feat: support .md overrides for content collections"
This reverts commit c06f83ef85.
2023-03-03 08:39:41 -05:00
bholmesdev
ed2b7b6cd4 feat: generate .md types override 2023-03-03 08:39:41 -05:00
bholmesdev
5aebbd88ca feat: support .md overrides for content collections 2023-03-03 08:39:41 -05:00
bholmesdev
d049a48cf1 deps: remove html-escaper 2023-03-03 08:39:41 -05:00
bholmesdev
af68496777 fix: remove unneeded html-escaper 2023-03-03 08:39:41 -05:00
bholmesdev
8abca5cba0 fix: type inferencing in preview 2023-03-03 08:39:41 -05:00
bholmesdev
a609356958 fix: import types from @astrojs/markdoc 2023-03-03 08:39:41 -05:00
bholmesdev
dfcf10bbc2 refactor: remove unneeded async 2023-03-03 08:39:41 -05:00
bholmesdev
937f7ad7c8 nit: 0.0.0 to avoid version bump 2023-03-03 08:39:41 -05:00
bholmesdev
9fd6156ce1 nit: reorder type import 2023-03-03 08:39:41 -05:00
bholmesdev
474250815e refactor: clean up astroNode 2023-03-03 08:39:41 -05:00
bholmesdev
870b5e1834 docs: add usage and examples to Markdoc README 2023-03-03 08:39:41 -05:00
bholmesdev
e6dd75910f fix: line endings in test 2023-03-03 08:39:41 -05:00
bholmesdev
fc7f50cecc docs: @astrojs/markdoc README intro 2023-03-03 08:39:41 -05:00
bholmesdev
af4ea22836 chore: remove markdoc.config loader 2023-03-03 08:39:41 -05:00
bholmesdev
f6cf48a806 feat: content prop types for markdoc! 2023-03-03 08:39:40 -05:00
bholmesdev
3a2a829236 feat: allow Render type injection 2023-03-03 08:39:40 -05:00
bholmesdev
f3e23ddf47 chore: remove unused options object 2023-03-03 08:39:40 -05:00
bholmesdev
a89453c335 chore: remove content-types. Too early! 2023-03-03 08:39:40 -05:00
bholmesdev
50fea0b7ae chore: Markdoc working! log 2023-03-03 08:39:40 -05:00
bholmesdev
f3bdf9e0f4 test: content component dev and build 2023-03-03 08:39:40 -05:00
bholmesdev
4312d6df11 test: prod builds 2023-03-03 08:39:40 -05:00
bholmesdev
b53b3ba84f fix: stop bundling markdoc for isTag 2023-03-03 08:39:40 -05:00
bholmesdev
9c5d41959d fix: avoid import if no config present (prod build error) 2023-03-03 08:39:40 -05:00
bholmesdev
a6cbf7b7e1 chore: ignore .astro type error 2023-03-03 08:39:40 -05:00
bholmesdev
624c851e58 fix: remove "components" from tsconfig 2023-03-03 08:39:40 -05:00
bholmesdev
328bfdc50f test: entry and collections parse 2023-03-03 08:39:38 -05:00
bholmesdev
0f13ea26e5 deps: devalue, test fixture 2023-03-03 08:39:38 -05:00
bholmesdev
8beb9680cb fix: markdoc.config loading 2023-03-03 08:39:37 -05:00
bholmesdev
49d9972e88 refactor: pass file contents 2023-03-03 08:39:37 -05:00
bholmesdev
85e49304c7 wip: move mdx to collection type API 2023-03-03 08:39:37 -05:00
bholmesdev
8690c522cf wip: scaffold content types 2023-03-03 08:39:37 -05:00
bholmesdev
abe1d40ba8 feat: move Renderer to markdoc, get Content component! 2023-03-03 08:39:37 -05:00
bholmesdev
a15c2fbd97 deps: move to @astrojs/markdoc 2023-03-03 08:39:37 -05:00
bholmesdev
9f589a9c4b feat: addContentEntryType integration hook 2023-03-03 08:39:37 -05:00
bholmesdev
4347ac3fef deps: graymatter 2023-03-03 08:39:37 -05:00
bholmesdev
7d0a6b8042 wip: play with separate markdoc config 2023-03-03 08:39:37 -05:00
bholmesdev
a6920f2705 feat: basic Astro renderer in with-markdoc 2023-03-03 08:39:37 -05:00
bholmesdev
41275d2521 wip: expose Markdoc from integration 2023-03-03 08:39:37 -05:00
bholmesdev
36f2f01d6d feat: get markdoc contents 2023-03-03 08:39:37 -05:00
bholmesdev
f49f2cca6b chore: integration setup 2023-03-03 08:39:37 -05: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
Nate Moore
504c7bacb8
Use getSetCookie, if available (#6347)
* fix: use getSetCookie, if available

* fix: explicitly use entries

* fix(image): be defensive on node@18.14.1

* chore: update changeset

* ci: skip test in 18.14.1
2023-02-23 13:41:00 -06:00
natemoo-re
eed2c85513 [ci] format 2023-02-23 15:22:22 +00:00