Skip to content

Commit 8085603

Browse files
authored
fix(vite-plugin): add missing peer deps for rolldown babel (#2498)
1 parent 3d5c782 commit 8085603

2 files changed

Lines changed: 15 additions & 17 deletions

File tree

packages/vite-plugin/package.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,24 @@
4646
"@lingui/conf": "workspace:*"
4747
},
4848
"peerDependencies": {
49+
"@babel/core": "^7.29.0 || ^8.0.0-rc.1",
4950
"@lingui/babel-plugin-lingui-macro": "^5 || ^6",
5051
"@rolldown/plugin-babel": "^0.1.7 || ^0.2.0",
52+
"rolldown": "^1.0.0-rc.5",
5153
"vite": "^6.3.0 || ^7 || ^8"
5254
},
5355
"peerDependenciesMeta": {
56+
"@babel/core": {
57+
"optional": true
58+
},
5459
"@lingui/babel-plugin-lingui-macro": {
5560
"optional": true
5661
},
5762
"@rolldown/plugin-babel": {
5863
"optional": true
64+
},
65+
"rolldown": {
66+
"optional": true
5967
}
6068
},
6169
"devDependencies": {

yarn.lock

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2404,14 +2404,20 @@ __metadata:
24042404
vite-plugin-babel-macros: ^1.0.6
24052405
vitest: 4.0.18
24062406
peerDependencies:
2407+
"@babel/core": ^7.29.0 || ^8.0.0-rc.1
24072408
"@lingui/babel-plugin-lingui-macro": ^5 || ^6
24082409
"@rolldown/plugin-babel": ^0.1.7 || ^0.2.0
2410+
rolldown: ^1.0.0-rc.5
24092411
vite: ^6.3.0 || ^7 || ^8
24102412
peerDependenciesMeta:
2413+
"@babel/core":
2414+
optional: true
24112415
"@lingui/babel-plugin-lingui-macro":
24122416
optional: true
24132417
"@rolldown/plugin-babel":
24142418
optional: true
2419+
rolldown:
2420+
optional: true
24152421
languageName: unknown
24162422
linkType: soft
24172423

@@ -3230,23 +3236,7 @@ __metadata:
32303236
languageName: node
32313237
linkType: hard
32323238

3233-
"@rollup/pluginutils@npm:^5.0.1":
3234-
version: 5.0.3
3235-
resolution: "@rollup/pluginutils@npm:5.0.3"
3236-
dependencies:
3237-
"@types/estree": ^1.0.0
3238-
estree-walker: ^2.0.2
3239-
picomatch: ^2.3.1
3240-
peerDependencies:
3241-
rollup: ^1.20.0||^2.0.0||^3.0.0
3242-
peerDependenciesMeta:
3243-
rollup:
3244-
optional: true
3245-
checksum: 8efbdeac53c58ba7b26c353a0a95acb0286cb6afec9816e0c52c3537404be80af11d897f78416a3339a8a76cbce8600269bdf4853edfdebcc89b2e90c56bf3d9
3246-
languageName: node
3247-
linkType: hard
3248-
3249-
"@rollup/pluginutils@npm:^5.1.0, @rollup/pluginutils@npm:^5.2.0":
3239+
"@rollup/pluginutils@npm:^5.0.1, @rollup/pluginutils@npm:^5.1.0, @rollup/pluginutils@npm:^5.2.0":
32503240
version: 5.3.0
32513241
resolution: "@rollup/pluginutils@npm:5.3.0"
32523242
dependencies:

0 commit comments

Comments
 (0)