Skip to content

Commit

Permalink
chore(deps): pin Rsbuild version (#6580)
Browse files Browse the repository at this point in the history
  • Loading branch information
9aoy authored Nov 28, 2024
1 parent 2ef496c commit 30f77f6
Show file tree
Hide file tree
Showing 16 changed files with 280 additions and 250 deletions.
5 changes: 5 additions & 0 deletions .changeset/moody-hairs-grow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@modern-js/uni-builder': patch
---

chore(deps): pin rsbuild version
2 changes: 1 addition & 1 deletion packages/cli/babel-preset/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"@babel/preset-typescript": "^7.26.0",
"@babel/runtime": "^7.26.0",
"@babel/types": "^7.26.0",
"@rsbuild/plugin-babel": "~1.0.3",
"@rsbuild/plugin-babel": "1.0.3",
"@swc/helpers": "0.5.13",
"@types/babel__core": "^7.20.5",
"babel-plugin-dynamic-import-node": "2.3.3",
Expand Down
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.1.5",
"@rsbuild/plugin-webpack-swc": "~1.0.8",
"@rsbuild/core": "1.1.6",
"@rsbuild/plugin-webpack-swc": "1.0.8",
"@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.96.1"
},
"devDependencies": {
"@rsbuild/core": "~1.1.5",
"@rsbuild/webpack": "~1.1.3",
"@rsbuild/core": "1.1.6",
"@rsbuild/webpack": "1.1.3",
"@scripts/build": "workspace:*",
"typescript": "^5.4.2"
},
Expand Down
38 changes: 19 additions & 19 deletions packages/cli/uni-builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,24 +34,24 @@
"@modern-js/babel-preset": "workspace:*",
"@modern-js/utils": "workspace:*",
"@pmmmwh/react-refresh-webpack-plugin": "0.5.15",
"@rsbuild/core": "~1.1.5",
"@rsbuild/plugin-assets-retry": "~1.0.6",
"@rsbuild/plugin-babel": "~1.0.3",
"@rsbuild/plugin-check-syntax": "~1.1.0",
"@rsbuild/plugin-css-minimizer": "~1.0.2",
"@rsbuild/plugin-less": "~1.1.0",
"@rsbuild/plugin-pug": "~1.0.2",
"@rsbuild/plugin-react": "~1.0.7",
"@rsbuild/plugin-rem": "~1.0.2",
"@rsbuild/plugin-sass": "~1.1.1",
"@rsbuild/plugin-source-build": "~1.0.1",
"@rsbuild/plugin-styled-components": "~1.1.0",
"@rsbuild/plugin-svgr": "~1.0.5",
"@rsbuild/plugin-toml": "~1.0.1",
"@rsbuild/plugin-type-check": "~1.1.0",
"@rsbuild/plugin-typed-css-modules": "~1.0.2",
"@rsbuild/plugin-yaml": "~1.0.2",
"@rsbuild/webpack": "~1.1.3",
"@rsbuild/core": "1.1.6",
"@rsbuild/plugin-assets-retry": "1.0.6",
"@rsbuild/plugin-babel": "1.0.3",
"@rsbuild/plugin-check-syntax": "1.1.0",
"@rsbuild/plugin-css-minimizer": "1.0.2",
"@rsbuild/plugin-less": "1.1.0",
"@rsbuild/plugin-pug": "1.0.2",
"@rsbuild/plugin-react": "1.0.7",
"@rsbuild/plugin-rem": "1.0.2",
"@rsbuild/plugin-sass": "1.1.1",
"@rsbuild/plugin-source-build": "1.0.1",
"@rsbuild/plugin-styled-components": "1.1.0",
"@rsbuild/plugin-svgr": "1.0.5",
"@rsbuild/plugin-toml": "1.0.1",
"@rsbuild/plugin-type-check": "1.1.0",
"@rsbuild/plugin-typed-css-modules": "1.0.2",
"@rsbuild/plugin-yaml": "1.0.2",
"@rsbuild/webpack": "1.1.3",
"@swc/helpers": "0.5.13",
"autoprefixer": "10.4.20",
"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.8",
"@rsbuild/plugin-webpack-swc": "1.0.8",
"@scripts/build": "workspace:*",
"@scripts/vitest-config": "workspace:*",
"@types/html-minifier-terser": "^7.0.2",
Expand Down
24 changes: 24 additions & 0 deletions packages/cli/uni-builder/tests/__snapshots__/default.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1023,6 +1023,10 @@ exports[`uni-builder rspack > should generator rspack config correctly 1`] = `
"web",
"browserslist:> 0.01%,not dead,not op_mini all",
],
"watchOptions": {
"aggregateTimeout": 0,
"ignored": /\\[\\\\\\\\/\\]\\(\\?:\\\\\\.git\\|node_modules\\)\\[\\\\\\\\/\\]/,
},
}
`;

