Emanuele Stoppa
2da81e53c3
Merge branch 'main' into next
2024-11-27 14:31:09 +00:00
renovate[bot]
6fc29e3c24
fix(deps): update all non-major dependencies ( #12410 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-11-27 16:20:16 +08:00
Bjorn Lu
90ae100cf4
Unset charset=utf-8 content-type for md/mdx pages ( #12231 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-10-24 17:13:22 +08:00
bluwy
a393154906
Merge branch 'main' into next
2024-10-15 16:19:58 +08:00
renovate[bot]
5ab2d980aa
fix(deps): update all non-major dependencies ( #12218 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-10-15 14:42:58 +08:00
Princesseuh
b75758f883
Merge branch 'main' into next
2024-10-07 15:52:21 +02:00
renovate[bot]
fef0b8cce1
fix(deps): update all non-major dependencies ( #12140 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-07 17:44:43 +08:00
Matt Kane
abf9a89ac1
Implement legacy collections using glob ( #11976 )
...
* feat: support pattern arrays with glob
* wip
* feat: emulate legacy content collections
* Fixes
* Lint
* Correctly handle legacy data
* Fix tests
* Switch flag handling
* Fix warnings
* Add layout warning
* Update fixtures
* More tests!
* Handle empty md files
* Lockfile
* Dedupe name
* Handle data ID unslug
* Fix e2e
* Clean build
* Clean builds in tests
* Test fixes
* Fix test
* Fix typegen
* Fix tests
* Fixture updates
* Test updates
* Update changeset
* Test
* Remove wait in test
* Handle race condition
* Lock
* chore: changes from review
* Handle folders without config
* lint
* Fix test
* Update wording for auto-collections
* Delete legacyId
* Sort another fixture
* Rename flag to `legacy.collections`
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Changes from review
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* lockfile
* lock
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-10-04 16:13:51 +01:00
bluwy
e748c480a7
Merge branch 'main' into next
2024-10-01 11:21:48 +08:00
renovate[bot]
2594eb088d
fix(deps): update all non-major dependencies ( #12003 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-09-26 14:57:59 +01:00
Matt Kane
b0827022af
Merge branch 'main' into next
2024-09-18 16:43:14 +01:00
Matt Kane
53cb41e30e
fix: correctly handle head propagation in content layer deferred rendering ( #12014 )
...
* chore: run MDX tests against content layer
* Handle head propagation in deferred rendering
* Add changeset
* Update test
2024-09-18 15:15:51 +01:00
Matthew Phillips
4724b14431
Merge branch 'main' into next
2024-09-13 16:08:58 -04:00
Bjorn Lu
c9ae7b1b89
Handle MDX optimize for root hast node ( #11975 )
2024-09-12 18:47:55 +08:00
Florian Lefebvre
74722cb81c
feat(next): reference astro/client from astro/config ( #11925 )
2024-09-11 14:40:15 +02:00
Florian Lefebvre
38047119ff
feat(next): better tsconfig ( #11859 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-09-03 17:49:09 +02:00
renovate[bot]
48b85c13dd
fix(deps): update all non-major dependencies ( #11765 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-19 16:09:05 +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
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
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
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
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
Emanuele Stoppa
347bdfe550
[ci] format
2024-04-17 08:38:53 +00: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
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
Emanuele Stoppa
1e638c4019
chore: import sorting for test folder and e2e folder ( #10190 )
2024-02-22 13:58:10 +00:00
Oliver Speir
df37366556
MDX remark image props ( #9753 )
...
* rearrange plugins and add props to Image component
* add tests and update lockfile
* add changeset
* re-rearrange plugin order, gfm/smartypants then user defined then image related then shiki/prism
* make more generic
* add more/better tests
* remove unused logger
---------
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-01-23 18:18:09 -05:00
Bjorn Lu
e72efd6a9a
Use esbuild for env replacement ( #9652 )
2024-01-11 12:06:14 +08:00
Bjorn Lu
cdabf6ef02
Remove support for simple objects in endpoints ( #9181 )
...
* Deprecate simple object from endpoints
* Update changeset
* Add missing Response return
Co-authored-by: Happydev <81974850+MoustaphaDev@users.noreply.github.com>
* Update .changeset/clever-beds-notice.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Happydev <81974850+MoustaphaDev@users.noreply.github.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-11-27 12:51:57 -05:00
Bjorn Lu
153a5abb90
Remove deprecated features from Astro 3.0 ( #9168 )
2023-11-28 00:44:20 +08:00
Bjorn Lu
abf601233f
Update all dependencies ( #9138 )
...
Co-authored-by: delucis <delucis@users.noreply.github.com>
2023-11-21 12:09:19 +08:00
Ben Holmes
a8d72ceaee
[MDX] Support img
component prop for optimized images ( #8468 )
...
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2023-09-13 18:27:03 +02:00
Matthew Phillips
0752cf3688
Prevent React hook call warnings when used with MDX ( #8324 )
...
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-31 11:31:01 -04:00
Bjorn Lu
048846fd53
Update breaking dependencies ( #8201 )
2023-08-24 16:34:33 +08:00
Bjorn Lu
353dcb23e8
Update non-major dependencies ( #8199 )
2023-08-23 19:52:13 +08:00
Erika
2484dc4080
config: remove ~/assets alias ( #8113 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Mia Kanashi <chad@redpilled.dev>
2023-08-17 14:22:26 +02:00
Erika
b76c166bdd
feat: unflag experimental.assets ( #7921 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2023-08-16 10:21:05 +02:00
Erika
b3b640435b
nit: export props has been unnecessary.. forever ( #7646 )
2023-07-14 09:57:06 -04:00
Bjorn Lu
f275d058fc
Update safe dependencies ( #7430 )
2023-06-21 21:09:49 +08:00
Bjorn Lu
3e1fbc2c8f
Use stub image service for tests ( #7376 )
2023-06-13 22:47:24 +08:00
Happydev
bc7c164bc3
Do not silence runtime MDX errors ( #7089 )
...
* test: add fixture
* chore: remove unneeded files in fixture
* test: update test mdx filfe
* test: add test case
* mark component as mdx
* add error builder utility
* throw error when it comes from an MDX component
* chore: update lock file
* Add comment to refactor later
* apply review
* add missing comma
2023-06-09 20:21:32 +00:00
Ben Holmes
8034edd9ec
Fix [Object AsyncGenerator] logging for Markdoc components ( #7307 )
...
* Revert "Bug 6672 (#7062 )"
This reverts commit cf621340b0
.
* chore: remove unused test
* chore: changeset
2023-06-06 13:48:10 -04:00
wulinsheng123
cf621340b0
Bug 6672 ( #7062 )
...
* fix miss a head when the templaterender has a promise
* fix
* add some test
* test files move to md directory
* fix add
* delect file
---------
Co-authored-by: wuls <linsheng.wu@beantechs.com>
2023-05-30 08:05:48 -04:00
Bjorn Lu
ea16570b1e
Add MDX optimize option ( #7151 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-05-25 19:43:29 +08:00
Bjorn Lu
de5a25f4e9
Fix changeset publish ( #6923 )
2023-04-27 22:55:48 +08:00
Bjorn Lu
ec5f6a07ae
Upgrade turbo ( #6911 )
2023-04-27 11:39:15 +08:00
Erika
2511d58d58
feat(mdx): Add support for turning ![]() into <Image> ( #6824 )
2023-04-13 11:54:40 +02:00