Skip to content

Commit

Permalink
feat(deps): bump Rsbuild v1.0.7 (#6270)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiahan committed Sep 25, 2024
1 parent a3f88e1 commit 3a07a59
Show file tree
Hide file tree
Showing 17 changed files with 965 additions and 2,109 deletions.
5 changes: 5 additions & 0 deletions .changeset/silver-owls-rush.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@modern-js/uni-builder': patch
---

feat(deps): bump Rsbuild v1.0.7
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.0.6",
"@rsbuild/plugin-webpack-swc": "1.0.2",
"@rsbuild/core": "1.0.7",
"@rsbuild/plugin-webpack-swc": "1.0.3",
"@swc/helpers": "0.5.13"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/rsbuild-plugin-esbuild/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
"webpack": "^5.94.0"
},
"devDependencies": {
"@rsbuild/core": "1.0.6",
"@rsbuild/webpack": "1.0.6",
"@rsbuild/core": "1.0.7",
"@rsbuild/webpack": "1.0.7",
"@scripts/build": "workspace:*",
"typescript": "^5.4.2"
},
Expand Down
6 changes: 3 additions & 3 deletions packages/cli/uni-builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@modern-js/babel-preset": "workspace:*",
"@modern-js/utils": "workspace:*",
"@pmmmwh/react-refresh-webpack-plugin": "0.5.10",
"@rsbuild/core": "1.0.6",
"@rsbuild/core": "1.0.7",
"@rsbuild/plugin-assets-retry": "1.0.1",
"@rsbuild/plugin-babel": "1.0.1",
"@rsbuild/plugin-check-syntax": "1.0.1",
Expand All @@ -51,7 +51,7 @@
"@rsbuild/plugin-type-check": "1.0.1",
"@rsbuild/plugin-typed-css-modules": "1.0.2",
"@rsbuild/plugin-yaml": "1.0.2",
"@rsbuild/webpack": "1.0.6",
"@rsbuild/webpack": "1.0.7",
"@swc/helpers": "0.5.13",
"autoprefixer": "10.4.19",
"babel-loader": "9.1.3",
Expand Down Expand Up @@ -82,7 +82,7 @@
"webpack-subresource-integrity": "5.1.0"
},
"devDependencies": {
"@rsbuild/plugin-webpack-swc": "1.0.2",
"@rsbuild/plugin-webpack-swc": "1.0.3",
"@scripts/build": "workspace:*",
"@scripts/vitest-config": "workspace:*",
"@types/html-minifier-terser": "^7.0.2",
Expand Down
42 changes: 0 additions & 42 deletions packages/cli/uni-builder/tests/__snapshots__/default.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -904,13 +904,6 @@ exports[`uni-builder rspack > should generator rspack config correctly 1`] = `
"@swc/helpers": "<WORKSPACE>/node_modules/<PNPM_INNER>/@swc/helpers",
"react-refresh": "<WORKSPACE>/node_modules/<PNPM_INNER>/react-refresh",
},
"extensionAlias": {
".js": [
".ts",
".tsx",
".js",
],
},
"extensions": [
".ts",
".tsx",
Expand Down Expand Up @@ -1713,13 +1706,6 @@ exports[`uni-builder rspack > should generator rspack config correctly when node
"alias": {
"@swc/helpers": "<WORKSPACE>/node_modules/<PNPM_INNER>/@swc/helpers",
},
"extensionAlias": {
".js": [
".ts",
".tsx",
".js",
],
},
"extensions": [
".ts",
".tsx",
Expand Down Expand Up @@ -2662,13 +2648,6 @@ exports[`uni-builder rspack > should generator rspack config correctly when prod
"alias": {
"@swc/helpers": "<WORKSPACE>/node_modules/<PNPM_INNER>/@swc/helpers",
},
"extensionAlias": {
".js": [
".ts",
".tsx",
".js",
],
},
"extensions": [
".ts",
".tsx",
Expand Down Expand Up @@ -3397,13 +3376,6 @@ exports[`uni-builder rspack > should generator rspack config correctly when serv
"alias": {
"@swc/helpers": "<WORKSPACE>/node_modules/<PNPM_INNER>/@swc/helpers",
},
"extensionAlias": {
".js": [
".ts",
".tsx",
".js",
],
},
"extensions": [
".ts",
".tsx",
Expand Down Expand Up @@ -4501,13 +4473,6 @@ exports[`uni-builder webpack > should generator webpack config correctly 1`] = `
},
],
"resolve": {
"extensionAlias": {
".js": [
".ts",
".tsx",
".js",
],
},
"extensions": [
".ts",
".tsx",
Expand Down Expand Up @@ -5710,13 +5675,6 @@ exports[`uni-builder webpack > should generator webpack config correctly when pr
},
],
"resolve": {
"extensionAlias": {
".js": [
".ts",
".tsx",
".js",
],
},
"extensions": [
".ts",
".tsx",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -885,13 +885,6 @@ exports[`uni-builder environment compat > should generator environment config co
"@swc/helpers": "<WORKSPACE>/node_modules/<PNPM_INNER>/@swc/helpers",
"react-refresh": "<WORKSPACE>/node_modules/<PNPM_INNER>/react-refresh",
},
"extensionAlias": {
".js": [
".ts",
".tsx",
".js",
],
},
"extensions": [
".ts",
".tsx",
Expand Down Expand Up @@ -1599,13 +1592,6 @@ exports[`uni-builder environment compat > should generator environment config co
"alias": {
"@swc/helpers": "<WORKSPACE>/node_modules/<PNPM_INNER>/@swc/helpers",
},
"extensionAlias": {
".js": [
".ts",
".tsx",
".js",
],
},
"extensions": [
".ts",
".tsx",
Expand Down Expand Up @@ -2273,13 +2259,6 @@ exports[`uni-builder environment compat > should generator environment config co
"alias": {
"@swc/helpers": "<WORKSPACE>/node_modules/<PNPM_INNER>/@swc/helpers",
},
"extensionAlias": {
".js": [
".ts",
".tsx",
".js",
],
},
"extensions": [
".ts",
".tsx",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,10 @@ exports[`plugin-minimize > Terser and SWC minimizer should not coexist 1`] = `
"jsMinify": undefined,
},
"name": "swc-minimizer-plugin",
"rsbuildSourceMapConfig": {
"css": false,
"js": undefined,
},
},
SwcMinimizerPlugin {
"minifyOptions": {
Expand All @@ -181,6 +185,10 @@ exports[`plugin-minimize > Terser and SWC minimizer should not coexist 1`] = `
},
},
"name": "swc-minimizer-plugin",
"rsbuildSourceMapConfig": {
"css": false,
"js": undefined,
},
},
]
`;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,6 @@

exports[`plugin-module-scopes > should set entry correctly 1`] = `
{
"extensionAlias": {
".js": [
".ts",
".tsx",
".js",
],
},
"extensions": [
".ts",
".tsx",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,6 @@ exports[`plugins/styled-components > should works in webpack swc mode 1`] = `
"syntax": "typescript",
"tsx": true,
},
"preserveAllComments": true,
"transform": {
"decoratorMetadata": true,
"legacyDecorator": true,
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.0.6",
"@rsbuild/core": "1.0.7",
"@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.0.6",
"@rsbuild/core": "1.0.7",
"@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 @@ -220,7 +220,7 @@
"@modern-js/app-tools": "workspace:*",
"@modern-js/core": "workspace:*",
"@remix-run/web-fetch": "^4.1.3",
"@rsbuild/core": "1.0.6",
"@rsbuild/core": "1.0.7",
"@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 @@ -97,7 +97,7 @@
"@modern-js/types": "workspace:*",
"@modern-js/uni-builder": "workspace:*",
"@modern-js/utils": "workspace:*",
"@rsbuild/core": "1.0.6",
"@rsbuild/core": "1.0.7",
"@rsbuild/plugin-node-polyfill": "1.0.4",
"@swc/helpers": "0.5.13",
"@vercel/nft": "^0.26.4",
Expand All @@ -110,7 +110,7 @@
"std-env": "^3.7.0"
},
"devDependencies": {
"@rsbuild/plugin-webpack-swc": "1.0.2",
"@rsbuild/plugin-webpack-swc": "1.0.3",
"@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.0.6",
"@rsbuild/core": "1.0.7",
"@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.0.6",
"@rsbuild/core": "1.0.7",
"@storybook/components": "~7.6.12",
"@storybook/core-common": "~7.6.12",
"@storybook/csf-plugin": "~7.6.12",
Expand Down
Loading

0 comments on commit 3a07a59

Please sign in to comment.