Skip to content

Commit ffbc15b

Browse files
authored
chore(deps): bump Rsbuild 1.6.2 (#1319)
1 parent 75d01f1 commit ffbc15b

File tree

28 files changed

+374
-417
lines changed

28 files changed

+374
-417
lines changed

examples/module-federation/mf-host/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
},
1515
"devDependencies": {
1616
"@module-federation/rsbuild-plugin": "^0.21.2",
17-
"@rsbuild/core": "~1.6.0",
17+
"@rsbuild/core": "~1.6.2",
1818
"@rsbuild/plugin-react": "^1.4.1",
1919
"@types/react": "^19.2.2",
2020
"@types/react-dom": "^19.2.2",

examples/module-federation/mf-remote/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
},
1515
"devDependencies": {
1616
"@module-federation/rsbuild-plugin": "^0.21.2",
17-
"@rsbuild/core": "~1.6.0",
17+
"@rsbuild/core": "~1.6.2",
1818
"@rsbuild/plugin-react": "^1.4.1",
1919
"@types/react": "^19.2.2",
2020
"@types/react-dom": "^19.2.2",

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"type-check": "tsc --noEmit && tsc --noEmit -p tests"
4444
},
4545
"dependencies": {
46-
"@rsbuild/core": "~1.6.0",
46+
"@rsbuild/core": "~1.6.2",
4747
"rsbuild-plugin-dts": "workspace:*"
4848
},
4949
"devDependencies": {

packages/core/tests/__snapshots__/config.test.ts.snap

Lines changed: 61 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ exports[`Should compose create Rsbuild config correctly > Enable experiment.adva
9797
'pnpapi'
9898
],
9999
output: {
100-
devtoolModuleFilenameTemplate: ({ absoluteResourcePath })=>absoluteResourcePath,
100+
devtoolModuleFilenameTemplate: '[absolute-resource-path]',
101101
path: '<WORKSPACE>/dist',
102102
filename: '[name].js',
103103
chunkFilename: '[name].js',
@@ -723,6 +723,35 @@ exports[`Should compose create Rsbuild config correctly > Enable experiment.adva
723723

724724
exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config in each format > inspected Rsbuild configs 1`] = `
725725
"{
726+
dev: {
727+
hmr: true,
728+
liveReload: true,
729+
browserLogs: {
730+
stackTrace: 'summary'
731+
},
732+
watchFiles: [
733+
{
734+
paths: [
735+
'<WORKSPACE>/tsconfig.json'
736+
],
737+
type: 'reload-server'
738+
}
739+
],
740+
assetPrefix: '/',
741+
writeToDisk: false,
742+
cliShortcuts: false,
743+
client: {
744+
path: '/rsbuild-hmr',
745+
port: '',
746+
host: '',
747+
overlay: true,
748+
reconnect: 100
749+
},
750+
lazyCompilation: {
751+
imports: true,
752+
entries: false
753+
}
754+
},
726755
server: {
727756
port: 3000,
728757
host: '0.0.0.0',
@@ -756,7 +785,8 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
756785
mountId: 'root',
757786
crossorigin: false,
758787
outputStructure: 'flat',
759-
scriptLoading: 'defer'
788+
scriptLoading: 'defer',
789+
implementation: 'js'
760790
},
761791
resolve: {
762792
alias: {
@@ -780,59 +810,6 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
780810
},
781811
tsconfigPath: '<WORKSPACE>/tsconfig.json'
782812
},
783-
tools: {
784-
cssExtract: {
785-
loaderOptions: {},
786-
pluginOptions: {
787-
ignoreOrder: true
788-
}
789-
}
790-
},
791-
security: {
792-
nonce: '',
793-
sri: {
794-
enable: false
795-
}
796-
},
797-
performance: {
798-
profile: false,
799-
printFileSize: true,
800-
removeConsole: false,
801-
removeMomentLocale: false,
802-
chunkSplit: {
803-
strategy: 'split-by-experience'
804-
}
805-
},
806-
mode: 'production',
807-
dev: {
808-
hmr: true,
809-
liveReload: true,
810-
browserLogs: {
811-
stackTrace: 'summary'
812-
},
813-
watchFiles: [
814-
{
815-
paths: [
816-
'<WORKSPACE>/tsconfig.json'
817-
],
818-
type: 'reload-server'
819-
}
820-
],
821-
assetPrefix: '/',
822-
writeToDisk: false,
823-
cliShortcuts: false,
824-
client: {
825-
path: '/rsbuild-hmr',
826-
port: '',
827-
host: '',
828-
overlay: true,
829-
reconnect: 100
830-
},
831-
lazyCompilation: {
832-
imports: true,
833-
entries: false
834-
}
835-
},
836813
output: {
837814
target: 'web',
838815
cleanDistPath: 'auto',
@@ -879,6 +856,30 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
879856
},
880857
emitAssets: true
881858
},
859+
tools: {
860+
cssExtract: {
861+
loaderOptions: {},
862+
pluginOptions: {
863+
ignoreOrder: true
864+
}
865+
}
866+
},
867+
security: {
868+
nonce: '',
869+
sri: {
870+
enable: false
871+
}
872+
},
873+
performance: {
874+
profile: false,
875+
printFileSize: true,
876+
removeConsole: false,
877+
removeMomentLocale: false,
878+
chunkSplit: {
879+
strategy: 'split-by-experience'
880+
}
881+
},
882+
mode: 'production',
882883
root: '<WORKSPACE>',
883884
plugins: [
884885
{
@@ -1124,7 +1125,7 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
11241125
'pnpapi'
11251126
],
11261127
output: {
1127-
devtoolModuleFilenameTemplate: ({ absoluteResourcePath })=>absoluteResourcePath,
1128+
devtoolModuleFilenameTemplate: '[absolute-resource-path]',
11281129
path: '<WORKSPACE>/dist',
11291130
filename: '[name].js',
11301131
chunkFilename: '0~[name].js',
@@ -1840,7 +1841,7 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
18401841
'pnpapi'
18411842
],
18421843
output: {
1843-
devtoolModuleFilenameTemplate: ({ absoluteResourcePath })=>absoluteResourcePath,
1844+
devtoolModuleFilenameTemplate: '[absolute-resource-path]',
18441845
path: '<WORKSPACE>/dist',
18451846
filename: '[name].cjs',
18461847
chunkFilename: '1~[name].cjs',
@@ -2543,7 +2544,7 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
25432544
'pnpapi'
25442545
],
25452546
output: {
2546-
devtoolModuleFilenameTemplate: ({ absoluteResourcePath })=>absoluteResourcePath,
2547+
devtoolModuleFilenameTemplate: '[absolute-resource-path]',
25472548
path: '<WORKSPACE>/dist',
25482549
filename: '[name].js',
25492550
chunkFilename: '2~[name].js',
@@ -3159,7 +3160,7 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
31593160
'pnpapi'
31603161
],
31613162
output: {
3162-
devtoolModuleFilenameTemplate: ({ absoluteResourcePath })=>absoluteResourcePath,
3163+
devtoolModuleFilenameTemplate: '[absolute-resource-path]',
31633164
path: '<WORKSPACE>/dist',
31643165
filename: '[name].js',
31653166
chunkFilename: '3~[name].js',
@@ -3718,7 +3719,7 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
37183719
},
37193720
devtool: false,
37203721
output: {
3721-
devtoolModuleFilenameTemplate: ({ absoluteResourcePath })=>absoluteResourcePath,
3722+
devtoolModuleFilenameTemplate: '[absolute-resource-path]',
37223723
path: '<WORKSPACE>/dist',
37233724
filename: '[name].js',
37243725
chunkFilename: '4~[name].js',
@@ -4276,7 +4277,6 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
42764277
[
42774278
{
42784279
"config": {
4279-
"dev": undefined,
42804280
"output": {
42814281
"assetPrefix": "auto",
42824282
"dataUriLimit": 0,
@@ -4567,7 +4567,6 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
45674567
},
45684568
{
45694569
"config": {
4570-
"dev": undefined,
45714570
"output": {
45724571
"assetPrefix": "auto",
45734572
"dataUriLimit": 0,
@@ -4854,7 +4853,6 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
48544853
},
48554854
{
48564855
"config": {
4857-
"dev": undefined,
48584856
"output": {
48594857
"distPath": {
48604858
"css": "./",
@@ -5102,7 +5100,6 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
51025100
},
51035101
{
51045102
"config": {
5105-
"dev": undefined,
51065103
"output": {
51075104
"distPath": {
51085105
"css": "./",

packages/create-rslib/fragments/tools/storybook-react-js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"storybook": "storybook dev"
55
},
66
"devDependencies": {
7-
"@rsbuild/core": "~1.6.0",
7+
"@rsbuild/core": "~1.6.2",
88
"@storybook/addon-docs": "^9.1.16",
99
"@storybook/addon-onboarding": "^9.1.16",
1010
"@storybook/react": "^9.1.16",

packages/create-rslib/fragments/tools/storybook-react-ts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"storybook": "storybook dev"
55
},
66
"devDependencies": {
7-
"@rsbuild/core": "~1.6.0",
7+
"@rsbuild/core": "~1.6.2",
88
"@storybook/addon-docs": "^9.1.16",
99
"@storybook/addon-onboarding": "^9.1.16",
1010
"@storybook/react": "^9.1.16",

packages/create-rslib/fragments/tools/storybook-vue-js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"storybook": "storybook dev"
55
},
66
"devDependencies": {
7-
"@rsbuild/core": "~1.6.0",
7+
"@rsbuild/core": "~1.6.2",
88
"@storybook/addon-docs": "^9.1.16",
99
"@storybook/addon-onboarding": "^9.1.16",
1010
"@storybook/vue3": "^9.1.16",

packages/create-rslib/fragments/tools/storybook-vue-ts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"storybook": "storybook dev"
55
},
66
"devDependencies": {
7-
"@rsbuild/core": "~1.6.0",
7+
"@rsbuild/core": "~1.6.2",
88
"@storybook/addon-docs": "^9.1.16",
99
"@storybook/addon-onboarding": "^9.1.16",
1010
"@storybook/vue3": "^9.1.16",

packages/create-rslib/template-[react]-[rstest,storybook]-js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"test": "rstest"
1919
},
2020
"devDependencies": {
21-
"@rsbuild/core": "~1.6.0",
21+
"@rsbuild/core": "~1.6.2",
2222
"@rsbuild/plugin-react": "^1.4.1",
2323
"@rslib/core": "workspace:*",
2424
"@rstest/core": "^0.6.1",

packages/create-rslib/template-[react]-[rstest,storybook]-ts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"test": "rstest"
2121
},
2222
"devDependencies": {
23-
"@rsbuild/core": "~1.6.0",
23+
"@rsbuild/core": "~1.6.2",
2424
"@rsbuild/plugin-react": "^1.4.1",
2525
"@rslib/core": "workspace:*",
2626
"@rstest/core": "^0.6.1",

0 commit comments

Comments
 (0)