Skip to content

Commit

Permalink
chore(deps): update rsbuild monorepo (#6512)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: caohuilin <caohuilin@bytedance.com>
  • Loading branch information
renovate[bot] and caohuilin authored Nov 12, 2024
1 parent 71f9c79 commit 2a59ded
Show file tree
Hide file tree
Showing 16 changed files with 357 additions and 281 deletions.
2 changes: 1 addition & 1 deletion packages/cli/plugin-swc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
},
"dependencies": {
"@modern-js/utils": "workspace:*",
"@rsbuild/core": "~1.1.0-beta.1",
"@rsbuild/core": "~1.1.0",
"@rsbuild/plugin-webpack-swc": "~1.0.3",
"@swc/helpers": "0.5.13"
},
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.0-beta.1",
"@rsbuild/webpack": "~1.1.0-beta.1",
"@rsbuild/core": "~1.1.0",
"@rsbuild/webpack": "~1.1.0",
"@scripts/build": "workspace:*",
"typescript": "^5.4.2"
},
Expand Down
8 changes: 4 additions & 4 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.0-beta.1",
"@rsbuild/core": "~1.1.0",
"@rsbuild/plugin-assets-retry": "~1.0.1",
"@rsbuild/plugin-babel": "~1.0.1",
"@rsbuild/plugin-check-syntax": "~1.0.1",
"@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.3",
"@rsbuild/plugin-rem": "~1.0.1",
"@rsbuild/plugin-sass": "~1.1.0",
"@rsbuild/plugin-source-build": "~1.0.1",
"@rsbuild/plugin-styled-components": "~1.0.1",
"@rsbuild/plugin-styled-components": "~1.1.0",
"@rsbuild/plugin-svgr": "~1.0.3",
"@rsbuild/plugin-toml": "~1.0.1",
"@rsbuild/plugin-type-check": "~1.0.1",
"@rsbuild/plugin-typed-css-modules": "~1.0.2",
"@rsbuild/plugin-yaml": "~1.0.2",
"@rsbuild/webpack": "~1.1.0-beta.1",
"@rsbuild/webpack": "~1.1.0",
"@swc/helpers": "0.5.13",
"autoprefixer": "10.4.20",
"babel-loader": "9.1.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ exports[`plugin-babel (rspack mode) > should not set babel-loader when babel con
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.38",
"coreJs": "3.39",
"mode": "entry",
"targets": [
"> 0.01%",
Expand Down Expand Up @@ -128,7 +128,7 @@ exports[`plugin-babel (rspack mode) > should set babel-loader when babel config
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.38",
"coreJs": "3.39",
"mode": "entry",
"targets": [
"> 0.01%",
Expand Down
139 changes: 75 additions & 64 deletions packages/cli/uni-builder/tests/__snapshots__/default.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ exports[`uni-builder rspack > should generator rspack config correctly 1`] = `
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.38",
"coreJs": "3.39",
"mode": "entry",
"targets": [
"> 0.01%",
Expand Down Expand Up @@ -222,7 +222,7 @@ exports[`uni-builder rspack > should generator rspack config correctly 1`] = `
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.38",
"coreJs": "3.39",
"mode": "entry",
"targets": [
"> 0.01%",
Expand Down Expand Up @@ -616,7 +616,7 @@ exports[`uni-builder rspack > should generator rspack config correctly 1`] = `
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.38",
"coreJs": "3.39",
"mode": "entry",
"targets": [
"> 0.01%",
Expand Down Expand Up @@ -708,7 +708,7 @@ exports[`uni-builder rspack > should generator rspack config correctly 1`] = `
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.38",
"coreJs": "3.39",
"mode": "entry",
"targets": [
"> 0.01%",
Expand Down Expand Up @@ -986,6 +986,17 @@ 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",
],
".jsx": [
".tsx",
".jsx",
],
},
"extensions": [
".ts",
".tsx",
Expand All @@ -1006,62 +1017,7 @@ exports[`uni-builder rspack > should generator rspack config correctly 1`] = `
}
`;

exports[`uni-builder rspack > should generator rspack config correctly 2`] = `
[
"rsbuild:basic",
"rsbuild:entry",
"rsbuild:cache",
"rsbuild:target",
"rsbuild:output",
"rsbuild:resolve",
"rsbuild:file-size",
"rsbuild:clean-output",
"rsbuild:asset",
"rsbuild:html",
"rsbuild:app-icon",
"rsbuild:wasm",
"rsbuild:moment",
"rsbuild:node-addons",
"rsbuild:define",
"rsbuild:css",
"rsbuild:minimize",
"rsbuild:progress",
"rsbuild:swc",
"rsbuild:externals",
"rsbuild:split-chunks",
"rsbuild:inline-chunk",
"rsbuild:rsdoctor",
"rsbuild:resource-hints",
"rsbuild:performance",
"rsbuild:bundle-analyzer",
"rsbuild:server",
"rsbuild:manifest",
"rsbuild:module-federation",
"rsbuild:rspack-profile",
"rsbuild:lazy-compilation",
"rsbuild:sri",
"rsbuild:nonce",
"uni-builder:split-chunks",
"uni-builder:global-vars",
"uni-builder:devtool",
"uni-builder:emit-route-file",
"rsbuild:toml",
"rsbuild:yaml",
"uni-builder:antd",
"uni-builder:arco",
"rsbuild:sass",
"rsbuild:less",
"uni-builder:environment-defaults-plugin",
"uni-builder:plugin-html-minifier-terser",
"rsbuild:type-check",
"uni-builder:runtime-chunk",
"rsbuild:react",
"rsbuild:svgr",
"rsbuild:css-minimizer",
"uni-builder:postcss-plugins",
"rsbuild:styled-components",
]
`;
exports[`uni-builder rspack > should generator rspack config correctly 2`] = `undefined`;

exports[`uni-builder rspack > should generator rspack config correctly when node 1`] = `
{
Expand Down Expand Up @@ -1802,6 +1758,17 @@ 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",
],
".jsx": [
".tsx",
".jsx",
],
},
"extensions": [
".ts",
".tsx",
Expand Down Expand Up @@ -1961,7 +1928,7 @@ exports[`uni-builder rspack > should generator rspack config correctly when prod
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.38",
"coreJs": "3.39",
"mode": "entry",
"targets": [
"> 0.01%",
Expand Down Expand Up @@ -2040,7 +2007,7 @@ exports[`uni-builder rspack > should generator rspack config correctly when prod
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.38",
"coreJs": "3.39",
"mode": "entry",
"targets": [
"> 0.01%",
Expand Down Expand Up @@ -2434,7 +2401,7 @@ exports[`uni-builder rspack > should generator rspack config correctly when prod
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.38",
"coreJs": "3.39",
"mode": "entry",
"targets": [
"> 0.01%",
Expand Down Expand Up @@ -2526,7 +2493,7 @@ exports[`uni-builder rspack > should generator rspack config correctly when prod
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.38",
"coreJs": "3.39",
"mode": "entry",
"targets": [
"> 0.01%",
Expand Down Expand Up @@ -2824,6 +2791,17 @@ 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",
],
".jsx": [
".tsx",
".jsx",
],
},
"extensions": [
".ts",
".tsx",
Expand Down Expand Up @@ -3561,6 +3539,17 @@ 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",
],
".jsx": [
".tsx",
".jsx",
],
},
"extensions": [
".ts",
".tsx",
Expand Down Expand Up @@ -4768,6 +4757,17 @@ exports[`uni-builder webpack > should generator webpack config correctly 1`] = `
"alias": {
"@swc/helpers": "<WORKSPACE>/node_modules/<PNPM_INNER>/@swc/helpers",
},
"extensionAlias": {
".js": [
".ts",
".tsx",
".js",
],
".jsx": [
".tsx",
".jsx",
],
},
"extensions": [
".ts",
".tsx",
Expand Down Expand Up @@ -6097,6 +6097,17 @@ exports[`uni-builder webpack > should generator webpack config correctly when pr
"alias": {
"@swc/helpers": "<WORKSPACE>/node_modules/<PNPM_INNER>/@swc/helpers",
},
"extensionAlias": {
".js": [
".ts",
".tsx",
".js",
],
".jsx": [
".tsx",
".jsx",
],
},
"extensions": [
".ts",
".tsx",
Expand Down
Loading

0 comments on commit 2a59ded

Please sign in to comment.