@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
@@ -4,13 +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.findAppConfig = void 0;
13
+ exports.findAppConfig = findAppConfig;
14
14
  const path_1 = require("path");
15
15
  const typescript_1 = __importDefault(require("../../third_party/github.com/Microsoft/TypeScript/lib/typescript"));
16
16
  const util_1 = require("./util");
@@ -32,7 +32,6 @@ function findAppConfig(bootstrapCall, tree, filePath) {
32
32
  }
33
33
  return null;
34
34
  }
35
- exports.findAppConfig = findAppConfig;
36
35
  /**
37
36
  * Resolves the app config from an identifier referring to it.
38
37
  * @param identifier Identifier referring to the app config.
@@ -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
  /** Generated code that hasn't been interpolated yet. */
@@ -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 __importDefault = (this && this.__importDefault) || function (mod) {
10
10
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -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
  export { addRootImport, addRootProvider } from './rules';
9
9
  export { PendingCode, CodeBlockCallback, type CodeBlock } from './code_block';
@@ -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
  Object.defineProperty(exports, "__esModule", { value: true });
10
10
  exports.addRootProvider = exports.addRootImport = void 0;
@@ -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 { CodeBlockCallback } from './code_block';
@@ -4,10 +4,11 @@
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.addRootProvider = exports.addRootImport = void 0;
10
+ exports.addRootImport = addRootImport;
11
+ exports.addRootProvider = addRootProvider;
11
12
  const core_1 = require("@angular-devkit/core");
12
13
  const schematics_1 = require("@angular-devkit/schematics");
13
14
  const ast_utils_1 = require("../ast-utils");
@@ -39,7 +40,6 @@ function addRootImport(project, callback) {
39
40
  module: '@angular/core',
40
41
  });
41
42
  }
42
- exports.addRootImport = addRootImport;
43
43
  /**
44
44
  * Adds a provider to the root of the project.
45
45
  * @param project Name of the project to which to add the import.
@@ -60,7 +60,6 @@ exports.addRootImport = addRootImport;
60
60
  function addRootProvider(project, callback) {
61
61
  return getRootInsertionRule(project, callback, 'providers');
62
62
  }
63
- exports.addRootProvider = addRootProvider;
64
63
  /**
65
64
  * Creates a rule that inserts code at the root of either a standalone or NgModule-based project.
66
65
  * @param project Name of the project into which to inser tthe code.
@@ -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 { Tree } from '@angular-devkit/schematics';
9
9
  import ts from '../../third_party/github.com/Microsoft/TypeScript/lib/typescript';
@@ -4,13 +4,18 @@
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.findProvidersLiteral = exports.isMergeAppConfigCall = exports.applyChangesToFile = exports.findBootstrapApplicationCall = exports.getSourceFile = exports.getMainFilePath = void 0;
13
+ exports.getMainFilePath = getMainFilePath;
14
+ exports.getSourceFile = getSourceFile;
15
+ exports.findBootstrapApplicationCall = findBootstrapApplicationCall;
16
+ exports.applyChangesToFile = applyChangesToFile;
17
+ exports.isMergeAppConfigCall = isMergeAppConfigCall;
18
+ exports.findProvidersLiteral = findProvidersLiteral;
14
19
  const schematics_1 = require("@angular-devkit/schematics");
15
20
  const typescript_1 = __importDefault(require("../../third_party/github.com/Microsoft/TypeScript/lib/typescript"));
16
21
  const change_1 = require("../change");
@@ -35,7 +40,6 @@ async function getMainFilePath(tree, projectName) {
35
40
  ? options.browser
36
41
  : options.main;
37
42
  }
38
- exports.getMainFilePath = getMainFilePath;
39
43
  /**
40
44
  * Gets a TypeScript source file at a specific path.
41
45
  * @param tree File tree of a project.
@@ -46,7 +50,6 @@ function getSourceFile(tree, path) {
46
50
  const source = typescript_1.default.createSourceFile(path, content, typescript_1.default.ScriptTarget.Latest, true);
47
51
  return source;
48
52
  }
49
- exports.getSourceFile = getSourceFile;
50
53
  /** Finds the call to `bootstrapApplication` within a file. */
51
54
  function findBootstrapApplicationCall(tree, mainFilePath) {
52
55
  const sourceFile = getSourceFile(tree, mainFilePath);
@@ -69,7 +72,6 @@ function findBootstrapApplicationCall(tree, mainFilePath) {
69
72
  }
70
73
  throw new schematics_1.SchematicsException(`Could not find bootstrapApplication call in ${mainFilePath}`);
71
74
  }
