@angular/cli 20.0.0-rc.2 → 20.0.0-rc.4

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/bin/bootstrap.js CHANGED
@@ -19,9 +19,9 @@
19
19
  */
20
20
 
21
21
  // Enable on-disk code caching if available (Node.js 22.8+)
22
- // Skip if running inside Bazel via a RUNFILES environment variable check. The cache does not work
23
- // well with Bazel's hermeticity requirements.
24
- if (!process.env['RUNFILES']) {
22
+ // Skip if running inside Bazel via a RUNFILES environment variable check and no explicit cache
23
+ // location defined. The default cache location does not work well with Bazel's hermeticity requirements.
24
+ if (!process.env['RUNFILES'] || process.env['NODE_COMPILE_CACHE']) {
25
25
  try {
26
26
  const { enableCompileCache } = require('node:module');
27
27
 
package/lib/cli/index.js CHANGED
@@ -18,7 +18,7 @@ const environment_options_1 = require("../../src/utilities/environment-options")
18
18
  const log_file_1 = require("../../src/utilities/log-file");
19
19
  var version_1 = require("../../src/utilities/version");
20
20
  Object.defineProperty(exports, "VERSION", { enumerable: true, get: function () { return version_1.VERSION; } });
21
- const MIN_NODEJS_VERSION = [20, 11];
21
+ const MIN_NODEJS_VERSION = [20, 19];
22
22
  /* eslint-disable no-console */
23
23
  async function default_1(options) {
24
24
  // This node version check ensures that the requirements of the project instance of the CLI are met
@@ -4183,6 +4183,15 @@
4183
4183
  "outFile": {
4184
4184
  "type": "string",
4185
4185
  "description": "Name of the file to output."
4186
+ },
4187
+ "i18nDuplicateTranslation": {
4188
+ "type": "string",
4189
+ "description": "How to handle duplicate translations.",
4190
+ "enum": [
4191
+ "error",
4192
+ "warning",
4193
+ "ignore"
4194
+ ]
4186
4195
  }
4187
4196
  },
4188
4197
  "additionalProperties": false
@@ -4225,6 +4234,15 @@
4225
4234
  "outFile": {
4226
4235
  "type": "string",
4227
4236
  "description": "Name of the file to output."
4237
+ },
4238
+ "i18nDuplicateTranslation": {
4239
+ "type": "string",
4240
+ "description": "How to handle duplicate translations.",
4241
+ "enum": [
4242
+ "error",
4243
+ "warning",
4244
+ "ignore"
4245
+ ]
4228
4246
  }
4229
4247
  },
4230
4248
  "additionalProperties": false
@@ -4281,6 +4299,11 @@
4281
4299
  "type": "boolean",
4282
4300
  "description": "Run build when files change."
4283
4301
  },
4302
+ "debug": {
4303
+ "type": "boolean",
4304
+ "description": "Initialize the test runner to support using the Node Inspector for test debugging.",
4305
+ "default": false
4306
+ },
4284
4307
  "codeCoverage": {
4285
4308
  "type": "boolean",
4286
4309
  "description": "Output a code coverage report.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/cli",
3
- "version": "20.0.0-rc.2",
3
+ "version": "20.0.0-rc.4",
4
4
  "description": "CLI tool for Angular",
5
5
  "main": "lib/cli/index.js",
6
6
  "bin": {
@@ -25,19 +25,19 @@
25
25
  },
26
26
  "homepage": "https://github.com/angular/angular-cli",
27
27
  "dependencies": {
28
- "@angular-devkit/architect": "0.2000.0-rc.2",
29
- "@angular-devkit/core": "20.0.0-rc.2",
30
- "@angular-devkit/schematics": "20.0.0-rc.2",
28
+ "@angular-devkit/architect": "0.2000.0-rc.4",
29
+ "@angular-devkit/core": "20.0.0-rc.4",
30
+ "@angular-devkit/schematics": "20.0.0-rc.4",
31
31
  "@inquirer/prompts": "7.5.1",
32
32
  "@listr2/prompt-adapter-inquirer": "2.0.22",
33
- "@schematics/angular": "20.0.0-rc.2",
33
+ "@schematics/angular": "20.0.0-rc.4",
34
34
  "@yarnpkg/lockfile": "1.1.0",
35
35
  "ini": "5.0.0",
36
36
  "jsonc-parser": "3.3.1",
37
37
  "listr2": "8.3.3",
38
38
  "npm-package-arg": "12.0.2",
39
39
  "npm-pick-manifest": "10.0.0",
40
- "pacote": "20.0.0",
40
+ "pacote": "21.0.0",
41
41
  "resolve": "1.22.10",
42
42
  "semver": "7.7.2",
43
43
  "yargs": "17.7.2"
@@ -45,19 +45,19 @@
45
45
  "ng-update": {
46
46
  "migrations": "@schematics/angular/migrations/migration-collection.json",
47
47
  "packageGroup": {
48
- "@angular/cli": "20.0.0-rc.2",
49
- "@angular/build": "20.0.0-rc.2",
50
- "@angular/ssr": "20.0.0-rc.2",
51
- "@angular-devkit/architect": "0.2000.0-rc.2",
52
- "@angular-devkit/build-angular": "20.0.0-rc.2",
53
- "@angular-devkit/build-webpack": "0.2000.0-rc.2",
54
- "@angular-devkit/core": "20.0.0-rc.2",
55
- "@angular-devkit/schematics": "20.0.0-rc.2"
48
+ "@angular/cli": "20.0.0-rc.4",
49
+ "@angular/build": "20.0.0-rc.4",
50
+ "@angular/ssr": "20.0.0-rc.4",
51
+ "@angular-devkit/architect": "0.2000.0-rc.4",
52
+ "@angular-devkit/build-angular": "20.0.0-rc.4",
53
+ "@angular-devkit/build-webpack": "0.2000.0-rc.4",
54
+ "@angular-devkit/core": "20.0.0-rc.4",
55
+ "@angular-devkit/schematics": "20.0.0-rc.4"
56
56
  }
57
57
  },
58
58
  "packageManager": "pnpm@9.15.9",
59
59
  "engines": {
60
- "node": "^20.11.1 || ^22.11.0 || >=24.0.0",
60
+ "node": "^20.19.0 || ^22.12.0 || >=24.0.0",
61
61
  "npm": "^6.11.0 || ^7.5.6 || >=8.0.0",
62
62
  "yarn": ">= 1.13.0"
63
63
  }
@@ -6,7 +6,7 @@
6
6
  * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
8
  import { logging } from '@angular-devkit/core';
9
- import { ArgumentsCamelCase, Argv, CamelCaseKey, CommandModule as YargsCommandModule } from 'yargs';
9
+ import type { ArgumentsCamelCase, Argv, CamelCaseKey, CommandModule as YargsCommandModule } from 'yargs' with { 'resolution-mode': 'require' };
10
10
  import { AnalyticsCollector } from '../analytics/analytics-collector';
11
11
  import { EventCustomDimension, EventCustomMetric } from '../analytics/analytics-parameters';
12
12
  import { AngularWorkspace } from '../utilities/config';
@@ -115,7 +115,7 @@ async function runCommand(args, logger) {
115
115
  : // Unknown exception, re-throw.
116
116
  err;
117
117
  })
118
- .wrap(yargs_1.default.terminalWidth())
118
+ .wrap(localYargs.terminalWidth())
119
119
  .parseAsync();
120
120
  return +(process.exitCode ?? 0);
121
121
  }
@@ -6,11 +6,11 @@
6
6
  * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
8
  import { json } from '@angular-devkit/core';
9
- import yargs, { Argv } from 'yargs';
9
+ import type { Argv, Options as YargsOptions } from 'yargs';
10
10
  /**
11
11
  * An option description.
12
12
  */
13
- export interface Option extends yargs.Options {
13
+ export interface Option extends YargsOptions {
14
14
  /**
15
15
  * The name of the option.
16
16
  */
package/src/typings.d.ts CHANGED
@@ -5,7 +5,11 @@
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
+
8
9
  declare module 'npm-pick-manifest' {
9
- function pickManifest(metadata: import('./utilities/package-metadata').PackageMetadata, selector: string): import('./utilities/package-metadata').PackageManifest;
10
- export = pickManifest;
10
+ function pickManifest(
11
+ metadata: import('./utilities/package-metadata').PackageMetadata,
12
+ selector: string,
13
+ ): import('./utilities/package-metadata').PackageManifest;
14
+ export = pickManifest;
11
15
  }
@@ -22,4 +22,4 @@ class Version {
22
22
  this.patch = patch;
23
23
  }
24
24
  }
25
- exports.VERSION = new Version('20.0.0-rc.2');
25
+ exports.VERSION = new Version('20.0.0-rc.4');
package/src/typings.js DELETED
@@ -1,8 +0,0 @@
1
- "use strict";
2
- /**
3
- * @license
4
- * Copyright Google LLC All Rights Reserved.
5
- *
6
- * Use of this source code is governed by an MIT-style license that can be
7
- * found in the LICENSE file at https://angular.dev/license
8
- */