@angular/cli 21.0.1 → 21.0.3

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.
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/cli",
3
- "version": "21.0.1",
3
+ "version": "21.0.3",
4
4
  "description": "CLI tool for Angular",
5
5
  "main": "lib/cli/index.js",
6
6
  "bin": {
@@ -25,13 +25,13 @@
25
25
  },
26
26
  "homepage": "https://github.com/angular/angular-cli",
27
27
  "dependencies": {
28
- "@angular-devkit/architect": "0.2100.1",
29
- "@angular-devkit/core": "21.0.1",
30
- "@angular-devkit/schematics": "21.0.1",
28
+ "@angular-devkit/architect": "0.2100.3",
29
+ "@angular-devkit/core": "21.0.3",
30
+ "@angular-devkit/schematics": "21.0.3",
31
31
  "@inquirer/prompts": "7.9.0",
32
32
  "@listr2/prompt-adapter-inquirer": "3.0.5",
33
- "@modelcontextprotocol/sdk": "1.20.1",
34
- "@schematics/angular": "21.0.1",
33
+ "@modelcontextprotocol/sdk": "1.24.0",
34
+ "@schematics/angular": "21.0.3",
35
35
  "@yarnpkg/lockfile": "1.1.0",
36
36
  "algoliasearch": "5.40.1",
37
37
  "ini": "5.0.0",
@@ -43,22 +43,22 @@
43
43
  "resolve": "1.22.11",
44
44
  "semver": "7.7.3",
45
45
  "yargs": "18.0.0",
46
- "zod": "3.25.76"
46
+ "zod": "4.1.13"
47
47
  },
48
48
  "ng-update": {
49
49
  "migrations": "@schematics/angular/migrations/migration-collection.json",
50
50
  "packageGroup": {
51
- "@angular/cli": "21.0.1",
52
- "@angular/build": "21.0.1",
53
- "@angular/ssr": "21.0.1",
54
- "@angular-devkit/architect": "0.2100.1",
55
- "@angular-devkit/build-angular": "21.0.1",
56
- "@angular-devkit/build-webpack": "0.2100.1",
57
- "@angular-devkit/core": "21.0.1",
58
- "@angular-devkit/schematics": "21.0.1"
51
+ "@angular/cli": "21.0.3",
52
+ "@angular/build": "21.0.3",
53
+ "@angular/ssr": "21.0.3",
54
+ "@angular-devkit/architect": "0.2100.3",
55
+ "@angular-devkit/build-angular": "21.0.3",
56
+ "@angular-devkit/build-webpack": "0.2100.3",
57
+ "@angular-devkit/core": "21.0.3",
58
+ "@angular-devkit/schematics": "21.0.3"
59
59
  }
60
60
  },
61
- "packageManager": "pnpm@10.23.0",
61
+ "packageManager": "pnpm@10.25.0",
62
62
  "engines": {
63
63
  "node": "^20.19.0 || ^22.12.0 || >=24.0.0",
64
64
  "npm": "^6.11.0 || ^7.5.6 || >=8.0.0",
@@ -13,10 +13,12 @@ import { AnyMcpToolDeclaration } from './tools/tool-registry';
13
13
  * These tools are considered experimental and may have limitations.
14
14
  */
15
15
  export declare const EXPERIMENTAL_TOOLS: readonly [import("./tools/tool-registry").McpToolDeclaration<{
16
- directories: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
17
- transformations: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<[string, ...string[]]>, "many">>;
16
+ directories: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
17
+ transformations: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<{
18
+ [x: string]: string;
19
+ }>>>;
18
20
  }, {
19
- instructions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
21
+ instructions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
20
22
  stdout: import("zod").ZodOptional<import("zod").ZodString>;
21
23
  stderr: import("zod").ZodOptional<import("zod").ZodString>;
22
24
  }>];
@@ -5,4 +5,8 @@
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
- export declare const AI_TUTOR_TOOL: import("./tool-registry").McpToolDeclaration<import("zod").ZodRawShape, import("zod").ZodRawShape>;
8
+ export declare const AI_TUTOR_TOOL: import("./tool-registry").McpToolDeclaration<Readonly<{
9
+ [k: string]: import("zod/v4/core").$ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
10
+ }>, Readonly<{
11
+ [k: string]: import("zod/v4/core").$ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
12
+ }>>;
@@ -8,4 +8,6 @@
8
8
  import { z } from 'zod';
9
9
  export declare const BEST_PRACTICES_TOOL: import("./tool-registry").McpToolDeclaration<{
10
10
  workspacePath: z.ZodOptional<z.ZodString>;
11
- }, z.ZodRawShape>;
11
+ }, Readonly<{
12
+ [k: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
13
+ }>>;
@@ -17,15 +17,5 @@ export declare const DOC_SEARCH_TOOL: import("./tool-registry").McpToolDeclarati
17
17
  breadcrumb: z.ZodString;
18
18
  url: z.ZodString;
19
19
  content: z.ZodOptional<z.ZodString>;
20
- }, "strip", z.ZodTypeAny, {
21
- title: string;
22
- breadcrumb: string;
23
- url: string;
24
- content?: string | undefined;
25
- }, {
26
- title: string;
27
- breadcrumb: string;
28
- url: string;
29
- content?: string | undefined;
30
- }>, "many">;
20
+ }, z.core.$strip>>;
31
21
  }>;
