@depup/angular__cli 21.2.6-depup.1 → 22.0.7-depup.0

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.
Files changed (147) hide show
  1. package/README.md +12 -9
  2. package/bin/ng.js +10 -7
  3. package/changes.json +28 -16
  4. package/lib/cli/index.js +3 -5
  5. package/lib/cli/index.js.map +1 -1
  6. package/lib/config/schema.json +18 -392
  7. package/lib/config/workspace-schema.d.ts +5 -1
  8. package/lib/config/workspace-schema.js +1 -1
  9. package/lib/config/workspace-schema.js.map +1 -1
  10. package/package.json +64 -53
  11. package/src/command-builder/command-module.js +23 -8
  12. package/src/command-builder/command-module.js.map +1 -1
  13. package/src/commands/add/cli.d.ts +3 -0
  14. package/src/commands/add/cli.js +121 -50
  15. package/src/commands/add/cli.js.map +1 -1
  16. package/src/commands/mcp/cli.js +0 -4
  17. package/src/commands/mcp/cli.js.map +1 -1
  18. package/src/commands/mcp/devserver.d.ts +1 -1
  19. package/src/commands/mcp/devserver.js +5 -8
  20. package/src/commands/mcp/devserver.js.map +1 -1
  21. package/src/commands/mcp/host.d.ts +14 -12
  22. package/src/commands/mcp/host.js +139 -9
  23. package/src/commands/mcp/host.js.map +1 -1
  24. package/src/commands/mcp/mcp-server.d.ts +2 -160
  25. package/src/commands/mcp/mcp-server.js +56 -36
  26. package/src/commands/mcp/mcp-server.js.map +1 -1
  27. package/src/commands/mcp/resources/ai-tutor.md +5 -7
  28. package/src/commands/mcp/resources/best-practices.md +4 -2
  29. package/src/commands/mcp/tools/best-practices.js +9 -17
  30. package/src/commands/mcp/tools/best-practices.js.map +1 -1
  31. package/src/commands/mcp/tools/devserver/devserver-start.js +1 -0
  32. package/src/commands/mcp/tools/devserver/devserver-start.js.map +1 -1
  33. package/src/commands/mcp/tools/devserver/devserver-stop.js +1 -0
  34. package/src/commands/mcp/tools/devserver/devserver-stop.js.map +1 -1
  35. package/src/commands/mcp/tools/devserver/devserver-wait-for-build.js +1 -0
  36. package/src/commands/mcp/tools/devserver/devserver-wait-for-build.js.map +1 -1
  37. package/src/commands/mcp/tools/doc-search.js +11 -33
  38. package/src/commands/mcp/tools/doc-search.js.map +1 -1
  39. package/src/commands/mcp/tools/onpush-zoneless-migration/migrate-single-file.d.ts +2 -1
  40. package/src/commands/mcp/tools/onpush-zoneless-migration/migrate-single-file.js +5 -8
  41. package/src/commands/mcp/tools/onpush-zoneless-migration/migrate-single-file.js.map +1 -1
  42. package/src/commands/mcp/tools/onpush-zoneless-migration/migrate-test-file.d.ts +3 -2
  43. package/src/commands/mcp/tools/onpush-zoneless-migration/migrate-test-file.js +8 -8
  44. package/src/commands/mcp/tools/onpush-zoneless-migration/migrate-test-file.js.map +1 -1
  45. package/src/commands/mcp/tools/onpush-zoneless-migration/prompts.js +4 -4
  46. package/src/commands/mcp/tools/onpush-zoneless-migration/ts-utils.d.ts +2 -1
  47. package/src/commands/mcp/tools/onpush-zoneless-migration/ts-utils.js +2 -3
  48. package/src/commands/mcp/tools/onpush-zoneless-migration/ts-utils.js.map +1 -1
  49. package/src/commands/mcp/tools/onpush-zoneless-migration/zoneless-migration.d.ts +2 -1
  50. package/src/commands/mcp/tools/onpush-zoneless-migration/zoneless-migration.js +31 -44
  51. package/src/commands/mcp/tools/onpush-zoneless-migration/zoneless-migration.js.map +1 -1
  52. package/src/commands/mcp/tools/projects.d.ts +1 -0
  53. package/src/commands/mcp/tools/projects.js +37 -19
  54. package/src/commands/mcp/tools/projects.js.map +1 -1
  55. package/src/commands/mcp/tools/run-target/build-target-strategy.d.ts +14 -0
  56. package/src/commands/mcp/tools/run-target/build-target-strategy.js +53 -0
  57. package/src/commands/mcp/tools/run-target/build-target-strategy.js.map +1 -0
  58. package/src/commands/mcp/tools/run-target/generic-target-strategy.d.ts +14 -0
  59. package/src/commands/mcp/tools/run-target/generic-target-strategy.js +63 -0
  60. package/src/commands/mcp/tools/run-target/generic-target-strategy.js.map +1 -0
  61. package/src/commands/mcp/tools/run-target/options-serializer.d.ts +13 -0
  62. package/src/commands/mcp/tools/run-target/options-serializer.js +41 -0
  63. package/src/commands/mcp/tools/run-target/options-serializer.js.map +1 -0
  64. package/src/commands/mcp/tools/run-target/run-target.d.ts +34 -0
  65. package/src/commands/mcp/tools/run-target/run-target.js +69 -0
  66. package/src/commands/mcp/tools/run-target/run-target.js.map +1 -0
  67. package/src/commands/mcp/tools/run-target/strategy.d.ts +15 -0
  68. package/src/commands/mcp/tools/run-target/strategy.js +10 -0
  69. package/src/commands/mcp/tools/run-target/strategy.js.map +1 -0
  70. package/src/commands/mcp/tools/run-target/types.d.ts +39 -0
  71. package/src/commands/mcp/tools/run-target/types.js +41 -0
  72. package/src/commands/mcp/tools/run-target/types.js.map +1 -0
  73. package/src/commands/mcp/tools/run-target/unit-test-strategy.d.ts +14 -0
  74. package/src/commands/mcp/tools/run-target/unit-test-strategy.js +56 -0
  75. package/src/commands/mcp/tools/run-target/unit-test-strategy.js.map +1 -0
  76. package/src/commands/mcp/workspace-utils.d.ts +2 -1
  77. package/src/commands/mcp/workspace-utils.js +45 -3
  78. package/src/commands/mcp/workspace-utils.js.map +1 -1
  79. package/src/commands/update/cli.js +4 -3
  80. package/src/commands/update/cli.js.map +1 -1
  81. package/src/commands/update/schematic/index.js +262 -92
  82. package/src/commands/update/schematic/index.js.map +1 -1
  83. package/src/commands/update/schematic/schema.d.ts +4 -0
  84. package/src/commands/update/schematic/schema.js.map +1 -1
  85. package/src/commands/update/schematic/schema.json +4 -0
  86. package/src/commands/update/utilities/cli-version.js +1 -1
  87. package/src/commands/update/utilities/cli-version.js.map +1 -1
  88. package/src/commands/update/utilities/migration.js +5 -2
  89. package/src/commands/update/utilities/migration.js.map +1 -1
  90. package/src/commands/version/version-info.js +2 -8
  91. package/src/commands/version/version-info.js.map +1 -1
  92. package/src/package-managers/package-manager-descriptor.d.ts +15 -1
  93. package/src/package-managers/package-manager-descriptor.js +29 -0
  94. package/src/package-managers/package-manager-descriptor.js.map +1 -1
  95. package/src/package-managers/package-manager.d.ts +4 -0
  96. package/src/package-managers/package-manager.js +218 -36
  97. package/src/package-managers/package-manager.js.map +1 -1
  98. package/src/package-managers/parsers.d.ts +3 -21
  99. package/src/package-managers/parsers.js +83 -33
  100. package/src/package-managers/parsers.js.map +1 -1
  101. package/src/utilities/completion.js +1 -1
  102. package/src/utilities/completion.js.map +1 -1
  103. package/src/utilities/config.js +1 -2
  104. package/src/utilities/config.js.map +1 -1
  105. package/src/utilities/node-version.d.ts +21 -0
  106. package/src/utilities/node-version.js +65 -0
  107. package/src/utilities/node-version.js.map +1 -0
  108. package/src/utilities/package-metadata.d.ts +0 -10
  109. package/src/utilities/package-metadata.js +0 -62
  110. package/src/utilities/package-metadata.js.map +1 -1
  111. package/src/utilities/prompt.js +1 -1
  112. package/src/utilities/prompt.js.map +1 -1
  113. package/src/utilities/version.js +1 -1
  114. package/lib/code-examples.db +0 -0
  115. package/src/commands/mcp/tools/build.d.ts +0 -37
  116. package/src/commands/mcp/tools/build.js +0 -89
  117. package/src/commands/mcp/tools/build.js.map +0 -1
  118. package/src/commands/mcp/tools/e2e.d.ts +0 -44
  119. package/src/commands/mcp/tools/e2e.js +0 -87
  120. package/src/commands/mcp/tools/e2e.js.map +0 -1
  121. package/src/commands/mcp/tools/examples/database-discovery.d.ts +0 -34
  122. package/src/commands/mcp/tools/examples/database-discovery.js +0 -87
  123. package/src/commands/mcp/tools/examples/database-discovery.js.map +0 -1
  124. package/src/commands/mcp/tools/examples/database.d.ts +0 -35
  125. package/src/commands/mcp/tools/examples/database.js +0 -125
  126. package/src/commands/mcp/tools/examples/database.js.map +0 -1
  127. package/src/commands/mcp/tools/examples/index.d.ts +0 -26
  128. package/src/commands/mcp/tools/examples/index.js +0 -149
  129. package/src/commands/mcp/tools/examples/index.js.map +0 -1
  130. package/src/commands/mcp/tools/examples/query-escaper.d.ts +0 -20
  131. package/src/commands/mcp/tools/examples/query-escaper.js +0 -68
  132. package/src/commands/mcp/tools/examples/query-escaper.js.map +0 -1
  133. package/src/commands/mcp/tools/examples/runtime-database.d.ts +0 -10
  134. package/src/commands/mcp/tools/examples/runtime-database.js +0 -192
  135. package/src/commands/mcp/tools/examples/runtime-database.js.map +0 -1
  136. package/src/commands/mcp/tools/examples/schemas.d.ts +0 -29
  137. package/src/commands/mcp/tools/examples/schemas.js +0 -101
  138. package/src/commands/mcp/tools/examples/schemas.js.map +0 -1
  139. package/src/commands/mcp/tools/examples/utils.d.ts +0 -14
  140. package/src/commands/mcp/tools/examples/utils.js +0 -31
  141. package/src/commands/mcp/tools/examples/utils.js.map +0 -1
  142. package/src/commands/mcp/tools/modernize.d.ts +0 -43
  143. package/src/commands/mcp/tools/modernize.js +0 -165
  144. package/src/commands/mcp/tools/modernize.js.map +0 -1
  145. package/src/commands/mcp/tools/test.d.ts +0 -35
  146. package/src/commands/mcp/tools/test.js +0 -79
  147. package/src/commands/mcp/tools/test.js.map +0 -1
