@rspack/cli 2.2.0 → 2.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +4 -2
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -1121,7 +1121,7 @@ class RspackCLI {
|
|
|
1121
1121
|
this.colors = this.createColors();
|
|
1122
1122
|
this.program = program;
|
|
1123
1123
|
program.help();
|
|
1124
|
-
program.version("2.2.
|
|
1124
|
+
program.version("2.2.2");
|
|
1125
1125
|
}
|
|
1126
1126
|
wrapAction(fn) {
|
|
1127
1127
|
return (...args)=>{
|
|
@@ -1229,7 +1229,8 @@ class RspackCLI {
|
|
|
1229
1229
|
}
|
|
1230
1230
|
if (void 0 === item.stats) item.stats = {
|
|
1231
1231
|
preset: 'errors-warnings',
|
|
1232
|
-
timings: true
|
|
1232
|
+
timings: true,
|
|
1233
|
+
logging: false
|
|
1233
1234
|
};
|
|
1234
1235
|
else if ('boolean' == typeof item.stats) item.stats = item.stats ? {
|
|
1235
1236
|
preset: 'normal'
|
|
@@ -1239,6 +1240,7 @@ class RspackCLI {
|
|
|
1239
1240
|
else if ('string' == typeof item.stats) item.stats = {
|
|
1240
1241
|
preset: item.stats
|
|
1241
1242
|
};
|
|
1243
|
+
else if (void 0 === item.stats.preset && true !== item.stats.all) item.stats.logging ??= false;
|
|
1242
1244
|
return item;
|
|
1243
1245
|
};
|
|
1244
1246
|
if (Array.isArray(item)) return Promise.all(item.map(internalBuildConfig));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspack/cli",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.2",
|
|
4
4
|
"description": "CLI for rspack",
|
|
5
5
|
"homepage": "https://rspack.rs",
|
|
6
6
|
"bugs": "https://github.com/web-infra-dev/rspack/issues",
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
],
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@discoveryjs/json-ext": "^1.1.0",
|
|
32
|
-
"@microsoft/api-extractor": "^7.
|
|
32
|
+
"@microsoft/api-extractor": "^7.59.0",
|
|
33
33
|
"@rstackjs/load-config": "^0.1.2",
|
|
34
|
-
"@rspack/dev-server": "^2.2.
|
|
34
|
+
"@rspack/dev-server": "^2.2.1",
|
|
35
35
|
"cac": "^7.0.0",
|
|
36
36
|
"concat-stream": "^2.0.0",
|
|
37
37
|
"execa": "^5.1.1",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"rspack-merge": "1.0.1",
|
|
42
42
|
"rstack": "^0.6.4",
|
|
43
43
|
"typescript": "^6.0.3",
|
|
44
|
-
"@rspack/core": "2.2.
|
|
44
|
+
"@rspack/core": "2.2.2"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"@rspack/core": "^2.0.0-0",
|