Birk Skyum
0c9959704f
Bump vite to 4.4.6 ( #7746 )
2023-07-24 16:21:17 +08:00
Bjorn Lu
d8bae784b4
Fix organize-imports-cli with satisfies operator ( #7727 )
2023-07-20 20:47:36 +08:00
Erika
b3b640435b
nit: export props has been unnecessary.. forever ( #7646 )
2023-07-14 09:57:06 -04:00
THARAK HEGDE
4aecebae26
Fix MDX README typo ( #7567 )
2023-07-05 14:15:32 +08:00
Josh Goldberg ✨
2fea174303
feat: use typescript-eslint@v6's reworked configs ( #7425 )
2023-07-03 20:59:43 +08:00
Hippo
bc9ce779d3
Move code block titles into comments to match docs ( #7543 )
...
Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com>
2023-07-01 16:34:49 +02:00
Bjorn Lu
8e3cb20b5c
Format markdown files ( #7439 )
...
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2023-06-26 11:34:13 +08: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
MoustaphaDev
1ac016225d
[ci] format
2023-06-09 20:23:53 +00: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
Houston (Bot)
8a029d9889
[ci] release ( #7312 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-06 17:24:57 -04: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
Houston (Bot)
c64dfdd3d8
[ci] release ( #7254 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-02 10:51:28 -04:00
Ben Holmes
339529fc82
Markdoc asset bleed, second try ( #7185 )
...
* Revert "revert: markdoc asset bleed (#7178 )"
This reverts commit 57e65d247f
.
* fix: missing result param on `renderUniqueStylesheet`
* test: bundled styles (fails!)
* fix: use `type: 'external'` for links
* fix: split Astro components from markdoc config
* test: style bleed (it fails...)
* chore: remove unused util
* fix: revert entry change
* Stop traversing the graph when you encounter a propagated asset
* chore: cleanup unused `entry` prop
* refactor: add isPropagatedAssetsMod check
* chore: remove unused import
* chore: changeset
* Normalize path using vite
* Update packages/integrations/markdoc/src/index.ts
Co-authored-by: Ben Holmes <hey@bholmes.dev>
---------
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Co-authored-by: bholmesdev <bholmesdev@gmail.com>
Co-authored-by: Matthew Phillips <matthew@matthewphillips.info>
2023-05-31 19:18:07 -04:00
Houston (Bot)
ba865f5d64
[ci] release ( #7190 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-30 16:53:55 -04:00
matthewp
e20a3b20b7
[ci] format
2023-05-30 12:08:08 +00: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
29da199e9a
Document MDX optimize static logic ( #7221 )
...
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-05-30 15:46:33 +08: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
Emanuele Stoppa
7851f9258f
fix: detect mdx
files using full extension ( #7192 )
2023-05-24 10:20:06 +01:00
Bjorn Lu
27c6e01826
Remove @mdx-js/rollup
dependency ( #7191 )
2023-05-24 17:02:04 +08:00
Houston (Bot)
55a0439e00
[ci] release ( #7181 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-23 16:24:16 -04:00
Ben Holmes
57e65d247f
revert: markdoc asset bleed ( #7178 )
...
* revert: markdoc asset bleed
* chore: changeset
2023-05-23 12:16:50 -04:00
Houston (Bot)
64d2aba583
[ci] release ( #7163 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-22 15:16:13 -04:00
Ben Holmes
f558a9e205
[Markdoc] Fix global asset bleed ( #6758 )
...
* wip: propagatedAssets flag per-component
* Propagate in TreeNode
* fix: remove unused inject comment
* feat: make asset propagation an integration opt-in
* fix: remove crawlGraph stopper
* wip: logs to understand what's happening
* SSR mdoc files in dev
* feat: add astroPropagatedAssets flag with vite
* chore: remove console logs
* chore: cleanup hasContentFlag
* fix: set handlePropagation default for legacy integrations
* chore: changeset
* temp: silence acorn type error
* chore: revert pnpm-lock changes
* fix: check correct flag
* We need to handle propagation on markdown because of layouts
* Remove use of renderStyleElement
* Fix heading tests
* Fix merge conflict
* typeof function
* Switch the check
* Add comment on injection detection regexp
---------
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2023-05-22 13:50:01 -04:00
Houston (Bot)
31cbf4357e
[ci] release ( #7090 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-18 12:31:59 -04:00
Bjorn Lu
826e028900
Add files field to packages ( #7104 )
2023-05-17 16:54:00 +08:00
Houston (Bot)
51c8e7fe29
[ci] release ( #6977 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-04 12:49:17 -04:00
Bjorn Lu
49514e4ce4
Upgrade shiki to v0.14.1 ( #6932 )
...
* Upgrade shiki
* Update themes
* Update languages
* Simplify
* Fix compat for other remark code
* Update theme again
* Fix language gen
* Add changeset
* Fix code
* Update test theme colors
* Update changeset
* Fix test again
2023-05-03 11:07:57 -04: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
Bjorn Lu
edabf01b44
Upgrade to Vite 4.3 ( #6877 )
2023-04-25 22:04:45 +08:00
Houston (Bot)
b105ccb9ca
[ci] release ( #6835 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-04-13 14:41:56 -04:00
Princesseuh
c464bf258f
[ci] format
2023-04-13 09:56:50 +00:00
Erika
2511d58d58
feat(mdx): Add support for turning ![]() into <Image> ( #6824 )
2023-04-13 11:54:40 +02:00
Houston (Bot)
b2254bd786
[ci] release ( #6818 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-04-12 08:51:55 -04:00
bholmesdev
44bd5da6d0
[ci] format
2023-04-11 17:47:24 +00:00
Ben Holmes
f882bc1636
Refactor content collection transforms ( #6817 )
...
* feat: json collection POC
* wip: add test json file
* refactor: rework content flag transforms
* refactor: simplify propagatedAsset check
* chore: remove JSON playground code
* chore: respect build sourcemap option
* deps: magic-string, source-map
* chore: formatting
* fix: add sourcemaps to MDX plugin
* chore: changeset
* deps: remove magic-string from mdx
* chore: remove unecessary MagicString
2023-04-11 13:44:39 -04:00
Houston (Bot)
d531239201
[ci] release ( #6769 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-04-07 17:25:00 -04:00
matthewp
f2112452ad
[ci] format
2023-04-06 22:36:23 +00:00
Matthew Phillips
a98f6f418c
Prevent body head content injection in MDX when using layout ( #6779 )
2023-04-06 18:33:47 -04:00
Houston (Bot)
29e7b82b8d
[ci] release ( #6720 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-04-05 13:38:45 -04:00
Bjorn Lu
7116c021a3
Upgrade to Vite 4.2 ( #6759 )
2023-04-06 00:03:58 +08:00
Houston (Bot)
66e006028c
[ci] release ( #6612 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-03-22 20:53:15 +08:00
Houston (Bot)
6afb1efea8
[ci] release ( #6541 )
...
* [ci] release
* nit: typo in #6594 changeset
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ben Holmes <hey@bholmes.dev>
2023-03-21 08:03:46 -04:00
Erika
1e7d6af412
feat(all): Migrate to TypeScript 5.0 ( #6579 )
2023-03-20 17:02:07 +01:00
Bjorn Lu
392ba3e4d5
Fix mdx and markdoc integrations return type ( #6552 )
2023-03-16 23:02:37 +08:00
Houston (Bot)
43daac7a9b
[ci] release ( #6476 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-03-13 16:05:43 -04:00
Yan Thomas
a13e9d7e33
Consistency improvements to several package descriptions ( #6494 )
...
* Add small improvements to package descriptions
* Add changeset
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-03-13 09:25:47 -05:00