72
- exports.findBootstrapApplicationCall = findBootstrapApplicationCall;
73
75
  /**
74
76
  * Finds the local name of an imported symbol. Could be the symbol name itself or its alias.
75
77
  * @param sourceFile File within which to search for the import.
@@ -113,7 +115,6 @@ function applyChangesToFile(tree, path, changes) {
113
115
  tree.commitUpdate(recorder);
114
116
  }
115
117
  }
116
- exports.applyChangesToFile = applyChangesToFile;
117
118
  /** Checks whether a node is a call to `mergeApplicationConfig`. */
118
119
  function isMergeAppConfigCall(node) {
119
120
  if (!typescript_1.default.isCallExpression(node)) {
@@ -122,7 +123,6 @@ function isMergeAppConfigCall(node) {
122
123
  const localName = findImportLocalName(node.getSourceFile(), 'mergeApplicationConfig', '@angular/core');
123
124
  return !!localName && typescript_1.default.isIdentifier(node.expression) && node.expression.text === localName;
124
125
  }
125
- exports.isMergeAppConfigCall = isMergeAppConfigCall;
126
126
  /** Finds the `providers` array literal within an application config. */
127
127
  function findProvidersLiteral(config) {
128
128
  for (const prop of config.properties) {
@@ -135,4 +135,3 @@ function findProvidersLiteral(config) {
135
135
  }
136
136
  return null;
137
137
  }
138
- exports.findProvidersLiteral = findProvidersLiteral;
@@ -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
  export declare const htmlSelectorRe: RegExp;
9
9
  export declare function validateHtmlSelector(selector: string): void;
@@ -4,10 +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.validateClassName = exports.validateHtmlSelector = exports.htmlSelectorRe = void 0;
10
+ exports.htmlSelectorRe = void 0;
11
+ exports.validateHtmlSelector = validateHtmlSelector;
12
+ exports.validateClassName = validateClassName;
11
13
  const schematics_1 = require("@angular-devkit/schematics");
12
14
  // Must start with a letter, and must contain only alphanumeric characters or dashes.
13
15
  // When adding a dash the segment after the dash must also start with a letter.
@@ -19,10 +21,8 @@ function validateHtmlSelector(selector) {
19
21
  throw new schematics_1.SchematicsException(`Selector "${selector}" is invalid.`);
20
22
  }
21
23
  }
22
- exports.validateHtmlSelector = validateHtmlSelector;
23
24
  function validateClassName(className) {
24
25
  if (!ecmaIdentifierNameRegExp.test(className)) {
25
26
  throw new schematics_1.SchematicsException(`Class name "${className}" is invalid.`);
26
27
  }
27
28
  }
28
- exports.validateClassName = validateClassName;
@@ -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
  export declare enum ProjectType {
9
9
  Application = "application",
@@ -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
  Object.defineProperty(exports, "__esModule", { value: true });
10
10
  exports.Builders = exports.ProjectType = void 0;
@@ -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 { json, workspaces } from '@angular-devkit/core';
9
9
  import { Rule, Tree } from '@angular-devkit/schematics';
@@ -4,10 +4,17 @@
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.allTargetOptions = exports.allWorkspaceTargets = exports.createDefaultPath = exports.buildDefaultPath = exports.writeWorkspace = exports.getWorkspace = exports.updateWorkspace = exports.TreeWorkspaceHost = void 0;
10
+ exports.TreeWorkspaceHost = void 0;
11
+ exports.updateWorkspace = updateWorkspace;
12
+ exports.getWorkspace = getWorkspace;
13
+ exports.writeWorkspace = writeWorkspace;
14
+ exports.buildDefaultPath = buildDefaultPath;
15
+ exports.createDefaultPath = createDefaultPath;
16
+ exports.allWorkspaceTargets = allWorkspaceTargets;
17
+ exports.allTargetOptions = allTargetOptions;
11
18
  const core_1 = require("@angular-devkit/core");
12
19
  const schematics_1 = require("@angular-devkit/schematics");
13
20
  const workspace_models_1 = require("./workspace-models");
@@ -58,7 +65,6 @@ function updateWorkspace(updater) {
58
65
  return result || schematics_1.noop;
59
66
  };
60
67
  }
61
- exports.updateWorkspace = updateWorkspace;
62
68
  // TODO: This should be renamed `readWorkspace` once deep imports are restricted (already exported from `utility` with that name)
63
69
  /**
64
70
  * Reads a workspace file (`angular.json`) from the provided {@link Tree} instance.
@@ -74,7 +80,6 @@ async function getWorkspace(tree, path = DEFAULT_WORKSPACE_PATH) {
74
80
  const { workspace } = await core_1.workspaces.readWorkspace(path, host);
75
81
  return workspace;
76
82
  }
77
- exports.getWorkspace = getWorkspace;
78
83
  /**
79
84
  * Writes a workspace file (`angular.json`) to the provided {@link Tree} instance.
80
85
  * The spacing and overall layout of an exisitng file (including comments) will be maintained where
@@ -90,7 +95,6 @@ async function writeWorkspace(tree, workspace, path) {
90
95
  const host = new TreeWorkspaceHost(tree);
91
96
  return core_1.workspaces.writeWorkspace(workspace, host, path);
92
97
  }
93
- exports.writeWorkspace = writeWorkspace;
94
98
  /**
95
99
  * Build a default project path for generating.
96
100
  * @param project The project which will have its default path generated.
@@ -100,7 +104,6 @@ function buildDefaultPath(project) {
100
104
  const projectDirName = project.extensions['projectType'] === workspace_models_1.ProjectType.Application ? 'app' : 'lib';
101
105
  return `${root}${projectDirName}`;
102
106
  }
103
- exports.buildDefaultPath = buildDefaultPath;
104
107
  async function createDefaultPath(tree, projectName) {
105
108
  const workspace = await getWorkspace(tree);
106
109
  const project = workspace.projects.get(projectName);
@@ -109,7 +112,6 @@ async function createDefaultPath(tree, projectName) {
109
112
  }
110
113
  return buildDefaultPath(project);
111
114
  }
112
- exports.createDefaultPath = createDefaultPath;
113
115
  function* allWorkspaceTargets(workspace) {
114
116
  for (const [projectName, project] of workspace.projects) {
115
117
  for (const [targetName, target] of project.targets) {
@@ -117,7 +119,6 @@ function* allWorkspaceTargets(workspace) {
117
119
  }
118
120
  }
119
121
  }
120
- exports.allWorkspaceTargets = allWorkspaceTargets;
121
122
  function* allTargetOptions(target, skipBaseOptions = false) {
122
123
  if (!skipBaseOptions && target.options) {
123
124
  yield [undefined, target.options];
@@ -131,4 +132,3 @@ function* allTargetOptions(target, skipBaseOptions = false) {
131
132
  }
132
133
  }
133
134
  }
134
- exports.allTargetOptions = allTargetOptions;
@@ -1,4 +1,4 @@
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
2
  {
3
3
  "extends": "<%= relativePathToWorkspaceRoot %>/tsconfig.json",
4
4
  "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 WebWorkerOptions } 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 parse_name_1 = require("../utility/parse-name");
@@ -107,4 +108,3 @@ function default_1(options) {
107
108
  ]);
108
109
  };
109
110
  }
110
- 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
  "compileOnSave": false,
4
5
  "compilerOptions": {
@@ -17,7 +18,6 @@
17
18
  "importHelpers": true,
18
19
  "target": "ES2022",
19
20
  "module": "ES2022",
20
- "useDefineForClassFields": false,
21
21
  "lib": [
22
22
  "ES2022",
23
23
  "dom"
@@ -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 WorkspaceOptions } 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 latest_versions_1 = require("../utility/latest-versions");
12
13
  function default_1(options) {
@@ -20,4 +21,3 @@ function default_1(options) {
20
21
  }),
21
22
  ]));
22
23
  }
23
- exports.default = default_1;
@@ -22,7 +22,7 @@ export interface Schema {
22
22
  /**
23
23
  * Create a workspace with stricter type checking options. This setting helps improve
24
24
  * maintainability and catch bugs ahead of time. For more information, see
25
- * https://angular.io/strict
25
+ * https://angular.dev/tools/cli/template-typecheck#strict-mode
26
26
  */
27
27
  strict?: boolean;
28
28
  /**
@@ -33,7 +33,7 @@
33
33
  "default": false
34
34
  },
35
35
  "strict": {
36
- "description": "Create a workspace with stricter type checking options. This setting helps improve maintainability and catch bugs ahead of time. For more information, see https://angular.io/strict",
36
+ "description": "Create a workspace with stricter type checking options. This setting helps improve maintainability and catch bugs ahead of time. For more information, see https://angular.dev/tools/cli/template-typecheck#strict-mode",
37
37
  "type": "boolean",
38
38
  "default": true
39
39
  },