package/README.md CHANGED
@@ -13,21 +13,24 @@ npm install @depup/angular__cli
13
13
 
14
14
  | Field | Value |
15
15
  |-------|-------|
16
- | Original | [@angular/cli](https://www.npmjs.com/package/@angular/cli) @ 21.2.6 |
17
- | Processed | 2026-04-06 |
16
+ | Original | [@angular/cli](https://www.npmjs.com/package/@angular/cli) @ 22.0.7 |
17
+ | Processed | 2026-07-21 |
18
18
  | Smoke test | passed |
19
- | Deps updated | 6 |
19
+ | Deps updated | 9 |
20
20
 
21
21
  ## Dependency Changes
22
22
 
23
23
  | Dependency | From | To |
24
24
  |------------|------|-----|
25
- | @inquirer/prompts | 7.10.1 | ^8.4.0 |
26
- | @listr2/prompt-adapter-inquirer | 3.0.5 | ^4.2.2 |
27
- | @modelcontextprotocol/sdk | 1.26.0 | ^1.29.0 |
28
- | algoliasearch | 5.48.1 | ^5.50.1 |
29
- | listr2 | 9.0.5 | ^10.2.1 |
30
- | pacote | 21.3.1 | ^21.5.0 |
25
+ | @inquirer/prompts | 8.4.2 | ^8.5.2 |
26
+ | @listr2/prompt-adapter-inquirer | 4.2.3 | ^4.2.4 |
27
+ | algoliasearch | 5.52.0 | ^5.56.0 |
28
+ | ini | 6.0.0 | ^7.0.0 |
29
+ | listr2 | 10.2.1 | ^10.2.2 |
30
+ | npm-package-arg | 13.0.2 | ^14.0.0 |
31
+ | pacote | 21.5.1 | ^22.0.0 |
32
+ | semver | 7.7.4 | ^7.8.5 |
33
+ | zod | 4.4.2 | ^4.4.3 |
31
34
 
32
35
  ---
33
36
 
package/bin/ng.js CHANGED
@@ -12,6 +12,7 @@
12
12
  'use strict';
13
13
 
14
14
  const path = require('path');
15
+ const nodeUtils = require('../src/utilities/node-version');
15
16
 
16
17
  // Error if the external CLI appears to be used inside a google3 context.
17
18
  if (process.cwd().split(path.sep).includes('google3')) {
@@ -42,26 +43,28 @@ if (rawCommandName === '--get-yargs-completions' || rawCommandName === 'completi
42
43
  // This node version check ensures that extremely old versions of node are not used.
43
44
  // These may not support ES2015 features such as const/let/async/await/etc.
44
45
  // These would then crash with a hard to diagnose error message.
45
- const [major, minor] = process.versions.node.split('.', 2).map((part) => Number(part));
46
+ const [major] = process.versions.node.split('.', 1).map((part) => Number(part));
46
47
 
47
- if (major % 2 === 1) {
48
- // Allow new odd numbered releases with a warning (currently v17+)
48
+ if (major === 23 || major === 25) {
49
+ // Allow new odd numbered releases with a warning.
49
50
  console.warn(
50
51
  'Node.js version ' +
51
52
  process.version +
52
53
  ' detected.\n' +
53
- 'Odd numbered Node.js versions will not enter LTS status and should not be used for production.' +
54
+ 'Prior to version 27, odd numbered Node.js versions will not enter LTS status and should not be used for production.' +
54
55
  ' For more information, please see https://nodejs.org/en/about/previous-releases/.',
55
56
  );
56
57
 
57
58
  require('./bootstrap');
58
- } else if (major < 20 || (major === 20 && minor < 19) || (major === 22 && minor < 12)) {
59
- // Error and exit if less than 20.19 or 22.12
59
+ } else if (!nodeUtils.isNodeVersionSupported()) {
60
+ // Error and exit if less than the supported versions.
60
61
  console.error(
61
62
  'Node.js version ' +
62
63
  process.version +
63
64
  ' detected.\n' +
64
- 'The Angular CLI requires a minimum Node.js version of v20.19 or v22.12.\n\n' +
65
+ 'The Angular CLI requires a minimum Node.js version of ' +
66
+ nodeUtils.supportedNodeVersions.map((v) => 'v' + v).join(' or ') +
67
+ '.\n\n' +
65
68
  'Please update your Node.js version or visit https://nodejs.org/ for additional instructions.\n',
66
69
  );
67
70
 
package/changes.json CHANGED
@@ -1,30 +1,42 @@
1
1
  {
2
2
  "bumped": {
3
3
  "@inquirer/prompts": {
4
- "from": "7.10.1",
5
- "to": "^8.4.0"
4
+ "from": "8.4.2",
5
+ "to": "^8.5.2"
6
6
  },
7
7
  "@listr2/prompt-adapter-inquirer": {
8
- "from": "3.0.5",
9
- "to": "^4.2.2"
10
- },
11
- "@modelcontextprotocol/sdk": {
12
- "from": "1.26.0",
13
- "to": "^1.29.0"
8
+ "from": "4.2.3",
9
+ "to": "^4.2.4"
14
10
  },
15
11
  "algoliasearch": {
16
- "from": "5.48.1",
17
- "to": "^5.50.1"
12
+ "from": "5.52.0",
13
+ "to": "^5.56.0"
14
+ },
15
+ "ini": {
16
+ "from": "6.0.0",
17
+ "to": "^7.0.0"
18
18
  },
19
19
  "listr2": {
20
- "from": "9.0.5",
21
- "to": "^10.2.1"
20
+ "from": "10.2.1",
21
+ "to": "^10.2.2"
22
+ },
23
+ "npm-package-arg": {
24
+ "from": "13.0.2",
25
+ "to": "^14.0.0"
22
26
  },
23
27
  "pacote": {
24
- "from": "21.3.1",
25
- "to": "^21.5.0"
28
+ "from": "21.5.1",
29
+ "to": "^22.0.0"
30
+ },
31
+ "semver": {
32
+ "from": "7.7.4",
33
+ "to": "^7.8.5"
34
+ },
35
+ "zod": {
36
+ "from": "4.4.2",
37
+ "to": "^4.4.3"
26
38
  }
27
39
  },
28
- "timestamp": "2026-04-06T20:21:55.052Z",
29
- "totalUpdated": 6
40
+ "timestamp": "2026-07-21T16:01:23.153Z",
41
+ "totalUpdated": 9
30
42
  }
package/lib/cli/index.js CHANGED
@@ -16,17 +16,15 @@ const command_runner_1 = require("../../src/command-builder/command-runner");
16
16
  const color_1 = require("../../src/utilities/color");
17
17
  const environment_options_1 = require("../../src/utilities/environment-options");
18
18
  const log_file_1 = require("../../src/utilities/log-file");
19
+ const node_version_1 = require("../../src/utilities/node-version");
19
20
  var version_1 = require("../../src/utilities/version");
20
21
  Object.defineProperty(exports, "VERSION", { enumerable: true, get: function () { return version_1.VERSION; } });
21
- const MIN_NODEJS_VERSION = [20, 19];
22
22
  /* eslint-disable no-console */
23
23
  async function default_1(options) {
24
24
  // This node version check ensures that the requirements of the project instance of the CLI are met
25
- const [major, minor] = process.versions.node.split('.').map((part) => Number(part));
26
- if (major < MIN_NODEJS_VERSION[0] ||
27
- (major === MIN_NODEJS_VERSION[0] && minor < MIN_NODEJS_VERSION[1])) {
25
+ if (!(0, node_version_1.isNodeVersionMinSupported)()) {
28
26
  process.stderr.write(`Node.js version ${process.version} detected.\n` +
29
- `The Angular CLI requires a minimum of v${MIN_NODEJS_VERSION[0]}.${MIN_NODEJS_VERSION[1]}.\n\n` +
27
+ `The Angular CLI requires a minimum of v${node_version_1.supportedNodeVersions[0]}.\n\n` +
30
28
  'Please update your Node.js version or visit https://nodejs.org/ for additional instructions.\n');
31
29
  return 3;
32
30
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAeH,4BAsGC;AAnHD,+CAA+C;AAC/C,yCAA6D;AAC7D,6EAA8E;AAC9E,6EAAsE;AACtE,qDAAiE;AACjE,iFAAkE;AAClE,2DAAmE;AAEnE,uDAAsD;AAA7C,kGAAA,OAAO,OAAA;AAEhB,MAAM,kBAAkB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAU,CAAC;AAE7C,+BAA+B;AAChB,KAAK,oBAAW,OAA8B;IAC3D,mGAAmG;IACnG,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,I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,OAAO,CAAC,IAAI,GAAG,OAAO,CAAC;QACvB,OAAO,CAAC,KAAK,GAAG,QAAQ,CAAC;IAC3B,CAAC;AACH,CAAC"}
@@ -478,8 +478,6 @@
478
478
  "@angular-devkit/build-angular:karma",
479
479
  "@angular-devkit/build-angular:ng-packagr",
480
480
  "@angular-devkit/build-angular:prerender",
481
- "@angular-devkit/build-angular:jest",
482
- "@angular-devkit/build-angular:web-test-runner",
483
481
  "@angular-devkit/build-angular:server",
484
482
  "@angular-devkit/build-angular:ssr-dev-server"
485
483
  ]
@@ -769,50 +767,6 @@
769
767
  }
770
768
  }
771
769
  },
772
- {
773
- "type": "object",
774
- "additionalProperties": false,
775
- "properties": {
776
- "builder": {
777
- "const": "@angular-devkit/build-angular:jest"
778
- },
779
- "defaultConfiguration": {
780
- "type": "string",
781
- "description": "A default named configuration to use when a target configuration is not provided."
782
- },
783
- "options": {
784
- "$ref": "#/definitions/AngularDevkitBuildAngularBuildersJestSchema"
785
- },
786
- "configurations": {
787
- "type": "object",
788
- "additionalProperties": {
789
- "$ref": "#/definitions/AngularDevkitBuildAngularBuildersJestSchema"
790
- }
791
- }
792
- }
793
- },
794
- {
795
- "type": "object",
796
- "additionalProperties": false,
797
- "properties": {
798
- "builder": {
799
- "const": "@angular-devkit/build-angular:web-test-runner"
800
- },
801
- "defaultConfiguration": {
802
- "type": "string",
803
- "description": "A default named configuration to use when a target configuration is not provided."
804
- },
805
- "options": {
806
- "$ref": "#/definitions/AngularDevkitBuildAngularBuildersWebTestRunnerSchema"
807
- },
808
- "configurations": {
809
- "type": "object",
810
- "additionalProperties": {
811
- "$ref": "#/definitions/AngularDevkitBuildAngularBuildersWebTestRunnerSchema"
812
- }
813
- }
814
- }
815
- },
816
770
  {
817
771
  "type": "object",
818
772
  "additionalProperties": false,
@@ -1177,11 +1131,11 @@
1177
1131
  "changeDetection": {
1178
1132
  "description": "Configures the change detection strategy for the component.",
1179
1133
  "enum": [
1180
- "Default",
1134
+ "Eager",
1181
1135
  "OnPush"
1182
1136
  ],
1183
1137
  "type": "string",
1184
- "default": "Default",
1138
+ "default": "OnPush",
1185
1139
  "alias": "c"
1186
1140
  },
1187
1141
  "prefix": {
@@ -1994,6 +1948,11 @@
1994
1948
  "type": "boolean",
1995
1949
  "default": true,
1996
1950
  "description": "When true, the 'type' option will be appended to the generated class name. When false, only the file name will include the type."
1951
+ },
1952
+ "injectable": {
1953
+ "type": "boolean",
1954
+ "default": false,
1955
+ "description": "When true, generates an `@Injectable` instead of `@Service`."
1997
1956
  }
1998
1957
  }
1999
1958
  },
@@ -2663,8 +2622,8 @@
2663
2622
  "type": "string",
2664
2623
  "description": "The server entry-point that when executed will spawn the web server."
2665
2624
  },
2666
- "experimentalPlatform": {
2667
- "description": "Specifies the platform for which the server bundle is generated. This affects the APIs and modules available in the server-side code. \n\n- `node`: (Default) Generates a bundle optimized for Node.js environments. \n- `neutral`: Generates a platform-neutral bundle suitable for environments like edge workers, and other serverless platforms. This option avoids using Node.js-specific APIs, making the bundle more portable. \n\nPlease note that this feature does not provide polyfills for Node.js modules. Additionally, it is experimental, and the schematics may undergo changes in future versions.",
2625
+ "platform": {
2626
+ "description": "Specifies the platform for which the server bundle is generated. This affects the APIs and modules available in the server-side code. \n\n- `node`: (Default) Generates a bundle optimized for Node.js environments. \n- `neutral`: Generates a platform-neutral bundle suitable for environments like edge workers, and other serverless platforms. This option avoids using Node.js-specific APIs, making the bundle more portable. \n\nPlease note that this feature does not provide polyfills for Node.js modules.",
2668
2627
  "default": "node",
2669
2628
  "enum": [
2670
2629
  "node",
@@ -4368,7 +4327,7 @@
4368
4327
  "string",
4369
4328
  "boolean"
4370
4329
  ],
4371
- "description": "Specifies the configuration file for the selected test runner. If a string is provided, it will be used as the path to the configuration file. If `true`, the builder will search for a default configuration file (e.g., `vitest.config.ts` or `karma.conf.js`). If `false`, no external configuration file will be used.\\nFor Vitest, this enables advanced options and the use of custom plugins. Please note that while the file is loaded, the Angular team does not provide direct support for its specific contents or any third-party plugins used within it.",
4330
+ "description": "Specifies the configuration file for the selected test runner. If a string is provided, it will be used as the path to the configuration file. If `true`, the builder will search for a default configuration file (e.g., `vitest-base.config.ts` or `karma.conf.js`). If `false`, no external configuration file will be used.\\nFor Vitest, this enables advanced options and the use of custom plugins. Please note that while the file is loaded, the Angular team does not provide direct support for its specific contents or any third-party plugins used within it.",
4372
4331
  "default": false
4373
4332
  },
4374
4333
  "browsers": {
@@ -4423,6 +4382,14 @@
4423
4382
  "type": "boolean",
4424
4383
  "description": "Enables the Vitest UI for interactive test execution. This option is only available for the Vitest runner."
4425
4384
  },
4385
+ "isolate": {
4386
+ "type": "boolean",
4387
+ "description": "Enables isolation for test execution. When true, Vitest runs tests in separate threads or processes. This option is only available for the Vitest runner. Defaults to false to align with the Karma/Jasmine experience."
4388
+ },
4389
+ "quiet": {
4390
+ "type": "boolean",
4391
+ "description": "Suppresses the verbose build summary and stats table on each rebuild. Defaults to `true` locally and `false` in CI environments."
4392
+ },
4426
4393
  "coverage": {
4427
4394
  "type": "boolean",
4428
4395
  "description": "Enables coverage reporting for tests. If not specified, the coverage configuration from a runner configuration file will be used if present. Otherwise, coverage is disabled by default."
@@ -5329,347 +5296,6 @@
5329
5296
  }
5330
5297
  }
5331
5298
  },
5332
- "AngularDevkitBuildAngularBuildersJestSchema": {
5333
- "title": "Jest browser schema for Build Facade.",
5334
- "description": "Jest target options",
5335
- "type": "object",
5336
- "properties": {
5337
- "include": {
5338
- "type": "array",
5339
- "items": {
5340
- "type": "string"
5341
- },
5342
- "default": [
5343
- "**/*.spec.ts"
5344
- ],
5345
- "description": "Globs of files to include, relative to project root."
5346
- },
5347
- "exclude": {
5348
- "type": "array",
5349
- "items": {
5350
- "type": "string"
5351
- },
5352
- "default": [],
5353
- "description": "Globs of files to exclude, relative to the project root."
5354
- },
5355
- "tsConfig": {
5356
- "type": "string",
5357
- "description": "The name of the TypeScript configuration file."
5358
- },
5359
- "polyfills": {
5360
- "type": "array",
5361
- "description": "A list of polyfills to include in the build. Can be a full path for a file, relative to the current workspace or module specifier. Example: 'zone.js'.",
5362
- "items": {
5363
- "type": "string",
5364
- "uniqueItems": true
5365
- },
5366
- "default": []
5367
- },
5368
- "aot": {
5369
- "type": "boolean",
5370
- "description": "Run tests using Ahead of Time compilation.",
5371
- "default": false
5372
- }
5373
- },
5374
- "additionalProperties": false
5375
- },
5376
- "AngularDevkitBuildAngularBuildersWebTestRunnerSchema": {
5377
- "title": "Web Test Runner Target",
5378
- "description": "Web Test Runner target options for Build Facade.",
5379
- "type": "object",
5380
- "properties": {
5381
- "main": {
5382
- "type": "string",
5383
- "description": "The name of the main entry-point file."
5384
- },
5385
- "tsConfig": {
5386
- "type": "string",
5387
- "description": "The name of the TypeScript configuration file."
5388
- },
5389
- "polyfills": {
5390
- "description": "Polyfills to be included in the build.",
5391
- "oneOf": [
5392
- {
5393
- "type": "array",
5394
- "description": "A list of polyfills to include in the build. Can be a full path for a file, relative to the current workspace or module specifier. Example: 'zone.js'.",
5395
- "items": {
5396
- "type": "string",
5397
- "uniqueItems": true
5398
- },
5399
- "default": []
5400
- },
5401
- {
5402
- "type": "string",
5403
- "description": "The full path for the polyfills file, relative to the current workspace or a module specifier. Example: 'zone.js'."
5404
- }
5405
- ]
5406
- },
5407
- "assets": {
5408
- "type": "array",
5409
- "description": "List of static application assets.",
5410
- "default": [],
5411
- "items": {
5412
- "$ref": "#/definitions/AngularDevkitBuildAngularBuildersWebTestRunnerSchema/definitions/assetPattern"
5413
- }
5414
- },
5415
- "scripts": {
5416
- "description": "Global scripts to be included in the build.",
5417
- "type": "array",
5418
- "default": [],
5419
- "items": {
5420
- "oneOf": [
5421
- {
5422
- "type": "object",
5423
- "properties": {
5424
- "input": {
5425
- "type": "string",
5426
- "description": "The file to include.",
5427
- "pattern": "\\.[cm]?jsx?$"
5428
- },
5429
- "bundleName": {
5430
- "type": "string",
5431
- "pattern": "^[\\w\\-.]*$",
5432
- "description": "The bundle name for this extra entry point."
5433
- },
5434
- "inject": {
5435
- "type": "boolean",
5436
- "description": "If the bundle will be referenced in the HTML file.",
5437
- "default": true
5438
- }
5439
- },
5440
- "additionalProperties": false
5441
- },
5442
- {
5443
- "type": "string",
5444
- "description": "The file to include.",
5445
- "pattern": "\\.[cm]?jsx?$"
5446
- }
5447
- ]
5448
- }
5449
- },
5450
- "styles": {
5451
- "description": "Global styles to be included in the build.",
5452
- "type": "array",
5453
- "default": [],
5454
- "items": {
5455
- "oneOf": [
5456
- {
5457
- "type": "object",
5458
- "properties": {
5459
- "input": {
5460
- "type": "string",
5461
- "description": "The file to include.",
5462
- "pattern": "\\.(?:css|scss|sass|less)$"
5463
- },
5464
- "bundleName": {
5465
- "type": "string",
5466
- "pattern": "^[\\w\\-.]*$",
5467
- "description": "The bundle name for this extra entry point."
5468
- },
5469
- "inject": {
5470
- "type": "boolean",
5471
- "description": "If the bundle will be referenced in the HTML file.",
5472
- "default": true
5473
- }
5474
- },
5475
- "additionalProperties": false
5476
- },
5477
- {
5478
- "type": "string",
5479
- "description": "The file to include.",
5480
- "pattern": "\\.(?:css|scss|sass|less)$"
5481
- }
5482
- ]
5483
- }
5484
- },
5485
- "inlineStyleLanguage": {
5486
- "description": "The stylesheet language to use for the application's inline component styles.",
5487
- "type": "string",
5488
- "default": "css",
5489
- "enum": [
5490
- "css",
5491
- "less",
5492
- "sass",
5493
- "scss"
5494
- ]
5495
- },
5496
- "stylePreprocessorOptions": {
5497
- "description": "Options to pass to style preprocessors",
5498
- "type": "object",
5499
- "properties": {
5500
- "includePaths": {
5501
- "description": "Paths to include. Paths will be resolved to workspace root.",
5502
- "type": "array",
5503
- "items": {
5504
- "type": "string"
5505
- },
5506
- "default": []
5507
- }
5508
- },
5509
- "additionalProperties": false
5510
- },
5511
- "include": {
5512
- "type": "array",
5513
- "items": {
5514
- "type": "string"
5515
- },
5516
- "default": [
5517
- "**/*.spec.ts"
5518
- ],
5519
- "description": "Globs of files to include, relative to project root. \nThere are 2 special cases:\n - when a path to directory is provided, all spec files ending \".spec.@(ts|tsx)\" will be included\n - when a path to a file is provided, and a matching spec file exists it will be included instead."
5520
- },
5521
- "exclude": {
5522
- "type": "array",
5523
- "items": {
5524
- "type": "string"
5525
- },
5526
- "default": [],
5527
- "description": "Globs of files to exclude, relative to the project root."
5528
- },
5529
- "sourceMap": {
5530
- "description": "Output source maps for scripts and styles. For more information, see https://angular.dev/reference/configs/workspace-config#source-map-configuration.",
5531
- "default": true,
5532
- "oneOf": [
5533
- {
5534
- "type": "object",
5535
- "properties": {
5536
- "scripts": {
5537
- "type": "boolean",
5538
- "description": "Output source maps for all scripts.",
5539
- "default": true
5540
- },
5541
- "styles": {
5542
- "type": "boolean",
5543
- "description": "Output source maps for all styles.",
5544
- "default": true
5545
- },
5546
- "vendor": {
5547
- "type": "boolean",
5548
- "description": "Resolve vendor packages source maps.",
5549
- "default": false
5550
- }
5551
- },
5552
- "additionalProperties": false
5553
- },
5554
- {
5555
- "type": "boolean"
5556
- }
5557
- ]
5558
- },
5559
- "progress": {
5560
- "type": "boolean",
5561
- "description": "Log progress to the console while building.",
5562
- "default": true
5563
- },
5564
- "watch": {
5565
- "type": "boolean",
5566
- "description": "Run build when files change."
5567
- },
5568
- "poll": {
5569
- "type": "number",
5570
- "description": "Enable and define the file watching poll time period in milliseconds."
5571
- },
5572
- "preserveSymlinks": {
5573
- "type": "boolean",
5574
- "description": "Do not use the real path when resolving modules. If unset then will default to `true` if NodeJS option --preserve-symlinks is set."
5575
- },
5576
- "browsers": {
5577
- "type": "string",
5578
- "description": "Override which browsers tests are run against."
5579
- },
5580
- "codeCoverage": {
5581
- "type": "boolean",
5582
- "description": "Output a code coverage report.",
5583
- "default": false
5584
- },
5585
- "codeCoverageExclude": {
5586
- "type": "array",
5587
- "description": "Globs to exclude from code coverage.",
5588
- "items": {
5589
- "type": "string"
5590
- },
5591
- "default": []
5592
- },
5593
- "fileReplacements": {
5594
- "description": "Replace compilation source files with other compilation source files in the build.",
5595
- "type": "array",
5596
- "items": {
5597
- "oneOf": [
5598
- {
5599
- "type": "object",
5600
- "properties": {
5601
- "src": {
5602
- "type": "string"
5603
- },
5604
- "replaceWith": {
5605
- "type": "string"
5606
- }
5607
- },
5608
- "additionalProperties": false
5609
- },
5610
- {
5611
- "type": "object",
5612
- "properties": {
5613
- "replace": {
5614
- "type": "string"
5615
- },
5616
- "with": {
5617
- "type": "string"
5618
- }
5619
- },
5620
- "additionalProperties": false
5621
- }
5622
- ]
5623
- },
5624
- "default": []
5625
- },
5626
- "webWorkerTsConfig": {
5627
- "type": "string",
5628
- "description": "TypeScript configuration for Web Worker modules."
5629
- },
5630
- "aot": {
5631
- "type": "boolean",
5632
- "description": "Run tests using Ahead of Time compilation.",
5633
- "default": false
5634
- }
5635
- },
5636
- "additionalProperties": false,
5637
- "definitions": {
5638
- "assetPattern": {
5639
- "oneOf": [
5640
- {
5641
- "type": "object",
5642
- "properties": {
5643
- "glob": {
5644
- "type": "string",
5645
- "description": "The pattern to match."
5646
- },
5647
- "input": {
5648
- "type": "string",
5649
- "description": "The input directory path in which to apply 'glob'. Defaults to the project root."
5650
- },
5651
- "output": {
5652
- "type": "string",
5653
- "default": "",
5654
- "description": "Absolute path within the output."
5655
- },
5656
- "ignore": {
5657
- "description": "An array of globs to ignore.",
5658
- "type": "array",
5659
- "items": {
5660
- "type": "string"
5661
- }
5662
- }
5663
- },
5664
- "additionalProperties": false
5665
- },
5666
- {
5667
- "type": "string"
5668
- }
5669
- ]
5670
- }
5671
- }
5672
- },
5673
5299
  "AngularDevkitBuildAngularBuildersPrerenderSchema": {
5674
5300
  "title": "Prerender Target",
5675
5301
  "type": "object",
@@ -393,7 +393,7 @@ export type AngularComponentOptionsSchema = {
393
393
  * Configures the change detection strategy for the component.
394
394
  */
395
395
  export declare enum ChangeDetection {
396
- Default = "Default",
396
+ Eager = "Eager",
397
397
  OnPush = "OnPush"
398
398
  }
399
399
  /**
@@ -969,6 +969,10 @@ export type AngularServiceOptionsSchema = {
969
969
  * folder with the service's name will be created to contain the files.
970
970
  */
971
971
  flat?: boolean;
972
+ /**
973
+ * When true, generates an `@Injectable` instead of `@Service`.
974
+ */
975
+ injectable?: boolean;
972
976
  /**
973
977
  * The name for the new service. This will be used to create the service's class and spec
974
978
  * files (e.g., `my-service.service.ts` and `my-service.service.spec.ts`).