@angular/cli 20.3.12 → 20.3.14

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/cli",
3
- "version": "20.3.12",
3
+ "version": "20.3.14",
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.2003.12",
29
- "@angular-devkit/core": "20.3.12",
30
- "@angular-devkit/schematics": "20.3.12",
28
+ "@angular-devkit/architect": "0.2003.14",
29
+ "@angular-devkit/core": "20.3.14",
30
+ "@angular-devkit/schematics": "20.3.14",
31
31
  "@inquirer/prompts": "7.8.2",
32
32
  "@listr2/prompt-adapter-inquirer": "3.0.1",
33
- "@modelcontextprotocol/sdk": "1.17.3",
34
- "@schematics/angular": "20.3.12",
33
+ "@modelcontextprotocol/sdk": "1.25.2",
34
+ "@schematics/angular": "20.3.14",
35
35
  "@yarnpkg/lockfile": "1.1.0",
36
36
  "algoliasearch": "5.35.0",
37
37
  "ini": "5.0.0",
@@ -42,19 +42,19 @@
42
42
  "resolve": "1.22.10",
43
43
  "semver": "7.7.2",
44
44
  "yargs": "18.0.0",
45
- "zod": "3.25.76"
45
+ "zod": "4.1.13"
46
46
  },
47
47
  "ng-update": {
48
48
  "migrations": "@schematics/angular/migrations/migration-collection.json",
49
49
  "packageGroup": {
50
- "@angular/cli": "20.3.12",
51
- "@angular/build": "20.3.12",
52
- "@angular/ssr": "20.3.12",
53
- "@angular-devkit/architect": "0.2003.12",
54
- "@angular-devkit/build-angular": "20.3.12",
55
- "@angular-devkit/build-webpack": "0.2003.12",
56
- "@angular-devkit/core": "20.3.12",
57
- "@angular-devkit/schematics": "20.3.12"
50
+ "@angular/cli": "20.3.14",
51
+ "@angular/build": "20.3.14",
52
+ "@angular/ssr": "20.3.14",
53
+ "@angular-devkit/architect": "0.2003.14",
54
+ "@angular-devkit/build-angular": "20.3.14",
55
+ "@angular-devkit/build-webpack": "0.2003.14",
56
+ "@angular-devkit/core": "20.3.14",
57
+ "@angular-devkit/schematics": "20.3.14"
58
58
  }
59
59
  },
60
60
  "packageManager": "pnpm@10.19.0",
@@ -17,18 +17,18 @@ export declare const EXPERIMENTAL_TOOLS: readonly [import("./tools/tool-registry
17
17
  }, {
18
18
  examples: import("zod").ZodArray<import("zod").ZodObject<{
19
19
  content: import("zod").ZodString;
20
- }, "strip", import("zod").ZodTypeAny, {
21
- content: string;
22
- }, {
23
- content: string;
24
- }>, "many">;
20
+ }, import("zod/v4/core").$strip>>;
25
21
  }>, import("./tools/tool-registry").McpToolDeclaration<{
26
- transformations: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<[string, ...string[]]>, "many">>;
22
+ transformations: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<{
23
+ [x: string]: string;
24
+ }>>>;
27
25
  }, {
28
- instructions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
26
+ instructions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
29
27
  }>, import("./tools/tool-registry").McpToolDeclaration<{
30
28
  fileOrDirPath: import("zod").ZodString;
31
- }, import("zod").ZodRawShape>];
29
+ }, Readonly<{
30
+ [k: string]: import("zod/v4/core").$ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
31
+ }>>];
32
32
  export declare function createMcpServer(options: {
33
33
  workspace?: AngularWorkspace;
34
34
  readOnly?: boolean;
@@ -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 BEST_PRACTICES_TOOL: import("./tool-registry").McpToolDeclaration<import("zod").ZodRawShape, import("zod").ZodRawShape>;
8
+ export declare const BEST_PRACTICES_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
+ }>>;
@@ -15,15 +15,5 @@ export declare const DOC_SEARCH_TOOL: import("./tool-registry").McpToolDeclarati
15
15
  breadcrumb: z.ZodString;
16
16
  url: z.ZodString;
17
17
  content: z.ZodOptional<z.ZodString>;
18
- }, "strip", z.ZodTypeAny, {
19
- title: string;
20
- breadcrumb: string;
21
- url: string;
22
- content?: string | undefined;
23
- }, {
24
- title: string;
25
- breadcrumb: string;
26
- url: string;
27
- content?: string | undefined;
28
- }>, "many">;
18
+ }, z.core.$strip>>;
29
19
  }>;
