@angular-devkit/build-angular 20.0.0-next.9 → 20.0.0-rc.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,27 +1,27 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular-devkit/build-angular",
|
|
3
|
-
"version": "20.0.0-
|
|
3
|
+
"version": "20.0.0-rc.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.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.1",
|
|
11
|
+
"@angular-devkit/build-webpack": "0.2000.0-rc.1",
|
|
12
|
+
"@angular-devkit/core": "20.0.0-rc.1",
|
|
13
|
+
"@angular/build": "20.0.0-rc.1",
|
|
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.1",
|
|
25
25
|
"@vitejs/plugin-basic-ssl": "2.0.0",
|
|
26
26
|
"ansi-colors": "4.1.3",
|
|
27
27
|
"autoprefixer": "10.4.21",
|
|
@@ -29,41 +29,41 @@
|
|
|
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",
|
|
50
50
|
"rxjs": "7.8.2",
|
|
51
|
-
"sass": "1.
|
|
51
|
+
"sass": "1.88.0",
|
|
52
52
|
"sass-loader": "16.0.5",
|
|
53
|
-
"semver": "7.7.
|
|
53
|
+
"semver": "7.7.2",
|
|
54
54
|
"source-map-loader": "5.0.0",
|
|
55
55
|
"source-map-support": "0.5.21",
|
|
56
|
-
"terser": "5.39.
|
|
56
|
+
"terser": "5.39.1",
|
|
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.1",
|
|
76
76
|
"@web/test-runner": "^0.20.0",
|
|
77
77
|
"browser-sync": "^3.0.2",
|
|
78
78
|
"jest": "^29.5.0",
|
|
@@ -138,9 +138,9 @@
|
|
|
138
138
|
"type": "git",
|
|
139
139
|
"url": "https://github.com/angular/angular-cli.git"
|
|
140
140
|
},
|
|
141
|
-
"packageManager": "pnpm@9.15.
|
|
141
|
+
"packageManager": "pnpm@9.15.9",
|
|
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
|
},
|
|
@@ -205,7 +205,7 @@ async function addProxyConfig(root, proxyConfig) {
|
|
|
205
205
|
}
|
|
206
206
|
catch (e) {
|
|
207
207
|
(0, error_1.assertIsError)(e);
|
|
208
|
-
if (e.code !== 'ERR_REQUIRE_ESM') {
|
|
208
|
+
if (e.code !== 'ERR_REQUIRE_ESM' && e.code !== 'ERR_REQUIRE_ASYNC_MODULE') {
|
|
209
209
|
throw e;
|
|
210
210
|
}
|
|
211
211
|
// Load the ESM configuration file using the TypeScript dynamic import workaround.
|
|
@@ -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.1';
|
|
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);
|