@schematics/angular 18.1.0-next.0 → 18.1.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.
Files changed (113) hide show
  1. package/app-shell/index.d.ts +1 -1
  2. package/app-shell/index.js +2 -2
  3. package/application/files/common-files/tsconfig.app.json.template +2 -1
  4. package/application/files/common-files/tsconfig.spec.json.template +2 -1
  5. package/application/index.d.ts +1 -1
  6. package/application/index.js +2 -2
  7. package/class/index.d.ts +1 -1
  8. package/class/index.js +2 -2
  9. package/component/files/__name@dasherize@if-flat__/__name@dasherize__.__type@dasherize__.spec.ts.template +1 -1
  10. package/component/index.d.ts +1 -1
  11. package/component/index.js +2 -2
  12. package/config/index.d.ts +1 -1
  13. package/config/index.js +2 -2
  14. package/directive/index.d.ts +1 -1
  15. package/directive/index.js +2 -2
  16. package/e2e/files/tsconfig.json.template +2 -1
  17. package/e2e/index.d.ts +1 -1
  18. package/e2e/index.js +2 -2
  19. package/enum/index.d.ts +1 -1
  20. package/enum/index.js +2 -2
  21. package/environments/index.d.ts +1 -1
  22. package/environments/index.js +2 -2
  23. package/guard/index.d.ts +1 -1
  24. package/guard/index.js +2 -2
  25. package/interceptor/index.d.ts +1 -1
  26. package/interceptor/index.js +2 -2
  27. package/interface/index.d.ts +1 -1
  28. package/interface/index.js +2 -2
  29. package/library/files/tsconfig.lib.json.template +2 -1
  30. package/library/files/tsconfig.lib.prod.json.template +2 -1
  31. package/library/files/tsconfig.spec.json.template +2 -1
  32. package/library/index.d.ts +1 -1
  33. package/library/index.js +2 -2
  34. package/migrations/use-application-builder/css-import-lexer.d.ts +1 -1
  35. package/migrations/use-application-builder/css-import-lexer.js +2 -3
  36. package/migrations/use-application-builder/migration.d.ts +1 -1
  37. package/migrations/use-application-builder/migration.js +2 -2
  38. package/module/index.d.ts +1 -1
  39. package/module/index.js +2 -2
  40. package/ng-new/index.d.ts +1 -1
  41. package/ng-new/index.js +2 -2
  42. package/ng-new/schema.d.ts +1 -1
  43. package/ng-new/schema.json +1 -1
  44. package/package.json +12 -3
  45. package/pipe/index.d.ts +1 -1
  46. package/pipe/index.js +2 -2
  47. package/resolver/index.d.ts +1 -1
  48. package/resolver/index.js +2 -2
  49. package/server/files/root/tsconfig.server.json.template +2 -1
  50. package/server/index.d.ts +1 -1
  51. package/server/index.js +2 -2
  52. package/service/index.d.ts +1 -1
  53. package/service/index.js +2 -2
  54. package/service-worker/index.d.ts +1 -1
  55. package/service-worker/index.js +2 -2
  56. package/ssr/index.d.ts +1 -1
  57. package/ssr/index.js +2 -2
  58. package/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts +1008 -1413
  59. package/third_party/github.com/Microsoft/TypeScript/lib/typescript.js +183622 -179407
  60. package/utility/add-declaration-to-ng-module.d.ts +1 -1
  61. package/utility/add-declaration-to-ng-module.js +2 -3
  62. package/utility/ast-utils.d.ts +1 -1
  63. package/utility/ast-utils.js +18 -19
  64. package/utility/change.d.ts +1 -1
  65. package/utility/change.js +3 -3
  66. package/utility/dependencies.d.ts +1 -1
  67. package/utility/dependencies.js +5 -5
  68. package/utility/dependency.d.ts +1 -1
  69. package/utility/dependency.js +3 -3
  70. package/utility/eol.d.ts +1 -1
  71. package/utility/eol.js +2 -3
  72. package/utility/find-module.d.ts +1 -1
  73. package/utility/find-module.js +5 -5
  74. package/utility/generate-from-files.d.ts +1 -1
  75. package/utility/generate-from-files.js +2 -3
  76. package/utility/index.d.ts +1 -1
  77. package/utility/index.js +1 -1
  78. package/utility/json-file.d.ts +1 -1
  79. package/utility/json-file.js +1 -1
  80. package/utility/latest-versions.d.ts +1 -1
  81. package/utility/latest-versions.js +3 -3
  82. package/utility/ng-ast-utils.d.ts +1 -1
  83. package/utility/ng-ast-utils.js +4 -5
  84. package/utility/parse-name.d.ts +1 -1
  85. package/utility/parse-name.js +2 -3
  86. package/utility/paths.d.ts +1 -1
  87. package/utility/paths.js +2 -3
  88. package/utility/project-targets.d.ts +1 -1
  89. package/utility/project-targets.js +2 -3
  90. package/utility/standalone/app_config.d.ts +1 -1
  91. package/utility/standalone/app_config.js +2 -3
  92. package/utility/standalone/code_block.d.ts +1 -1
  93. package/utility/standalone/code_block.js +1 -1
  94. package/utility/standalone/index.d.ts +1 -1
  95. package/utility/standalone/index.js +1 -1
  96. package/utility/standalone/rules.d.ts +1 -1
  97. package/utility/standalone/rules.js +3 -4
  98. package/utility/standalone/util.d.ts +1 -1
  99. package/utility/standalone/util.js +7 -8
  100. package/utility/validation.d.ts +1 -1
  101. package/utility/validation.js +4 -4
  102. package/utility/workspace-models.d.ts +1 -1
  103. package/utility/workspace-models.js +1 -1
  104. package/utility/workspace.d.ts +1 -1
  105. package/utility/workspace.js +9 -9
  106. package/web-worker/files/worker-tsconfig/tsconfig.worker.json.template +1 -1
  107. package/web-worker/index.d.ts +1 -1
  108. package/web-worker/index.js +2 -2
  109. package/workspace/files/tsconfig.json.template +2 -2
  110. package/workspace/index.d.ts +1 -1
  111. package/workspace/index.js +2 -2
  112. package/workspace/schema.d.ts +1 -1
  113. package/workspace/schema.json +1 -1
