@angular/cli 22.3.0-next.0 → 22.3.0-next.2
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/version.js +1 -1
- package/lib/{chunk-G7TRU43D.js → chunk-ANAOXI55.js} +1 -1
- package/lib/{chunk-CAZUOCTC.js → chunk-GNHJSS4E.js} +2 -2
- package/lib/{chunk-Q67GOPL7.js → chunk-JRY24DMK.js} +1 -1
- package/lib/{chunk-YM7ILCS5.js → chunk-N3NLQJCY.js} +19 -8
- package/lib/{chunk-DHWVZMLH.js → chunk-PM7FD5XV.js} +2 -2
- package/lib/{chunk-5AASRQKS.js → chunk-XGWFA6GX.js} +19 -19
- package/lib/cli/index.js +3 -3
- package/lib/{cli-PJVTDBQM.js → cli-2IAY4M2F.js} +4 -4
- package/lib/{cli-Y2ECUR33.js → cli-2KHEH7US.js} +4 -4
- package/lib/{cli-ACLGUIBI.js → cli-2NHFBKDY.js} +2 -2
- package/lib/{cli-L4TM4JH3.js → cli-6TKHU55E.js} +3 -3
- package/lib/{cli-6AHY7ADW.js → cli-7L4D77YG.js} +2 -2
- package/lib/{cli-PRIRL3WP.js → cli-BZDH5HT6.js} +8 -3
- package/lib/{cli-QUH44NUB.js → cli-EYAWCBQV.js} +2 -2
- package/lib/{cli-DWQUM3M2.js → cli-FAAPLEMN.js} +4 -4
- package/lib/{cli-XM4L4PP4.js → cli-IUZCKRU2.js} +1 -1
- package/lib/{cli-A5UAJDO6.js → cli-JDF3IEUS.js} +4 -3
- package/lib/{cli-LYBZEMDR.js → cli-N5RMS5TM.js} +2 -2
- package/lib/{cli-BQRFWIMG.js → cli-NEBO5QMT.js} +3 -3
- package/lib/{cli-PU5VH7JB.js → cli-NSEQKL65.js} +2 -2
- package/lib/{cli-CWICUPZW.js → cli-O6XHQGRY.js} +1 -1
- package/lib/{cli-PDCEX7HQ.js → cli-UXPN7VNU.js} +2 -2
- package/lib/{cli-4Q7DGTBA.js → cli-WJZL4P7U.js} +4 -4
- package/lib/{cli-4CMZ6KMR.js → cli-WXXEXA5T.js} +3 -3
- package/lib/{cli-VVITNTBC.js → cli-XZS6BH5Z.js} +3 -3
- package/lib/{cli-YDSMJOSO.js → cli-ZOF4FKFO.js} +4 -4
- package/lib/config/schema.json +2 -4
- package/package.json +18 -18
package/bin/version.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CommandModuleError,
|
|
3
3
|
CommandScope
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-N3NLQJCY.js";
|
|
5
5
|
|
|
6
6
|
// packages/angular/cli/src/command-builder/utilities/command.js
|
|
7
7
|
var demandCommandFailureMessage = `You need to specify a command before moving on. Use '--help' to view the available commands.`;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ArchitectBaseCommandModule
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PM7FD5XV.js";
|
|
4
4
|
import {
|
|
5
5
|
CommandModuleError,
|
|
6
6
|
memoize
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-N3NLQJCY.js";
|
|
8
8
|
import {
|
|
9
9
|
getProjectByCwd
|
|
10
10
|
} from "./chunk-FZ5GFCWU.js";
|
|
@@ -1585,22 +1585,33 @@ var PackageManager = class {
|
|
|
1585
1585
|
* Gets the name of the package in the current project.
|
|
1586
1586
|
*/
|
|
1587
1587
|
async getCurrentPackageName() {
|
|
1588
|
+
try {
|
|
1589
|
+
const content = await this.host.readFile(join4(this.cwd, "package.json"));
|
|
1590
|
+
const { name } = JSON.parse(content);
|
|
1591
|
+
if (typeof name === "string") {
|
|
1592
|
+
return name;
|
|
1593
|
+
}
|
|
1594
|
+
} catch {
|
|
1595
|
+
}
|
|
1588
1596
|
if (this.descriptor.getPackageNameCommand) {
|
|
1589
1597
|
try {
|
|
1590
1598
|
const { stdout } = await this.#run(this.descriptor.getPackageNameCommand);
|
|
1591
1599
|
if (stdout) {
|
|
1592
|
-
|
|
1600
|
+
const name = JSON.parse(stdout);
|
|
1601
|
+
if (typeof name === "string") {
|
|
1602
|
+
return name;
|
|
1603
|
+
}
|
|
1604
|
+
if (name && typeof name === "object") {
|
|
1605
|
+
const values = Object.values(name);
|
|
1606
|
+
if (values.length === 1 && typeof values[0] === "string") {
|
|
1607
|
+
return values[0];
|
|
1608
|
+
}
|
|
1609
|
+
}
|
|
1593
1610
|
}
|
|
1594
1611
|
} catch {
|
|
1595
1612
|
}
|
|
1596
1613
|
}
|
|
1597
|
-
|
|
1598
|
-
const content = await this.host.readFile(join4(this.cwd, "package.json"));
|
|
1599
|
-
const pkgJson = JSON.parse(content);
|
|
1600
|
-
return pkgJson.name;
|
|
1601
|
-
} catch {
|
|
1602
|
-
return void 0;
|
|
1603
|
-
}
|
|
1614
|
+
return void 0;
|
|
1604
1615
|
}
|
|
1605
1616
|
/**
|
|
1606
1617
|
* Gets the version of the package manager binary.
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
isPackageNameSafeForAnalytics,
|
|
10
10
|
isTTY,
|
|
11
11
|
parseJsonSchemaToOptions
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-N3NLQJCY.js";
|
|
13
13
|
import {
|
|
14
14
|
assertIsError
|
|
15
15
|
} from "./chunk-FZ5GFCWU.js";
|
|
@@ -162,7 +162,7 @@ For example:
|
|
|
162
162
|
logger.warn(missingTargetMessage);
|
|
163
163
|
const packageToInstall = await this.getMissingTargetPackageToInstall(choices);
|
|
164
164
|
if (packageToInstall) {
|
|
165
|
-
const AddCommandModule = (await import("./cli-
|
|
165
|
+
const AddCommandModule = (await import("./cli-UXPN7VNU.js")).default;
|
|
166
166
|
await new AddCommandModule(this.context).run({
|
|
167
167
|
interactive: true,
|
|
168
168
|
force: false,
|
|
@@ -1,67 +1,67 @@
|
|
|
1
1
|
// packages/angular/cli/src/commands/command-config.js
|
|
2
2
|
var RootCommands = {
|
|
3
3
|
"add": {
|
|
4
|
-
factory: () => import("./cli-
|
|
4
|
+
factory: () => import("./cli-UXPN7VNU.js")
|
|
5
5
|
},
|
|
6
6
|
"analytics": {
|
|
7
|
-
factory: () => import("./cli-
|
|
7
|
+
factory: () => import("./cli-N5RMS5TM.js")
|
|
8
8
|
},
|
|
9
9
|
"build": {
|
|
10
|
-
factory: () => import("./cli-
|
|
10
|
+
factory: () => import("./cli-2KHEH7US.js"),
|
|
11
11
|
aliases: ["b"]
|
|
12
12
|
},
|
|
13
13
|
"cache": {
|
|
14
|
-
factory: () => import("./cli-
|
|
14
|
+
factory: () => import("./cli-NSEQKL65.js")
|
|
15
15
|
},
|
|
16
16
|
"completion": {
|
|
17
|
-
factory: () => import("./cli-
|
|
17
|
+
factory: () => import("./cli-EYAWCBQV.js")
|
|
18
18
|
},
|
|
19
19
|
"config": {
|
|
20
|
-
factory: () => import("./cli-
|
|
20
|
+
factory: () => import("./cli-JDF3IEUS.js")
|
|
21
21
|
},
|
|
22
22
|
"deploy": {
|
|
23
|
-
factory: () => import("./cli-
|
|
23
|
+
factory: () => import("./cli-WXXEXA5T.js")
|
|
24
24
|
},
|
|
25
25
|
"e2e": {
|
|
26
|
-
factory: () => import("./cli-
|
|
26
|
+
factory: () => import("./cli-2IAY4M2F.js"),
|
|
27
27
|
aliases: ["e"]
|
|
28
28
|
},
|
|
29
29
|
"extract-i18n": {
|
|
30
|
-
factory: () => import("./cli-
|
|
30
|
+
factory: () => import("./cli-XZS6BH5Z.js")
|
|
31
31
|
},
|
|
32
32
|
"generate": {
|
|
33
|
-
factory: () => import("./cli-
|
|
33
|
+
factory: () => import("./cli-ZOF4FKFO.js"),
|
|
34
34
|
aliases: ["g"]
|
|
35
35
|
},
|
|
36
36
|
"lint": {
|
|
37
|
-
factory: () => import("./cli-
|
|
37
|
+
factory: () => import("./cli-NEBO5QMT.js")
|
|
38
38
|
},
|
|
39
39
|
"make-this-awesome": {
|
|
40
|
-
factory: () => import("./cli-
|
|
40
|
+
factory: () => import("./cli-O6XHQGRY.js")
|
|
41
41
|
},
|
|
42
42
|
"mcp": {
|
|
43
|
-
factory: () => import("./cli-
|
|
43
|
+
factory: () => import("./cli-2NHFBKDY.js")
|
|
44
44
|
},
|
|
45
45
|
"new": {
|
|
46
|
-
factory: () => import("./cli-
|
|
46
|
+
factory: () => import("./cli-6TKHU55E.js"),
|
|
47
47
|
aliases: ["n"]
|
|
48
48
|
},
|
|
49
49
|
"run": {
|
|
50
|
-
factory: () => import("./cli-
|
|
50
|
+
factory: () => import("./cli-7L4D77YG.js")
|
|
51
51
|
},
|
|
52
52
|
"serve": {
|
|
53
|
-
factory: () => import("./cli-
|
|
53
|
+
factory: () => import("./cli-FAAPLEMN.js"),
|
|
54
54
|
aliases: ["dev", "s"]
|
|
55
55
|
},
|
|
56
56
|
"test": {
|
|
57
|
-
factory: () => import("./cli-
|
|
57
|
+
factory: () => import("./cli-WJZL4P7U.js"),
|
|
58
58
|
aliases: ["t"]
|
|
59
59
|
},
|
|
60
60
|
"update": {
|
|
61
|
-
factory: () => import("./cli-
|
|
61
|
+
factory: () => import("./cli-IUZCKRU2.js")
|
|
62
62
|
},
|
|
63
63
|
"version": {
|
|
64
|
-
factory: () => import("./cli-
|
|
64
|
+
factory: () => import("./cli-BZDH5HT6.js"),
|
|
65
65
|
aliases: ["v"]
|
|
66
66
|
}
|
|
67
67
|
};
|
package/lib/cli/index.js
CHANGED
|
@@ -8,18 +8,18 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
RootCommands,
|
|
10
10
|
RootCommandsAliases
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-XGWFA6GX.js";
|
|
12
12
|
import {
|
|
13
13
|
getCacheConfig
|
|
14
14
|
} from "../chunk-A2VIYA2E.js";
|
|
15
15
|
import {
|
|
16
16
|
addCommandModuleToYargs,
|
|
17
17
|
demandCommandFailureMessage
|
|
18
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-ANAOXI55.js";
|
|
19
19
|
import {
|
|
20
20
|
CommandModuleError,
|
|
21
21
|
createPackageManager
|
|
22
|
-
} from "../chunk-
|
|
22
|
+
} from "../chunk-N3NLQJCY.js";
|
|
23
23
|
import {
|
|
24
24
|
VERSION,
|
|
25
25
|
ngDebug
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ArchitectCommandModule
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-GNHJSS4E.js";
|
|
4
|
+
import "./chunk-PM7FD5XV.js";
|
|
5
5
|
import {
|
|
6
6
|
RootCommands
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-XGWFA6GX.js";
|
|
8
|
+
import "./chunk-N3NLQJCY.js";
|
|
9
9
|
import "./chunk-XG3HVNIL.js";
|
|
10
10
|
import "./chunk-GHUUJYOY.js";
|
|
11
11
|
import "./chunk-FZ5GFCWU.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ArchitectCommandModule
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-GNHJSS4E.js";
|
|
4
|
+
import "./chunk-PM7FD5XV.js";
|
|
5
5
|
import {
|
|
6
6
|
RootCommands
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-XGWFA6GX.js";
|
|
8
|
+
import "./chunk-N3NLQJCY.js";
|
|
9
9
|
import "./chunk-XG3HVNIL.js";
|
|
10
10
|
import "./chunk-GHUUJYOY.js";
|
|
11
11
|
import "./chunk-FZ5GFCWU.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CommandModule,
|
|
3
3
|
isTTY
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-N3NLQJCY.js";
|
|
5
5
|
import {
|
|
6
6
|
VERSION
|
|
7
7
|
} from "./chunk-XG3HVNIL.js";
|
|
@@ -247,7 +247,7 @@ function processStreamLines(stream, lineCallback) {
|
|
|
247
247
|
}
|
|
248
248
|
|
|
249
249
|
// packages/angular/cli/src/commands/mcp/resources/best-practices.md
|
|
250
|
-
var best_practices_default = "You are an expert in TypeScript, Angular, and scalable web application development. You write functional, maintainable, performant, and accessible code following Angular and TypeScript best practices.\n\n## TypeScript Best Practices\n\n- Use strict type checking\n- Prefer type inference when the type is obvious\n- Avoid the `any` type; use `unknown` when type is uncertain\n\n## Angular Best Practices\n\n- Always use standalone components over NgModules\n- Must NOT set `standalone: true` inside Angular decorators. It's the default in Angular v20+.\n- Do NOT set `changeDetection: ChangeDetectionStrategy.OnPush` explicitly. `OnPush` is the default in Angular v22+.\n- Use signals for state management\n- Implement lazy loading for feature routes\n- Do NOT use the `@HostBinding` and `@HostListener` decorators. Put host bindings inside the `host` object of the `@Component` or `@Directive` decorator instead\n- Use `NgOptimizedImage` for all static images.\n - `NgOptimizedImage` does not work for inline base64 images.\n\n## Accessibility Requirements\n\n- It MUST pass all AXE checks.\n- It MUST follow all WCAG AA minimums, including focus management, color contrast, and ARIA attributes.\n\n
|
|
250
|
+
var best_practices_default = "You are an expert in TypeScript, Angular, and scalable web application development. You write functional, maintainable, performant, and accessible code following Angular and TypeScript best practices.\n\n## TypeScript Best Practices\n\n- Use strict type checking\n- Prefer type inference when the type is obvious\n- Avoid the `any` type; use `unknown` when type is uncertain\n\n## Angular Best Practices\n\n- Always use standalone components over NgModules\n- Must NOT set `standalone: true` inside Angular decorators. It's the default in Angular v20+.\n- Do NOT set `changeDetection: ChangeDetectionStrategy.OnPush` explicitly. `OnPush` is the default in Angular v22+.\n- Use signals for state management\n- Implement lazy loading for feature routes\n- Do NOT use the `@HostBinding` and `@HostListener` decorators. Put host bindings inside the `host` object of the `@Component` or `@Directive` decorator instead\n- Use `NgOptimizedImage` for all static images.\n - `NgOptimizedImage` does not work for inline base64 images.\n\n## Accessibility Requirements\n\n- It MUST pass all AXE checks.\n- It MUST follow all WCAG AA minimums, including focus management, color contrast, and ARIA attributes.\n\n## Components\n\n- Keep components small and focused on a single responsibility\n- Use `input()` and `output()` functions instead of decorators\n- Use `model()` for two-way bound properties with `[(prop)]` syntax instead of pairing `input()` with `output()`\n- Use `computed()` for derived state\n- Use `linkedSignal()` for state derived from multiple reactive sources that must stay synchronized\n- Prefer inline templates for small components\n- Prefer Signal Forms (`@angular/forms/signals`) for new forms. They are stable in Angular v22+ and provide signal-based state, type-safe field access, and schema-based validation\n- When not using Signal Forms, prefer Reactive forms instead of Template-driven ones\n- Do NOT use `ngClass`, use `class` bindings instead\n- Do NOT use `ngStyle`, use `style` bindings instead\n- Do NOT import `CommonModule`, import only the directives and pipes the template uses, such as `AsyncPipe` or `DatePipe`\n- When using external templates/styles, use paths relative to the component TS file.\n\n## State Management\n\n- Use signals for local component state\n- Use `computed()` for derived state\n- Keep state transformations pure and predictable\n- Do NOT use `mutate` on signals, use `update` or `set` instead\n\n## Templates\n\n- Keep templates simple and avoid complex logic\n- Use native control flow (`@if`, `@for`, `@switch`) instead of `*ngIf`, `*ngFor`, `*ngSwitch`\n- Use the async pipe to handle observables\n- Do not assume globals like (`new Date()`) are available.\n\n## Services\n\n- Design services around a single responsibility\n- Use the `providedIn: 'root'` option for singleton services\n- Prefer the `@Service` decorator over `@Injectable({providedIn: 'root'})` for new singleton services (Angular v22+)\n- Use the `inject()` function instead of constructor injection\n";
|
|
251
251
|
|
|
252
252
|
// packages/angular/cli/src/commands/mcp/resources/instructions.js
|
|
253
253
|
function registerInstructionsResource(server) {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DEFAULT_SCHEMATICS_COLLECTION,
|
|
3
3
|
SchematicsCommandModule
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-JRY24DMK.js";
|
|
5
5
|
import "./chunk-JBLF2TH3.js";
|
|
6
6
|
import {
|
|
7
7
|
RootCommands
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-XGWFA6GX.js";
|
|
9
9
|
import {
|
|
10
10
|
CommandScope
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-N3NLQJCY.js";
|
|
12
12
|
import {
|
|
13
13
|
VERSION
|
|
14
14
|
} from "./chunk-XG3HVNIL.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ArchitectBaseCommandModule
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PM7FD5XV.js";
|
|
4
4
|
import {
|
|
5
5
|
CommandModuleError,
|
|
6
6
|
CommandScope
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-N3NLQJCY.js";
|
|
8
8
|
import "./chunk-XG3HVNIL.js";
|
|
9
9
|
import "./chunk-GHUUJYOY.js";
|
|
10
10
|
import "./chunk-FZ5GFCWU.js";
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-XFL2J3CJ.js";
|
|
4
4
|
import {
|
|
5
5
|
RootCommands
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XGWFA6GX.js";
|
|
7
7
|
import {
|
|
8
8
|
CommandModule
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-N3NLQJCY.js";
|
|
10
10
|
import {
|
|
11
11
|
VERSION
|
|
12
12
|
} from "./chunk-XG3HVNIL.js";
|
|
@@ -51,6 +51,11 @@ async function gatherVersionInfo(context) {
|
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
const angularCoreVersion = packages["@angular/core"];
|
|
54
|
+
let packageManagerVersion;
|
|
55
|
+
try {
|
|
56
|
+
packageManagerVersion = await context.packageManager.getVersion();
|
|
57
|
+
} catch {
|
|
58
|
+
}
|
|
54
59
|
return {
|
|
55
60
|
cli: {
|
|
56
61
|
version: VERSION.full
|
|
@@ -69,7 +74,7 @@ async function gatherVersionInfo(context) {
|
|
|
69
74
|
},
|
|
70
75
|
packageManager: {
|
|
71
76
|
name: context.packageManager.name,
|
|
72
|
-
version:
|
|
77
|
+
version: packageManagerVersion
|
|
73
78
|
}
|
|
74
79
|
},
|
|
75
80
|
packages
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addCommandModuleToYargs
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ANAOXI55.js";
|
|
4
4
|
import {
|
|
5
5
|
CommandModule,
|
|
6
6
|
hasGlobalCliInstall,
|
|
7
7
|
initializeAutocomplete
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-N3NLQJCY.js";
|
|
9
9
|
import "./chunk-XG3HVNIL.js";
|
|
10
10
|
import {
|
|
11
11
|
colors
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ArchitectCommandModule
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-GNHJSS4E.js";
|
|
4
|
+
import "./chunk-PM7FD5XV.js";
|
|
5
5
|
import {
|
|
6
6
|
RootCommands
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-XGWFA6GX.js";
|
|
8
|
+
import "./chunk-N3NLQJCY.js";
|
|
9
9
|
import "./chunk-XG3HVNIL.js";
|
|
10
10
|
import "./chunk-GHUUJYOY.js";
|
|
11
11
|
import "./chunk-FZ5GFCWU.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CommandModule,
|
|
3
3
|
CommandModuleError
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-N3NLQJCY.js";
|
|
5
5
|
import "./chunk-XG3HVNIL.js";
|
|
6
6
|
import "./chunk-GHUUJYOY.js";
|
|
7
7
|
import {
|
|
@@ -96,7 +96,7 @@ function parseJsonPath(path) {
|
|
|
96
96
|
}
|
|
97
97
|
result.push(match[1]);
|
|
98
98
|
if (match[2]) {
|
|
99
|
-
const indices = match[2].slice(1, -1).split("][").map((x) => /^\d
|
|
99
|
+
const indices = match[2].slice(1, -1).split("][").map((x) => /^\d+$/.test(x) ? +x : x.replace(/"|'/g, ""));
|
|
100
100
|
result.push(...indices);
|
|
101
101
|
}
|
|
102
102
|
}
|
|
@@ -124,7 +124,8 @@ function normalizeValue(value) {
|
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
126
|
export {
|
|
127
|
-
ConfigCommandModule as default
|
|
127
|
+
ConfigCommandModule as default,
|
|
128
|
+
parseJsonPath
|
|
128
129
|
};
|
|
129
130
|
/**
|
|
130
131
|
* @license
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addCommandModuleToYargs,
|
|
3
3
|
demandCommandFailureMessage
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ANAOXI55.js";
|
|
5
5
|
import {
|
|
6
6
|
CommandModule,
|
|
7
7
|
getAnalyticsInfoString,
|
|
8
8
|
promptAnalytics,
|
|
9
9
|
setAnalyticsConfig
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-N3NLQJCY.js";
|
|
11
11
|
import "./chunk-XG3HVNIL.js";
|
|
12
12
|
import "./chunk-GHUUJYOY.js";
|
|
13
13
|
import "./chunk-FZ5GFCWU.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ArchitectCommandModule
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-GNHJSS4E.js";
|
|
4
|
+
import "./chunk-PM7FD5XV.js";
|
|
5
|
+
import "./chunk-N3NLQJCY.js";
|
|
6
6
|
import "./chunk-XG3HVNIL.js";
|
|
7
7
|
import "./chunk-GHUUJYOY.js";
|
|
8
8
|
import "./chunk-FZ5GFCWU.js";
|
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
addCommandModuleToYargs,
|
|
7
7
|
demandCommandFailureMessage
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ANAOXI55.js";
|
|
9
9
|
import {
|
|
10
10
|
CommandModule,
|
|
11
11
|
CommandScope
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-N3NLQJCY.js";
|
|
13
13
|
import {
|
|
14
14
|
isCI
|
|
15
15
|
} from "./chunk-XG3HVNIL.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SchematicsCommandModule
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JRY24DMK.js";
|
|
4
4
|
import "./chunk-JBLF2TH3.js";
|
|
5
5
|
import {
|
|
6
6
|
CommandModuleError,
|
|
7
7
|
isTTY
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-N3NLQJCY.js";
|
|
9
9
|
import {
|
|
10
10
|
VERSION
|
|
11
11
|
} from "./chunk-XG3HVNIL.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ArchitectCommandModule
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-GNHJSS4E.js";
|
|
4
|
+
import "./chunk-PM7FD5XV.js";
|
|
5
5
|
import {
|
|
6
6
|
RootCommands
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-XGWFA6GX.js";
|
|
8
|
+
import "./chunk-N3NLQJCY.js";
|
|
9
9
|
import "./chunk-XG3HVNIL.js";
|
|
10
10
|
import "./chunk-GHUUJYOY.js";
|
|
11
11
|
import "./chunk-FZ5GFCWU.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ArchitectCommandModule
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-GNHJSS4E.js";
|
|
4
|
+
import "./chunk-PM7FD5XV.js";
|
|
5
|
+
import "./chunk-N3NLQJCY.js";
|
|
6
6
|
import "./chunk-XG3HVNIL.js";
|
|
7
7
|
import "./chunk-GHUUJYOY.js";
|
|
8
8
|
import "./chunk-FZ5GFCWU.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ArchitectCommandModule
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-GNHJSS4E.js";
|
|
4
|
+
import "./chunk-PM7FD5XV.js";
|
|
5
|
+
import "./chunk-N3NLQJCY.js";
|
|
6
6
|
import "./chunk-XG3HVNIL.js";
|
|
7
7
|
import "./chunk-GHUUJYOY.js";
|
|
8
8
|
import "./chunk-FZ5GFCWU.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SchematicsCommandModule
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JRY24DMK.js";
|
|
4
4
|
import "./chunk-JBLF2TH3.js";
|
|
5
5
|
import {
|
|
6
6
|
RootCommands
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-XGWFA6GX.js";
|
|
8
8
|
import {
|
|
9
9
|
demandCommandFailureMessage
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ANAOXI55.js";
|
|
11
11
|
import {
|
|
12
12
|
CommandModuleError
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-N3NLQJCY.js";
|
|
14
14
|
import "./chunk-XG3HVNIL.js";
|
|
15
15
|
import "./chunk-GHUUJYOY.js";
|
|
16
16
|
import "./chunk-FZ5GFCWU.js";
|
package/lib/config/schema.json
CHANGED
|
@@ -2852,8 +2852,7 @@
|
|
|
2852
2852
|
},
|
|
2853
2853
|
"declarationMap": {
|
|
2854
2854
|
"type": "boolean",
|
|
2855
|
-
"description": "Generates a sourcemap for each corresponding '.d.ts' file."
|
|
2856
|
-
"default": false
|
|
2855
|
+
"description": "Generates a sourcemap for each corresponding '.d.ts' file."
|
|
2857
2856
|
},
|
|
2858
2857
|
"compilationMode": {
|
|
2859
2858
|
"type": "string",
|
|
@@ -2861,8 +2860,7 @@
|
|
|
2861
2860
|
"enum": [
|
|
2862
2861
|
"partial",
|
|
2863
2862
|
"full"
|
|
2864
|
-
]
|
|
2865
|
-
"default": "partial"
|
|
2863
|
+
]
|
|
2866
2864
|
},
|
|
2867
2865
|
"allowedNonPeerDependencies": {
|
|
2868
2866
|
"description": "A list of package names allowed in the 'dependencies' and 'optionalDependencies' sections of package.json. Values can be regular expression patterns.",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/cli",
|
|
3
|
-
"version": "22.3.0-next.
|
|
3
|
+
"version": "22.3.0-next.2",
|
|
4
4
|
"description": "CLI tool for Angular",
|
|
5
5
|
"main": "lib/cli/index.js",
|
|
6
6
|
"typings": "index.d.ts",
|
|
@@ -20,32 +20,32 @@
|
|
|
20
20
|
"#version": "./bin/version.js"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@angular-devkit/architect": "0.2203.0-next.
|
|
24
|
-
"@angular-devkit/core": "22.3.0-next.
|
|
25
|
-
"@angular-devkit/schematics": "22.3.0-next.
|
|
26
|
-
"@inquirer/prompts": "8.7.
|
|
27
|
-
"@listr2/prompt-adapter-inquirer": "4.
|
|
28
|
-
"@modelcontextprotocol/server": "2.
|
|
29
|
-
"@schematics/angular": "22.3.0-next.
|
|
23
|
+
"@angular-devkit/architect": "0.2203.0-next.2",
|
|
24
|
+
"@angular-devkit/core": "22.3.0-next.2",
|
|
25
|
+
"@angular-devkit/schematics": "22.3.0-next.2",
|
|
26
|
+
"@inquirer/prompts": "8.7.3",
|
|
27
|
+
"@listr2/prompt-adapter-inquirer": "4.3.1",
|
|
28
|
+
"@modelcontextprotocol/server": "2.3.1",
|
|
29
|
+
"@schematics/angular": "22.3.0-next.2",
|
|
30
30
|
"jsonc-parser": "3.3.1",
|
|
31
|
-
"listr2": "11.
|
|
31
|
+
"listr2": "11.2.0",
|
|
32
32
|
"npm-package-arg": "14.0.0",
|
|
33
33
|
"parse5-html-rewriting-stream": "8.0.1",
|
|
34
34
|
"semver": "7.8.5",
|
|
35
35
|
"yargs": "18.2.0",
|
|
36
|
-
"zod": "4.6.
|
|
36
|
+
"zod": "4.6.7"
|
|
37
37
|
},
|
|
38
38
|
"ng-update": {
|
|
39
39
|
"migrations": "@schematics/angular/migrations/migration-collection.json",
|
|
40
40
|
"packageGroup": {
|
|
41
|
-
"@angular/cli": "22.3.0-next.
|
|
42
|
-
"@angular/build": "22.3.0-next.
|
|
43
|
-
"@angular/ssr": "22.3.0-next.
|
|
44
|
-
"@angular-devkit/architect": "0.2203.0-next.
|
|
45
|
-
"@angular-devkit/build-angular": "22.3.0-next.
|
|
46
|
-
"@angular-devkit/build-webpack": "0.2203.0-next.
|
|
47
|
-
"@angular-devkit/core": "22.3.0-next.
|
|
48
|
-
"@angular-devkit/schematics": "22.3.0-next.
|
|
41
|
+
"@angular/cli": "22.3.0-next.2",
|
|
42
|
+
"@angular/build": "22.3.0-next.2",
|
|
43
|
+
"@angular/ssr": "22.3.0-next.2",
|
|
44
|
+
"@angular-devkit/architect": "0.2203.0-next.2",
|
|
45
|
+
"@angular-devkit/build-angular": "22.3.0-next.2",
|
|
46
|
+
"@angular-devkit/build-webpack": "0.2203.0-next.2",
|
|
47
|
+
"@angular-devkit/core": "22.3.0-next.2",
|
|
48
|
+
"@angular-devkit/schematics": "22.3.0-next.2"
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
51
|
"repository": {
|