Skip to content

Commit 456ac07

Browse files
authored
feat: bump rsbuild 1.2.15 (#6908)
1 parent 7899005 commit 456ac07

File tree

17 files changed

+237
-232
lines changed

17 files changed

+237
-232
lines changed

packages/cli/plugin-swc/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
},
4040
"dependencies": {
4141
"@modern-js/utils": "workspace:*",
42-
"@rsbuild/core": "1.2.12",
43-
"@rsbuild/plugin-webpack-swc": "1.0.10",
42+
"@rsbuild/core": "1.2.15",
43+
"@rsbuild/plugin-webpack-swc": "1.0.11",
4444
"@swc/helpers": "0.5.13"
4545
},
4646
"devDependencies": {

packages/cli/rsbuild-plugin-esbuild/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"webpack": "^5.98.0"
3232
},
3333
"devDependencies": {
34-
"@rsbuild/core": "1.2.12",
34+
"@rsbuild/core": "1.2.15",
3535
"@rsbuild/webpack": "1.2.3",
3636
"@scripts/build": "workspace:*",
3737
"typescript": "^5.4.2"

packages/cli/uni-builder/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"@modern-js/flight-server-transform-plugin": "workspace:*",
4040
"@modern-js/utils": "workspace:*",
4141
"@pmmmwh/react-refresh-webpack-plugin": "0.5.15",
42-
"@rsbuild/core": "1.2.12",
42+
"@rsbuild/core": "1.2.15",
4343
"@rsbuild/plugin-assets-retry": "1.2.0",
4444
"@rsbuild/plugin-babel": "1.0.4",
4545
"@rsbuild/plugin-check-syntax": "1.3.0",
@@ -91,7 +91,7 @@
9191
},
9292
"devDependencies": {
9393
"@modern-js/types": "workspace:*",
94-
"@rsbuild/plugin-webpack-swc": "1.0.10",
94+
"@rsbuild/plugin-webpack-swc": "1.0.11",
9595
"@scripts/build": "workspace:*",
9696
"@scripts/vitest-config": "workspace:*",
9797
"@types/es-module-lexer": "^0.4.3",

packages/cli/uni-builder/tests/__snapshots__/babel.test.ts.snap

+6-6
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ exports[`plugin-babel (rspack mode) > should merge environment and shared babel
3535
"loader": "builtin:swc-loader",
3636
"options": {
3737
"env": {
38-
"coreJs": "3.40",
38+
"coreJs": "3.41",
3939
"mode": "entry",
4040
"targets": [
4141
"> 0.01%",
@@ -179,7 +179,7 @@ exports[`plugin-babel (rspack mode) > should merge environment and shared babel
179179
"loader": "builtin:swc-loader",
180180
"options": {
181181
"env": {
182-
"coreJs": "3.40",
182+
"coreJs": "3.41",
183183
"mode": "entry",
184184
"targets": [
185185
"> 0.01%",
@@ -315,7 +315,7 @@ exports[`plugin-babel (rspack mode) > should not set babel-loader when babel con
315315
"loader": "builtin:swc-loader",
316316
"options": {
317317
"env": {
318-
"coreJs": "3.40",
318+
"coreJs": "3.41",
319319
"mode": "entry",
320320
"targets": [
321321
"> 0.01%",
@@ -414,7 +414,7 @@ exports[`plugin-babel (rspack mode) > should set babel-loader when babel config
414414
"loader": "builtin:swc-loader",
415415
"options": {
416416
"env": {
417-
"coreJs": "3.40",
417+
"coreJs": "3.41",
418418
"mode": "entry",
419419
"targets": [
420420
"> 0.01%",
@@ -550,7 +550,7 @@ exports[`plugin-babel (rspack mode) > should set babel-loader when environment b
550550
"loader": "builtin:swc-loader",
551551
"options": {
552552
"env": {
553-
"coreJs": "3.40",
553+
"coreJs": "3.41",
554554
"mode": "entry",
555555
"targets": [
556556
"> 0.01%",
@@ -686,7 +686,7 @@ exports[`plugin-babel (rspack mode) > should set babel-loader when environment b
686686
"loader": "builtin:swc-loader",
687687
"options": {
688688
"env": {
689-
"coreJs": "3.40",
689+
"coreJs": "3.41",
690690
"mode": "entry",
691691
"targets": [
692692
"> 0.01%",

packages/cli/uni-builder/tests/__snapshots__/default.test.ts.snap

+8-8
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ exports[`uni-builder rspack > should generator rspack config correctly 1`] = `
149149
"loader": "builtin:swc-loader",
150150
"options": {
151151
"env": {
152-
"coreJs": "3.40",
152+
"coreJs": "3.41",
153153
"mode": "entry",
154154
"targets": [
155155
"> 0.01%",
@@ -228,7 +228,7 @@ exports[`uni-builder rspack > should generator rspack config correctly 1`] = `
228228
"loader": "builtin:swc-loader",
229229
"options": {
230230
"env": {
231-
"coreJs": "3.40",
231+
"coreJs": "3.41",
232232
"mode": "entry",
233233
"targets": [
234234
"> 0.01%",
@@ -634,7 +634,7 @@ exports[`uni-builder rspack > should generator rspack config correctly 1`] = `
634634
"loader": "builtin:swc-loader",
635635
"options": {
636636
"env": {
637-
"coreJs": "3.40",
637+
"coreJs": "3.41",
638638
"mode": "entry",
639639
"targets": [
640640
"> 0.01%",
@@ -726,7 +726,7 @@ exports[`uni-builder rspack > should generator rspack config correctly 1`] = `
726726
"loader": "builtin:swc-loader",
727727
"options": {
728728
"env": {
729-
"coreJs": "3.40",
729+
"coreJs": "3.41",
730730
"mode": "entry",
731731
"targets": [
732732
"> 0.01%",
@@ -2005,7 +2005,7 @@ exports[`uni-builder rspack > should generator rspack config correctly when prod
20052005
"loader": "builtin:swc-loader",
20062006
"options": {
20072007
"env": {
2008-
"coreJs": "3.40",
2008+
"coreJs": "3.41",
20092009
"mode": "entry",
20102010
"targets": [
20112011
"> 0.01%",
@@ -2084,7 +2084,7 @@ exports[`uni-builder rspack > should generator rspack config correctly when prod
20842084
"loader": "builtin:swc-loader",
20852085
"options": {
20862086
"env": {
2087-
"coreJs": "3.40",
2087+
"coreJs": "3.41",
20882088
"mode": "entry",
20892089
"targets": [
20902090
"> 0.01%",
@@ -2490,7 +2490,7 @@ exports[`uni-builder rspack > should generator rspack config correctly when prod
24902490
"loader": "builtin:swc-loader",
24912491
"options": {
24922492
"env": {
2493-
"coreJs": "3.40",
2493+
"coreJs": "3.41",
24942494
"mode": "entry",
24952495
"targets": [
24962496
"> 0.01%",
@@ -2582,7 +2582,7 @@ exports[`uni-builder rspack > should generator rspack config correctly when prod
25822582
"loader": "builtin:swc-loader",
25832583
"options": {
25842584
"env": {
2585-
"coreJs": "3.40",
2585+
"coreJs": "3.41",
25862586
"mode": "entry",
25872587
"targets": [
25882588
"> 0.01%",

packages/cli/uni-builder/tests/__snapshots__/environment.test.ts.snap

+4-4
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ exports[`uni-builder environment compat > should generator environment config co
150150
"loader": "builtin:swc-loader",
151151
"options": {
152152
"env": {
153-
"coreJs": "3.40",
153+
"coreJs": "3.41",
154154
"mode": "entry",
155155
"targets": [
156156
"> 0.01%",
@@ -229,7 +229,7 @@ exports[`uni-builder environment compat > should generator environment config co
229229
"loader": "builtin:swc-loader",
230230
"options": {
231231
"env": {
232-
"coreJs": "3.40",
232+
"coreJs": "3.41",
233233
"mode": "entry",
234234
"targets": [
235235
"> 0.01%",
@@ -635,7 +635,7 @@ exports[`uni-builder environment compat > should generator environment config co
635635
"loader": "builtin:swc-loader",
636636
"options": {
637637
"env": {
638-
"coreJs": "3.40",
638+
"coreJs": "3.41",
639639
"mode": "entry",
640640
"targets": [
641641
"> 0.01%",
@@ -727,7 +727,7 @@ exports[`uni-builder environment compat > should generator environment config co
727727
"loader": "builtin:swc-loader",
728728
"options": {
729729
"env": {
730-
"coreJs": "3.40",
730+
"coreJs": "3.41",
731731
"mode": "entry",
732732
"targets": [
733733
"> 0.01%",

packages/cli/uni-builder/tests/__snapshots__/styledComponents.test.ts.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ exports[`plugins/styled-components > should works in webpack swc mode 1`] = `
445445
"options": {
446446
"cwd": "",
447447
"env": {
448-
"coreJs": "3.40",
448+
"coreJs": "3.41",
449449
"mode": "entry",
450450
"targets": [
451451
"> 0.01%",

packages/cli/uni-builder/tests/__snapshots__/transformImport.test.ts.snap

+5-5
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ exports[`uni-builder rspack > should allow custom arco import config 1`] = `
3636
"loader": "builtin:swc-loader",
3737
"options": {
3838
"env": {
39-
"coreJs": "3.40",
39+
"coreJs": "3.41",
4040
"mode": "entry",
4141
"targets": [
4242
"> 0.01%",
@@ -136,7 +136,7 @@ exports[`uni-builder rspack > should allow filter arco import config 1`] = `
136136
"loader": "builtin:swc-loader",
137137
"options": {
138138
"env": {
139-
"coreJs": "3.40",
139+
"coreJs": "3.41",
140140
"mode": "entry",
141141
"targets": [
142142
"> 0.01%",
@@ -221,7 +221,7 @@ exports[`uni-builder rspack > should apply arco correctly 1`] = `
221221
"loader": "builtin:swc-loader",
222222
"options": {
223223
"env": {
224-
"coreJs": "3.40",
224+
"coreJs": "3.41",
225225
"mode": "entry",
226226
"targets": [
227227
"> 0.01%",
@@ -321,7 +321,7 @@ exports[`uni-builder rspack > should not apply arco when transformImport false 1
321321
"loader": "builtin:swc-loader",
322322
"options": {
323323
"env": {
324-
"coreJs": "3.40",
324+
"coreJs": "3.41",
325325
"mode": "entry",
326326
"targets": [
327327
"> 0.01%",
@@ -406,7 +406,7 @@ exports[`uni-builder rspack > should not apply arco when transformImport return
406406
"loader": "builtin:swc-loader",
407407
"options": {
408408
"env": {
409-
"coreJs": "3.40",
409+
"coreJs": "3.41",
410410
"mode": "entry",
411411
"targets": [
412412
"> 0.01%",

packages/devtools/client/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"@radix-ui/react-tabs": "^1.0.4",
4040
"@radix-ui/react-toast": "^1.1.5",
4141
"@radix-ui/themes": "^3.0.5",
42-
"@rsbuild/core": "1.2.12",
42+
"@rsbuild/core": "1.2.15",
4343
"@scripts/jest-config": "workspace:*",
4444
"@types/jest": "^29",
4545
"@types/lodash": "^4.14.202",

packages/devtools/plugin/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"@modern-js/server-core": "workspace:*",
7676
"@modern-js/types": "workspace:*",
7777
"@modern-js/uni-builder": "workspace:*",
78-
"@rsbuild/core": "1.2.12",
78+
"@rsbuild/core": "1.2.15",
7979
"@scripts/build": "workspace:*",
8080
"@swc/helpers": "0.5.13",
8181
"@types/node": "^14",

packages/runtime/plugin-runtime/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@
249249
"devDependencies": {
250250
"@modern-js/app-tools": "workspace:*",
251251
"@remix-run/web-fetch": "^4.1.3",
252-
"@rsbuild/core": "1.2.12",
252+
"@rsbuild/core": "1.2.15",
253253
"@scripts/build": "workspace:*",
254254
"@scripts/jest-config": "workspace:*",
255255
"@testing-library/react": "^13.4.0",

packages/solutions/app-tools/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
"@modern-js/types": "workspace:*",
102102
"@modern-js/uni-builder": "workspace:*",
103103
"@modern-js/utils": "workspace:*",
104-
"@rsbuild/core": "1.2.12",
104+
"@rsbuild/core": "1.2.15",
105105
"@rsbuild/plugin-node-polyfill": "1.3.0",
106106
"@swc/helpers": "0.5.13",
107107
"es-module-lexer": "^1.1.0",
@@ -114,7 +114,7 @@
114114
"std-env": "^3.7.0"
115115
},
116116
"devDependencies": {
117-
"@rsbuild/plugin-webpack-swc": "1.0.10",
117+
"@rsbuild/plugin-webpack-swc": "1.0.11",
118118
"@scripts/build": "workspace:*",
119119
"@scripts/jest-config": "workspace:*",
120120
"@types/babel__traverse": "7.20.6",

packages/solutions/module-tools/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
},
9292
"devDependencies": {
9393
"@modern-js/self": "workspace:@modern-js/module-tools@*",
94-
"@rsbuild/core": "1.2.12",
94+
"@rsbuild/core": "1.2.15",
9595
"@scripts/build": "workspace:*",
9696
"@scripts/vitest-config": "workspace:*",
9797
"@types/convert-source-map": "1.5.2",

packages/storybook/builder/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"@modern-js/runtime": "workspace:*",
6161
"@modern-js/uni-builder": "workspace:*",
6262
"@modern-js/utils": "workspace:*",
63-
"@rsbuild/core": "1.2.12",
63+
"@rsbuild/core": "1.2.15",
6464
"@storybook/components": "~7.6.12",
6565
"@storybook/core-common": "~7.6.12",
6666
"@storybook/csf-plugin": "~7.6.12",

packages/toolkit/plugin-v2/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
"devDependencies": {
8383
"@modern-js/types": "workspace:*",
8484
"@modern-js/uni-builder": "workspace:*",
85-
"@rsbuild/core": "1.2.12",
85+
"@rsbuild/core": "1.2.15",
8686
"@scripts/build": "workspace:*",
8787
"@scripts/jest-config": "workspace:*",
8888
"@types/jest": "^29",

0 commit comments

Comments
 (0)