@@ -3,7 +3,7 @@
3
3
  * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
6
+ * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
8
  import { Rule } from '@angular-devkit/schematics';
9
9
  import { Schema as AppShellOptions } from './schema';
@@ -4,12 +4,13 @@
4
4
  * Copyright Google LLC All Rights Reserved.
5
5
  *
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
- * found in the LICENSE file at https://angular.io/license
7
+ * found in the LICENSE file at https://angular.dev/license
8
8
  */
9
9
  var __importDefault = (this && this.__importDefault) || function (mod) {
10
10
  return (mod && mod.__esModule) ? mod : { "default": mod };
11
11
  };
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
+ exports.default = default_1;
13
14
  const schematics_1 = require("@angular-devkit/schematics");
14
15
  const posix_1 = require("node:path/posix");
15
16
  const typescript_1 = __importDefault(require("../third_party/github.com/Microsoft/TypeScript/lib/typescript"));
@@ -293,4 +294,3 @@ function default_1(options) {
293
294
  ]);
294
295
  };
295
296
  }
296
- exports.default = default_1;
@@ -1,4 +1,5 @@
1
- /* To learn more about this file see: https://angular.io/config/tsconfig. */
1
+ /* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
2
+ /* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
2
3
  {
3
4
  "extends": "<%= relativePathToWorkspaceRoot %>/tsconfig.json",
4
5
  "compilerOptions": {
@@ -1,4 +1,5 @@
1
- /* To learn more about this file see: https://angular.io/config/tsconfig. */
1
+ /* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
2
+ /* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
2
3
  {
3
4
  "extends": "<%= relativePathToWorkspaceRoot %>/tsconfig.json",
4
5
  "compilerOptions": {
@@ -3,7 +3,7 @@
3
3
  * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
6
+ * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
8
  import { Rule } from '@angular-devkit/schematics';
9
9
  import { Schema as ApplicationOptions } from './schema';
@@ -4,9 +4,10 @@
4
4
  * Copyright Google LLC All Rights Reserved.
5
5
  *
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
- * found in the LICENSE file at https://angular.io/license
7
+ * found in the LICENSE file at https://angular.dev/license
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.default = default_1;
10
11
  const core_1 = require("@angular-devkit/core");
11
12
  const schematics_1 = require("@angular-devkit/schematics");
12
13
  const tasks_1 = require("@angular-devkit/schematics/tasks");
@@ -84,7 +85,6 @@ function default_1(options) {
84
85
  ]);
85
86
  };
86
87
  }
87
- exports.default = default_1;
88
88
  function addDependenciesToPackageJson(options) {
89
89
  return (host, context) => {
90
90
  [
package/class/index.d.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
6
+ * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
8
  import { Rule } from '@angular-devkit/schematics';
9
9
  import { Schema as ClassOptions } from './schema';
package/class/index.js CHANGED
@@ -4,12 +4,12 @@
4
4
  * Copyright Google LLC All Rights Reserved.
5
5
  *
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
- * found in the LICENSE file at https://angular.io/license
7
+ * found in the LICENSE file at https://angular.dev/license
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.default = default_1;
10
11
  const generate_from_files_1 = require("../utility/generate-from-files");
11
12
  function default_1(options) {
12
13
  options.type = options.type ? `.${options.type}` : '';
13
14
  return (0, generate_from_files_1.generateFromFiles)(options);
14
15
  }
15
- exports.default = default_1;
@@ -11,7 +11,7 @@ describe('<%= classify(name) %><%= classify(type) %>', () => {
11
11
  <%= standalone ? 'imports' : 'declarations' %>: [<%= classify(name) %><%= classify(type) %>]
12
12
  })
13
13
  .compileComponents();
14
-
14
+
15
15
  fixture = TestBed.createComponent(<%= classify(name) %><%= classify(type) %>);
16
16
  component = fixture.componentInstance;
17
17
  fixture.detectChanges();
@@ -3,7 +3,7 @@
3
3
  * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
6
+ * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
8
  import { Rule } from '@angular-devkit/schematics';
9
9
  import { Schema as ComponentOptions } from './schema';
@@ -4,9 +4,10 @@
4
4
  * Copyright Google LLC All Rights Reserved.
5
5
  *
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
- * found in the LICENSE file at https://angular.io/license
7
+ * found in the LICENSE file at https://angular.dev/license
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.default = default_1;
10
11
  const schematics_1 = require("@angular-devkit/schematics");
11
12
  const add_declaration_to_ng_module_1 = require("../utility/add-declaration-to-ng-module");
12
13
  const find_module_1 = require("../utility/find-module");
@@ -72,4 +73,3 @@ function default_1(options) {
72
73
  ]);
73
74
  };
74
75
  }
75
- exports.default = default_1;
package/config/index.d.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
6
+ * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
8
  import { Rule } from '@angular-devkit/schematics';
9
9
  import { Schema as ConfigOptions } from './schema';
package/config/index.js CHANGED
@@ -4,9 +4,10 @@
4
4
  * Copyright Google LLC All Rights Reserved.
5
5
  *
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
- * found in the LICENSE file at https://angular.io/license
7
+ * found in the LICENSE file at https://angular.dev/license
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.default = default_1;
10
11
  const schematics_1 = require("@angular-devkit/schematics");
11
12
  const utility_1 = require("@schematics/angular/utility");
12
13
  const path_1 = require("path");
@@ -22,7 +23,6 @@ function default_1(options) {
22
23
  throw new schematics_1.SchematicsException(`"${options.type}" is an unknown configuration file type.`);
23
24
  }
24
25
  }
25
- exports.default = default_1;
26
26
  function addBrowserslistConfig(options) {
27
27
  return async (host) => {
28
28
  const workspace = await (0, utility_1.readWorkspace)(host);
@@ -3,7 +3,7 @@
3
3
  * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
6
+ * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
8
  import { Rule } from '@angular-devkit/schematics';
9
9
  import { Schema as DirectiveOptions } from './schema';
@@ -4,9 +4,10 @@
4
4
  * Copyright Google LLC All Rights Reserved.
5
5
  *
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
- * found in the LICENSE file at https://angular.io/license
7
+ * found in the LICENSE file at https://angular.dev/license
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.default = default_1;
10
11
  const schematics_1 = require("@angular-devkit/schematics");
11
12
  const add_declaration_to_ng_module_1 = require("../utility/add-declaration-to-ng-module");
12
13
  const find_module_1 = require("../utility/find-module");
@@ -57,4 +58,3 @@ function default_1(options) {
57
58
  ]);
58
59
  };
59
60
  }
60
- exports.default = default_1;
@@ -1,4 +1,5 @@
1
- /* To learn more about this file see: https://angular.io/config/tsconfig. */
1
+ /* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
2
+ /* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
2
3
  {
3
4
  "extends": "<%= relativePathToWorkspaceRoot %>/tsconfig.json",
4
5
  "compilerOptions": {
package/e2e/index.d.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
6
+ * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
8
  import { Rule } from '@angular-devkit/schematics';
9
9
  import { Schema as E2eOptions } from './schema';
package/e2e/index.js CHANGED
@@ -4,9 +4,10 @@
4
4
  * Copyright Google LLC All Rights Reserved.
5
5
  *
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
- * found in the LICENSE file at https://angular.io/license
7
+ * found in the LICENSE file at https://angular.dev/license
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.default = default_1;
10
11
  const schematics_1 = require("@angular-devkit/schematics");
11
12
  const utility_1 = require("@schematics/angular/utility");
12
13
  const path_1 = require("path");
@@ -74,4 +75,3 @@ function default_1(options) {
74
75
  ]);
75
76
  });
76
77
  }
77
- exports.default = default_1;
package/enum/index.d.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
6
+ * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
8
  import { Rule } from '@angular-devkit/schematics';
9
9
  import { Schema as EnumOptions } from './schema';
package/enum/index.js CHANGED
@@ -4,12 +4,12 @@
4
4
  * Copyright Google LLC All Rights Reserved.
5
5
  *
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
- * found in the LICENSE file at https://angular.io/license
7
+ * found in the LICENSE file at https://angular.dev/license
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.default = default_1;
10
11
  const generate_from_files_1 = require("../utility/generate-from-files");
11
12
  function default_1(options) {
12
13
  options.type = options.type ? `.${options.type}` : '';
13
14
  return (0, generate_from_files_1.generateFromFiles)(options);
14
15
  }
15
- exports.default = default_1;
@@ -3,7 +3,7 @@
3
3
  * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
6
+ * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
8
  import { Rule } from '@angular-devkit/schematics';
9
9
  import { Schema as EnvironmentOptions } from './schema';
@@ -4,9 +4,10 @@
4
4
  * Copyright Google LLC All Rights Reserved.
5
5
  *
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
- * found in the LICENSE file at https://angular.io/license
7
+ * found in the LICENSE file at https://angular.dev/license
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.default = default_1;
10
11
  const schematics_1 = require("@angular-devkit/schematics");
11
12
  const utility_1 = require("@schematics/angular/utility");
12
13
  const path_1 = require("path");
@@ -38,7 +39,6 @@ function default_1(options) {
38
39
  ]);
39
40
  });
40
41
  }
41
- exports.default = default_1;
42
42
  function createIfMissing(path) {
43
43
  return (tree, context) => {
44
44
  if (tree.exists(path)) {
package/guard/index.d.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
6
+ * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
8
  import { Rule } from '@angular-devkit/schematics';
9
9
  import { Schema as GuardOptions } from './schema';
package/guard/index.js CHANGED
@@ -4,9 +4,10 @@
4
4
  * Copyright Google LLC All Rights Reserved.
5
5
  *
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
- * found in the LICENSE file at https://angular.io/license
7
+ * found in the LICENSE file at https://angular.dev/license
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.default = default_1;
10
11
  const schematics_1 = require("@angular-devkit/schematics");
11
12
  const generate_from_files_1 = require("../utility/generate-from-files");
12
13
  const schema_1 = require("./schema");
@@ -44,4 +45,3 @@ function default_1(options) {
44
45
  });
45
46
  }
46
47
  }
47
- exports.default = default_1;
@@ -3,7 +3,7 @@
3
3
  * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
6
+ * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
8
  import { Rule } from '@angular-devkit/schematics';
9
9
  import { Schema as InterceptorOptions } from './schema';
@@ -4,9 +4,10 @@
4
4
  * Copyright Google LLC All Rights Reserved.
5
5
  *
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
- * found in the LICENSE file at https://angular.io/license
7
+ * found in the LICENSE file at https://angular.dev/license
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.default = default_1;
10
11
  const generate_from_files_1 = require("../utility/generate-from-files");
11
12
  function default_1(options) {
12
13
  // This schematic uses an older method to implement the flat option
@@ -19,4 +20,3 @@ function default_1(options) {
19
20
  ? (0, generate_from_files_1.generateFromFiles)({ ...options, templateFilesDirectory: './functional-files' }, extraTemplateValues)
20
21
  : (0, generate_from_files_1.generateFromFiles)({ ...options, templateFilesDirectory: './class-files' }, extraTemplateValues);
21
22
  }
22
- exports.default = default_1;
@@ -3,7 +3,7 @@
3
3
  * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
6
+ * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
8
  import { Rule } from '@angular-devkit/schematics';
9
9
  import { Schema as InterfaceOptions } from './schema';
@@ -4,12 +4,12 @@
4
4
  * Copyright Google LLC All Rights Reserved.
5
5
  *
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
- * found in the LICENSE file at https://angular.io/license
7
+ * found in the LICENSE file at https://angular.dev/license
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.default = default_1;
10
11
  const generate_from_files_1 = require("../utility/generate-from-files");
11
12
  function default_1(options) {
12
13
  options.type = options.type ? `.${options.type}` : '';
13
14
  return (0, generate_from_files_1.generateFromFiles)(options);
14
15
  }
15
- exports.default = default_1;
@@ -1,4 +1,5 @@
1
- /* To learn more about this file see: https://angular.io/config/tsconfig. */
1
+ /* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
2
+ /* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
2
3
  {
3
4
  "extends": "<%= relativePathToWorkspaceRoot %>/tsconfig.json",
4
5
  "compilerOptions": {
@@ -1,4 +1,5 @@
1
- /* To learn more about this file see: https://angular.io/config/tsconfig. */
1
+ /* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
2
+ /* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
2
3
  {
3
4
  "extends": "./tsconfig.lib.json",
4
5
  "compilerOptions": {
@@ -1,4 +1,5 @@
1
- /* To learn more about this file see: https://angular.io/config/tsconfig. */
1
+ /* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
2
+ /* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
2
3
  {
3
4
  "extends": "<%= relativePathToWorkspaceRoot %>/tsconfig.json",
4
5
  "compilerOptions": {
@@ -3,7 +3,7 @@
3
3
  * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
6
+ * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
8
  import { Rule } from '@angular-devkit/schematics';
9
9
  import { Schema as LibraryOptions } from './schema';
package/library/index.js CHANGED
@@ -4,9 +4,10 @@
4
4
  * Copyright Google LLC All Rights Reserved.
5
5
  *
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
- * found in the LICENSE file at https://angular.io/license
7
+ * found in the LICENSE file at https://angular.dev/license
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.default = default_1;
10
11
  const schematics_1 = require("@angular-devkit/schematics");
11
12
  const tasks_1 = require("@angular-devkit/schematics/tasks");
12
13
  const posix_1 = require("node:path/posix");
@@ -168,4 +169,3 @@ function default_1(options) {
168
169
  ]);
169
170
  };
170
171
  }
171
- exports.default = default_1;
@@ -3,7 +3,7 @@
3
3
  * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
6
+ * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
8
  /**
9
9
  * Scans a CSS or Sass file and locates all valid import/use directive values as defined by the
@@ -4,10 +4,10 @@
4
4
  * Copyright Google LLC All Rights Reserved.
5
5
  *
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
- * found in the LICENSE file at https://angular.io/license
7
+ * found in the LICENSE file at https://angular.dev/license
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.findImports = void 0;
10
+ exports.findImports = findImports;
11
11
  /**
12
12
  * Determines if a unicode code point is a CSS whitespace character.
13
13
  * @param code The unicode code point to test.
@@ -40,7 +40,6 @@ function* findImports(contents, sass) {
40
40
  }
41
41
  }
42
42
  }
43
- exports.findImports = findImports;
44
43
  /**
45
44
  * Scans a CSS or Sass file and locates all valid function/directive values as defined by the
46
45
  * syntax specification.
@@ -3,7 +3,7 @@
3
3
  * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
6
+ * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
8
  import { Rule } from '@angular-devkit/schematics';
9
9
  /**
@@ -4,9 +4,10 @@
4
4
  * Copyright Google LLC All Rights Reserved.
5
5
  *
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
- * found in the LICENSE file at https://angular.io/license
7
+ * found in the LICENSE file at https://angular.dev/license
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.default = default_1;
10
11
  const schematics_1 = require("@angular-devkit/schematics");
11
12
  const posix_1 = require("node:path/posix");
12
13
  const dependencies_1 = require("../../utility/dependencies");
@@ -361,4 +362,3 @@ function default_1() {
361
362
  }),
362
363
  ]);
363
364
  }
364
- exports.default = default_1;
package/module/index.d.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
6
+ * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
8
  import { Rule } from '@angular-devkit/schematics';
9
9
  import { Schema as ModuleOptions } from './schema';
package/module/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Copyright Google LLC All Rights Reserved.
5
5
  *
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
- * found in the LICENSE file at https://angular.io/license
7
+ * found in the LICENSE file at https://angular.dev/license
8
8
  */
