Skip to content

Commit

Permalink
feat: bump rsbuild 1.2.15
Browse files Browse the repository at this point in the history
  • Loading branch information
9aoy committed Mar 5, 2025
1 parent 7899005 commit 2b9ed38
Show file tree
Hide file tree
Showing 17 changed files with 237 additions and 232 deletions.
4 changes: 2 additions & 2 deletions packages/cli/plugin-swc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
},
"dependencies": {
"@modern-js/utils": "workspace:*",
"@rsbuild/core": "1.2.12",
"@rsbuild/plugin-webpack-swc": "1.0.10",
"@rsbuild/core": "1.2.15",
"@rsbuild/plugin-webpack-swc": "1.0.11",
"@swc/helpers": "0.5.13"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/rsbuild-plugin-esbuild/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"webpack": "^5.98.0"
},
"devDependencies": {
"@rsbuild/core": "1.2.12",
"@rsbuild/core": "1.2.15",
"@rsbuild/webpack": "1.2.3",
"@scripts/build": "workspace:*",
"typescript": "^5.4.2"
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/uni-builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@modern-js/flight-server-transform-plugin": "workspace:*",
"@modern-js/utils": "workspace:*",
"@pmmmwh/react-refresh-webpack-plugin": "0.5.15",
"@rsbuild/core": "1.2.12",
"@rsbuild/core": "1.2.15",
"@rsbuild/plugin-assets-retry": "1.2.0",
"@rsbuild/plugin-babel": "1.0.4",
"@rsbuild/plugin-check-syntax": "1.3.0",
Expand Down Expand Up @@ -91,7 +91,7 @@
},
"devDependencies": {
"@modern-js/types": "workspace:*",
"@rsbuild/plugin-webpack-swc": "1.0.10",
"@rsbuild/plugin-webpack-swc": "1.0.11",
"@scripts/build": "workspace:*",
"@scripts/vitest-config": "workspace:*",
"@types/es-module-lexer": "^0.4.3",
Expand Down
12 changes: 6 additions & 6 deletions packages/cli/uni-builder/tests/__snapshots__/babel.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ exports[`plugin-babel (rspack mode) > should merge environment and shared babel
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.40",
"coreJs": "3.41",
"mode": "entry",
"targets": [
"> 0.01%",
Expand Down Expand Up @@ -179,7 +179,7 @@ exports[`plugin-babel (rspack mode) > should merge environment and shared babel
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.40",
"coreJs": "3.41",
"mode": "entry",
"targets": [
"> 0.01%",
Expand Down Expand Up @@ -315,7 +315,7 @@ exports[`plugin-babel (rspack mode) > should not set babel-loader when babel con
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.40",
"coreJs": "3.41",
"mode": "entry",
"targets": [
"> 0.01%",
Expand Down Expand Up @@ -414,7 +414,7 @@ exports[`plugin-babel (rspack mode) > should set babel-loader when babel config
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.40",
"coreJs": "3.41",
"mode": "entry",
"targets": [
"> 0.01%",
Expand Down Expand Up @@ -550,7 +550,7 @@ exports[`plugin-babel (rspack mode) > should set babel-loader when environment b
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.40",
"coreJs": "3.41",
"mode": "entry",
"targets": [
"> 0.01%",
Expand Down Expand Up @@ -686,7 +686,7 @@ exports[`plugin-babel (rspack mode) > should set babel-loader when environment b
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.40",
"coreJs": "3.41",
"mode": "entry",
"targets": [
"> 0.01%",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ exports[`uni-builder rspack > should generator rspack config correctly 1`] = `
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.40",
"coreJs": "3.41",
"mode": "entry",
"targets": [
"> 0.01%",
Expand Down Expand Up @@ -228,7 +228,7 @@ exports[`uni-builder rspack > should generator rspack config correctly 1`] = `
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.40",
"coreJs": "3.41",
"mode": "entry",
"targets": [
"> 0.01%",
Expand Down Expand Up @@ -634,7 +634,7 @@ exports[`uni-builder rspack > should generator rspack config correctly 1`] = `
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.40",
"coreJs": "3.41",
"mode": "entry",
"targets": [
"> 0.01%",
Expand Down Expand Up @@ -726,7 +726,7 @@ exports[`uni-builder rspack > should generator rspack config correctly 1`] = `
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.40",
"coreJs": "3.41",
"mode": "entry",
"targets": [
"> 0.01%",
Expand Down Expand Up @@ -2005,7 +2005,7 @@ exports[`uni-builder rspack > should generator rspack config correctly when prod
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.40",
"coreJs": "3.41",
"mode": "entry",
"targets": [
"> 0.01%",
Expand Down Expand Up @@ -2084,7 +2084,7 @@ exports[`uni-builder rspack > should generator rspack config correctly when prod
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.40",
"coreJs": "3.41",
"mode": "entry",
"targets": [
"> 0.01%",
Expand Down Expand Up @@ -2490,7 +2490,7 @@ exports[`uni-builder rspack > should generator rspack config correctly when prod
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.40",
"coreJs": "3.41",
"mode": "entry",
"targets": [
"> 0.01%",
Expand Down Expand Up @@ -2582,7 +2582,7 @@ exports[`uni-builder rspack > should generator rspack config correctly when prod
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.40",
"coreJs": "3.41",
"mode": "entry",
"targets": [
"> 0.01%",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ exports[`uni-builder environment compat > should generator environment config co
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.40",
"coreJs": "3.41",
"mode": "entry",
"targets": [
"> 0.01%",
Expand Down Expand Up @@ -229,7 +229,7 @@ exports[`uni-builder environment compat > should generator environment config co
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.40",
"coreJs": "3.41",
"mode": "entry",
"targets": [
"> 0.01%",
Expand Down Expand Up @@ -635,7 +635,7 @@ exports[`uni-builder environment compat > should generator environment config co
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.40",
"coreJs": "3.41",
"mode": "entry",
"targets": [
"> 0.01%",
Expand Down Expand Up @@ -727,7 +727,7 @@ exports[`uni-builder environment compat > should generator environment config co
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.40",
"coreJs": "3.41",
"mode": "entry",
"targets": [
"> 0.01%",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ exports[`plugins/styled-components > should works in webpack swc mode 1`] = `
"options": {
"cwd": "",
"env": {
"coreJs": "3.40",
"coreJs": "3.41",
"mode": "entry",
"targets": [
"> 0.01%",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ exports[`uni-builder rspack > should allow custom arco import config 1`] = `
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.40",
"coreJs": "3.41",
"mode": "entry",
"targets": [
"> 0.01%",
Expand Down Expand Up @@ -136,7 +136,7 @@ exports[`uni-builder rspack > should allow filter arco import config 1`] = `
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.40",
"coreJs": "3.41",
"mode": "entry",
"targets": [
"> 0.01%",
Expand Down Expand Up @@ -221,7 +221,7 @@ exports[`uni-builder rspack > should apply arco correctly 1`] = `
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.40",
"coreJs": "3.41",
"mode": "entry",
"targets": [
"> 0.01%",
Expand Down Expand Up @@ -321,7 +321,7 @@ exports[`uni-builder rspack > should not apply arco when transformImport false 1
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.40",
"coreJs": "3.41",
"mode": "entry",
"targets": [
"> 0.01%",
Expand Down Expand Up @@ -406,7 +406,7 @@ exports[`uni-builder rspack > should not apply arco when transformImport return
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.40",
"coreJs": "3.41",
"mode": "entry",
"targets": [
"> 0.01%",
Expand Down
2 changes: 1 addition & 1 deletion packages/devtools/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@radix-ui/react-tabs": "^1.0.4",
"@radix-ui/react-toast": "^1.1.5",
"@radix-ui/themes": "^3.0.5",
"@rsbuild/core": "1.2.12",
"@rsbuild/core": "1.2.15",
"@scripts/jest-config": "workspace:*",
"@types/jest": "^29",
"@types/lodash": "^4.14.202",
Expand Down
2 changes: 1 addition & 1 deletion packages/devtools/plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"@modern-js/server-core": "workspace:*",
"@modern-js/types": "workspace:*",
"@modern-js/uni-builder": "workspace:*",
"@rsbuild/core": "1.2.12",
"@rsbuild/core": "1.2.15",
"@scripts/build": "workspace:*",
"@swc/helpers": "0.5.13",
"@types/node": "^14",
Expand Down
2 changes: 1 addition & 1 deletion packages/runtime/plugin-runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@
"devDependencies": {
"@modern-js/app-tools": "workspace:*",
"@remix-run/web-fetch": "^4.1.3",
"@rsbuild/core": "1.2.12",
"@rsbuild/core": "1.2.15",
"@scripts/build": "workspace:*",
"@scripts/jest-config": "workspace:*",
"@testing-library/react": "^13.4.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/solutions/app-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
"@modern-js/types": "workspace:*",
"@modern-js/uni-builder": "workspace:*",
"@modern-js/utils": "workspace:*",
"@rsbuild/core": "1.2.12",
"@rsbuild/core": "1.2.15",
"@rsbuild/plugin-node-polyfill": "1.3.0",
"@swc/helpers": "0.5.13",
"es-module-lexer": "^1.1.0",
Expand All @@ -114,7 +114,7 @@
"std-env": "^3.7.0"
},
"devDependencies": {
"@rsbuild/plugin-webpack-swc": "1.0.10",
"@rsbuild/plugin-webpack-swc": "1.0.11",
"@scripts/build": "workspace:*",
"@scripts/jest-config": "workspace:*",
"@types/babel__traverse": "7.20.6",
Expand Down
2 changes: 1 addition & 1 deletion packages/solutions/module-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
},
"devDependencies": {
"@modern-js/self": "workspace:@modern-js/module-tools@*",
"@rsbuild/core": "1.2.12",
"@rsbuild/core": "1.2.15",
"@scripts/build": "workspace:*",
"@scripts/vitest-config": "workspace:*",
"@types/convert-source-map": "1.5.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/storybook/builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"@modern-js/runtime": "workspace:*",
"@modern-js/uni-builder": "workspace:*",
"@modern-js/utils": "workspace:*",
"@rsbuild/core": "1.2.12",
"@rsbuild/core": "1.2.15",
"@storybook/components": "~7.6.12",
"@storybook/core-common": "~7.6.12",
"@storybook/csf-plugin": "~7.6.12",
Expand Down
2 changes: 1 addition & 1 deletion packages/toolkit/plugin-v2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"devDependencies": {
"@modern-js/types": "workspace:*",
"@modern-js/uni-builder": "workspace:*",
"@rsbuild/core": "1.2.12",
"@rsbuild/core": "1.2.15",
"@scripts/build": "workspace:*",
"@scripts/jest-config": "workspace:*",
"@types/jest": "^29",
Expand Down
Loading

0 comments on commit 2b9ed38

Please sign in to comment.