Expand Down Expand Up @@ -1801,6 +1805,10 @@ exports[`uni-builder rspack > should generator rspack config correctly when node
},
},
"target": "node",
"watchOptions": {
"aggregateTimeout": 0,
"ignored": /\\[\\\\\\\\/\\]\\(\\?:\\\\\\.git\\|node_modules\\)\\[\\\\\\\\/\\]/,
},
}
`;

Expand Down Expand Up @@ -2846,6 +2854,10 @@ exports[`uni-builder rspack > should generator rspack config correctly when prod
"web",
"browserslist:> 0.01%,not dead,not op_mini all",
],
"watchOptions": {
"aggregateTimeout": 0,
"ignored": /\\[\\\\\\\\/\\]\\(\\?:\\\\\\.git\\|node_modules\\)\\[\\\\\\\\/\\]/,
},
}
`;

Expand Down Expand Up @@ -3603,6 +3615,10 @@ exports[`uni-builder rspack > should generator rspack config correctly when serv
"webworker",
"es5",
],
"watchOptions": {
"aggregateTimeout": 0,
"ignored": /\\[\\\\\\\\/\\]\\(\\?:\\\\\\.git\\|node_modules\\)\\[\\\\\\\\/\\]/,
},
}
`;

Expand Down Expand Up @@ -4851,6 +4867,10 @@ exports[`uni-builder webpack > should generator webpack config correctly 1`] = `
"web",
"browserslist:> 0.01%,not dead,not op_mini all",
],
"watchOptions": {
"aggregateTimeout": 0,
"ignored": /\\[\\\\\\\\/\\]\\(\\?:\\\\\\.git\\|node_modules\\)\\[\\\\\\\\/\\]/,
},
}
`;

Expand Down Expand Up @@ -6201,5 +6221,9 @@ exports[`uni-builder webpack > should generator webpack config correctly when pr
"web",
"browserslist:> 0.01%,not dead,not op_mini all",
],
"watchOptions": {
"aggregateTimeout": 0,
"ignored": /\\[\\\\\\\\/\\]\\(\\?:\\\\\\.git\\|node_modules\\)\\[\\\\\\\\/\\]/,
},
}
`;
Original file line number Diff line number Diff line change
Expand Up @@ -1004,6 +1004,10 @@ exports[`uni-builder environment compat > should generator environment config co
"web",
"browserslist:> 0.01%,not dead,not op_mini all",
],
"watchOptions": {
"aggregateTimeout": 0,
"ignored": /\\[\\\\\\\\/\\]\\(\\?:\\\\\\.git\\|node_modules\\)\\[\\\\\\\\/\\]/,
},
},
{
"context": "",
Expand Down Expand Up @@ -1742,6 +1746,10 @@ exports[`uni-builder environment compat > should generator environment config co
},
},
"target": "node",
"watchOptions": {
"aggregateTimeout": 0,
"ignored": /\\[\\\\\\\\/\\]\\(\\?:\\\\\\.git\\|node_modules\\)\\[\\\\\\\\/\\]/,
},
},
{
"context": "",
Expand Down Expand Up @@ -2441,6 +2449,10 @@ exports[`uni-builder environment compat > should generator environment config co
"webworker",
"es5",
],
"watchOptions": {
"aggregateTimeout": 0,
"ignored": /\\[\\\\\\\\/\\]\\(\\?:\\\\\\.git\\|node_modules\\)\\[\\\\\\\\/\\]/,
},
},
]
`;
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.1.5",
"@rsbuild/core": "1.1.6",
"@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.1.5",
"@rsbuild/core": "1.1.6",
"@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 @@ -222,7 +222,7 @@
"@modern-js/app-tools": "workspace:*",
"@modern-js/core": "workspace:*",
"@remix-run/web-fetch": "^4.1.3",
"@rsbuild/core": "~1.1.5",
"@rsbuild/core": "1.1.6",
"@scripts/build": "workspace:*",
"@scripts/jest-config": "workspace:*",
"@testing-library/react": "^13.4.0",
Expand Down
8 changes: 4 additions & 4 deletions packages/solutions/app-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,12 @@
"@babel/parser": "^7.22.15",
"@babel/traverse": "^7.23.2",
"@babel/types": "^7.26.0",
"@modern-js/plugin-v2": "workspace:*",
"@modern-js/core": "workspace:*",
"@modern-js/node-bundle-require": "workspace:*",
"@modern-js/plugin": "workspace:*",
"@modern-js/plugin-data-loader": "workspace:*",
"@modern-js/plugin-i18n": "workspace:*",
"@modern-js/plugin-v2": "workspace:*",
"@modern-js/prod-server": "workspace:*",
"@modern-js/rsbuild-plugin-esbuild": "workspace:*",
"@modern-js/server": "workspace:*",
Expand All @@ -106,8 +106,8 @@
"@modern-js/types": "workspace:*",
"@modern-js/uni-builder": "workspace:*",
"@modern-js/utils": "workspace:*",
"@rsbuild/core": "~1.1.5",
"@rsbuild/plugin-node-polyfill": "~1.2.0",
"@rsbuild/core": "1.1.6",
"@rsbuild/plugin-node-polyfill": "1.2.0",
"@swc/helpers": "0.5.13",
"@vercel/nft": "^0.26.4",
"es-module-lexer": "^1.1.0",
Expand All @@ -119,7 +119,7 @@
"std-env": "^3.7.0"
},
"devDependencies": {
"@rsbuild/plugin-webpack-swc": "~1.0.8",
"@rsbuild/plugin-webpack-swc": "1.0.8",
"@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.1.5",
"@rsbuild/core": "1.1.6",
"@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.1.5",
"@rsbuild/core": "1.1.6",
"@storybook/components": "~7.6.12",
"@storybook/core-common": "~7.6.12",
"@storybook/csf-plugin": "~7.6.12",
Expand Down
6 changes: 3 additions & 3 deletions packages/toolkit/plugin-v2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,14 @@
"test": "jest"
},
"dependencies": {
"@modern-js/utils": "workspace:*",
"@modern-js/node-bundle-require": "workspace:*",
"@modern-js/utils": "workspace:*",
"@swc/helpers": "0.5.13"
},
"devDependencies": {
"@rsbuild/core": "~1.1.5",
"@modern-js/uni-builder": "workspace:*",
"@modern-js/types": "workspace:*",
"@modern-js/uni-builder": "workspace:*",
"@rsbuild/core": "1.1.6",
"@scripts/build": "workspace:*",
"@scripts/jest-config": "workspace:*",
"@types/jest": "^29",
Expand Down
Loading

0 comments on commit 30f77f6

Please sign in to comment.