9
9
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
10
10
  if (k2 === undefined) k2 = k;
@@ -30,6 +30,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
30
30
  return result;
31
31
  };
32
32
  Object.defineProperty(exports, "__esModule", { value: true });
33
+ exports.default = default_1;
33
34
  const schematics_1 = require("@angular-devkit/schematics");
34
35
  const posix_1 = require("node:path/posix");
35
36
  const ts = __importStar(require("../third_party/github.com/Microsoft/TypeScript/lib/typescript"));
@@ -149,4 +150,3 @@ function default_1(options) {
149
150
  ]);
150
151
  };
151
152
  }
152
- exports.default = default_1;
package/ng-new/index.d.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
6
+ * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
8
  import { Rule } from '@angular-devkit/schematics';
9
9
  import { Schema as NgNewOptions } from './schema';
package/ng-new/index.js CHANGED
@@ -4,9 +4,10 @@
4
4
  * Copyright Google LLC All Rights Reserved.
5
5
  *
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
- * found in the LICENSE file at https://angular.io/license
7
+ * found in the LICENSE file at https://angular.dev/license
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.default = default_1;
10
11
  const schematics_1 = require("@angular-devkit/schematics");
11
12
  const tasks_1 = require("@angular-devkit/schematics/tasks");
12
13
  function default_1(options) {
@@ -61,4 +62,3 @@ function default_1(options) {
61
62
  },
62
63
  ]);
