Skip to content

Commit f2a6dc1

Browse files
fix(deps): update rsbuild monorepo (v2) (#8718)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: caohuilin <caohuilin@bytedance.com>
1 parent 410e303 commit f2a6dc1

25 files changed

Lines changed: 855 additions & 966 deletions

File tree

.github/workflows/diff.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ jobs:
3434
cache: 'pnpm'
3535

3636
- name: Install Dependencies and Build
37+
env:
38+
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
3739
run: |
3840
pnpm install
3941

.github/workflows/test-builder-e2e.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,12 @@ jobs:
3636
cache: 'pnpm'
3737

3838
- name: Install Dependencies
39+
env:
40+
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
3941
run: pnpm install
4042

4143
- name: Install playwright
42-
run: node packages/toolkit/e2e/node_modules/@playwright/test/cli.js install
44+
run: node packages/toolkit/e2e/node_modules/@playwright/test/cli.js install chromium
4345

4446
- name: Test
4547
run: cd ./tests/e2e/builder && pnpm run test

.github/workflows/test-garfish-e2e.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,12 @@ jobs:
3636
cache: 'pnpm'
3737

3838
- name: Install Dependencies
39+
env:
40+
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
3941
run: pnpm install
4042

4143
- name: Install playwright
42-
run: node packages/toolkit/e2e/node_modules/@playwright/test/cli.js install
44+
run: node packages/toolkit/e2e/node_modules/@playwright/test/cli.js install chromium
4345

4446
- name: Test
4547
run: cd ./tests/e2e/garfish && pnpm run test

package.json

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -89,36 +89,5 @@
8989
"nx": "^22.4.2",
9090
"rimraf": "^6.0.1",
9191
"vitest": "^3.0.0"
92-
},
93-
"pnpm": {
94-
"overrides": {
95-
"h3": "^1.15.9",
96-
"tar": "^7.5.10",
97-
"micromatch": "^4.0.8",
98-
"debug": "^4.3.7",
99-
"diff": "^5.1.0",
100-
"tmp": "^0.2.6",
101-
"read-yaml-file>js-yaml": "3.14.2"
102-
},
103-
"peerDependencyRules": {
104-
"allowedVersions": {
105-
"@mdx-js/react@^1.6.22>react": "18"
106-
}
107-
},
108-
"allowedDeprecatedVersions": {
109-
"@babel/plugin-proposal-object-rest-spread": "7.12.1 || 7.20.7",
110-
"@babel/plugin-proposal-private-property-in-object": "7.21.0",
111-
"@financial-times/polyfill-useragent-normaliser": "1.10.2",
112-
"formidable": "1.2.6",
113-
"sourcemap-codec": "1.4.8",
114-
"js-polyfills": "0.1.43",
115-
"picturefill": "3.0.3",
116-
"querystring": "0.2.0",
117-
"string-similarity": "4.0.4",
118-
"source-map-resolve": "0.6.0 || 0.5.3",
119-
"@formatjs/intl-utils": "3.8.4",
120-
"uuid": "3.4.0",
121-
"trim": "0.0.1"
122-
}
12392
}
12493
}

packages/cli/plugin-bff/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
"type-is": "^1.6.18"
9191
},
9292
"devDependencies": {
93-
"@rsbuild/core": "1.7.5",
93+
"@rsbuild/core": "1.7.6",
9494
"@modern-js/app-tools": "workspace:*",
9595
"@modern-js/bff-runtime": "workspace:*",
9696
"@modern-js/core": "workspace:*",
@@ -107,7 +107,7 @@
107107
"memfs": "^3.5.3",
108108
"ts-jest": "^29.1.0",
109109
"typescript": "^5",
110-
"webpack": "^5.103.0",
110+
"webpack": "^5.108.0",
111111
"zod": "^3.22.3"
112112
},
113113
"sideEffects": false,

packages/cli/plugin-data-loader/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
"supertest": "^6.1.6",
7878
"ts-jest": "^29.1.0",
7979
"typescript": "^5",
80-
"webpack": "^5.103.0"
80+
"webpack": "^5.108.0"
8181
},
8282
"peerDependencies": {
8383
"react": ">=17.0.0"

packages/cli/plugin-swc/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
},
4040
"dependencies": {
4141
"@modern-js/utils": "workspace:*",
42-
"@rsbuild/core": "1.7.5",
42+
"@rsbuild/core": "1.7.6",
4343
"@rsbuild/plugin-webpack-swc": "1.1.2",
4444
"@swc/helpers": "^0.5.17"
4545
},

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@
2828
"dependencies": {
2929
"@swc/helpers": "^0.5.17",
3030
"esbuild": "0.25.5",
31-
"webpack": "^5.103.0"
31+
"webpack": "^5.108.0"
3232
},
3333
"devDependencies": {
34-
"@rsbuild/core": "1.7.5",
35-
"@rsbuild/webpack": "1.6.1",
34+
"@rsbuild/core": "1.7.6",
35+
"@rsbuild/webpack": "1.7.0",
3636
"@scripts/build": "workspace:*",
3737
"typescript": "^5.4.2"
3838
},

