Commit graph

5044 commits

Author SHA1 Message Date
bholmesdev
7cf156b79b fix: glob for single content extension 2023-02-14 09:28:09 -05:00
bholmesdev
c8b78f0008 chore: remove unused deps 2023-02-14 09:28:09 -05:00
bholmesdev
7ca872b202 chore: unused style tag 2023-02-14 09:28:09 -05:00
bholmesdev
833c2b110f chore: clean up Markdoc starter to essentials 2023-02-14 09:28:09 -05:00
bholmesdev
2220c1ab52 feat: content prop types for markdoc! 2023-02-14 09:28:09 -05:00
bholmesdev
eb750e96bd feat: allow Render type injection 2023-02-14 09:28:09 -05:00
bholmesdev
122816a4f9 chore: unused file 2023-02-14 09:28:09 -05:00
bholmesdev
04b22b288e chore: with-markdoc strictNullChecks 2023-02-14 09:28:09 -05:00
bholmesdev
908f44a561 play: add docs example with Aside and Since ported 2023-02-14 09:28:09 -05:00
bholmesdev
c9760680cd chore: remove unused options object 2023-02-14 09:28:09 -05:00
bholmesdev
4c959cf16d chore: remove content-types. Too early! 2023-02-14 09:28:09 -05:00
bholmesdev
f64fd97788 fix: ContentEntryType import 2023-02-14 09:28:09 -05:00
bholmesdev
0307142356 chore: Markdoc working! log 2023-02-14 09:28:09 -05:00
bholmesdev
bb9b89ac77 test: content component dev and build 2023-02-14 09:28:09 -05:00
bholmesdev
ef00c35e12 test: prod builds 2023-02-14 09:28:09 -05:00
bholmesdev
d0d5e2f984 fix: stop bundling markdoc for isTag 2023-02-14 09:28:09 -05:00
bholmesdev
8a40ff8ea3 fix: avoid import if no config present (prod build error) 2023-02-14 09:28:09 -05:00
bholmesdev
377d828268 chore: ignore .astro type error 2023-02-14 09:28:09 -05:00
bholmesdev
e2c9a266c9 fix: remove "components" from tsconfig 2023-02-14 09:28:09 -05:00
bholmesdev
08e1162ff1 deps: add shiki for Code comp error 2023-02-14 09:28:09 -05:00
bholmesdev
b4b1396039 play: make sure md also works 2023-02-14 09:28:09 -05:00
bholmesdev
fa9bd3bcec test: entry and collections parse 2023-02-14 09:28:09 -05:00
bholmesdev
7aa04e20bd deps: devalue, test fixture 2023-02-14 09:28:09 -05:00
bholmesdev
2db2660955 chore: remove unused dream file 2023-02-14 09:28:09 -05:00
bholmesdev
8ac0632d7c refactor: remove fallback loader 2023-02-14 09:28:09 -05:00
bholmesdev
37426a10bc fix: markdoc.config loading 2023-02-14 09:28:09 -05:00
bholmesdev
2decb70344 oops, forgot to commit untracked 2023-02-14 09:28:09 -05:00
bholmesdev
414bb9f90b refactor: pass file contents 2023-02-14 09:28:09 -05:00
bholmesdev
f7fa5e2107 refactor: move plain md to content entry type 2023-02-14 09:28:09 -05:00
bholmesdev
f994666007 wip: move mdx to collection type API 2023-02-14 09:28:09 -05:00
bholmesdev
10da5b9d1b deps: mdx 2023-02-14 09:28:09 -05:00
bholmesdev
336810b2cf wip: scaffold content types 2023-02-14 09:28:09 -05:00
bholmesdev
7a941a0b2d feat: move Renderer to markdoc, get Content component! 2023-02-14 09:28:09 -05:00
bholmesdev
da7bdb4e70 deps: move to @astrojs/markdoc 2023-02-14 09:28:09 -05:00
bholmesdev
75a0742b5f feat: addContentEntryType integration hook 2023-02-14 09:28:09 -05:00
bholmesdev
b63d390238 deps: graymatter 2023-02-14 09:28:09 -05:00
bholmesdev
d8baec8bd1 chore: unit tests 2023-02-14 09:28:09 -05:00
bholmesdev
4a275ab4d0 wip: get dream API for file loader working 2023-02-14 09:28:09 -05:00
bholmesdev
2bb0c5d98f wip: play with separate markdoc config 2023-02-14 09:28:09 -05:00
bholmesdev
570b83d525 fix: render attributes to html 2023-02-14 09:28:09 -05:00
bholmesdev
dc906d8a9c deps: stringify-attributes 2023-02-14 09:28:09 -05:00
bholmesdev
344fba56bb fix: component render bug 2023-02-14 09:28:09 -05:00
bholmesdev
38733a9e20 feat: basic Astro renderer in with-markdoc 2023-02-14 09:28:09 -05:00
bholmesdev
06696bd9c9 wip: expose Markdoc from integration 2023-02-14 09:28:09 -05:00
bholmesdev
e2b4f95dfd feat: get markdoc contents 2023-02-14 09:28:09 -05:00
bholmesdev
1d8c73d2c5 chore: integration setup 2023-02-14 09:28:09 -05:00
Ben Holmes
deacd5443a
Run integration config hook on astro sync (#6238)
* refactor: move sync to core

* fix: runHookConfigSetup in CLI

* chore: changeset

* fix: sync import on test-utils

* fix: use syncCli in check
2023-02-14 09:26:30 -05:00
MoustaphaDev
e00e934140 [ci] format 2023-02-13 22:21:23 +00:00
Happydev
c397be324f
fix: add support for js/mjs file extensions for Content Collections config file (#6229)
* test: add fixture

* test: add test case

* test: fix tests

* feat: support mjs/ js file extensions for cc config

* chore: sync lockfile

* test: make assertion more specific

* test: make template minimal

* chore: add changeset

* feat: add warning when `allowJs` is `false`

* improve warning

* extract tsconfig loader to another function

* rename to more descriptive variable

* apply review suggestion

Co-authored-by: Ben Holmes <hey@bholmes.dev>

---------

Co-authored-by: Ben Holmes <hey@bholmes.dev>
2023-02-13 22:19:16 +00:00
Houston (Bot)
27a0b6339b
[ci] release (#6200)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-13 15:26:13 -05:00