Commit graph

56 commits

Author SHA1 Message Date
bholmesdev
ad56cd95c8 chore: raise error if no matching component found 2023-03-03 08:42:49 -05:00
bholmesdev
833a88e439 chore: check components are capitalized names 2023-03-03 08:42:48 -05:00
bholmesdev
cbfa05f218 deps: zod 2023-03-03 08:42:48 -05:00
bholmesdev
32dda6230e fix: indentation 2023-03-03 08:42:48 -05:00
bholmesdev
6cdf8cf243 fix: inconsistent tabs v spaces 2023-03-03 08:42:48 -05:00
bholmesdev
78ff16b8e8 docs: add separate HTML and component examples 2023-03-03 08:42:48 -05:00
bholmesdev
5d9d5ffb71 nit: add "today" to imply future support 2023-03-03 08:42:48 -05:00
bholmesdev
a4d1c0fa49 edit: add client component instructions 2023-03-03 08:42:48 -05:00
bholmesdev
c31bcc5918 docs: astro-ui-frameworks -> astro-components 2023-03-03 08:42:48 -05:00
bholmesdev
1f72257abe docs: update config to new Markdoc options 2023-03-03 08:42:48 -05:00
bholmesdev
a3a187b6d3 docs: query for -> query your collection 2023-03-03 08:42:48 -05:00
bholmesdev
97950729e9 test: update fixture to match new config 2023-03-03 08:42:48 -05:00
bholmesdev
de9784aa07 refactor: remove advanced component API 2023-03-03 08:42:48 -05:00
bholmesdev
cdf45e8e42 refactor: remove Markdoc export 2023-03-03 08:42:48 -05:00
bholmesdev
6193f994f1 chore: use Markdoc terms for transform 2023-03-03 08:42:48 -05:00
Ben Holmes
14760a37ba docs: only used in content collections
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-03-03 08:42:48 -05:00
bholmesdev
d66ee0dcd0 refactor: move markdoc transform to build time 2023-03-03 08:42:48 -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
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
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