@angular/build 19.0.0-rc.2 → 19.0.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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/build",
|
|
3
|
-
"version": "19.0.0
|
|
3
|
+
"version": "19.0.0",
|
|
4
4
|
"description": "Official build system for Angular",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Angular CLI",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"builders": "builders.json",
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@ampproject/remapping": "2.3.0",
|
|
26
|
-
"@angular-devkit/architect": "0.1900.0
|
|
26
|
+
"@angular-devkit/architect": "0.1900.0",
|
|
27
27
|
"@babel/core": "7.26.0",
|
|
28
28
|
"@babel/helper-annotate-as-pure": "7.25.9",
|
|
29
29
|
"@babel/helper-split-export-declaration": "7.24.7",
|
|
@@ -52,12 +52,12 @@
|
|
|
52
52
|
"lmdb": "3.1.5"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
|
-
"@angular/compiler": "^19.0.0
|
|
56
|
-
"@angular/compiler-cli": "^19.0.0
|
|
57
|
-
"@angular/localize": "^19.0.0
|
|
58
|
-
"@angular/platform-server": "^19.0.0
|
|
59
|
-
"@angular/service-worker": "^19.0.0
|
|
60
|
-
"@angular/ssr": "^19.0.0
|
|
55
|
+
"@angular/compiler": "^19.0.0",
|
|
56
|
+
"@angular/compiler-cli": "^19.0.0",
|
|
57
|
+
"@angular/localize": "^19.0.0",
|
|
58
|
+
"@angular/platform-server": "^19.0.0",
|
|
59
|
+
"@angular/service-worker": "^19.0.0",
|
|
60
|
+
"@angular/ssr": "^19.0.0",
|
|
61
61
|
"less": "^4.2.0",
|
|
62
62
|
"postcss": "^8.4.0",
|
|
63
63
|
"tailwindcss": "^2.0.0 || ^3.0.0",
|
|
@@ -236,7 +236,7 @@ async function normalizeOptions(context, projectName, options, extensions) {
|
|
|
236
236
|
}
|
|
237
237
|
}
|
|
238
238
|
// Initial options to keep
|
|
239
|
-
const { allowedCommonJsDependencies, aot, baseHref, crossOrigin, externalDependencies, extractLicenses, inlineStyleLanguage = 'css', outExtension, serviceWorker, poll, polyfills, statsJson, outputMode, stylePreprocessorOptions, subresourceIntegrity, verbose, watch, progress = true, externalPackages, namedChunks, budgets, deployUrl, clearScreen, define, partialSSRBuild = false, externalRuntimeStyles, instrumentForCoverage, security, } = options;
|
|
239
|
+
const { allowedCommonJsDependencies, aot = true, baseHref, crossOrigin, externalDependencies, extractLicenses, inlineStyleLanguage = 'css', outExtension, serviceWorker, poll, polyfills, statsJson, outputMode, stylePreprocessorOptions, subresourceIntegrity, verbose, watch, progress = true, externalPackages, namedChunks, budgets, deployUrl, clearScreen, define, partialSSRBuild = false, externalRuntimeStyles, instrumentForCoverage, security, } = options;
|
|
240
240
|
// Return all the normalized options
|
|
241
241
|
return {
|
|
242
242
|
advancedOptimizations: !!aot && optimizationOptions.scripts,
|
|
@@ -293,7 +293,7 @@ async function normalizeOptions(context, projectName, options, extensions) {
|
|
|
293
293
|
clearScreen,
|
|
294
294
|
define,
|
|
295
295
|
partialSSRBuild: environment_options_1.usePartialSsrBuild || partialSSRBuild,
|
|
296
|
-
externalRuntimeStyles,
|
|
296
|
+
externalRuntimeStyles: aot && externalRuntimeStyles,
|
|
297
297
|
instrumentForCoverage,
|
|
298
298
|
security,
|
|
299
299
|
templateUpdates: !!options.templateUpdates,
|
|
@@ -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 = '19.0.0
|
|
13
|
+
const VERSION = '19.0.0';
|
|
14
14
|
function hasCacheMetadata(value) {
|
|
15
15
|
return (!!value &&
|
|
16
16
|
typeof value === 'object' &&
|