@angular-devkit/build-angular 22.3.0-next.4 → 22.3.0-rc.0
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 +16 -17
- package/src/builders/extract-i18n/schema.d.ts +2 -2
- package/src/builders/extract-i18n/schema.js +1 -1
- package/src/builders/extract-i18n/schema.json +3 -2
- package/src/builders/ng-packagr/index.d.ts +1 -0
- package/src/builders/ng-packagr/index.js +2 -1
- package/src/builders/ng-packagr/index.js.map +1 -1
- package/src/builders/ng-packagr/schema.d.ts +1 -0
- package/src/builders/ng-packagr/schema.json +1 -0
- package/src/utils/normalize-cache.js +1 -1
package/package.json
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular-devkit/build-angular",
|
|
3
|
-
"version": "22.3.0-
|
|
3
|
+
"version": "22.3.0-rc.0",
|
|
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.2203.0-
|
|
11
|
-
"@angular-devkit/build-webpack": "0.2203.0-
|
|
12
|
-
"@angular-devkit/core": "22.3.0-
|
|
13
|
-
"@angular/build": "22.3.0-
|
|
14
|
-
"@babel/core": "8.0
|
|
15
|
-
"@babel/generator": "8.0
|
|
10
|
+
"@angular-devkit/architect": "0.2203.0-rc.0",
|
|
11
|
+
"@angular-devkit/build-webpack": "0.2203.0-rc.0",
|
|
12
|
+
"@angular-devkit/core": "22.3.0-rc.0",
|
|
13
|
+
"@angular/build": "22.3.0-rc.0",
|
|
14
|
+
"@babel/core": "8.1.0",
|
|
15
|
+
"@babel/generator": "8.1.0",
|
|
16
16
|
"@babel/helper-annotate-as-pure": "8.0.0",
|
|
17
17
|
"@babel/helper-split-export-declaration": "7.24.7",
|
|
18
18
|
"@babel/plugin-transform-async-generator-functions": "8.0.6",
|
|
19
19
|
"@babel/plugin-transform-async-to-generator": "8.0.1",
|
|
20
20
|
"@babel/plugin-transform-runtime": "8.0.6",
|
|
21
21
|
"@babel/preset-env": "8.0.7",
|
|
22
|
-
"@babel/runtime": "8.0
|
|
22
|
+
"@babel/runtime": "8.1.0",
|
|
23
23
|
"@discoveryjs/json-ext": "1.1.0",
|
|
24
|
-
"@ngtools/webpack": "22.3.0-
|
|
24
|
+
"@ngtools/webpack": "22.3.0-rc.0",
|
|
25
25
|
"ansi-colors": "4.1.3",
|
|
26
26
|
"autoprefixer": "10.6.2",
|
|
27
27
|
"babel-loader": "10.1.1",
|
|
@@ -35,27 +35,26 @@
|
|
|
35
35
|
"jsonc-parser": "3.3.1",
|
|
36
36
|
"karma-source-map-support": "1.4.0",
|
|
37
37
|
"less": "4.9.1",
|
|
38
|
-
"less-loader": "13.
|
|
38
|
+
"less-loader": "13.1.0",
|
|
39
39
|
"license-webpack-plugin": "4.0.2",
|
|
40
40
|
"loader-utils": "3.3.1",
|
|
41
41
|
"mini-css-extract-plugin": "2.10.2",
|
|
42
42
|
"open": "11.0.4",
|
|
43
|
-
"ora": "
|
|
44
|
-
"picomatch": "4.0.7",
|
|
43
|
+
"ora": "10.0.0",
|
|
45
44
|
"piscina": "5.3.2",
|
|
46
45
|
"postcss": "8.5.32",
|
|
47
46
|
"postcss-loader": "8.2.1",
|
|
48
47
|
"resolve-url-loader": "5.0.0",
|
|
49
48
|
"rxjs": "7.8.2",
|
|
50
|
-
"sass-loader": "17.0
|
|
51
|
-
"semver": "7.8.
|
|
49
|
+
"sass-loader": "17.1.0",
|
|
50
|
+
"semver": "7.8.6",
|
|
52
51
|
"source-map-loader": "5.0.0",
|
|
53
52
|
"source-map-support": "0.5.21",
|
|
54
53
|
"terser": "5.51.2",
|
|
55
54
|
"tinyglobby": "0.2.17",
|
|
56
|
-
"tslib": "2.
|
|
55
|
+
"tslib": "2.9.1",
|
|
57
56
|
"webpack": "5.112.2",
|
|
58
|
-
"webpack-dev-middleware": "8.
|
|
57
|
+
"webpack-dev-middleware": "8.6.0",
|
|
59
58
|
"webpack-dev-server": "6.1.0",
|
|
60
59
|
"webpack-merge": "6.0.1",
|
|
61
60
|
"webpack-subresource-integrity": "5.1.0"
|
|
@@ -70,7 +69,7 @@
|
|
|
70
69
|
"@angular/platform-browser": "^22.0.0 || ^22.3.0-next.0",
|
|
71
70
|
"@angular/platform-server": "^22.0.0 || ^22.3.0-next.0",
|
|
72
71
|
"@angular/service-worker": "^22.0.0 || ^22.3.0-next.0",
|
|
73
|
-
"@angular/ssr": "^22.3.0-
|
|
72
|
+
"@angular/ssr": "^22.3.0-rc.0",
|
|
74
73
|
"browser-sync": "^3.0.2",
|
|
75
74
|
"karma": "^6.3.0",
|
|
76
75
|
"ng-packagr": "^22.0.0 || ^22.3.0-next.0",
|
|
@@ -13,7 +13,7 @@ export type Schema = {
|
|
|
13
13
|
*/
|
|
14
14
|
format?: Format;
|
|
15
15
|
/**
|
|
16
|
-
* How to handle duplicate
|
|
16
|
+
* How to handle duplicate messages found during extraction.
|
|
17
17
|
*/
|
|
18
18
|
i18nDuplicateTranslation?: I18NDuplicateTranslation;
|
|
19
19
|
/**
|
|
@@ -44,7 +44,7 @@ export declare enum Format {
|
|
|
44
44
|
Xmb = "xmb"
|
|
45
45
|
}
|
|
46
46
|
/**
|
|
47
|
-
* How to handle duplicate
|
|
47
|
+
* How to handle duplicate messages found during extraction.
|
|
48
48
|
*/
|
|
49
49
|
export declare enum I18NDuplicateTranslation {
|
|
50
50
|
Error = "error",
|
|
@@ -19,7 +19,7 @@ var Format;
|
|
|
19
19
|
Format["Xmb"] = "xmb";
|
|
20
20
|
})(Format || (exports.Format = Format = {}));
|
|
21
21
|
/**
|
|
22
|
-
* How to handle duplicate
|
|
22
|
+
* How to handle duplicate messages found during extraction.
|
|
23
23
|
*/
|
|
24
24
|
var I18NDuplicateTranslation;
|
|
25
25
|
(function (I18NDuplicateTranslation) {
|
|
@@ -30,8 +30,9 @@
|
|
|
30
30
|
},
|
|
31
31
|
"i18nDuplicateTranslation": {
|
|
32
32
|
"type": "string",
|
|
33
|
-
"description": "How to handle duplicate
|
|
34
|
-
"enum": ["error", "warning", "ignore"]
|
|
33
|
+
"description": "How to handle duplicate messages found during extraction.",
|
|
34
|
+
"enum": ["error", "warning", "ignore"],
|
|
35
|
+
"default": "warning"
|
|
35
36
|
}
|
|
36
37
|
},
|
|
37
38
|
"additionalProperties": false
|
|
@@ -10,6 +10,7 @@ import { Observable } from 'rxjs';
|
|
|
10
10
|
import { Schema as NgPackagrBuilderOptions } from './schema';
|
|
11
11
|
/**
|
|
12
12
|
* @experimental Direct usage of this function is considered experimental.
|
|
13
|
+
* @deprecated Use the `@angular/build:library` builder instead.
|
|
13
14
|
*/
|
|
14
15
|
export declare function execute(options: NgPackagrBuilderOptions, context: BuilderContext): Observable<BuilderOutput>;
|
|
15
16
|
export type { NgPackagrBuilderOptions };
|
|
@@ -49,10 +49,11 @@ const rxjs_1 = require("rxjs");
|
|
|
49
49
|
const normalize_cache_1 = require("../../utils/normalize-cache");
|
|
50
50
|
/**
|
|
51
51
|
* @experimental Direct usage of this function is considered experimental.
|
|
52
|
+
* @deprecated Use the `@angular/build:library` builder instead.
|
|
52
53
|
*/
|
|
53
54
|
function execute(options, context) {
|
|
54
55
|
context.logger.warn('The "@angular-devkit/build-angular:ng-packagr" builder is deprecated as part of Angular\'s Webpack support deprecation. ' +
|
|
55
|
-
'Use "@angular/build:
|
|
56
|
+
'Use "@angular/build:library" instead. For more information, see https://angular.dev/tools/cli/build-system-migration.');
|
|
56
57
|
return (0, rxjs_1.from)((async () => {
|
|
57
58
|
// Purge old build disk cache.
|
|
58
59
|
await (0, private_1.purgeStaleBuildCache)(context);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;GAM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M,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 = '22.3.0-
|
|
13
|
+
const VERSION = '22.3.0-rc.0';
|
|
14
14
|
function hasCacheMetadata(value) {
|
|
15
15
|
return (!!value &&
|
|
16
16
|
typeof value === 'object' &&
|