Commit graph

947 commits

Author SHA1 Message Date
bholmesdev
6217b7a1a1 refactor: use MarkdocError on render errors 2023-03-06 10:11:42 -05:00
bholmesdev
041f606343 chore: validate tags and nodes 2023-03-06 10:11:42 -05:00
bholmesdev
e82006066f chore: raise error if no matching component found 2023-03-06 10:11:42 -05:00
bholmesdev
781ff28abe chore: check components are capitalized names 2023-03-06 10:11:42 -05:00
bholmesdev
9d2b3ca03b deps: zod 2023-03-06 10:11:41 -05:00
bholmesdev
6fb8a60f49 fix: indentation 2023-03-06 10:11:41 -05:00
bholmesdev
b55a2c93b1 fix: inconsistent tabs v spaces 2023-03-06 10:11:41 -05:00
bholmesdev
253ea68505 docs: add separate HTML and component examples 2023-03-06 10:11:41 -05:00
bholmesdev
63483d5689 nit: add "today" to imply future support 2023-03-06 10:11:41 -05:00
bholmesdev
fc30be6e15 edit: add client component instructions 2023-03-06 10:11:41 -05:00
bholmesdev
2c5d2eb280 docs: astro-ui-frameworks -> astro-components 2023-03-06 10:11:41 -05:00
bholmesdev
aff5a67059 docs: update config to new Markdoc options 2023-03-06 10:11:41 -05:00
bholmesdev
eeaa3deb82 docs: query for -> query your collection 2023-03-06 10:11:41 -05:00
bholmesdev
4186664db0 test: update fixture to match new config 2023-03-06 10:11:41 -05:00
bholmesdev
95dab5393b refactor: remove advanced component API 2023-03-06 10:11:41 -05:00
bholmesdev
5966a9f5e1 refactor: remove Markdoc export 2023-03-06 10:11:41 -05:00
bholmesdev
0ff5274fe1 chore: use Markdoc terms for transform 2023-03-06 10:11:41 -05:00
Ben Holmes
4df2fceaf8 docs: only used in content collections
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-03-06 10:11:41 -05:00
bholmesdev
7d9eb01c8c refactor: move markdoc transform to build time 2023-03-06 10:11:41 -05:00
bholmesdev
9821b77486 refactor: ASTRO_CI_PERFORMANCE_RUN -> ASTRO_PERFORMANCE_BENCHMARK 2023-03-06 10:11:41 -05:00
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