@angular-devkit/build-angular 18.2.0-next.2 → 18.2.0-next.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,27 +1,27 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular-devkit/build-angular",
|
|
3
|
-
"version": "18.2.0-next.
|
|
3
|
+
"version": "18.2.0-next.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.1802.0-next.
|
|
11
|
-
"@angular-devkit/build-webpack": "0.1802.0-next.
|
|
12
|
-
"@angular-devkit/core": "18.2.0-next.
|
|
13
|
-
"@angular/build": "18.2.0-next.
|
|
14
|
-
"@babel/core": "7.
|
|
15
|
-
"@babel/generator": "7.
|
|
10
|
+
"@angular-devkit/architect": "0.1802.0-next.3",
|
|
11
|
+
"@angular-devkit/build-webpack": "0.1802.0-next.3",
|
|
12
|
+
"@angular-devkit/core": "18.2.0-next.3",
|
|
13
|
+
"@angular/build": "18.2.0-next.3",
|
|
14
|
+
"@babel/core": "7.25.2",
|
|
15
|
+
"@babel/generator": "7.25.0",
|
|
16
16
|
"@babel/helper-annotate-as-pure": "7.24.7",
|
|
17
17
|
"@babel/helper-split-export-declaration": "7.24.7",
|
|
18
|
-
"@babel/plugin-transform-async-generator-functions": "7.
|
|
18
|
+
"@babel/plugin-transform-async-generator-functions": "7.25.0",
|
|
19
19
|
"@babel/plugin-transform-async-to-generator": "7.24.7",
|
|
20
20
|
"@babel/plugin-transform-runtime": "7.24.7",
|
|
21
|
-
"@babel/preset-env": "7.
|
|
22
|
-
"@babel/runtime": "7.
|
|
21
|
+
"@babel/preset-env": "7.25.2",
|
|
22
|
+
"@babel/runtime": "7.25.0",
|
|
23
23
|
"@discoveryjs/json-ext": "0.6.0",
|
|
24
|
-
"@ngtools/webpack": "18.2.0-next.
|
|
24
|
+
"@ngtools/webpack": "18.2.0-next.3",
|
|
25
25
|
"@vitejs/plugin-basic-ssl": "1.1.0",
|
|
26
26
|
"ansi-colors": "4.1.3",
|
|
27
27
|
"autoprefixer": "10.4.19",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"less-loader": "12.2.0",
|
|
42
42
|
"license-webpack-plugin": "4.0.2",
|
|
43
43
|
"loader-utils": "3.3.1",
|
|
44
|
-
"magic-string": "0.30.
|
|
44
|
+
"magic-string": "0.30.11",
|
|
45
45
|
"mini-css-extract-plugin": "2.9.0",
|
|
46
46
|
"mrmime": "2.0.0",
|
|
47
47
|
"open": "10.1.0",
|
|
@@ -49,19 +49,19 @@
|
|
|
49
49
|
"parse5-html-rewriting-stream": "7.0.0",
|
|
50
50
|
"picomatch": "4.0.2",
|
|
51
51
|
"piscina": "4.6.1",
|
|
52
|
-
"postcss": "8.4.
|
|
52
|
+
"postcss": "8.4.40",
|
|
53
53
|
"postcss-loader": "8.1.1",
|
|
54
54
|
"resolve-url-loader": "5.0.0",
|
|
55
55
|
"rxjs": "7.8.1",
|
|
56
56
|
"sass": "1.77.8",
|
|
57
|
-
"sass-loader": "
|
|
57
|
+
"sass-loader": "16.0.0",
|
|
58
58
|
"semver": "7.6.3",
|
|
59
59
|
"source-map-loader": "5.0.0",
|
|
60
60
|
"source-map-support": "0.5.21",
|
|
61
61
|
"terser": "5.31.3",
|
|
62
62
|
"tree-kill": "1.2.2",
|
|
63
63
|
"tslib": "2.6.3",
|
|
64
|
-
"vite": "5.3.
|
|
64
|
+
"vite": "5.3.5",
|
|
65
65
|
"watchpack": "2.4.1",
|
|
66
66
|
"webpack": "5.93.0",
|
|
67
67
|
"webpack-dev-middleware": "7.3.0",
|
|
@@ -50,6 +50,12 @@ async function execute(options, context, transforms) {
|
|
|
50
50
|
context.logger.error(`The 'extract-i18n' builder requires a target to be specified.`);
|
|
51
51
|
return { success: false };
|
|
52
52
|
}
|
|
53
|
+
const { projectType } = (await context.getProjectMetadata(projectName));
|
|
54
|
+
if (projectType !== 'application') {
|
|
55
|
+
context.logger.error(`Tried to extract from ${projectName} with 'projectType' ${projectType}, which is not supported.` +
|
|
56
|
+
` The 'extract-i18n' builder can only extract from applications.`);
|
|
57
|
+
return { success: false };
|
|
58
|
+
}
|
|
53
59
|
// Check Angular version.
|
|
54
60
|
(0, private_1.assertCompatibleAngularVersion)(context.workspaceRoot);
|
|
55
61
|
// Load the Angular localize package.
|
|
@@ -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 = '18.2.0-next.
|
|
13
|
+
const VERSION = '18.2.0-next.3';
|
|
14
14
|
function hasCacheMetadata(value) {
|
|
15
15
|
return (!!value &&
|
|
16
16
|
typeof value === 'object' &&
|