@angular-devkit/build-angular 22.0.0-next.0 → 22.0.0-next.1
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": "22.0.0-next.
|
|
3
|
+
"version": "22.0.0-next.1",
|
|
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.2200.0-next.
|
|
11
|
-
"@angular-devkit/build-webpack": "0.2200.0-next.
|
|
12
|
-
"@angular-devkit/core": "22.0.0-next.
|
|
13
|
-
"@angular/build": "22.0.0-next.
|
|
10
|
+
"@angular-devkit/architect": "0.2200.0-next.1",
|
|
11
|
+
"@angular-devkit/build-webpack": "0.2200.0-next.1",
|
|
12
|
+
"@angular-devkit/core": "22.0.0-next.1",
|
|
13
|
+
"@angular/build": "22.0.0-next.1",
|
|
14
14
|
"@babel/core": "7.29.0",
|
|
15
15
|
"@babel/generator": "7.29.1",
|
|
16
16
|
"@babel/helper-annotate-as-pure": "7.27.3",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"@babel/plugin-transform-runtime": "7.29.0",
|
|
21
21
|
"@babel/preset-env": "7.29.0",
|
|
22
22
|
"@babel/runtime": "7.28.6",
|
|
23
|
-
"@discoveryjs/json-ext": "0.
|
|
24
|
-
"@ngtools/webpack": "22.0.0-next.
|
|
23
|
+
"@discoveryjs/json-ext": "1.0.0",
|
|
24
|
+
"@ngtools/webpack": "22.0.0-next.1",
|
|
25
25
|
"ansi-colors": "4.1.3",
|
|
26
26
|
"autoprefixer": "10.4.27",
|
|
27
27
|
"babel-loader": "10.0.0",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"ora": "9.3.0",
|
|
43
43
|
"picomatch": "4.0.3",
|
|
44
44
|
"piscina": "5.1.4",
|
|
45
|
-
"postcss": "8.5.
|
|
45
|
+
"postcss": "8.5.8",
|
|
46
46
|
"postcss-loader": "8.2.1",
|
|
47
47
|
"resolve-url-loader": "5.0.0",
|
|
48
48
|
"rxjs": "7.8.2",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"terser": "5.46.0",
|
|
55
55
|
"tinyglobby": "0.2.15",
|
|
56
56
|
"tslib": "2.8.1",
|
|
57
|
-
"webpack": "5.105.
|
|
57
|
+
"webpack": "5.105.4",
|
|
58
58
|
"webpack-dev-middleware": "7.4.5",
|
|
59
59
|
"webpack-dev-server": "5.2.3",
|
|
60
60
|
"webpack-merge": "6.0.1",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"@angular/platform-browser": "^22.0.0-next.0",
|
|
71
71
|
"@angular/platform-server": "^22.0.0-next.0",
|
|
72
72
|
"@angular/service-worker": "^22.0.0-next.0",
|
|
73
|
-
"@angular/ssr": "^22.0.0-next.
|
|
73
|
+
"@angular/ssr": "^22.0.0-next.1",
|
|
74
74
|
"browser-sync": "^3.0.2",
|
|
75
75
|
"karma": "^6.3.0",
|
|
76
76
|
"ng-packagr": "^22.0.0-next.0",
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
"type": "git",
|
|
121
121
|
"url": "git+https://github.com/angular/angular-cli.git"
|
|
122
122
|
},
|
|
123
|
-
"packageManager": "pnpm@10.
|
|
123
|
+
"packageManager": "pnpm@10.31.0",
|
|
124
124
|
"engines": {
|
|
125
125
|
"node": "^22.22.0 || >=24.13.1",
|
|
126
126
|
"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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AAC,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 = '22.0.0-next.
|
|
13
|
+
const VERSION = '22.0.0-next.1';
|
|
14
14
|
function hasCacheMetadata(value) {
|
|
15
15
|
return (!!value &&
|
|
16
16
|
typeof value === 'object' &&
|