Commit graph

5123 commits

Author SHA1 Message Date
bholmesdev
f72d03c62e fix: ContentEntryType import 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
ff611250d9 deps: add shiki for Code comp error 2023-03-03 08:39:39 -05:00
bholmesdev
319d5945c2 play: make sure md also works 2023-03-03 08:39:38 -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
24cabf10f0 chore: remove unused dream file 2023-03-03 08:39:37 -05:00
bholmesdev
57b36498fd refactor: remove fallback loader 2023-03-03 08:39:37 -05:00
bholmesdev
8beb9680cb fix: markdoc.config loading 2023-03-03 08:39:37 -05:00
bholmesdev
677ed58456 oops, forgot to commit untracked 2023-03-03 08:39:37 -05:00
bholmesdev
49d9972e88 refactor: pass file contents 2023-03-03 08:39:37 -05:00
bholmesdev
61723b5269 refactor: move plain md to content entry type 2023-03-03 08:39:37 -05:00
bholmesdev
85e49304c7 wip: move mdx to collection type API 2023-03-03 08:39:37 -05:00
bholmesdev
8818f58b72 deps: mdx 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
bholmesdev
4347ac3fef deps: graymatter 2023-03-03 08:39:37 -05:00
bholmesdev
3238a55c6a chore: unit tests 2023-03-03 08:39:37 -05:00
bholmesdev
80dd10cbe3 wip: get dream API for file loader working 2023-03-03 08:39:37 -05:00
bholmesdev
7d0a6b8042 wip: play with separate markdoc config 2023-03-03 08:39:37 -05:00
bholmesdev
fa52eb4844 fix: render attributes to html 2023-03-03 08:39:37 -05:00
bholmesdev
5b1492eb82 deps: stringify-attributes 2023-03-03 08:39:37 -05:00
bholmesdev
e141dc9da9 fix: component render bug 2023-03-03 08:39:37 -05:00
bholmesdev
a6920f2705 feat: basic Astro renderer in with-markdoc 2023-03-03 08:39:37 -05:00
bholmesdev
41275d2521 wip: expose Markdoc from integration 2023-03-03 08:39:37 -05:00
bholmesdev
36f2f01d6d feat: get markdoc contents 2023-03-03 08:39:37 -05:00
bholmesdev
f49f2cca6b chore: integration setup 2023-03-03 08:39:37 -05: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
natemoo-re
045262ee99 [ci] format 2023-02-27 21:28:07 +00:00
Joaquín Sánchez
02a7266e3c
fix: don't mix Vite plugins when spawning temporary Vite server (#6368)
* fix: don't mix Vite plugins when spawning temporary Vite server

* chore: include command to `createVite` options

* chore: use `command` and exclude `preview`

* chore: add test

* fix(test): remove command check from apply fn

* chore: add hint about filtering vite plugins and command

* chore: apply suggestion

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

---------

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Ben Holmes <hey@bholmes.dev>
2023-02-27 15:26:11 -06:00