@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 +3 -3
- package/package.json +13 -13
- package/src/command-builder/command-module.d.ts +1 -1
- package/src/command-builder/command-runner.js +1 -1
- package/src/command-builder/utilities/json-schema.d.ts +2 -2
- package/src/typings.d.ts +6 -2
- package/src/utilities/version.js +1 -1
- package/src/typings.js +0 -8
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
|
|
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
|
+
"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.
|
|
29
|
-
"@angular-devkit/core": "20.0.0-rc.
|
|
30
|
-
"@angular-devkit/schematics": "20.0.0-rc.
|
|
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.
|
|
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.
|
|
49
|
-
"@angular/build": "20.0.0-rc.
|
|
50
|
-
"@angular/ssr": "20.0.0-rc.
|
|
51
|
-
"@angular-devkit/architect": "0.2000.0-rc.
|
|
52
|
-
"@angular-devkit/build-angular": "20.0.0-rc.
|
|
53
|
-
"@angular-devkit/build-webpack": "0.2000.0-rc.
|
|
54
|
-
"@angular-devkit/core": "20.0.0-rc.
|
|
55
|
-
"@angular-devkit/schematics": "20.0.0-rc.
|
|
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';
|
|
@@ -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
|
|
9
|
+
import type { Argv, Options as YargsOptions } from 'yargs';
|
|
10
10
|
/**
|
|
11
11
|
* An option description.
|
|
12
12
|
*/
|
|
13
|
-
export interface Option extends
|
|
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
|
-
|
|
10
|
-
|
|
10
|
+
function pickManifest(
|
|
11
|
+
metadata: import('./utilities/package-metadata').PackageMetadata,
|
|
12
|
+
selector: string,
|
|
13
|
+
): import('./utilities/package-metadata').PackageManifest;
|
|
14
|
+
export = pickManifest;
|
|
11
15
|
}
|
package/src/utilities/version.js
CHANGED