Skip to content

Commit f533fbb

Browse files
chore(deps): update all patch dependencies (#79)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: fi3ework <[email protected]>
1 parent 38fcca5 commit f533fbb

File tree

11 files changed

+86
-88
lines changed

11 files changed

+86
-88
lines changed

e2e/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"devDependencies": {
1212
"@e2e/helper": "workspace:*",
1313
"@playwright/test": "1.43.1",
14-
"@rsbuild/core": "1.0.1-beta.10",
14+
"@rsbuild/core": "1.0.1-beta.11",
1515
"@rslib/core": "workspace:*",
1616
"@rslib/tsconfig": "workspace:*",
1717
"@types/fs-extra": "^11.0.4",

examples/express-plugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"@rslib/core": "workspace:*",
1010
"@types/express": "^4.17.21",
1111
"express": "^4.19.2",
12-
"typescript": "^5.5.3"
12+
"typescript": "^5.5.4"
1313
},
1414
"peerDependencies": {
1515
"express": "^4"

examples/react-component/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"build": "rslib build"
66
},
77
"devDependencies": {
8-
"@rsbuild/plugin-react": "1.0.1-beta.9",
8+
"@rsbuild/plugin-react": "1.0.1-beta.11",
99
"@rslib/core": "workspace:*",
1010
"@types/react": "^18.3.3",
1111
"react": "^18.3.1"

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@
3838
"fs-extra": "^11.2.0",
3939
"nano-staged": "^0.8.0",
4040
"nx": "^19.4.2",
41-
"prettier": "^3.3.2",
42-
"prettier-plugin-packagejson": "^2.5.0",
41+
"prettier": "^3.3.3",
42+
"prettier-plugin-packagejson": "^2.5.1",
4343
"simple-git-hooks": "^2.11.1",
44-
"typescript": "^5.5.3",
44+
"typescript": "^5.5.4",
4545
"vitest": "^2.0.5"
4646
},
4747
"packageManager": "[email protected]",

packages/core/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"prebundle": "prebundle"
3939
},
4040
"dependencies": {
41-
"@rsbuild/core": "1.0.1-beta.10",
41+
"@rsbuild/core": "1.0.1-beta.11",
4242
"rsbuild-plugin-dts": "workspace:*"
4343
},
4444
"devDependencies": {
@@ -51,7 +51,7 @@
5151
"picocolors": "1.0.1",
5252
"prebundle": "1.1.0",
5353
"rslog": "^1.2.2",
54-
"typescript": "^5.5.3"
54+
"typescript": "^5.5.4"
5555
},
5656
"peerDependencies": {
5757
"@microsoft/api-extractor": "^7",

packages/core/src/build.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ export async function build(
1010
const rsbuildInstance = await initRsbuild(config);
1111

1212
await rsbuildInstance.build({
13-
mode: 'production',
1413
watch: options?.watch,
1514
});
1615

packages/core/src/cli/commands.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export type BuildOptions = CommonOptions & {
1414
};
1515

1616
export type InspectOptions = CommonOptions & {
17-
env: RsbuildMode;
17+
mode: RsbuildMode;
1818
output: string;
1919
verbose?: boolean;
2020
};
@@ -64,7 +64,7 @@ export function runCli(): void {
6464
const rslibConfig = await loadConfig(options.config, options.envMode);
6565
const rsbuildInstance = await initRsbuild(rslibConfig);
6666
await rsbuildInstance.inspectConfig({
67-
env: options.env,
67+
mode: options.mode,
6868
verbose: options.verbose,
6969
outputPath: options.output,
7070
writeToDisk: true,

packages/core/src/config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ export const composeAutoExternalConfig = (options: {
142142

143143
export async function createInternalRsbuildConfig(): Promise<RsbuildConfig> {
144144
return defineRsbuildConfig({
145+
mode: 'production',
145146
dev: {
146147
progressBar: false,
147148
},

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config 1
77
"dev": {
88
"progressBar": false,
99
},
10+
"mode": "production",
1011
"output": {
1112
"distPath": {
1213
"js": "./",
@@ -81,6 +82,7 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config 1
8182
"dev": {
8283
"progressBar": false,
8384
},
85+
"mode": "production",
8486
"output": {
8587
"distPath": {
8688
"js": "./",
@@ -153,6 +155,7 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config 1
153155
"dev": {
154156
"progressBar": false,
155157
},
158+
"mode": "production",
156159
"output": {
157160
"distPath": {
158161
"js": "./",

packages/plugin-dts/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@
3434
"picocolors": "1.0.1"
3535
},
3636
"devDependencies": {
37-
"@microsoft/api-extractor": "^7.47.4",
38-
"@rsbuild/core": "1.0.1-beta.10",
37+
"@microsoft/api-extractor": "^7.47.5",
38+
"@rsbuild/core": "1.0.1-beta.11",
3939
"@rslib/tsconfig": "workspace:*",
40-
"typescript": "^5.5.3"
40+
"typescript": "^5.5.4"
4141
},
4242
"peerDependencies": {
4343
"@microsoft/api-extractor": "^7",

0 commit comments

Comments
 (0)