63
64
  }
64
- exports.default = default_1;
@@ -74,7 +74,7 @@ export interface Schema {
74
74
  /**
75
75
  * Creates a workspace with stricter type checking and stricter bundle budgets settings.
76
76
  * This setting helps improve maintainability and catch bugs ahead of time. For more
77
- * information, see https://angular.io/guide/strict-mode
77
+ * information, see https://angular.dev/tools/cli/template-typecheck#strict-mode
78
78
  */
79
79
  strict?: boolean;
80
80
  /**
@@ -119,7 +119,7 @@
119
119
  "default": false
120
120
  },
121
121
  "strict": {
122
- "description": "Creates a workspace with stricter type checking and stricter bundle budgets settings. This setting helps improve maintainability and catch bugs ahead of time. For more information, see https://angular.io/guide/strict-mode",
122
+ "description": "Creates a workspace with stricter type checking and stricter bundle budgets settings. This setting helps improve maintainability and catch bugs ahead of time. For more information, see https://angular.dev/tools/cli/template-typecheck#strict-mode",
123
123
  "type": "boolean",
124
124
  "default": true
125
125
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@schematics/angular",
3
- "version": "18.1.0-next.0",
3
+ "version": "18.1.0-next.2",
4
4
  "description": "Schematics specific to Angular",
5
5
  "homepage": "https://github.com/angular/angular-cli",
6
6
  "keywords": [
@@ -22,10 +22,11 @@
22
22
  },
23
23
  "schematics": "./collection.json",
24
24
  "dependencies": {
25
- "@angular-devkit/core": "18.1.0-next.0",
26
- "@angular-devkit/schematics": "18.1.0-next.0",
25
+ "@angular-devkit/core": "18.1.0-next.2",
26
+ "@angular-devkit/schematics": "18.1.0-next.2",
27
27
  "jsonc-parser": "3.2.1"
28
28
  },
29
+ "packageManager": "yarn@4.2.2",
29
30
  "repository": {
30
31
  "type": "git",
31
32
  "url": "https://github.com/angular/angular-cli.git"
@@ -39,5 +40,13 @@
39
40
  "license": "MIT",
40
41
  "bugs": {
41
42
  "url": "https://github.com/angular/angular-cli/issues"
43
+ },
44
+ "dependenciesMeta": {
45
+ "esbuild": {
46
+ "built": true
47
+ },
48
+ "puppeteer": {
49
+ "built": true
50
+ }
42
51
  }
43
52
  }
package/pipe/index.d.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
6
+ * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
8
  import { Rule } from '@angular-devkit/schematics';
9
9
  import { Schema as PipeOptions } from './schema';
package/pipe/index.js CHANGED
@@ -4,9 +4,10 @@
4
4
  * Copyright Google LLC All Rights Reserved.
5
5
  *
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
- * found in the LICENSE file at https://angular.io/license
7
+ * found in the LICENSE file at https://angular.dev/license
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.default = default_1;
10
11
  const schematics_1 = require("@angular-devkit/schematics");
11
12
  const add_declaration_to_ng_module_1 = require("../utility/add-declaration-to-ng-module");
12
13
  const find_module_1 = require("../utility/find-module");
@@ -39,4 +40,3 @@ function default_1(options) {
39
40
  ]);
40
41
  };
41
42
  }
42
- exports.default = default_1;