Bjorn Lu
423614ebb6
Fix MDX stack trace location with frontmatter ( #11717 )
2024-08-16 12:09:20 +08:00
renovate[bot]
315ec07e1b
fix(deps): update all non-major dependencies ( #11674 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-08-13 22:29:37 +08:00
Bjorn Lu
cc405dd1fe
Simplify eslint and pnpm config ( #11646 )
2024-08-09 00:14:39 +08:00
Darius
72c7ae9901
update formatter config ( #11640 )
...
* update formatter config
* format
---------
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-08-08 12:12:50 +02:00
Bjorn Lu
ea82b03cd6
Improve regex performance ( #11635 )
2024-08-07 16:01:23 +08:00
Bjorn Lu
69d54b4bf2
Remove more unused code ( #11598 )
2024-08-02 20:19:41 +08:00
renovate[bot]
750d5328c9
fix(deps): update all non-major dependencies ( #11565 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-31 21:17:26 +08:00
Houston (Bot)
aa05be3313
[ci] release ( #11481 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-07-18 16:05:23 +01:00
renovate[bot]
2113a56933
fix(deps): update all non-major dependencies ( #11426 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-07-17 14:48:07 +08:00
Matthew Phillips
b9e906f8e7
Revert "Fix attribute rendering for boolean values ( #11369 )" ( #11408 )
...
* Revert "Fix attribute rendering for boolean values (#11369 )"
This reverts commit e6de11f4a9
.
* Add a changeset
2024-07-03 17:44:51 -04:00
renovate[bot]
e60aab9a9f
fix(deps): update all non-major dependencies ( #11383 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-07-01 16:32:17 +08:00
Bjorn Lu
e6de11f4a9
Fix attribute rendering for boolean values ( #11369 )
2024-07-01 15:27:34 +08:00
Houston (Bot)
ce310f8292
[ci] release ( #11297 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-24 12:49:52 -04:00
renovate[bot]
47e78d4752
fix(deps): update all non-major dependencies ( #11318 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-06-24 22:33:33 +08:00
Houston (Bot)
83c565b36c
[ci] release ( #11233 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-17 15:39:57 +02:00
wackbyte
7d59750661
chore: logging cleanup ( #11263 )
2024-06-17 15:05:48 +08:00
renovate[bot]
68f1d0d13e
chore(deps): update all non-major dependencies ( #11269 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-17 14:18:41 +08:00
renovate[bot]
8725cb2f90
fix(deps): update all non-major dependencies ( #11222 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-11 08:59:21 +01:00
Houston (Bot)
48d53094cd
[ci] release ( #11186 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-06 11:02:22 -04:00
Emanuele Stoppa
803dd8061d
feat(container): provide a virtual module to load renderers ( #11144 )
...
* feat(container): provide a virtual module to load renderers
* address feedback
* chore: restore some default to allow to have PHP prototype working
* Thread through renderers and manifest
* Pass manifest too
* update changeset
* add diff
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* fix diff
* rebase and update lock
---------
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-06-05 11:39:42 +01:00
renovate[bot]
464b0a108e
fix(deps): update all non-major dependencies ( #11151 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-05-30 17:28:57 +08:00
Houston (Bot)
9ddd6387a7
[ci] release ( #11086 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-22 09:40:11 +02:00
Xetera
3cc3e2ccba
fix(renderer): omitting internal symbol from mdx props ( #10813 )
2024-05-21 17:48:19 +02:00
renovate[bot]
cb2586fa15
fix(deps): update all non-major dependencies ( #11015 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-05-13 16:19:23 +08:00
Houston (Bot)
770b9f06c3
[ci] release ( #10944 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-09 11:06:49 +01:00
renovate[bot]
f9b6f4fc2f
chore(deps): update all non-major dependencies ( #10958 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-05-09 15:20:13 +08:00
Bjorn Lu
ddd8e49d1a
MDX integration v3 ( #10935 )
...
* fix(mdx): convert remark-images-to-component plugin to a rehype plugin (#10697 )
* Remove fs read for MDX transform (#10866 )
* Tag MDX component for faster checks when rendering (#10864 )
* Use unified plugin only for MDX transform (#10869 )
* Only traverse children and handle mdxJsxTextElement when optimizing (#10885 )
* Rename to `optimize.ignoreComponentNames` in MDX (#10884 )
* Allow remark/rehype plugins added after mdx to work (#10877 )
* Improve MDX optimize with sibling nodes (#10887 )
* Improve types in rehype-optimize-static.ts
* Rename `ignoreComponentNames` to `ignoreElementNames`
I think this better reflects what it's actually doing
* Simplify plain MDX nodes in optimize option (#10934 )
* Format code
* Minimize diff changes
* Update .changeset/slimy-cobras-end.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Armand Philippot <59021693+ArmandPhilippot@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-05-08 10:25:27 +01:00
Bjorn Lu
685fc22bc6
Improve content collection styles and scripts build perf ( #10959 )
...
* Improve content collection styles and scripts build perf
* Update test
It was actually a bug. There was an empty module script injected.
* Skip test
* Fix test not matching non-ccc behaviour
* Workaround bug to make test pass
* Update .changeset/grumpy-pillows-develop.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-05-08 10:24:47 +01:00
renovate[bot]
05d58eff07
fix(deps): update all non-major dependencies ( #10901 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-30 12:00:05 +08:00
Bjorn Lu
d7dff64824
[ci] format
2024-04-23 15:25:25 +00:00
Bjorn Lu
a3e95dbeb0
Move MDX Vite plugin to new file ( #10854 )
2024-04-23 23:24:34 +08:00
renovate[bot]
8d5f3e8656
chore(deps): update all non-major dependencies ( #10833 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-04-22 22:52:30 +08:00
Bjorn Lu
2f4d627815
Refactor MDX postprocess plugin ( #10832 )
2024-04-22 21:18:27 +08:00
Bjorn Lu
237e17c8fe
Update major deps ( #10823 )
2024-04-20 00:11:20 +08:00
Emanuele Stoppa
347bdfe550
[ci] format
2024-04-17 08:38:53 +00:00
Houston (Bot)
668d97319c
[ci] release ( #10777 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-16 17:07:50 +01:00
Rishi Raj Jain
3e7a12c853
fix: MDX cannot find relative image path without leading ./ ( #10754 )
...
Co-authored-by: Oliver Speir <115520730+OliverSpeir@users.noreply.github.com>
2024-04-16 22:13:52 +08:00
Bjorn Lu
88ee63a3ba
Remove MDX processor on buildEnd ( #10770 )
2024-04-15 15:56:53 +08:00
Houston (Bot)
66bc1041d4
[ci] release ( #10739 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-11 13:24:47 +02:00
Emanuele Stoppa
683d51a5ee
feat: upgrade the minimum Node.js maintainance LTS version ( #10689 )
...
* feat: upgrade the minimum Node.js maintainance LTS version
* chore: update minimum npm version
* chore: revert npm change
* chore: address Erika's feedback
* chore: apply further suggestions
* Update .changeset/empty-rules-type.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-04-10 14:53:55 +01:00
Houston (Bot)
e2a780a46d
[ci] release ( #10674 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-04 13:11:24 -04:00
Bjorn Lu
db7f9c8703
Remove unnecessary recmaInjectImportMetaEnv
plugin for MDX ( #10673 )
2024-04-04 15:07:40 +08:00
Houston (Bot)
f7d6254f8f
[ci] release ( #10603 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-02 15:46:43 +08:00
Houston (Bot)
bb7707e171
[ci] release ( #10556 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-26 17:24:02 -04:00
Houston (Bot)
fdceed5889
[ci] release ( #10503 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-20 20:46:06 +05:30
Emanuele Stoppa
dfd146f591
Revert "[ci] format" ( #10417 )
...
* Revert "[ci] format"
This reverts commit 1863727215
.
* pin dependency
* update lock
2024-03-13 09:55:24 +00:00
Houston (Bot)
1863727215
[ci] format
2024-03-13 05:53:52 +00:00
Houston (Bot)
b3dbb49058
[ci] update lockfile ( #10234 )
...
Co-authored-by: matthewp <matthewp@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-03-13 13:52:42 +08:00
Houston (Bot)
0e074fb390
[ci] release ( #10365 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-11 10:25:30 +00:00
Bjorn Lu
9e1ef6f0c9
Fix mdx test fail with rehype-pretty-code ( #10370 )
2024-03-08 20:39:15 +08:00