Skip to content

Commit

Permalink
fix: update
Browse files Browse the repository at this point in the history
  • Loading branch information
9aoy committed Dec 9, 2024
1 parent 3e3661a commit 2111642
Show file tree
Hide file tree
Showing 13 changed files with 160 additions and 536 deletions.
2 changes: 1 addition & 1 deletion packages/cli/plugin-bff/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
"memfs": "^3.5.1",
"ts-jest": "^29.1.0",
"typescript": "^5",
"webpack": "^5.96.1"
"webpack": "^5.97.1"
},
"sideEffects": false,
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/plugin-data-loader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"supertest": "^6.1.6",
"ts-jest": "^29.1.0",
"typescript": "^5",
"webpack": "^5.96.1"
"webpack": "^5.97.1"
},
"peerDependencies": {
"react": ">=17.0.0"
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 @@ -28,7 +28,7 @@
"dependencies": {
"@swc/helpers": "0.5.13",
"esbuild": "0.17.19",
"webpack": "^5.96.1"
"webpack": "^5.97.1"
},
"devDependencies": {
"@rsbuild/core": "1.1.9",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/uni-builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"terser-webpack-plugin": "5.3.10",
"ts-deepmerge": "7.0.2",
"ts-loader": "9.4.4",
"webpack": "^5.96.1",
"webpack": "^5.97.1",
"webpack-subresource-integrity": "5.1.0"
},
"devDependencies": {
Expand Down
60 changes: 48 additions & 12 deletions packages/cli/uni-builder/tests/__snapshots__/default.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,9 @@ exports[`uni-builder rspack > should generator rspack config correctly 1`] = `
],
},
{
"dependency": {
"not": "url",
},
"resolve": {
"preferRelative": true,
},
Expand Down Expand Up @@ -498,6 +501,9 @@ exports[`uni-builder rspack > should generator rspack config correctly 1`] = `
"implementation": "<WORKSPACE>/node_modules/<PNPM_INNER>/sass-embedded/dist/lib/index.js",
"sassOptions": {
"quietDeps": true,
"silenceDeprecations": [
"import",
],
},
"sourceMap": true,
},
Expand Down Expand Up @@ -685,7 +691,7 @@ exports[`uni-builder rspack > should generator rspack config correctly 1`] = `
},
},
{
"loader": "<WORKSPACE>/node_modules/<PNPM_INNER>/@rsbuild/plugin-svgr/dist/loader.cjs",
"loader": "<WORKSPACE>/node_modules/<PNPM_INNER>/@rsbuild/plugin-svgr/dist/loader.mjs",
"options": {
"exportType": "default",
"svgo": true,
Expand Down Expand Up @@ -777,7 +783,7 @@ exports[`uni-builder rspack > should generator rspack config correctly 1`] = `
},
},
{
"loader": "<WORKSPACE>/node_modules/<PNPM_INNER>/@rsbuild/plugin-svgr/dist/loader.cjs",
"loader": "<WORKSPACE>/node_modules/<PNPM_INNER>/@rsbuild/plugin-svgr/dist/loader.mjs",
"options": {
"exportType": "named",
"svgo": true,
Expand Down Expand Up @@ -1400,6 +1406,9 @@ exports[`uni-builder rspack > should generator rspack config correctly when node
],
},
{
"dependency": {
"not": "url",
},
"resolve": {
"preferRelative": true,
},
Expand Down Expand Up @@ -1438,6 +1447,9 @@ exports[`uni-builder rspack > should generator rspack config correctly when node
"implementation": "<WORKSPACE>/node_modules/<PNPM_INNER>/sass-embedded/dist/lib/index.js",
"sassOptions": {
"quietDeps": true,
"silenceDeprecations": [
"import",
],
},
"sourceMap": true,
},
Expand Down Expand Up @@ -1562,7 +1574,7 @@ exports[`uni-builder rspack > should generator rspack config correctly when node
},
},
{
"loader": "<WORKSPACE>/node_modules/<PNPM_INNER>/@rsbuild/plugin-svgr/dist/loader.cjs",
"loader": "<WORKSPACE>/node_modules/<PNPM_INNER>/@rsbuild/plugin-svgr/dist/loader.mjs",
"options": {
"exportType": "default",
"svgo": true,
Expand Down Expand Up @@ -1650,7 +1662,7 @@ exports[`uni-builder rspack > should generator rspack config correctly when node
},
},
{
"loader": "<WORKSPACE>/node_modules/<PNPM_INNER>/@rsbuild/plugin-svgr/dist/loader.cjs",
"loader": "<WORKSPACE>/node_modules/<PNPM_INNER>/@rsbuild/plugin-svgr/dist/loader.mjs",
"options": {
"exportType": "named",
"svgo": true,
Expand Down Expand Up @@ -2234,6 +2246,9 @@ exports[`uni-builder rspack > should generator rspack config correctly when prod
],
},
{
"dependency": {
"not": "url",
},
"resolve": {
"preferRelative": true,
},
Expand Down Expand Up @@ -2332,6 +2347,9 @@ exports[`uni-builder rspack > should generator rspack config correctly when prod
"implementation": "<WORKSPACE>/node_modules/<PNPM_INNER>/sass-embedded/dist/lib/index.js",
"sassOptions": {
"quietDeps": true,
"silenceDeprecations": [
"import",
],
},
"sourceMap": true,
},
Expand Down Expand Up @@ -2519,7 +2537,7 @@ exports[`uni-builder rspack > should generator rspack config correctly when prod
},
},
{
"loader": "<WORKSPACE>/node_modules/<PNPM_INNER>/@rsbuild/plugin-svgr/dist/loader.cjs",
"loader": "<WORKSPACE>/node_modules/<PNPM_INNER>/@rsbuild/plugin-svgr/dist/loader.mjs",
"options": {
"exportType": "default",
"svgo": true,
Expand Down Expand Up @@ -2611,7 +2629,7 @@ exports[`uni-builder rspack > should generator rspack config correctly when prod
},
},
{
"loader": "<WORKSPACE>/node_modules/<PNPM_INNER>/@rsbuild/plugin-svgr/dist/loader.cjs",
"loader": "<WORKSPACE>/node_modules/<PNPM_INNER>/@rsbuild/plugin-svgr/dist/loader.mjs",
"options": {
"exportType": "named",
"svgo": true,
Expand Down Expand Up @@ -3209,6 +3227,9 @@ exports[`uni-builder rspack > should generator rspack config correctly when serv
],
},
{
"dependency": {
"not": "url",
},
"resolve": {
"preferRelative": true,
},
Expand Down Expand Up @@ -3247,6 +3268,9 @@ exports[`uni-builder rspack > should generator rspack config correctly when serv
"implementation": "<WORKSPACE>/node_modules/<PNPM_INNER>/sass-embedded/dist/lib/index.js",
"sassOptions": {
"quietDeps": true,
"silenceDeprecations": [
"import",
],
},
"sourceMap": true,
},
Expand Down Expand Up @@ -3371,7 +3395,7 @@ exports[`uni-builder rspack > should generator rspack config correctly when serv
},
},
{
"loader": "<WORKSPACE>/node_modules/<PNPM_INNER>/@rsbuild/plugin-svgr/dist/loader.cjs",
"loader": "<WORKSPACE>/node_modules/<PNPM_INNER>/@rsbuild/plugin-svgr/dist/loader.mjs",
"options": {
"exportType": "default",
"svgo": true,
Expand Down Expand Up @@ -3460,7 +3484,7 @@ exports[`uni-builder rspack > should generator rspack config correctly when serv
},
},
{
"loader": "<WORKSPACE>/node_modules/<PNPM_INNER>/@rsbuild/plugin-svgr/dist/loader.cjs",
"loader": "<WORKSPACE>/node_modules/<PNPM_INNER>/@rsbuild/plugin-svgr/dist/loader.mjs",
"options": {
"exportType": "named",
"svgo": true,
Expand Down Expand Up @@ -4146,6 +4170,9 @@ exports[`uni-builder webpack > should generator webpack config correctly 1`] = `
],
},
{
"dependency": {
"not": "url",
},
"resolve": {
"preferRelative": true,
},
Expand Down Expand Up @@ -4244,6 +4271,9 @@ exports[`uni-builder webpack > should generator webpack config correctly 1`] = `
"implementation": "<WORKSPACE>/node_modules/<PNPM_INNER>/sass-embedded/dist/lib/index.js",
"sassOptions": {
"quietDeps": true,
"silenceDeprecations": [
"import",
],
},
"sourceMap": true,
},
Expand Down Expand Up @@ -4467,7 +4497,7 @@ exports[`uni-builder webpack > should generator webpack config correctly 1`] = `
},
},
{
"loader": "<WORKSPACE>/node_modules/<PNPM_INNER>/@rsbuild/plugin-svgr/dist/loader.cjs",
"loader": "<WORKSPACE>/node_modules/<PNPM_INNER>/@rsbuild/plugin-svgr/dist/loader.mjs",
"options": {
"exportType": "default",
"svgo": true,
Expand Down Expand Up @@ -4595,7 +4625,7 @@ exports[`uni-builder webpack > should generator webpack config correctly 1`] = `
},
},
{
"loader": "<WORKSPACE>/node_modules/<PNPM_INNER>/@rsbuild/plugin-svgr/dist/loader.cjs",
"loader": "<WORKSPACE>/node_modules/<PNPM_INNER>/@rsbuild/plugin-svgr/dist/loader.mjs",
"options": {
"exportType": "named",
"svgo": true,
Expand Down Expand Up @@ -5403,6 +5433,9 @@ exports[`uni-builder webpack > should generator webpack config correctly when pr
],
},
{
"dependency": {
"not": "url",
},
"resolve": {
"preferRelative": true,
},
Expand Down Expand Up @@ -5501,6 +5534,9 @@ exports[`uni-builder webpack > should generator webpack config correctly when pr
"implementation": "<WORKSPACE>/node_modules/<PNPM_INNER>/sass-embedded/dist/lib/index.js",
"sassOptions": {
"quietDeps": true,
"silenceDeprecations": [
"import",
],
},
"sourceMap": true,
},
Expand Down Expand Up @@ -5739,7 +5775,7 @@ exports[`uni-builder webpack > should generator webpack config correctly when pr
},
},
{
"loader": "<WORKSPACE>/node_modules/<PNPM_INNER>/@rsbuild/plugin-svgr/dist/loader.cjs",
"loader": "<WORKSPACE>/node_modules/<PNPM_INNER>/@rsbuild/plugin-svgr/dist/loader.mjs",
"options": {
"exportType": "default",
"svgo": true,
Expand Down Expand Up @@ -5882,7 +5918,7 @@ exports[`uni-builder webpack > should generator webpack config correctly when pr
},
},
{
"loader": "<WORKSPACE>/node_modules/<PNPM_INNER>/@rsbuild/plugin-svgr/dist/loader.cjs",
"loader": "<WORKSPACE>/node_modules/<PNPM_INNER>/@rsbuild/plugin-svgr/dist/loader.mjs",
"options": {
"exportType": "named",
"svgo": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,9 @@ exports[`uni-builder environment compat > should generator environment config co
],
},
{
"dependency": {
"not": "url",
},
"resolve": {
"preferRelative": true,
},
Expand Down Expand Up @@ -499,6 +502,9 @@ exports[`uni-builder environment compat > should generator environment config co
"implementation": "<WORKSPACE>/node_modules/<PNPM_INNER>/sass-embedded/dist/lib/index.js",
"sassOptions": {
"quietDeps": true,
"silenceDeprecations": [
"import",
],
},
"sourceMap": true,
},
Expand Down Expand Up @@ -686,7 +692,7 @@ exports[`uni-builder environment compat > should generator environment config co
},
},
{
"loader": "<WORKSPACE>/node_modules/<PNPM_INNER>/@rsbuild/plugin-svgr/dist/loader.cjs",
"loader": "<WORKSPACE>/node_modules/<PNPM_INNER>/@rsbuild/plugin-svgr/dist/loader.mjs",
"options": {
"exportType": "default",
"svgo": true,
Expand Down Expand Up @@ -778,7 +784,7 @@ exports[`uni-builder environment compat > should generator environment config co
},
},
{
"loader": "<WORKSPACE>/node_modules/<PNPM_INNER>/@rsbuild/plugin-svgr/dist/loader.cjs",
"loader": "<WORKSPACE>/node_modules/<PNPM_INNER>/@rsbuild/plugin-svgr/dist/loader.mjs",
"options": {
"exportType": "named",
"svgo": true,
Expand Down Expand Up @@ -1353,6 +1359,9 @@ exports[`uni-builder environment compat > should generator environment config co
],
},
{
"dependency": {
"not": "url",
},
"resolve": {
"preferRelative": true,
},
Expand Down Expand Up @@ -1391,6 +1400,9 @@ exports[`uni-builder environment compat > should generator environment config co
"implementation": "<WORKSPACE>/node_modules/<PNPM_INNER>/sass-embedded/dist/lib/index.js",
"sassOptions": {
"quietDeps": true,
"silenceDeprecations": [
"import",
],
},
"sourceMap": true,
},
Expand Down Expand Up @@ -1515,7 +1527,7 @@ exports[`uni-builder environment compat > should generator environment config co
},
},
{
"loader": "<WORKSPACE>/node_modules/<PNPM_INNER>/@rsbuild/plugin-svgr/dist/loader.cjs",
"loader": "<WORKSPACE>/node_modules/<PNPM_INNER>/@rsbuild/plugin-svgr/dist/loader.mjs",
"options": {
"exportType": "default",
"svgo": true,
Expand Down Expand Up @@ -1603,7 +1615,7 @@ exports[`uni-builder environment compat > should generator environment config co
},
},
{
"loader": "<WORKSPACE>/node_modules/<PNPM_INNER>/@rsbuild/plugin-svgr/dist/loader.cjs",
"loader": "<WORKSPACE>/node_modules/<PNPM_INNER>/@rsbuild/plugin-svgr/dist/loader.mjs",
"options": {
"exportType": "named",
"svgo": true,
Expand Down Expand Up @@ -2075,6 +2087,9 @@ exports[`uni-builder environment compat > should generator environment config co
],
},
{
"dependency": {
"not": "url",
},
"resolve": {
"preferRelative": true,
},
Expand Down Expand Up @@ -2113,6 +2128,9 @@ exports[`uni-builder environment compat > should generator environment config co
"implementation": "<WORKSPACE>/node_modules/<PNPM_INNER>/sass-embedded/dist/lib/index.js",
"sassOptions": {
"quietDeps": true,
"silenceDeprecations": [
"import",
],
},
"sourceMap": true,
},
Expand Down Expand Up @@ -2237,7 +2255,7 @@ exports[`uni-builder environment compat > should generator environment config co
},
},
{
"loader": "<WORKSPACE>/node_modules/<PNPM_INNER>/@rsbuild/plugin-svgr/dist/loader.cjs",
"loader": "<WORKSPACE>/node_modules/<PNPM_INNER>/@rsbuild/plugin-svgr/dist/loader.mjs",
"options": {
"exportType": "default",
"svgo": true,
Expand Down Expand Up @@ -2326,7 +2344,7 @@ exports[`uni-builder environment compat > should generator environment config co
},
},
{
"loader": "<WORKSPACE>/node_modules/<PNPM_INNER>/@rsbuild/plugin-svgr/dist/loader.cjs",
"loader": "<WORKSPACE>/node_modules/<PNPM_INNER>/@rsbuild/plugin-svgr/dist/loader.mjs",
"options": {
"exportType": "named",
"svgo": true,
Expand Down
Loading

0 comments on commit 2111642

Please sign in to comment.