Skip to content

Commit 1b31316

Browse files
authored
Add metadata for the Vite plugin registry (#2676)
Vite now has a plugin registry where users can browse for compatible plugins at https://registry.vite.dev/. These new keywords register `@mdx-js/rollup` with this registry. The `compatiblePackages` field declares compatibility ranges.
1 parent 2cac2e1 commit 1b31316

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

packages/rollup/package.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,12 @@
1010
"preact",
1111
"react",
1212
"remark",
13+
"rolldown",
14+
"rolldown-plugin",
1315
"rollup",
16+
"rollup-plugin",
17+
"vite",
18+
"vite-plugin",
1419
"vue"
1520
],
1621
"homepage": "https://mdxjs.com",
@@ -37,6 +42,21 @@
3742
"index.d.ts",
3843
"index.js"
3944
],
45+
"compatiblePackages": {
46+
"schemaVersion": 1,
47+
"rolldown": {
48+
"type": "compatible",
49+
"versions": "*"
50+
},
51+
"rollup": {
52+
"type": "compatible",
53+
"versions": ">=2.0.0"
54+
},
55+
"vite": {
56+
"type": "compatible",
57+
"versions": ">=2.0.0"
58+
}
59+
},
4060
"dependencies": {
4161
"@mdx-js/mdx": "^3.0.0",
4262
"@rollup/pluginutils": "^5.0.0",

0 commit comments

Comments
 (0)