@angular-devkit/build-angular 20.0.0-next.8 → 20.0.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
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular-devkit/build-angular",
|
|
3
|
-
"version": "20.0.0-
|
|
3
|
+
"version": "20.0.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.2000.0-
|
|
11
|
-
"@angular-devkit/build-webpack": "0.2000.0-
|
|
12
|
-
"@angular-devkit/core": "20.0.0-
|
|
13
|
-
"@angular/build": "20.0.0-
|
|
14
|
-
"@babel/core": "7.
|
|
15
|
-
"@babel/generator": "7.27.
|
|
16
|
-
"@babel/helper-annotate-as-pure": "7.
|
|
10
|
+
"@angular-devkit/architect": "0.2000.0-rc.0",
|
|
11
|
+
"@angular-devkit/build-webpack": "0.2000.0-rc.0",
|
|
12
|
+
"@angular-devkit/core": "20.0.0-rc.0",
|
|
13
|
+
"@angular/build": "20.0.0-rc.0",
|
|
14
|
+
"@babel/core": "7.27.1",
|
|
15
|
+
"@babel/generator": "7.27.1",
|
|
16
|
+
"@babel/helper-annotate-as-pure": "7.27.1",
|
|
17
17
|
"@babel/helper-split-export-declaration": "7.24.7",
|
|
18
|
-
"@babel/plugin-transform-async-generator-functions": "7.
|
|
19
|
-
"@babel/plugin-transform-async-to-generator": "7.
|
|
20
|
-
"@babel/plugin-transform-runtime": "7.
|
|
21
|
-
"@babel/preset-env": "7.
|
|
22
|
-
"@babel/runtime": "7.27.
|
|
18
|
+
"@babel/plugin-transform-async-generator-functions": "7.27.1",
|
|
19
|
+
"@babel/plugin-transform-async-to-generator": "7.27.1",
|
|
20
|
+
"@babel/plugin-transform-runtime": "7.27.1",
|
|
21
|
+
"@babel/preset-env": "7.27.2",
|
|
22
|
+
"@babel/runtime": "7.27.1",
|
|
23
23
|
"@discoveryjs/json-ext": "0.6.3",
|
|
24
|
-
"@ngtools/webpack": "20.0.0-
|
|
24
|
+
"@ngtools/webpack": "20.0.0-rc.0",
|
|
25
25
|
"@vitejs/plugin-basic-ssl": "2.0.0",
|
|
26
26
|
"ansi-colors": "4.1.3",
|
|
27
27
|
"autoprefixer": "10.4.21",
|
|
@@ -29,21 +29,21 @@
|
|
|
29
29
|
"browserslist": "^4.21.5",
|
|
30
30
|
"copy-webpack-plugin": "13.0.0",
|
|
31
31
|
"css-loader": "7.1.2",
|
|
32
|
-
"esbuild-wasm": "0.25.
|
|
32
|
+
"esbuild-wasm": "0.25.4",
|
|
33
33
|
"fast-glob": "3.3.3",
|
|
34
34
|
"http-proxy-middleware": "3.0.5",
|
|
35
35
|
"istanbul-lib-instrument": "6.0.3",
|
|
36
36
|
"jsonc-parser": "3.3.1",
|
|
37
37
|
"karma-source-map-support": "1.4.0",
|
|
38
38
|
"less": "4.3.0",
|
|
39
|
-
"less-loader": "12.
|
|
39
|
+
"less-loader": "12.3.0",
|
|
40
40
|
"license-webpack-plugin": "4.0.2",
|
|
41
41
|
"loader-utils": "3.3.1",
|
|
42
42
|
"mini-css-extract-plugin": "2.9.2",
|
|
43
|
-
"open": "10.1.
|
|
43
|
+
"open": "10.1.2",
|
|
44
44
|
"ora": "5.4.1",
|
|
45
45
|
"picomatch": "4.0.2",
|
|
46
|
-
"piscina": "
|
|
46
|
+
"piscina": "5.0.0",
|
|
47
47
|
"postcss": "8.5.3",
|
|
48
48
|
"postcss-loader": "8.1.1",
|
|
49
49
|
"resolve-url-loader": "5.0.0",
|
|
@@ -56,14 +56,14 @@
|
|
|
56
56
|
"terser": "5.39.0",
|
|
57
57
|
"tree-kill": "1.2.2",
|
|
58
58
|
"tslib": "2.8.1",
|
|
59
|
-
"webpack": "5.99.
|
|
59
|
+
"webpack": "5.99.8",
|
|
60
60
|
"webpack-dev-middleware": "7.4.2",
|
|
61
61
|
"webpack-dev-server": "5.2.1",
|
|
62
62
|
"webpack-merge": "6.0.1",
|
|
63
63
|
"webpack-subresource-integrity": "5.1.0"
|
|
64
64
|
},
|
|
65
65
|
"optionalDependencies": {
|
|
66
|
-
"esbuild": "0.25.
|
|
66
|
+
"esbuild": "0.25.4"
|
|
67
67
|
},
|
|
68
68
|
"peerDependencies": {
|
|
69
69
|
"@angular/core": "^20.0.0 || ^20.0.0-next.0",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"@angular/platform-browser": "^20.0.0 || ^20.0.0-next.0",
|
|
73
73
|
"@angular/platform-server": "^20.0.0 || ^20.0.0-next.0",
|
|
74
74
|
"@angular/service-worker": "^20.0.0 || ^20.0.0-next.0",
|
|
75
|
-
"@angular/ssr": "^20.0.0-
|
|
75
|
+
"@angular/ssr": "^20.0.0-rc.0",
|
|
76
76
|
"@web/test-runner": "^0.20.0",
|
|
77
77
|
"browser-sync": "^3.0.2",
|
|
78
78
|
"jest": "^29.5.0",
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
},
|
|
141
141
|
"packageManager": "pnpm@9.15.6",
|
|
142
142
|
"engines": {
|
|
143
|
-
"node": "^20.11.1 ||
|
|
143
|
+
"node": "^20.11.1 || ^22.11.0 || >=24.0.0",
|
|
144
144
|
"npm": "^6.11.0 || ^7.5.6 || >=8.0.0",
|
|
145
145
|
"yarn": ">= 1.13.0"
|
|
146
146
|
},
|
|
@@ -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 = '20.0.0-
|
|
13
|
+
const VERSION = '20.0.0-rc.0';
|
|
14
14
|
function hasCacheMetadata(value) {
|
|
15
15
|
return (!!value &&
|
|
16
16
|
typeof value === 'object' &&
|
|
@@ -171,7 +171,8 @@ async function inlineLocales(options) {
|
|
|
171
171
|
if (!transformResult || !transformResult.code) {
|
|
172
172
|
throw new Error(`Unknown error occurred processing bundle for "${options.filename}".`);
|
|
173
173
|
}
|
|
174
|
-
const
|
|
174
|
+
const subPath = i18n.locales[locale].subPath;
|
|
175
|
+
const outputPath = path.join(options.outputPath, i18n.flatOutput ? '' : subPath, options.filename);
|
|
175
176
|
await fs.writeFile(outputPath, transformResult.code);
|
|
176
177
|
if (options.map && transformResult.map) {
|
|
177
178
|
const outputMap = (0, remapping_1.default)([transformResult.map, options.map], () => null);
|
|
@@ -231,7 +232,8 @@ async function inlineLocalesDirect(ast, options) {
|
|
|
231
232
|
: new ConcatSource(setLocaleText, content);
|
|
232
233
|
}
|
|
233
234
|
const { source: outputCode, map: outputMap } = outputSource.sourceAndMap();
|
|
234
|
-
const
|
|
235
|
+
const subPath = i18n.locales[locale].subPath;
|
|
236
|
+
const outputPath = path.join(options.outputPath, i18n.flatOutput ? '' : subPath, options.filename);
|
|
235
237
|
await fs.writeFile(outputPath, outputCode);
|
|
236
238
|
if (inputMap && outputMap) {
|
|
237
239
|
outputMap.file = options.filename;
|
|
@@ -248,7 +250,8 @@ async function inlineCopyOnly(options) {
|
|
|
248
250
|
throw new Error('i18n options are missing');
|
|
249
251
|
}
|
|
250
252
|
for (const locale of i18n.inlineLocales) {
|
|
251
|
-
const
|
|
253
|
+
const subPath = i18n.locales[locale].subPath;
|
|
254
|
+
const outputPath = path.join(options.outputPath, i18n.flatOutput ? '' : subPath, options.filename);
|
|
252
255
|
await fs.writeFile(outputPath, options.code);
|
|
253
256
|
if (options.map) {
|
|
254
257
|
await fs.writeFile(outputPath + '.map', options.map);
|