@angular/cli 20.0.0-rc.3 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/cli",
3
- "version": "20.0.0-rc.3",
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,12 +25,12 @@
25
25
  },
26
26
  "homepage": "https://github.com/angular/angular-cli",
27
27
  "dependencies": {
28
- "@angular-devkit/architect": "0.2000.0-rc.3",
29
- "@angular-devkit/core": "20.0.0-rc.3",
30
- "@angular-devkit/schematics": "20.0.0-rc.3",
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.3",
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",
@@ -45,14 +45,14 @@
45
45
  "ng-update": {
46
46
  "migrations": "@schematics/angular/migrations/migration-collection.json",
47
47
  "packageGroup": {
48
- "@angular/cli": "20.0.0-rc.3",
49
- "@angular/build": "20.0.0-rc.3",
50
- "@angular/ssr": "20.0.0-rc.3",
51
- "@angular-devkit/architect": "0.2000.0-rc.3",
52
- "@angular-devkit/build-angular": "20.0.0-rc.3",
53
- "@angular-devkit/build-webpack": "0.2000.0-rc.3",
54
- "@angular-devkit/core": "20.0.0-rc.3",
55
- "@angular-devkit/schematics": "20.0.0-rc.3"
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",
@@ -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.3');
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
- */