@angular-devkit/build-angular 21.2.1 → 21.2.3
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/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular-devkit/build-angular",
|
|
3
|
-
"version": "21.2.
|
|
3
|
+
"version": "21.2.3",
|
|
4
4
|
"description": "Angular Webpack Build Facade",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"typings": "src/index.d.ts",
|
|
7
7
|
"builders": "builders.json",
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"@ampproject/remapping": "2.3.0",
|
|
10
|
-
"@angular-devkit/architect": "0.2102.
|
|
11
|
-
"@angular-devkit/build-webpack": "0.2102.
|
|
12
|
-
"@angular-devkit/core": "21.2.
|
|
13
|
-
"@angular/build": "21.2.
|
|
10
|
+
"@angular-devkit/architect": "0.2102.3",
|
|
11
|
+
"@angular-devkit/build-webpack": "0.2102.3",
|
|
12
|
+
"@angular-devkit/core": "21.2.3",
|
|
13
|
+
"@angular/build": "21.2.3",
|
|
14
14
|
"@babel/core": "7.29.0",
|
|
15
15
|
"@babel/generator": "7.29.1",
|
|
16
16
|
"@babel/helper-annotate-as-pure": "7.27.3",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@babel/preset-env": "7.29.0",
|
|
22
22
|
"@babel/runtime": "7.28.6",
|
|
23
23
|
"@discoveryjs/json-ext": "0.6.3",
|
|
24
|
-
"@ngtools/webpack": "21.2.
|
|
24
|
+
"@ngtools/webpack": "21.2.3",
|
|
25
25
|
"ansi-colors": "4.1.3",
|
|
26
26
|
"autoprefixer": "10.4.27",
|
|
27
27
|
"babel-loader": "10.0.0",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"@angular/platform-browser": "^21.0.0",
|
|
72
72
|
"@angular/platform-server": "^21.0.0",
|
|
73
73
|
"@angular/service-worker": "^21.0.0",
|
|
74
|
-
"@angular/ssr": "^21.2.
|
|
74
|
+
"@angular/ssr": "^21.2.3",
|
|
75
75
|
"@web/test-runner": "^0.20.0",
|
|
76
76
|
"browser-sync": "^3.0.2",
|
|
77
77
|
"jest": "^30.2.0",
|
|
@@ -135,9 +135,9 @@
|
|
|
135
135
|
],
|
|
136
136
|
"repository": {
|
|
137
137
|
"type": "git",
|
|
138
|
-
"url": "https://github.com/angular/angular-cli.git"
|
|
138
|
+
"url": "git+https://github.com/angular/angular-cli.git"
|
|
139
139
|
},
|
|
140
|
-
"packageManager": "pnpm@10.
|
|
140
|
+
"packageManager": "pnpm@10.32.1",
|
|
141
141
|
"engines": {
|
|
142
142
|
"node": "^20.19.0 || ^22.12.0 || >=24.0.0",
|
|
143
143
|
"npm": "^6.11.0 || ^7.5.6 || >=8.0.0",
|
|
@@ -43,6 +43,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
43
43
|
exports.execute = execute;
|
|
44
44
|
const private_1 = require("@angular/build/private");
|
|
45
45
|
const architect_1 = require("@angular-devkit/architect");
|
|
46
|
+
const node_module_1 = require("node:module");
|
|
46
47
|
const node_path_1 = require("node:path");
|
|
47
48
|
const rxjs_1 = require("rxjs");
|
|
48
49
|
const normalize_cache_1 = require("../../utils/normalize-cache");
|
|
@@ -54,7 +55,9 @@ function execute(options, context) {
|
|
|
54
55
|
// Purge old build disk cache.
|
|
55
56
|
await (0, private_1.purgeStaleBuildCache)(context);
|
|
56
57
|
const root = context.workspaceRoot;
|
|
57
|
-
const
|
|
58
|
+
const workspaceRequire = (0, node_module_1.createRequire)(root + '/');
|
|
59
|
+
const ngPackagePath = workspaceRequire.resolve('ng-packagr');
|
|
60
|
+
const packager = (await Promise.resolve(`${ngPackagePath}`).then(s => __importStar(require(s)))).ngPackagr();
|
|
58
61
|
packager.forProject((0, node_path_1.resolve)(root, options.project));
|
|
59
62
|
if (options.tsConfig) {
|
|
60
63
|
packager.withTsConfig((0, node_path_1.resolve)(root, options.tsConfig));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcH,0BA8CC;AA1DD,oDAA8D;AAC9D,yDAAyF;AAEzF,6CAA4C;AAC5C,yCAA0C;AAC1C,+BAAwE;AACxE,iEAAoE;AAGpE;;GAEG;AACH,SAAgB,OAAO,CACrB,OAAgC,EAChC,OAAuB;IAEvB,OAAO,IAAA,WAAI,EACT,CAAC,KAAK,IAAI,EAAE;QACV,8BAA8B;QAC9B,MAAM,IAAA,8BAAoB,EAAC,OAAO,CAAC,CAAC;QAEpC,MAAM,IAAI,GAAG,OAAO,CAAC,aAAa,CAAC;QACnC,MAAM,gBAAgB,GAAG,IAAA,2BAAa,EAAC,IAAI,GAAG,GAAG,CAAC,CAAC;QACnD,MAAM,aAAa,GAAG,gBAAgB,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;QAC7D,MAAM,QAAQ,GAAG,CAAC,yBAAa,aAAa,uCAAC,CAAC,CAAC,SAAS,EAAE,CAAC;QAE3D,QAAQ,CAAC,UAAU,CAAC,IAAA,mBAAO,EAAC,IAAI,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC;QAEpD,IAAI,OAAO,CAAC,QAAQ,EAAE,CAAC;YACrB,QAAQ,CAAC,YAAY,CAAC,IAAA,mBAAO,EAAC,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC;QACzD,CAAC;QAED,MAAM,WAAW,GAAG,OAAO,CAAC,MAAM,EAAE,OAAO,CAAC;QAC5C,IAAI,CAAC,WAAW,EAAE,CAAC;YACjB,MAAM,IAAI,KAAK,CAAC,gCAAgC,CAAC,CAAC;QACpD,CAAC;QAED,MAAM,QAAQ,GAAG,MAAM,OAAO,CAAC,kBAAkB,CAAC,WAAW,CAAC,CAAC;QAC/D,MAAM,EAAE,OAAO,EAAE,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,GAAG,IAAA,uCAAqB,EAC3E,QAAQ,EACR,OAAO,CAAC,aAAa,CACtB,CAAC;QAEF,MAAM,gBAAgB,GAAqB;YACzC,YAAY;YACZ,IAAI,EAAE,OAAO,CAAC,IAAI;YAClB,cAAc,EAAE,IAAA,gBAAI,EAAC,cAAc,EAAE,YAAY,CAAC;SACnD,CAAC;QAEF,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,CAAC;IACxC,CAAC,CAAC,EAAE,CACL,CAAC,IAAI,CACJ,IAAA,gBAAS,EAAC,CAAC,EAAE,QAAQ,EAAE,gBAAgB,EAAE,EAAE,EAAE,CAC3C,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,gBAAgB,CAAC,CACpF,EACD,IAAA,UAAG,EAAC,GAAG,EAAE,CAAC,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC,EAC9B,IAAA,iBAAU,EAAC,CAAC,GAAG,EAAE,EAAE,CAAC,IAAA,SAAE,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,CAAC,OAAO,EAAE,CAAC,CAAC,CAChE,CAAC;AACJ,CAAC;AAGD,kBAAe,IAAA,yBAAa,EAAmD,OAAO,CAAC,CAAC"}
|
|
@@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
10
10
|
exports.normalizeCacheOptions = normalizeCacheOptions;
|
|
11
11
|
const node_path_1 = require("node:path");
|
|
12
12
|
/** Version placeholder is replaced during the build process with actual package version */
|
|
13
|
-
const VERSION = '21.2.
|
|
13
|
+
const VERSION = '21.2.3';
|
|
14
14
|
function hasCacheMetadata(value) {
|
|
15
15
|
return (!!value &&
|
|
16
16
|
typeof value === 'object' &&
|