packages/cli/uni-builder/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"@modern-js/flight-server-transform-plugin": "workspace:*",
5050
"@modern-js/utils": "workspace:*",
5151
"@pmmmwh/react-refresh-webpack-plugin": "0.5.16",
52-
"@rsbuild/core": "1.7.5",
52+
"@rsbuild/core": "1.7.6",
5353
"@rsbuild/plugin-assets-retry": "1.5.2",
5454
"@rsbuild/plugin-babel": "1.2.1",
5555
"@rsbuild/plugin-check-syntax": "1.6.1",
@@ -63,10 +63,10 @@
6363
"@rsbuild/plugin-styled-components": "1.6.0",
6464
"@rsbuild/plugin-svgr": "1.3.1",
6565
"@rsbuild/plugin-toml": "1.1.2",
66-
"@rsbuild/plugin-type-check": "1.4.0",
66+
"@rsbuild/plugin-type-check": "1.5.0",
6767
"@rsbuild/plugin-typed-css-modules": "1.2.4",
6868
"@rsbuild/plugin-yaml": "1.0.5",
69-
"@rsbuild/webpack": "1.6.1",
69+
"@rsbuild/webpack": "1.7.0",
7070
"@swc/core": "1.15.8",
7171
"@swc/helpers": "^0.5.17",
7272
"autoprefixer": "10.4.23",
@@ -97,7 +97,7 @@
9797
"terser-webpack-plugin": "5.3.14",
9898
"ts-deepmerge": "7.0.2",
9999
"ts-loader": "9.4.4",
100-
"webpack": "^5.103.0",
100+
"webpack": "^5.108.0",
101101
"webpack-subresource-integrity": "5.1.0"
102102
},
103103
"devDependencies": {

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

Lines changed: 30 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1358,8 +1358,7 @@ exports[`uni-builder rspack > should generator rspack config correctly 1`] = `
13581358
"configFile": "tsconfig.json",
13591359
"memoryLimit": 8192,
13601360
"mode": "readonly",
1361-
"tsgo": false,
1362-
"typescriptPath": "<WORKSPACE>/node_modules/<PNPM_INNER>/typescript/lib/typescript.js",
1361+
"resolveRoot": "",
13631362
},
13641363
},
13651364
},
@@ -2399,8 +2398,7 @@ exports[`uni-builder rspack > should generator rspack config correctly when node
23992398
"configFile": "tsconfig.json",
24002399
"memoryLimit": 8192,
24012400
"mode": "readonly",
2402-
"tsgo": false,
2403-
"typescriptPath": "<WORKSPACE>/node_modules/<PNPM_INNER>/typescript/lib/typescript.js",
2401+
"resolveRoot": "",
24042402
},
24052403
},
24062404
},
@@ -3833,8 +3831,7 @@ exports[`uni-builder rspack > should generator rspack config correctly when prod
38333831
"configFile": "tsconfig.json",
38343832
"memoryLimit": 8192,
38353833
"mode": "readonly",
3836-
"tsgo": false,
3837-
"typescriptPath": "<WORKSPACE>/node_modules/<PNPM_INNER>/typescript/lib/typescript.js",
3834+
"resolveRoot": "",
38383835
},
38393836
},
38403837
},
@@ -4799,8 +4796,7 @@ exports[`uni-builder rspack > should generator rspack config correctly when serv
47994796
"configFile": "tsconfig.json",
48004797
"memoryLimit": 8192,
48014798
"mode": "readonly",
4802-
"tsgo": false,
4803-
"typescriptPath": "<WORKSPACE>/node_modules/<PNPM_INNER>/typescript/lib/typescript.js",
4799+
"resolveRoot": "",
48044800
},
48054801
},
48064802
},
@@ -6342,9 +6338,21 @@ exports[`uni-builder webpack > should generator webpack config correctly 1`] = `
63426338
"id": "web",
63436339
"modulesCount": 5000,
63446340
"name": "ProgressPlugin",
6341+
"options": {
6342+
"activeModules": false,
6343+
"dependencies": true,
6344+
"dependenciesCount": 10000,
6345+
"entries": true,
6346+
"handler": [Function],
6347+
"modules": true,
6348+
"modulesCount": 5000,
6349+
"percentBy": null,
6350+
"profile": false,
6351+
},
63456352
"percentBy": null,
63466353
"prettyTime": [Function],
63476354
"profile": false,
6355+
"progressBar": false,
63486356
"showActiveModules": false,
63496357
"showDependencies": true,
63506358
"showEntries": true,
@@ -6366,8 +6374,7 @@ exports[`uni-builder webpack > should generator webpack config correctly 1`] = `
63666374
"configFile": "tsconfig.json",
63676375
"memoryLimit": 8192,
63686376
"mode": "readonly",
6369-
"tsgo": false,
6370-
"typescriptPath": "<WORKSPACE>/node_modules/<PNPM_INNER>/typescript/lib/typescript.js",
6377+
"resolveRoot": "",
63716378
},
63726379
},
63736380
},
@@ -8052,9 +8059,21 @@ exports[`uni-builder webpack > should generator webpack config correctly when pr
80528059
"id": "web",
80538060
"modulesCount": 5000,
80548061
"name": "ProgressPlugin",
8062+
"options": {
8063+
"activeModules": false,
8064+
"dependencies": true,
8065+
"dependenciesCount": 10000,
8066+
"entries": true,
8067+
"handler": [Function],
8068+
"modules": true,
8069+
"modulesCount": 5000,
8070+
"percentBy": null,
8071+
"profile": false,
8072+
},
80558073
"percentBy": null,
80568074
"prettyTime": [Function],
80578075
"profile": false,
8076+
"progressBar": false,
80588077
"showActiveModules": false,
80598078
"showDependencies": true,
80608079
"showEntries": true,
@@ -8076,8 +8095,7 @@ exports[`uni-builder webpack > should generator webpack config correctly when pr
80768095
"configFile": "tsconfig.json",
80778096
"memoryLimit": 8192,
80788097
"mode": "readonly",
8079-
"tsgo": false,
8080-
"typescriptPath": "<WORKSPACE>/node_modules/<PNPM_INNER>/typescript/lib/typescript.js",
8098+
"resolveRoot": "",
80818099
},
80828100
},
80838101
},

0 commit comments

Comments
 (0)