@@ -9,39 +9,21 @@ import { z } from 'zod';
9
9
  export declare const FIND_EXAMPLE_TOOL: import("./tool-registry").McpToolDeclaration<{
10
10
  workspacePath: z.ZodOptional<z.ZodString>;
11
11
  query: z.ZodString;
12
- keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13
- required_packages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
14
- related_concepts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
12
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
13
+ required_packages: z.ZodOptional<z.ZodArray<z.ZodString>>;
14
+ related_concepts: z.ZodOptional<z.ZodArray<z.ZodString>>;
15
15
  includeExperimental: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
16
16
  }, {
17
17
  examples: z.ZodArray<z.ZodObject<{
18
18
  title: z.ZodString;
19
19
  summary: z.ZodString;
20
- keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
21
- required_packages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
22
- related_concepts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
23
- related_tools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
20
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
21
+ required_packages: z.ZodOptional<z.ZodArray<z.ZodString>>;
22
+ related_concepts: z.ZodOptional<z.ZodArray<z.ZodString>>;
23
+ related_tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
24
24
  content: z.ZodString;
25
25
  snippet: z.ZodOptional<z.ZodString>;
26
- }, "strip", z.ZodTypeAny, {
27
- title: string;
28
- content: string;
29
- summary: string;
30
- keywords?: string[] | undefined;
31
- required_packages?: string[] | undefined;
32
- related_concepts?: string[] | undefined;
33
- related_tools?: string[] | undefined;
34
- snippet?: string | undefined;
35
- }, {
36
- title: string;
37
- content: string;
38
- summary: string;
39
- keywords?: string[] | undefined;
40
- required_packages?: string[] | undefined;
41
- related_concepts?: string[] | undefined;
42
- related_tools?: string[] | undefined;
43
- snippet?: string | undefined;
44
- }>, "many">;
26
+ }, z.core.$strip>>;
45
27
  }>;
