Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions examples/module-federation/mf-host/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
},
"devDependencies": {
"@module-federation/rsbuild-plugin": "^0.18.3",
"@rsbuild/core": "~1.5.1",
"@rsbuild/plugin-react": "^1.3.5",
"@rsbuild/core": "~1.5.3",
"@rsbuild/plugin-react": "^1.4.0",
"@types/react": "^19.1.12",
"@types/react-dom": "^19.1.8",
"@types/react-dom": "^19.1.9",
"typescript": "^5.9.2"
}
}
4 changes: 2 additions & 2 deletions examples/module-federation/mf-react-component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
"@module-federation/enhanced": "^0.18.3",
"@module-federation/rsbuild-plugin": "^0.18.3",
"@module-federation/storybook-addon": "^4.0.27",
"@rsbuild/plugin-react": "^1.3.5",
"@rsbuild/plugin-react": "^1.4.0",
"@rslib/core": "workspace:*",
"@types/react": "^19.1.12",
"http-server": "^14.1.1",
"react": "^19.1.1",
"react-dom": "^19.1.1",
"storybook": "^9.1.3",
"storybook": "^9.1.4",
"storybook-addon-rslib": "^2.1.0",
"storybook-react-rsbuild": "^2.1.0"
},
Expand Down
6 changes: 3 additions & 3 deletions examples/module-federation/mf-remote/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
},
"devDependencies": {
"@module-federation/rsbuild-plugin": "^0.18.3",
"@rsbuild/core": "~1.5.1",
"@rsbuild/plugin-react": "^1.3.5",
"@rsbuild/core": "~1.5.3",
"@rsbuild/plugin-react": "^1.4.0",
"@types/react": "^19.1.12",
"@types/react-dom": "^19.1.8",
"@types/react-dom": "^19.1.9",
"typescript": "^5.9.2"
}
}
2 changes: 1 addition & 1 deletion examples/react-component-bundle-false/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"build": "rslib build"
},
"devDependencies": {
"@rsbuild/plugin-react": "^1.3.5",
"@rsbuild/plugin-react": "^1.4.0",
"@rsbuild/plugin-sass": "^1.4.0",
"@rslib/core": "workspace:*",
"@types/react": "^19.1.12",
Expand Down
2 changes: 1 addition & 1 deletion examples/react-component-bundle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"build": "rslib build"
},
"devDependencies": {
"@rsbuild/plugin-react": "^1.3.5",
"@rsbuild/plugin-react": "^1.4.0",
"@rsbuild/plugin-sass": "^1.4.0",
"@rslib/core": "workspace:*",
"@types/react": "^19.1.12",
Expand Down
2 changes: 1 addition & 1 deletion examples/react-component-umd/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "rslib build"
},
"devDependencies": {
"@rsbuild/plugin-react": "^1.3.5",
"@rsbuild/plugin-react": "^1.4.0",
"@rsbuild/plugin-sass": "^1.4.0",
"@rslib/core": "workspace:*",
"@types/react": "^19.1.12",
Expand Down
8 changes: 4 additions & 4 deletions examples/vue-component-bundleless/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
"@rslib/core": "workspace:*",
"@storybook/addon-essentials": "^9.0.0-alpha.12",
"@storybook/addon-interactions": "^9.0.0-alpha.10",
"@storybook/addon-links": "^9.1.3",
"@storybook/addon-onboarding": "^9.1.3",
"@storybook/addon-links": "^9.1.4",
"@storybook/addon-onboarding": "^9.1.4",
"@storybook/blocks": "^9.0.0-alpha.17",
"@storybook/test": "^9.0.0-alpha.2",
"@storybook/vue3": "^9.1.3",
"@storybook/vue3": "^9.1.4",
"rsbuild-plugin-unplugin-vue": "^0.1.0",
"storybook": "^9.1.3",
"storybook": "^9.1.4",
"storybook-addon-rslib": "^2.1.0",
"storybook-vue3-rsbuild": "^2.1.0",
"typescript": "^5.9.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"type-check": "tsc --noEmit && tsc --noEmit -p tests"
},
"dependencies": {
"@rsbuild/core": "~1.5.1",
"@rsbuild/core": "~1.5.3",
"rsbuild-plugin-dts": "workspace:*",
"tinyglobby": "^0.2.14"
},
Expand All @@ -59,7 +59,7 @@
"picocolors": "1.1.1",
"prebundle": "1.4.1",
"rsbuild-plugin-publint": "^0.3.3",
"rslib": "npm:@rslib/[email protected].3",
"rslib": "npm:@rslib/[email protected].4",
"rslog": "^1.2.11",
"tsconfck": "3.1.6",
"typescript": "^5.9.2"
Expand Down
98 changes: 54 additions & 44 deletions packages/core/tests/__snapshots__/config.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
},
experiments: {
lazyBarrel: true,
inlineEnum: false,
inlineEnum: true,
typeReexportsPresence: true,
rspackFuture: {
bundlerInfo: {
Expand Down Expand Up @@ -592,7 +592,7 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
rspackExperiments: {
collectTypeScriptInfo: {
typeExports: true,
exportedEnum: false
exportedEnum: true
}
}
}
Expand Down Expand Up @@ -646,7 +646,7 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
rspackExperiments: {
collectTypeScriptInfo: {
typeExports: true,
exportedEnum: false
exportedEnum: true
}
}
}
Expand Down Expand Up @@ -888,7 +888,7 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
loader: '<ROOT>/node_modules/<PNPM_INNER>/@rsbuild/core/dist/transformRawLoader.mjs',
options: {
id: 'rsbuild-transform-0',
getEnvironment: ()=>environment
getEnvironment: ()=>environmentContext
}
}
]
Expand Down Expand Up @@ -946,11 +946,13 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
/* config.plugin('define') */
new DefinePlugin(
{
'import.meta.env.MODE': '"production"',
'import.meta.env.DEV': false,
'import.meta.env.PROD': true,
'import.meta.env.BASE_URL': '"/"',
'import.meta.env.ASSET_PREFIX': '"auto"',
'import.meta.env': {
MODE: '"production"',
DEV: false,
PROD: true,
BASE_URL: '"/"',
ASSET_PREFIX: '"auto"'
},
'process.env.BASE_URL': '"/"',
'process.env.ASSET_PREFIX': '"auto"'
}
Expand Down Expand Up @@ -1006,7 +1008,7 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
},
experiments: {
lazyBarrel: true,
inlineEnum: false,
inlineEnum: true,
typeReexportsPresence: true,
rspackFuture: {
bundlerInfo: {
Expand Down Expand Up @@ -1286,7 +1288,7 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
rspackExperiments: {
collectTypeScriptInfo: {
typeExports: true,
exportedEnum: false
exportedEnum: true
}
}
}
Expand Down Expand Up @@ -1340,7 +1342,7 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
rspackExperiments: {
collectTypeScriptInfo: {
typeExports: true,
exportedEnum: false
exportedEnum: true
}
}
}
Expand Down Expand Up @@ -1582,7 +1584,7 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
loader: '<ROOT>/node_modules/<PNPM_INNER>/@rsbuild/core/dist/transformRawLoader.mjs',
options: {
id: 'rsbuild-transform-0',
getEnvironment: ()=>environment
getEnvironment: ()=>environmentContext
}
}
]
Expand Down Expand Up @@ -1637,11 +1639,13 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
/* config.plugin('define') */
new DefinePlugin(
{
'import.meta.env.MODE': '"production"',
'import.meta.env.DEV': false,
'import.meta.env.PROD': true,
'import.meta.env.BASE_URL': '"/"',
'import.meta.env.ASSET_PREFIX': '"auto"',
'import.meta.env': {
MODE: '"production"',
DEV: false,
PROD: true,
BASE_URL: '"/"',
ASSET_PREFIX: '"auto"'
},
'process.env.BASE_URL': '"/"',
'process.env.ASSET_PREFIX': '"auto"',
'import.meta.url': '__rslib_import_meta_url__'
Expand Down Expand Up @@ -1696,7 +1700,7 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
},
experiments: {
lazyBarrel: true,
inlineEnum: false,
inlineEnum: true,
typeReexportsPresence: true,
rspackFuture: {
bundlerInfo: {
Expand Down Expand Up @@ -1955,7 +1959,7 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
rspackExperiments: {
collectTypeScriptInfo: {
typeExports: true,
exportedEnum: false
exportedEnum: true
}
}
}
Expand Down Expand Up @@ -2009,7 +2013,7 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
rspackExperiments: {
collectTypeScriptInfo: {
typeExports: true,
exportedEnum: false
exportedEnum: true
}
}
}
Expand Down Expand Up @@ -2181,7 +2185,7 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
loader: '<ROOT>/node_modules/<PNPM_INNER>/@rsbuild/core/dist/transformRawLoader.mjs',
options: {
id: 'rsbuild-transform-0',
getEnvironment: ()=>environment
getEnvironment: ()=>environmentContext
}
}
]
Expand Down Expand Up @@ -2236,11 +2240,13 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
/* config.plugin('define') */
new DefinePlugin(
{
'import.meta.env.MODE': '"production"',
'import.meta.env.DEV': false,
'import.meta.env.PROD': true,
'import.meta.env.BASE_URL': '"/"',
'import.meta.env.ASSET_PREFIX': '""',
'import.meta.env': {
MODE: '"production"',
DEV: false,
PROD: true,
BASE_URL: '"/"',
ASSET_PREFIX: '""'
},
'process.env.BASE_URL': '"/"',
'process.env.ASSET_PREFIX': '""'
}
Expand Down Expand Up @@ -2292,7 +2298,7 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
},
experiments: {
lazyBarrel: true,
inlineEnum: false,
inlineEnum: true,
typeReexportsPresence: true,
rspackFuture: {
bundlerInfo: {
Expand Down Expand Up @@ -2553,7 +2559,7 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
rspackExperiments: {
collectTypeScriptInfo: {
typeExports: true,
exportedEnum: false
exportedEnum: true
}
}
}
Expand Down Expand Up @@ -2607,7 +2613,7 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
rspackExperiments: {
collectTypeScriptInfo: {
typeExports: true,
exportedEnum: false
exportedEnum: true
}
}
}
Expand Down Expand Up @@ -2779,7 +2785,7 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
loader: '<ROOT>/node_modules/<PNPM_INNER>/@rsbuild/core/dist/transformRawLoader.mjs',
options: {
id: 'rsbuild-transform-0',
getEnvironment: ()=>environment
getEnvironment: ()=>environmentContext
}
}
]
Expand Down Expand Up @@ -2833,11 +2839,13 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
/* config.plugin('define') */
new DefinePlugin(
{
'import.meta.env.MODE': '"production"',
'import.meta.env.DEV': false,
'import.meta.env.PROD': true,
'import.meta.env.BASE_URL': '"/"',
'import.meta.env.ASSET_PREFIX': '""',
'import.meta.env': {
MODE: '"production"',
DEV: false,
PROD: true,
BASE_URL: '"/"',
ASSET_PREFIX: '""'
},
'process.env.BASE_URL': '"/"',
'process.env.ASSET_PREFIX': '""'
}
Expand Down Expand Up @@ -2889,7 +2897,7 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
},
experiments: {
lazyBarrel: true,
inlineEnum: false,
inlineEnum: true,
typeReexportsPresence: true,
rspackFuture: {
bundlerInfo: {
Expand Down Expand Up @@ -3125,7 +3133,7 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
rspackExperiments: {
collectTypeScriptInfo: {
typeExports: true,
exportedEnum: false
exportedEnum: true
}
}
}
Expand Down Expand Up @@ -3185,7 +3193,7 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
rspackExperiments: {
collectTypeScriptInfo: {
typeExports: true,
exportedEnum: false
exportedEnum: true
}
}
}
Expand Down Expand Up @@ -3407,11 +3415,13 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
/* config.plugin('define') */
new DefinePlugin(
{
'import.meta.env.MODE': '"production"',
'import.meta.env.DEV': false,
'import.meta.env.PROD': true,
'import.meta.env.BASE_URL': '"/"',
'import.meta.env.ASSET_PREFIX': '""',
'import.meta.env': {
MODE: '"production"',
DEV: false,
PROD: true,
BASE_URL: '"/"',
ASSET_PREFIX: '""'
},
'process.env.BASE_URL': '"/"',
'process.env.ASSET_PREFIX': '""'
}
Expand Down
2 changes: 1 addition & 1 deletion packages/create-rslib/fragments/base/react-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"dev": "rslib build --watch"
},
"devDependencies": {
"@rsbuild/plugin-react": "^1.3.5",
"@rsbuild/plugin-react": "^1.4.0",
"@rslib/core": "workspace:*",
"react": "^19.1.1"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/create-rslib/fragments/base/react-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"dev": "rslib build --watch"
},
"devDependencies": {
"@rsbuild/plugin-react": "^1.3.5",
"@rsbuild/plugin-react": "^1.4.0",
"@rslib/core": "workspace:*",
"@types/react": "^19.1.12",
"react": "^19.1.1",
Expand Down
Loading
Loading