Commit graph

5175 commits

Author SHA1 Message Date
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
18ad9528c0 deps: add shiki for Code comp error 2023-03-06 10:11:16 -05:00
bholmesdev
8fc6c585d8 play: make sure md also works 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
32cf9ad801 chore: remove unused dream file 2023-03-06 10:11:16 -05:00
bholmesdev
42dd981922 refactor: remove fallback loader 2023-03-06 10:11:16 -05:00
bholmesdev
25aefb1a6b fix: markdoc.config loading 2023-03-06 10:11:16 -05:00
bholmesdev
bfe35ab0c3 oops, forgot to commit untracked 2023-03-06 10:11:16 -05:00
bholmesdev
e17e8735be refactor: pass file contents 2023-03-06 10:11:16 -05:00
bholmesdev
e4d38c3498 refactor: move plain md to content entry type 2023-03-06 10:11:16 -05:00
bholmesdev
3ba5253ff7 wip: move mdx to collection type API 2023-03-06 10:11:16 -05:00
bholmesdev
2816b4f887 deps: mdx 2023-03-06 10:11:16 -05:00
bholmesdev
a89fb2f2bd wip: scaffold content types 2023-03-06 10:11:16 -05:00
bholmesdev
b64e64b1a8 feat: move Renderer to markdoc, get Content component! 2023-03-06 10:11:16 -05:00
bholmesdev
10c8fa16be deps: move to @astrojs/markdoc 2023-03-06 10:11:16 -05:00
bholmesdev
092a1b1541 feat: addContentEntryType integration hook 2023-03-06 10:11:16 -05:00
bholmesdev
b97ea127e0 deps: graymatter 2023-03-06 10:11:16 -05:00
bholmesdev
39ce218c49 chore: unit tests 2023-03-06 10:11:16 -05:00
bholmesdev
65846f4151 wip: get dream API for file loader working 2023-03-06 10:11:16 -05:00
bholmesdev
926c82d8a5 wip: play with separate markdoc config 2023-03-06 10:11:16 -05:00
bholmesdev
2b81656b67 fix: render attributes to html 2023-03-06 10:11:16 -05:00
bholmesdev
4b45522c88 deps: stringify-attributes 2023-03-06 10:11:16 -05:00
bholmesdev
9e5c5af3ce fix: component render bug 2023-03-06 10:11:16 -05:00
bholmesdev
30815b454a feat: basic Astro renderer in with-markdoc 2023-03-06 10:11:16 -05:00
bholmesdev
00da0737a3 wip: expose Markdoc from integration 2023-03-06 10:11:16 -05:00
bholmesdev
5315c50709 feat: get markdoc contents 2023-03-06 10:11:16 -05:00
bholmesdev
e5d009a3cf chore: integration setup 2023-03-06 10:11:16 -05:00
bluwy
1aea58f14a [ci] format 2023-03-06 14:58:51 +00:00
Bjorn Lu
c5bac09a42
Add page render benchmark (#6415) 2023-03-06 22:55:44 +08:00
Happydev
e0844852d3
Fix ?inline and ?raw css query suffixes inlined in style tags in development (#6426)
* test: add test cases

* test: add another expectation

* fix: don't crawl inline and raw css queries

* chore: changeset
2023-03-06 08:06:55 -05:00
Bjorn Lu
9d236c9417
Remove unused benchmarks (#6396)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-03-04 13:16:53 +08:00
李瑞丰
cd8469947b
Remove redundant comments when astro add update astro.config.mjs (#6412)
* Remove redundant comments when  update

* add \n

---------

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-03-03 09:41:11 -06:00
Erika
0abd1d3e42
Use undici's FormData for polyfilling (#6413)
* fix(webapi): Use undici's FormData instead of a polyfill

* chore: changeset
2023-03-03 14:47:24 +01:00
Bjorn Lu
13f6f591e3
Improve server-stress benchmark comment (#6405) 2023-03-03 11:55:31 +08:00
Brian McManus
4a18d27f97
Fix marketing typo by just removing extra info (#6410) 2023-03-02 15:47:13 -06:00
Brian McManus
e66847b36e
Update devcontainer names (#6409)
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-03-02 14:48:37 -06:00
Kanad Gupta
f4bf41bb27
fix: use official MDX extension (#6408)
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-03-02 14:48:17 -06:00
natemoo-re
4ec781bd89 [ci] format 2023-03-02 20:37:26 +00:00
Houston (Bot)
5c95f4f95a
[ci] release (#6377)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-03-02 14:32:38 -06:00
Emanuele Stoppa
f208b5f897
ci: use one action for comments (#6406)
* ci: use single action for comments

* Update .github/workflows/benchmark.yml

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>

---------

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2023-03-02 16:10:56 +00:00
Bjorn Lu
45501c531b
Teardown compiler to improve rendering perf (#6391)
* Teardown compiler to improve rendering perf

* Upgrade compiler to minor

* Try hacky test guard

* Nicer teardown flow
2023-03-02 14:54:07 +00:00
Juan Martín Seery
0e378c3b87
fix(vercel): update getRequest to use undici (#6380)
* fix(vercel): update getRequest to use undici

* Changeset

* haha ts-expect-error is a double-edged sword

---------

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-03-01 19:00:52 +00:00
Emanuele Stoppa
2678264f51
ci: correctly update comment in action (#6397) 2023-03-01 16:23:24 +00:00
Bjorn Lu
ee8b2a0672
Fix astro sync config merge (#6392)
* Fix astro sync config merge

* Fix getViteConfig type
2023-03-01 15:19:19 +00:00
Emanuele Stoppa
c1ca84a8c1
ci: add workflow dispatch (#6386) 2023-03-01 14:02:35 +00:00
Bjorn Lu
f4937949d6
Refactor benchmark script (#6376)
* Add timer setting

* Setup benchmark code

* Setup memory benchmark

* Add compare function

* Add result preview

* Setup results preview

* Simplify script for CI

* Update CI

* Cleanup

* Temp remove fork guard

* Fix stuff

* Fix again

* Fix quotes

* Fix multiline output

* Simplify title

* Fix memory numbers

* Remove astro bin dir

* Fix gc

* Add repo guards

* Fix wrong call

* Set max space size

* Remove guard

* Bump memory a bit

* Organize neatly

* Update readme

* Try large md

* Try no gc

* Revert markdown and gc changes

* Test sha

* Try ref

* Try 128mb

* Set 256

* Add guard

* Apply suggestions from code review

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Add docs comment

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-03-01 08:46:06 +00:00