Skip to content

Commit

Permalink
chore(deps): update rsbuild monorepo to v1.1.4 (#6549)
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 <[email protected]>
  • Loading branch information
renovate[bot] and caohuilin authored Nov 20, 2024
1 parent 27aedcd commit 2a857a3
Show file tree
Hide file tree
Showing 10 changed files with 319 additions and 266 deletions.
6 changes: 6 additions & 0 deletions .changeset/shiny-emus-jog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@modern-js/main-doc': patch
'@modern-js/uni-builder': patch
---

feat: bump rsbuild version
36 changes: 36 additions & 0 deletions packages/cli/uni-builder/tests/__snapshots__/babel.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ exports[`plugin-babel (rspack mode) > should not set babel-loader when babel con
"test": /\\\\\\.m\\?js/,
},
{
"dependency": {
"not": "url",
},
"include": [
{
"and": [
Expand Down Expand Up @@ -105,6 +108,9 @@ exports[`plugin-babel (rspack mode) > should set babel-loader when babel config
"test": /\\\\\\.m\\?js/,
},
{
"dependency": {
"not": "url",
},
"include": [
{
"and": [
Expand Down Expand Up @@ -238,6 +244,9 @@ exports[`plugin-babel > should add core-js-entry when output.polyfill is entry 1
"test": /\\\\\\.m\\?js/,
},
{
"dependency": {
"not": "url",
},
"include": [
{
"and": [
Expand Down Expand Up @@ -380,6 +389,9 @@ exports[`plugin-babel > should adjust browserslist when target is node 1`] = `
"test": /\\\\\\.m\\?js/,
},
{
"dependency": {
"not": "url",
},
"include": [
{
"and": [
Expand Down Expand Up @@ -501,6 +513,9 @@ exports[`plugin-babel > should apply exclude condition when using source.exclude
"test": /\\\\\\.m\\?js/,
},
{
"dependency": {
"not": "url",
},
"exclude": [
"src/foo/**/*.js",
],
Expand Down Expand Up @@ -646,6 +661,9 @@ exports[`plugin-babel > should not add core-js-entry when output.polyfill is usa
"test": /\\\\\\.m\\?js/,
},
{
"dependency": {
"not": "url",
},
"include": [
{
"and": [
Expand Down Expand Up @@ -782,6 +800,9 @@ exports[`plugin-babel > should not add core-js-entry when output.polyfill is usa
exports[`plugin-babel > should not have any pluginImport in Babel 1`] = `
[
{
"dependency": {
"not": "url",
},
"include": [
{
"and": [
Expand Down Expand Up @@ -1001,6 +1022,9 @@ exports[`plugin-babel > should not have any pluginImport in Babel 1`] = `
exports[`plugin-babel > should not set default pluginImport for Babel 1`] = `
[
{
"dependency": {
"not": "url",
},
"include": [
{
"and": [
Expand Down Expand Up @@ -1264,6 +1288,9 @@ exports[`plugin-babel > should override targets of babel-preset-env when using o
"test": /\\\\\\.m\\?js/,
},
{
"dependency": {
"not": "url",
},
"include": [
{
"and": [
Expand Down Expand Up @@ -1404,6 +1431,9 @@ exports[`plugin-babel > should set babel-loader 1`] = `
"test": /\\\\\\.m\\?js/,
},
{
"dependency": {
"not": "url",
},
"include": [
{
"and": [
Expand Down Expand Up @@ -1546,6 +1576,9 @@ exports[`plugin-babel > should set include/exclude 1`] = `
"test": /\\\\\\.m\\?js/,
},
{
"dependency": {
"not": "url",
},
"exclude": [
"src/**/*.js",
],
Expand Down Expand Up @@ -1686,6 +1719,9 @@ exports[`plugin-babel > should set include/exclude 1`] = `
exports[`plugin-babel > should set proper pluginImport option in Babel 1`] = `
[
{
"dependency": {
"not": "url",
},
"include": [
{
"and": [
Expand Down
36 changes: 36 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 @@ -31,6 +31,9 @@ exports[`uni-builder rspack > should generator rspack config correctly 1`] = `
"test": /\\\\\\.m\\?js/,
},
{
"dependency": {
"not": "url",
},
"resolve": {
"preferRelative": true,
},
Expand Down Expand Up @@ -119,6 +122,9 @@ exports[`uni-builder rspack > should generator rspack config correctly 1`] = `
],
},
{
"dependency": {
"not": "url",
},
"include": [
{
"and": [
Expand Down Expand Up @@ -1057,6 +1063,9 @@ exports[`uni-builder rspack > should generator rspack config correctly when node
"test": /\\\\\\.m\\?js/,
},
{
"dependency": {
"not": "url",
},
"resolve": {
"preferRelative": true,
},
Expand Down Expand Up @@ -1085,6 +1094,9 @@ exports[`uni-builder rspack > should generator rspack config correctly when node
],
},
{
"dependency": {
"not": "url",
},
"include": [
{
"and": [
Expand Down Expand Up @@ -1823,6 +1835,9 @@ exports[`uni-builder rspack > should generator rspack config correctly when prod
"test": /\\\\\\.m\\?js/,
},
{
"dependency": {
"not": "url",
},
"resolve": {
"preferRelative": true,
},
Expand Down Expand Up @@ -1911,6 +1926,9 @@ exports[`uni-builder rspack > should generator rspack config correctly when prod
],
},
{
"dependency": {
"not": "url",
},
"include": [
{
"and": [
Expand Down Expand Up @@ -2862,6 +2880,9 @@ exports[`uni-builder rspack > should generator rspack config correctly when serv
"test": /\\\\\\.m\\?js/,
},
{
"dependency": {
"not": "url",
},
"resolve": {
"preferRelative": true,
},
Expand Down Expand Up @@ -2890,6 +2911,9 @@ exports[`uni-builder rspack > should generator rspack config correctly when serv
],
},
{
"dependency": {
"not": "url",
},
"include": [
{
"and": [
Expand Down Expand Up @@ -3626,6 +3650,9 @@ exports[`uni-builder webpack > should generator webpack config correctly 1`] = `
"test": /\\\\\\.m\\?js/,
},
{
"dependency": {
"not": "url",
},
"resolve": {
"preferRelative": true,
},
Expand Down Expand Up @@ -3714,6 +3741,9 @@ exports[`uni-builder webpack > should generator webpack config correctly 1`] = `
],
},
{
"dependency": {
"not": "url",
},
"include": [
{
"and": [
Expand Down Expand Up @@ -4868,6 +4898,9 @@ exports[`uni-builder webpack > should generator webpack config correctly when pr
"test": /\\\\\\.m\\?js/,
},
{
"dependency": {
"not": "url",
},
"resolve": {
"preferRelative": true,
},
Expand Down Expand Up @@ -4956,6 +4989,9 @@ exports[`uni-builder webpack > should generator webpack config correctly when pr
],
},
{
"dependency": {
"not": "url",
},
"include": [
{
"and": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ exports[`uni-builder environment compat > should generator environment config co
"test": /\\\\\\.m\\?js/,
},
{
"dependency": {
"not": "url",
},
"resolve": {
"preferRelative": true,
},
Expand Down Expand Up @@ -120,6 +123,9 @@ exports[`uni-builder environment compat > should generator environment config co
],
},
{
"dependency": {
"not": "url",
},
"include": [
{
"and": [
Expand Down Expand Up @@ -1033,6 +1039,9 @@ exports[`uni-builder environment compat > should generator environment config co
"test": /\\\\\\.m\\?js/,
},
{
"dependency": {
"not": "url",
},
"resolve": {
"preferRelative": true,
},
Expand Down Expand Up @@ -1061,6 +1070,9 @@ exports[`uni-builder environment compat > should generator environment config co
],
},
{
"dependency": {
"not": "url",
},
"include": [
{
"and": [
Expand Down Expand Up @@ -1761,6 +1773,9 @@ exports[`uni-builder environment compat > should generator environment config co
"test": /\\\\\\.m\\?js/,
},
{
"dependency": {
"not": "url",
},
"resolve": {
"preferRelative": true,
},
Expand Down Expand Up @@ -1789,6 +1804,9 @@ exports[`uni-builder environment compat > should generator environment config co
],
},
{
"dependency": {
"not": "url",
},
"include": [
{
"and": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
exports[`plugin-postcssLegacy > should allow tools.postcss to override the plugins 1`] = `
[
{
"dependency": {
"not": "url",
},
"resolve": {
"preferRelative": true,
},
Expand Down Expand Up @@ -323,6 +326,9 @@ exports[`plugin-postcssLegacy > should allow tools.postcss to override the plugi
exports[`plugin-postcssLegacy > should register postcss plugin by browserslist 1`] = `
[
{
"dependency": {
"not": "url",
},
"resolve": {
"preferRelative": true,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ exports[`plugins/react > should work with babel-loader 1`] = `
"test": /\\\\\\.m\\?js/,
},
{
"dependency": {
"not": "url",
},
"include": [
{
"and": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ exports[`plugins/styled-components > should enable ssr when target contain node
"test": /\\\\\\.m\\?js/,
},
{
"dependency": {
"not": "url",
},
"include": [
{
"and": [
Expand Down Expand Up @@ -151,6 +154,9 @@ exports[`plugins/styled-components > should enable ssr when target contain node
"test": /\\\\\\.m\\?js/,
},
{
"dependency": {
"not": "url",
},
"include": [
{
"and": [
Expand Down Expand Up @@ -272,6 +278,9 @@ exports[`plugins/styled-components > should works in webpack babel mode 1`] = `
"test": /\\\\\\.m\\?js/,
},
{
"dependency": {
"not": "url",
},
"include": [
{
"and": [
Expand Down Expand Up @@ -414,6 +423,9 @@ exports[`plugins/styled-components > should works in webpack swc mode 1`] = `
"test": /\\\\\\.m\\?js/,
},
{
"dependency": {
"not": "url",
},
"include": [
{
"and": [
Expand Down
Loading

0 comments on commit 2a857a3

Please sign in to comment.