@@ -11,11 +11,7 @@ export declare const FIND_EXAMPLE_TOOL: import("./tool-registry").McpToolDeclara
11
11
  }, {
12
12
  examples: z.ZodArray<z.ZodObject<{
13
13
  content: z.ZodString;
14
- }, "strip", z.ZodTypeAny, {
15
- content: string;
16
- }, {
17
- content: string;
18
- }>, "many">;
14
+ }, z.core.$strip>>;
19
15
  }>;
20
16
  /**
21
17
  * Escapes a search query for FTS5 by tokenizing and quoting terms.
@@ -7,12 +7,10 @@
7
7
  */
8
8
  import { z } from 'zod';
9
9
  declare const modernizeInputSchema: z.ZodObject<{
10
- transformations: z.ZodOptional<z.ZodArray<z.ZodEnum<[string, ...string[]]>, "many">>;
11
- }, "strip", z.ZodTypeAny, {
12
- transformations?: string[] | undefined;
13
- }, {
14
- transformations?: string[] | undefined;
15
- }>;
10
+ transformations: z.ZodOptional<z.ZodArray<z.ZodEnum<{
11
+ [x: string]: string;
12
+ }>>>;
13
+ }, z.core.$strip>;
16
14
  export type ModernizeInput = z.infer<typeof modernizeInputSchema>;
17
15
  export declare function runModernization(input: ModernizeInput): Promise<{
18
16
  content: {
@@ -24,8 +22,10 @@ export declare function runModernization(input: ModernizeInput): Promise<{
24
22
  };
25
23
  }>;
26
24
  export declare const MODERNIZE_TOOL: import("./tool-registry").McpToolDeclaration<{
27
- transformations: z.ZodOptional<z.ZodArray<z.ZodEnum<[string, ...string[]]>, "many">>;
25
+ transformations: z.ZodOptional<z.ZodArray<z.ZodEnum<{
26
+ [x: string]: string;
27
+ }>>>;
28
28
  }, {
29
- instructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
29
+ instructions: z.ZodOptional<z.ZodArray<z.ZodString>>;
30
30
  }>;
31
31
  export {};
@@ -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,24 +6,17 @@
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
  projects: z.ZodArray<z.ZodObject<{
11
13
  name: z.ZodString;
12
- type: z.ZodOptional<z.ZodEnum<["application", "library"]>>;
14
+ type: z.ZodOptional<z.ZodEnum<{
15
+ application: "application";
16
+ library: "library";
17
+ }>>;
13
18
  root: z.ZodString;
14
19
  sourceRoot: z.ZodString;
15
20
  selectorPrefix: z.ZodOptional<z.ZodString>;
16
- }, "strip", z.ZodTypeAny, {
17
- name: string;
18
- root: string;
19
- sourceRoot: string;
20
- type?: "application" | "library" | undefined;
21
- selectorPrefix?: string | undefined;
22
- }, {
23
- name: string;
24
- root: string;
25
- sourceRoot: string;
26
- type?: "application" | "library" | undefined;
27
- selectorPrefix?: string | undefined;
28
- }>, "many">;
21
+ }, z.core.$strip>>;
29
22
  }>;
@@ -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
  workspace?: AngularWorkspace;
14
14
  logger: {
@@ -21,7 +21,7 @@ export interface McpToolDeclaration<TInput extends ZodRawShape, TOutput extends
21
21
  name: string;
22
22
  title?: string;
23
23
  description: string;
24
- annotations?: ToolConfig['annotations'];
24
+ annotations?: ToolAnnotations;
25
25
  inputSchema?: TInput;
26
26
  outputSchema?: TOutput;
27
27
  factory: McpToolFactory<TInput>;
@@ -32,4 +32,3 @@ export interface McpToolDeclaration<TInput extends ZodRawShape, TOutput extends
32
32
  export type AnyMcpToolDeclaration = McpToolDeclaration<any, any>;
33
33
  export declare function declareTool<TInput extends ZodRawShape, TOutput extends ZodRawShape>(declaration: McpToolDeclaration<TInput, TOutput>): McpToolDeclaration<TInput, TOutput>;
34
34
  export declare function registerTools(server: McpServer, context: McpToolContext, declarations: AnyMcpToolDeclaration[]): Promise<void>;
35
- export {};
@@ -22,4 +22,4 @@ class Version {
22
22
  this.patch = patch;
23
23
  }
24
24
  }
25
- exports.VERSION = new Version('20.3.12');
25
+ exports.VERSION = new Version('20.3.14');