Commit graph

3183 commits

Author SHA1 Message Date
bholmesdev
344550c0b2 fix: line endings in test 2023-02-14 09:28:10 -05:00
bholmesdev
23e2511a2e docs: @astrojs/markdoc README intro 2023-02-14 09:28:10 -05:00
bholmesdev
e6dbe7b272 chore: remove markdoc.config loader 2023-02-14 09:28:09 -05:00
bholmesdev
f4269010f1 chore: remove unused fixture dep 2023-02-14 09:28:09 -05:00
bholmesdev
7cf156b79b fix: glob for single content extension 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
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
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
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
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
matthewp
6d4810b08b [ci] format 2023-02-13 19:50:21 +00:00
Matthew Phillips
a7f18051b1
Prevent hydration mismatches in Preact (#6215) 2023-02-13 14:48:36 -05:00
bholmesdev
b46787c8eb [ci] format 2023-02-13 15:12:39 +00:00
Ben Holmes
baa2dbb3b5
Fix getEntryType failure on spaces in file name (#6218)
* fix: avoid url -> file -> url parsing

* chore: changeset
2023-02-13 10:10:33 -05:00
Sarah Rainsberger
2d72ea30ae
[docs] README typo fixes (#6233)
* [docs] README typo fixes

* adaptor -> adapter

Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>

* one more adapter

---------

Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2023-02-13 09:57:28 -04:00
matthewp
bf3aa2bcde [ci] format 2023-02-13 12:51:06 +00:00
Matthew Phillips
79783fc018
Fix head injection in body with slots.render() and head buffering (#6216)
* Fix head injection in body with slots.render() and head buffering

* Adding a changeset

* An MDX test too
2023-02-13 07:49:10 -05:00
Marvin Frachet
79f49acbe1
Fix 6206: Cloudflare function path resolving one step above (#6208)
* Fix 6206: Cloudflare function path resolving one step above
2023-02-13 02:19:38 +01:00