Commit graph

5029 commits

Author SHA1 Message Date
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
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
Nate Moore
8b7cb64dad
Preserve --root CLI flag on restart (#6049)
* fix(#5985): preserve `--root` CLI flag on restart

* fix: resolve --root relative to automatic root

* chore: revert container changes

* fix: pass flags.root to restart container

---------

Co-authored-by: Nate Moore <nate@astro.build>
2023-02-09 14:02:51 -06:00
Houston (Bot)
d6845245f2
[ci] release (#6184)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-09 14:27:56 -05:00
matthewp
9e7a198132 [ci] format 2023-02-09 19:24:45 +00:00
Matthew Phillips
a9bdd9cc4e
Fixes usage of Code component in Vercel (#6198)
* Fixes usage of Code component in Vercel

* Adding a changeset
2023-02-09 14:22:57 -05:00
Bryce Russell
c75d319ee6
Fix types for TableHTMLAttributes (#6197)
* Fix types for TableHTMLAttributes

- Add 'string' type to 'border' attribute
- Add 'false | true' to 'frame' attribute

Thanks Princesseuh for helping

* Create sixty-scissors-refuse.md

* Make changeset more descriptive

* Fix previous changset

---------

Co-authored-by: BryceRussell <19967622+BryceRussell@users.noreply.github.com>
2023-02-09 13:12:15 -06:00
Chris Swithinbank
11e1fa9883
Vercel adapter README tweaks (#6191) 2023-02-09 18:14:57 +01:00
matthewp
e44e340f7e [ci] format 2023-02-09 16:52:23 +00:00