@nx/angular-rspack 22.4.0-canary.20260105-80cde6a → 22.4.0-canary.20260106-0119275
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stats.d.ts","sourceRoot":"","sources":["../../../src/lib/utils/stats.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,sBAAsB,EAGvB,MAAM,wBAAwB,CAAC;AAGhC,OAAO,EACL,aAAa,EACb,gBAAgB,EAChB,KAAK,EACL,YAAY,EACb,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,oCAAoC,EACpC,oBAAoB,EACpB,kBAAkB,EACnB,MAAM,yCAAyC,CAAC;AAMjD,MAAM,WAAW,qBAAqB;IACpC,CAAC,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,aAAa,GAAG,IAAI,CAAC;CAC7C;AAED,MAAM,MAAM,kBAAkB,GAAG,OAAO,CACtC,aAAa,CAAC,OAAO,CAAC,EACtB,MAAM,GAAG,OAAO,GAAG,SAAS,CAC7B,CAAC;AAEF,wBAAgB,yBAAyB,CACvC,gBAAgB,EAAE,kBAAkB,EAAE,EACtC,iBAAiB,EAAE,MAAM,GACxB,oBAAoB,EAAE,CAmBxB;
|
|
1
|
+
{"version":3,"file":"stats.d.ts","sourceRoot":"","sources":["../../../src/lib/utils/stats.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,sBAAsB,EAGvB,MAAM,wBAAwB,CAAC;AAGhC,OAAO,EACL,aAAa,EACb,gBAAgB,EAChB,KAAK,EACL,YAAY,EACb,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,oCAAoC,EACpC,oBAAoB,EACpB,kBAAkB,EACnB,MAAM,yCAAyC,CAAC;AAMjD,MAAM,WAAW,qBAAqB;IACpC,CAAC,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,aAAa,GAAG,IAAI,CA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ils/stats.js
CHANGED
|
@@ -73,7 +73,9 @@ function statsToString(stats, json, statsConfig, budgetFailures) {
|
|
|
73
73
|
return '';
|
|
74
74
|
}
|
|
75
75
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
76
|
-
const colors = statsConfig.colors
|
|
76
|
+
const colors = typeof statsConfig.colors === 'boolean'
|
|
77
|
+
? statsConfig.colors
|
|
78
|
+
: !!statsConfig.colors;
|
|
77
79
|
const rs = (x) => (colors ? color_1.colors.reset(x) : x);
|
|
78
80
|
const w = (x) => (colors ? color_1.colors.bold.white(x) : x);
|
|
79
81
|
const changedChunksStats = [];
|
|
@@ -153,7 +155,9 @@ function statsToString(stats, json, statsConfig, budgetFailures) {
|
|
|
153
155
|
`Build at: ${w(new Date().toISOString())} - Hash: ${w(json.hash || '')} - Time: ${w('' + time)}ms`);
|
|
154
156
|
}
|
|
155
157
|
function statsWarningsToString(json, statsConfig) {
|
|
156
|
-
const colors = statsConfig.colors
|
|
158
|
+
const colors = typeof statsConfig.colors === 'boolean'
|
|
159
|
+
? statsConfig.colors
|
|
160
|
+
: !!statsConfig.colors;
|
|
157
161
|
const c = (x) => (colors ? color_1.colors.reset.cyan(x) : x);
|
|
158
162
|
const y = (x) => (colors ? color_1.colors.reset.yellow(x) : x);
|
|
159
163
|
const yb = (x) => (colors ? color_1.colors.reset.yellowBright(x) : x);
|
|
@@ -203,7 +207,9 @@ function statsWarningsToString(json, statsConfig) {
|
|
|
203
207
|
return output ? '\n' + output : output;
|
|
204
208
|
}
|
|
205
209
|
function statsErrorsToString(json, statsConfig) {
|
|
206
|
-
const colors = statsConfig.colors
|
|
210
|
+
const colors = typeof statsConfig.colors === 'boolean'
|
|
211
|
+
? statsConfig.colors
|
|
212
|
+
: !!statsConfig.colors;
|
|
207
213
|
const c = (x) => (colors ? color_1.colors.reset.cyan(x) : x);
|
|
208
214
|
const yb = (x) => (colors ? color_1.colors.reset.yellowBright(x) : x);
|
|
209
215
|
const r = (x) => (colors ? color_1.colors.reset.redBright(x) : x);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/angular-rspack",
|
|
3
|
-
"version": "22.4.0-canary.
|
|
3
|
+
"version": "22.4.0-canary.20260106-0119275",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"@ampproject/remapping": "2.3.0",
|
|
49
49
|
"@babel/core": "7.28.3",
|
|
50
50
|
"@discoveryjs/json-ext": "0.6.3",
|
|
51
|
-
"@nx/angular-rspack-compiler": "22.4.0-canary.
|
|
52
|
-
"@nx/devkit": "22.4.0-canary.
|
|
51
|
+
"@nx/angular-rspack-compiler": "22.4.0-canary.20260106-0119275",
|
|
52
|
+
"@nx/devkit": "22.4.0-canary.20260106-0119275",
|
|
53
53
|
"ansi-colors": "4.1.3",
|
|
54
54
|
"autoprefixer": "10.4.21",
|
|
55
55
|
"deepmerge": "^4.3.1",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"@angular/localize": ">= 19.0.0 < 22.0.0",
|
|
82
82
|
"@angular/platform-server": ">= 19.0.0 < 22.0.0",
|
|
83
83
|
"@angular/ssr": ">= 19.0.0 < 22.0.0",
|
|
84
|
-
"@rspack/core": ">=1.3.5 <
|
|
84
|
+
"@rspack/core": ">=1.3.5 <1.7.0",
|
|
85
85
|
"tailwindcss": "^2.0.0 || ^3.0.0 || ^4.0.0",
|
|
86
86
|
"zone.js": "~0.15.0 || ~0.16.0"
|
|
87
87
|
},
|