46
28
  /**
47
29
  * Escapes a search query for FTS5 by tokenizing and quoting terms.
@@ -9,28 +9,16 @@ import { z } from 'zod';
9
9
  import { Host } from '../host';
10
10
  import { McpToolDeclaration } from './tool-registry';
11
11
  declare const modernizeInputSchema: z.ZodObject<{
12
- directories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13
- transformations: z.ZodOptional<z.ZodArray<z.ZodEnum<[string, ...string[]]>, "many">>;
14
- }, "strip", z.ZodTypeAny, {
15
- directories?: string[] | undefined;
16
- transformations?: string[] | undefined;
17
- }, {
18
- directories?: string[] | undefined;
19
- transformations?: string[] | undefined;
20
- }>;
12
+ directories: z.ZodOptional<z.ZodArray<z.ZodString>>;
13
+ transformations: z.ZodOptional<z.ZodArray<z.ZodEnum<{
14
+ [x: string]: string;
15
+ }>>>;
16
+ }, z.core.$strip>;
21
17
  declare const modernizeOutputSchema: z.ZodObject<{
22
- instructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
18
+ instructions: z.ZodOptional<z.ZodArray<z.ZodString>>;
23
19
  stdout: z.ZodOptional<z.ZodString>;
24
20
  stderr: z.ZodOptional<z.ZodString>;
25
- }, "strip", z.ZodTypeAny, {
26
- stdout?: string | undefined;
27
- stderr?: string | undefined;
28
- instructions?: string[] | undefined;
29
- }, {
30
- stdout?: string | undefined;
31
- stderr?: string | undefined;
32
- instructions?: string[] | undefined;
33
- }>;
21
+ }, z.core.$strip>;
34
22
  export type ModernizeInput = z.infer<typeof modernizeInputSchema>;
35
23
  export type ModernizeOutput = z.infer<typeof modernizeOutputSchema>;
36
24
  export declare function runModernization(input: ModernizeInput, host: Host): Promise<{
@@ -39,9 +27,9 @@ export declare function runModernization(input: ModernizeInput, host: Host): Pro
39
27
  text: string;
40
28
  }[];
41
29
  structuredContent: {
30
+ instructions?: string[] | undefined;
42
31
  stdout?: string | undefined;
43
32
  stderr?: string | undefined;
44
- instructions?: string[] | undefined;
45
33
  };
46
34
  }>;
47
35
  export declare const MODERNIZE_TOOL: McpToolDeclaration<typeof modernizeInputSchema.shape, typeof modernizeOutputSchema.shape>;
@@ -10,5 +10,7 @@ import { ServerNotification, ServerRequest } from '@modelcontextprotocol/sdk/typ
10
10
  import { z } from 'zod';
11
11
  export declare const ZONELESS_MIGRATION_TOOL: import("../tool-registry").McpToolDeclaration<{
12
12
  fileOrDirPath: z.ZodString;
13
- }, z.ZodRawShape>;
13
+ }, Readonly<{
14
+ [k: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
15
+ }>>;
14
16
  export declare function registerZonelessMigrationTool(fileOrDirPath: string, extras: RequestHandlerExtra<ServerRequest, ServerNotification>): Promise<import("./types").MigrationResponse>;
@@ -6,83 +6,42 @@
6
6
  * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
8
  import z from 'zod';
9
- export declare const LIST_PROJECTS_TOOL: import("./tool-registry").McpToolDeclaration<z.ZodRawShape, {
9
+ export declare const LIST_PROJECTS_TOOL: import("./tool-registry").McpToolDeclaration<Readonly<{
10
+ [k: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
11
+ }>, {
10
12
  workspaces: z.ZodArray<z.ZodObject<{
11
13
  path: z.ZodString;
12
14
  frameworkVersion: z.ZodOptional<z.ZodString>;
13
15
  projects: z.ZodArray<z.ZodObject<{
14
16
  name: z.ZodString;
15
- type: z.ZodOptional<z.ZodEnum<["application", "library"]>>;
17
+ type: z.ZodOptional<z.ZodEnum<{
18
+ application: "application";
19
+ library: "library";
20
+ }>>;
16
21
  builder: z.ZodOptional<z.ZodString>;
17
22
  root: z.ZodString;
18
23
  sourceRoot: z.ZodString;
19
24
  selectorPrefix: z.ZodOptional<z.ZodString>;
20
- unitTestFramework: z.ZodOptional<z.ZodEnum<["jasmine", "jest", "vitest", "unknown"]>>;
21
- styleLanguage: z.ZodOptional<z.ZodEnum<["css", "scss", "sass", "less"]>>;
22
- }, "strip", z.ZodTypeAny, {
23
- name: string;
24
- root: string;
25
- sourceRoot: string;
26
- type?: "application" | "library" | undefined;
27
- builder?: string | undefined;
28
- selectorPrefix?: string | undefined;
29
- unitTestFramework?: "vitest" | "unknown" | "jasmine" | "jest" | undefined;
30
- styleLanguage?: "css" | "less" | "sass" | "scss" | undefined;
31
- }, {
32
- name: string;
33
- root: string;
34
- sourceRoot: string;
35
- type?: "application" | "library" | undefined;
36
- builder?: string | undefined;
37
- selectorPrefix?: string | undefined;
38
- unitTestFramework?: "vitest" | "unknown" | "jasmine" | "jest" | undefined;
39
- styleLanguage?: "css" | "less" | "sass" | "scss" | undefined;
40
- }>, "many">;
41
- }, "strip", z.ZodTypeAny, {
42
- path: string;
43
- projects: {
44
- name: string;
45
- root: string;
46
- sourceRoot: string;
47
- type?: "application" | "library" | undefined;
48
- builder?: string | undefined;
49
- selectorPrefix?: string | undefined;
50
- unitTestFramework?: "vitest" | "unknown" | "jasmine" | "jest" | undefined;
51
- styleLanguage?: "css" | "less" | "sass" | "scss" | undefined;
52
- }[];
53
- frameworkVersion?: string | undefined;
54
- }, {
55
- path: string;
56
- projects: {
57
- name: string;
58
- root: string;
59
- sourceRoot: string;
60
- type?: "application" | "library" | undefined;
61
- builder?: string | undefined;
62
- selectorPrefix?: string | undefined;
63
- unitTestFramework?: "vitest" | "unknown" | "jasmine" | "jest" | undefined;
64
- styleLanguage?: "css" | "less" | "sass" | "scss" | undefined;
65
- }[];
66
- frameworkVersion?: string | undefined;
67
- }>, "many">;
25
+ unitTestFramework: z.ZodOptional<z.ZodEnum<{
26
+ vitest: "vitest";
27
+ unknown: "unknown";
28
+ jasmine: "jasmine";
29
+ jest: "jest";
30
+ }>>;
31
+ styleLanguage: z.ZodOptional<z.ZodEnum<{
32
+ css: "css";
33
+ less: "less";
34
+ sass: "sass";
35
+ scss: "scss";
36
+ }>>;
37
+ }, z.core.$strip>>;
38
+ }, z.core.$strip>>;
68
39
  parsingErrors: z.ZodDefault<z.ZodArray<z.ZodObject<{
69
40
  filePath: z.ZodString;
70
41
  message: z.ZodString;
71
- }, "strip", z.ZodTypeAny, {
72
- message: string;
73
- filePath: string;
74
- }, {
75
- message: string;
76
- filePath: string;
77
- }>, "many">>;
42
+ }, z.core.$strip>>>;
78
43
  versioningErrors: z.ZodDefault<z.ZodArray<z.ZodObject<{
79
44
  filePath: z.ZodString;
80
45
  message: z.ZodString;
81
- }, "strip", z.ZodTypeAny, {
82
- message: string;
83
- filePath: string;
84
- }, {
85
- message: string;
86
- filePath: string;
87
- }>, "many">>;
46
+ }, z.core.$strip>>>;
88
47
  }>;
@@ -6,9 +6,9 @@
6
6
  * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
8
  import type { McpServer, ToolCallback } from '@modelcontextprotocol/sdk/server/mcp.js';
9
- import { ZodRawShape } from 'zod';
9
+ import type { ToolAnnotations } from '@modelcontextprotocol/sdk/types';
10
+ import type { ZodRawShape } from 'zod';
10
11
  import type { AngularWorkspace } from '../../../utilities/config';
11
- type ToolConfig = Parameters<McpServer['registerTool']>[1];
12
12
  export interface McpToolContext {
13
13
  server: McpServer;
14
14
  workspace?: AngularWorkspace;
@@ -22,7 +22,7 @@ export interface McpToolDeclaration<TInput extends ZodRawShape, TOutput extends
22
22
  name: string;
23
23
  title?: string;
24
24
  description: string;
25
- annotations?: ToolConfig['annotations'];
25
+ annotations?: ToolAnnotations;
26
26
  inputSchema?: TInput;
27
27
  outputSchema?: TOutput;
28
28
  factory: McpToolFactory<TInput>;
@@ -33,4 +33,3 @@ export interface McpToolDeclaration<TInput extends ZodRawShape, TOutput extends
33
33
  export type AnyMcpToolDeclaration = McpToolDeclaration<any, any>;
34
34
  export declare function declareTool<TInput extends ZodRawShape, TOutput extends ZodRawShape>(declaration: McpToolDeclaration<TInput, TOutput>): McpToolDeclaration<TInput, TOutput>;
35
35
  export declare function registerTools(server: McpServer, context: Omit<McpToolContext, 'server'>, declarations: AnyMcpToolDeclaration[]): Promise<void>;
36
- export {};
@@ -1 +1 @@
1
- {"version":3,"file":"tool-registry.js","sourceRoot":"","sources":["tool-registry.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAmCH,kCAIC;AAED,sCA2BC;AAjCD,SAAgB,WAAW,CACzB,WAAgD;IAEhD,OAAO,WAAW,CAAC;AACrB,CAAC;AAEM,KAAK,UAAU,aAAa,CACjC,MAAiB,EACjB,OAAuC,EACvC,YAAqC;IAErC,KAAK,MAAM,WAAW,IAAI,YAAY,EAAE,CAAC;QACvC,MAAM,WAAW,GAAG,EAAE,GAAG,OAAO,EAAE,MAAM,EAAE,CAAC;QAC3C,IAAI,WAAW,CAAC,cAAc,IAAI,CAAC,CAAC,MAAM,WAAW,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC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M,OAAO,CAAC,WAAW,CAAC,CAAC;QAE3C,iDAAiD;QACjD,MAAM,CAAC,WAAW,KAAK,EAAE,CAAC;QAC1B,IAAI,UAAU,KAAK,SAAS,EAAE,CAAC;YAC7B,MAAM,CAAC,WAAW,CAAC,YAAY,GAAG,UAAU,CAAC;QAC/C,CAAC;QACD,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,wCAAwC;YACxC,MAAM,CAAC,WAAW,CAAC,aAAa,GAAG,CAAC,WAAW,CAAC;QAClD,CAAC;QAED,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;IAC7C,CAAC;AACH,CAAC"}
@@ -22,5 +22,5 @@ class Version {
22
22
  this.patch = patch;
23
23
  }
24
24
  }
25
- exports.VERSION = new Version('21.0.1');
25
+ exports.VERSION = new Version('21.0.3');
26
26
  //# sourceMappingURL=version.js.map