@angular-devkit/build-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 (217) hide show
  1. package/README.md +14 -14
  2. package/package.json +38 -30
  3. package/plugins/karma.d.ts +1 -1
  4. package/plugins/karma.js +1 -1
  5. package/src/babel-bazel.d.ts +1 -1
  6. package/src/builders/app-shell/index.d.ts +1 -1
  7. package/src/builders/app-shell/index.js +1 -1
  8. package/src/builders/app-shell/render-worker.d.ts +1 -1
  9. package/src/builders/app-shell/render-worker.js +1 -1
  10. package/src/builders/browser/index.d.ts +1 -1
  11. package/src/builders/browser/index.js +3 -3
  12. package/src/builders/browser-esbuild/builder-status-warnings.d.ts +1 -1
  13. package/src/builders/browser-esbuild/builder-status-warnings.js +2 -3
  14. package/src/builders/browser-esbuild/index.d.ts +1 -1
  15. package/src/builders/browser-esbuild/index.js +2 -3
  16. package/src/builders/dev-server/builder.d.ts +1 -2
  17. package/src/builders/dev-server/builder.js +3 -4
  18. package/src/builders/dev-server/index.d.ts +1 -1
  19. package/src/builders/dev-server/index.js +1 -1
  20. package/src/builders/dev-server/options.d.ts +5 -1
  21. package/src/builders/dev-server/options.js +27 -3
  22. package/src/builders/dev-server/schema.d.ts +10 -0
  23. package/src/builders/dev-server/schema.json +11 -0
  24. package/src/builders/dev-server/webpack-server.d.ts +1 -1
  25. package/src/builders/dev-server/webpack-server.js +4 -4
  26. package/src/builders/extract-i18n/application-extraction.d.ts +1 -1
  27. package/src/builders/extract-i18n/application-extraction.js +2 -3
  28. package/src/builders/extract-i18n/builder.d.ts +1 -1
  29. package/src/builders/extract-i18n/builder.js +2 -3
  30. package/src/builders/extract-i18n/empty-loader.d.ts +1 -1
  31. package/src/builders/extract-i18n/empty-loader.js +2 -2
  32. package/src/builders/extract-i18n/index.d.ts +1 -1
  33. package/src/builders/extract-i18n/index.js +1 -1
  34. package/src/builders/extract-i18n/ivy-extract-loader.d.ts +1 -1
  35. package/src/builders/extract-i18n/ivy-extract-loader.js +2 -2
  36. package/src/builders/extract-i18n/options.d.ts +1 -1
  37. package/src/builders/extract-i18n/options.js +2 -3
  38. package/src/builders/extract-i18n/webpack-extraction.d.ts +1 -1
  39. package/src/builders/extract-i18n/webpack-extraction.js +2 -3
  40. package/src/builders/jest/index.d.ts +1 -1
  41. package/src/builders/jest/index.js +1 -1
  42. package/src/builders/jest/init-test-bed.mjs +5 -2
  43. package/src/builders/jest/jest-global.mjs +2 -2
  44. package/src/builders/jest/jest.config.mjs +1 -1
  45. package/src/builders/jest/options.d.ts +1 -1
  46. package/src/builders/jest/options.js +2 -3
  47. package/src/builders/karma/find-tests-plugin.d.ts +1 -1
  48. package/src/builders/karma/find-tests-plugin.js +1 -1
  49. package/src/builders/karma/index.d.ts +1 -1
  50. package/src/builders/karma/index.js +2 -3
  51. package/src/builders/ng-packagr/index.d.ts +1 -1
  52. package/src/builders/ng-packagr/index.js +2 -3
  53. package/src/builders/prerender/index.d.ts +1 -1
  54. package/src/builders/prerender/index.js +2 -3
  55. package/src/builders/prerender/render-worker.d.ts +1 -1
  56. package/src/builders/prerender/render-worker.js +1 -1
  57. package/src/builders/prerender/routes-extractor-worker.d.ts +1 -1
  58. package/src/builders/prerender/routes-extractor-worker.js +1 -1
  59. package/src/builders/protractor/index.d.ts +1 -1
  60. package/src/builders/protractor/index.js +2 -3
  61. package/src/builders/server/index.d.ts +1 -1
  62. package/src/builders/server/index.js +2 -3
  63. package/src/builders/server/platform-server-exports-loader.d.ts +1 -1
  64. package/src/builders/server/platform-server-exports-loader.js +2 -2
  65. package/src/builders/ssr-dev-server/index.d.ts +1 -1
  66. package/src/builders/ssr-dev-server/index.js +3 -4
  67. package/src/builders/ssr-dev-server/utils.d.ts +1 -2
  68. package/src/builders/ssr-dev-server/utils.js +4 -5
  69. package/src/builders/web-test-runner/builder-status-warnings.d.ts +1 -1
  70. package/src/builders/web-test-runner/builder-status-warnings.js +2 -3
  71. package/src/builders/web-test-runner/index.d.ts +1 -1
  72. package/src/builders/web-test-runner/index.js +1 -1
  73. package/src/builders/web-test-runner/jasmine_runner.js +1 -1
  74. package/src/builders/web-test-runner/options.d.ts +1 -1
  75. package/src/builders/web-test-runner/options.js +2 -3
  76. package/src/index.d.ts +1 -1
  77. package/src/index.js +1 -1
  78. package/src/tools/babel/babel-loader.d.ts +1 -1
  79. package/src/tools/babel/presets/application.d.ts +1 -1
  80. package/src/tools/babel/presets/application.js +3 -4
  81. package/src/tools/babel/webpack-loader.d.ts +1 -1
  82. package/src/tools/babel/webpack-loader.js +1 -1
  83. package/src/tools/webpack/configs/common.d.ts +1 -1
  84. package/src/tools/webpack/configs/common.js +2 -3
  85. package/src/tools/webpack/configs/dev-server.d.ts +1 -1
  86. package/src/tools/webpack/configs/dev-server.js +3 -4
  87. package/src/tools/webpack/configs/index.d.ts +1 -1
  88. package/src/tools/webpack/configs/index.js +1 -1
  89. package/src/tools/webpack/configs/styles.d.ts +1 -1
  90. package/src/tools/webpack/configs/styles.js +2 -3
  91. package/src/tools/webpack/plugins/any-component-style-budget-checker.d.ts +1 -1
  92. package/src/tools/webpack/plugins/any-component-style-budget-checker.js +1 -1
  93. package/src/tools/webpack/plugins/builder-watch-plugin.d.ts +1 -1
  94. package/src/tools/webpack/plugins/builder-watch-plugin.js +1 -1
  95. package/src/tools/webpack/plugins/common-js-usage-warn-plugin.d.ts +1 -1
  96. package/src/tools/webpack/plugins/common-js-usage-warn-plugin.js +1 -1
  97. package/src/tools/webpack/plugins/css-optimizer-plugin.d.ts +1 -1
  98. package/src/tools/webpack/plugins/css-optimizer-plugin.js +1 -1
  99. package/src/tools/webpack/plugins/dedupe-module-resolve-plugin.d.ts +1 -1
  100. package/src/tools/webpack/plugins/dedupe-module-resolve-plugin.js +1 -1
  101. package/src/tools/webpack/plugins/devtools-ignore-plugin.d.ts +1 -1
  102. package/src/tools/webpack/plugins/devtools-ignore-plugin.js +1 -1
  103. package/src/tools/webpack/plugins/esbuild-executor.d.ts +1 -1
  104. package/src/tools/webpack/plugins/esbuild-executor.js +1 -1
  105. package/src/tools/webpack/plugins/hmr/hmr-accept.d.ts +1 -1
  106. package/src/tools/webpack/plugins/hmr/hmr-accept.js +2 -2
  107. package/src/tools/webpack/plugins/hmr/hmr-loader.d.ts +1 -1
  108. package/src/tools/webpack/plugins/hmr/hmr-loader.js +2 -2
  109. package/src/tools/webpack/plugins/index-html-webpack-plugin.d.ts +1 -1
  110. package/src/tools/webpack/plugins/index-html-webpack-plugin.js +1 -1
  111. package/src/tools/webpack/plugins/index.d.ts +1 -1
  112. package/src/tools/webpack/plugins/index.js +1 -1
  113. package/src/tools/webpack/plugins/javascript-optimizer-plugin.d.ts +1 -1
  114. package/src/tools/webpack/plugins/javascript-optimizer-plugin.js +1 -1
  115. package/src/tools/webpack/plugins/javascript-optimizer-worker.d.ts +1 -1
  116. package/src/tools/webpack/plugins/javascript-optimizer-worker.js +2 -2
  117. package/src/tools/webpack/plugins/json-stats-plugin.d.ts +1 -1
  118. package/src/tools/webpack/plugins/json-stats-plugin.js +1 -1
  119. package/src/tools/webpack/plugins/karma/karma.d.ts +1 -1
  120. package/src/tools/webpack/plugins/karma/karma.js +1 -1
  121. package/src/tools/webpack/plugins/named-chunks-plugin.d.ts +1 -1
  122. package/src/tools/webpack/plugins/named-chunks-plugin.js +1 -1
  123. package/src/tools/webpack/plugins/occurrences-plugin.d.ts +1 -1
  124. package/src/tools/webpack/plugins/occurrences-plugin.js +1 -1
  125. package/src/tools/webpack/plugins/postcss-cli-resources.d.ts +1 -1
  126. package/src/tools/webpack/plugins/postcss-cli-resources.js +2 -2
  127. package/src/tools/webpack/plugins/progress-plugin.d.ts +1 -1
  128. package/src/tools/webpack/plugins/progress-plugin.js +1 -1
  129. package/src/tools/webpack/plugins/remove-hash-plugin.d.ts +1 -1
  130. package/src/tools/webpack/plugins/remove-hash-plugin.js +1 -1
  131. package/src/tools/webpack/plugins/scripts-webpack-plugin.d.ts +1 -1
  132. package/src/tools/webpack/plugins/scripts-webpack-plugin.js +1 -1
  133. package/src/tools/webpack/plugins/service-worker-plugin.d.ts +1 -1
  134. package/src/tools/webpack/plugins/service-worker-plugin.js +1 -1
  135. package/src/tools/webpack/plugins/styles-webpack-plugin.d.ts +1 -1
  136. package/src/tools/webpack/plugins/styles-webpack-plugin.js +1 -1
  137. package/src/tools/webpack/plugins/suppress-entry-chunks-webpack-plugin.d.ts +1 -1
  138. package/src/tools/webpack/plugins/suppress-entry-chunks-webpack-plugin.js +1 -1
  139. package/src/tools/webpack/plugins/transfer-size-plugin.d.ts +1 -1
  140. package/src/tools/webpack/plugins/transfer-size-plugin.js +1 -1
  141. package/src/tools/webpack/plugins/typescript.d.ts +1 -1
  142. package/src/tools/webpack/plugins/typescript.js +2 -3
  143. package/src/tools/webpack/plugins/watch-files-logs-plugin.d.ts +1 -1
  144. package/src/tools/webpack/plugins/watch-files-logs-plugin.js +1 -1
  145. package/src/tools/webpack/utils/async-chunks.d.ts +1 -1
  146. package/src/tools/webpack/utils/async-chunks.js +2 -3
  147. package/src/tools/webpack/utils/helpers.d.ts +1 -1
  148. package/src/tools/webpack/utils/helpers.js +11 -12
  149. package/src/tools/webpack/utils/stats.d.ts +1 -1
  150. package/src/tools/webpack/utils/stats.js +8 -9
  151. package/src/transforms.d.ts +1 -1
  152. package/src/transforms.js +1 -1
  153. package/src/utils/action-executor.d.ts +1 -1
  154. package/src/utils/action-executor.js +1 -1
  155. package/src/utils/build-options.d.ts +1 -1
  156. package/src/utils/build-options.js +1 -1
  157. package/src/utils/bundle-inline-options.d.ts +1 -1
  158. package/src/utils/bundle-inline-options.js +1 -1
  159. package/src/utils/color.d.ts +1 -1
  160. package/src/utils/color.js +1 -1
  161. package/src/utils/copy-assets.d.ts +1 -1
  162. package/src/utils/copy-assets.js +2 -3
  163. package/src/utils/default-progress.d.ts +1 -1
  164. package/src/utils/default-progress.js +2 -3
  165. package/src/utils/environment-options.d.ts +1 -1
  166. package/src/utils/environment-options.js +1 -1
  167. package/src/utils/error.d.ts +1 -1
  168. package/src/utils/error.js +2 -3
  169. package/src/utils/i18n-inlining.d.ts +1 -1
  170. package/src/utils/i18n-inlining.js +2 -3
  171. package/src/utils/i18n-webpack.d.ts +1 -1
  172. package/src/utils/i18n-webpack.js +3 -3
  173. package/src/utils/index.d.ts +1 -1
  174. package/src/utils/index.js +1 -1
  175. package/src/utils/load-esm.d.ts +1 -1
  176. package/src/utils/load-esm.js +2 -3
  177. package/src/utils/normalize-asset-patterns.d.ts +1 -1
  178. package/src/utils/normalize-asset-patterns.js +3 -3
  179. package/src/utils/normalize-builder-schema.d.ts +1 -1
  180. package/src/utils/normalize-builder-schema.js +2 -3
  181. package/src/utils/normalize-cache.d.ts +1 -1
  182. package/src/utils/normalize-cache.js +3 -4
  183. package/src/utils/normalize-file-replacements.d.ts +1 -1
  184. package/src/utils/normalize-file-replacements.js +3 -3
  185. package/src/utils/normalize-optimization.d.ts +1 -1
  186. package/src/utils/normalize-optimization.js +2 -3
  187. package/src/utils/normalize-polyfills.d.ts +1 -1
  188. package/src/utils/normalize-polyfills.js +2 -3
  189. package/src/utils/normalize-source-maps.d.ts +1 -1
  190. package/src/utils/normalize-source-maps.js +2 -3
  191. package/src/utils/output-paths.d.ts +1 -1
  192. package/src/utils/output-paths.js +2 -3
  193. package/src/utils/package-chunk-sort.d.ts +1 -1
  194. package/src/utils/package-chunk-sort.js +2 -3
  195. package/src/utils/package-version.d.ts +1 -1
  196. package/src/utils/package-version.js +1 -1
  197. package/src/utils/process-bundle.d.ts +3 -3
  198. package/src/utils/process-bundle.js +2 -3
  199. package/src/utils/read-tsconfig.d.ts +1 -1
  200. package/src/utils/read-tsconfig.js +2 -3
  201. package/src/utils/run-module-as-observable-fork.d.ts +1 -1
  202. package/src/utils/run-module-as-observable-fork.js +2 -3
  203. package/src/utils/run-module-worker.js +1 -1
  204. package/src/utils/spinner.d.ts +1 -1
  205. package/src/utils/spinner.js +1 -1
  206. package/src/utils/tailwind.d.ts +1 -1
  207. package/src/utils/tailwind.js +2 -3
  208. package/src/utils/test-files.d.ts +1 -1
  209. package/src/utils/test-files.js +2 -3
  210. package/src/utils/tty.d.ts +1 -1
  211. package/src/utils/tty.js +2 -3
  212. package/src/utils/url.d.ts +1 -1
  213. package/src/utils/url.js +2 -3
  214. package/src/utils/webpack-browser-config.d.ts +1 -1
  215. package/src/utils/webpack-browser-config.js +6 -7
  216. package/src/utils/webpack-diagnostics.d.ts +1 -1
  217. package/src/utils/webpack-diagnostics.js +3 -4
@@ -4,14 +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
  Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.defaultProgress = void 0;
10
+ exports.defaultProgress = defaultProgress;
11
11
  function defaultProgress(progress) {
12
12
  if (progress === undefined) {
13
13
  return process.stdout.isTTY === true;
14
14
  }
15
15
  return progress;
16
16
  }
17
- exports.defaultProgress = defaultProgress;
@@ -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 allowMangle: boolean;
9
9
  export declare const shouldBeautify: boolean;
@@ -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.useJSONBuildLogs = exports.useTypeChecking = exports.shouldWatchRoot = exports.debugPerformance = exports.useParallelTs = exports.maxWorkers = exports.allowMinify = exports.shouldBeautify = exports.allowMangle = 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
  export declare function assertIsError(value: unknown): asserts value is Error & {
9
9
  code?: string;
@@ -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.assertIsError = void 0;
13
+ exports.assertIsError = assertIsError;
14
14
  const assert_1 = __importDefault(require("assert"));
15
15
  function assertIsError(value) {
16
16
  const isError = value instanceof Error ||
@@ -18,4 +18,3 @@ function assertIsError(value) {
18
18
  (typeof value === 'object' && value && 'name' in value && 'message' in value);
19
19
  (0, assert_1.default)(isError, 'catch clause variable is not an Error instance');
20
20
  }
21
- exports.assertIsError = assertIsError;
@@ -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 { BuilderContext } from '@angular-devkit/architect';
9
9
  import { EmittedFiles } from '@angular-devkit/build-webpack';
@@ -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,7 +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.i18nInlineEmittedFiles = void 0;
33
+ exports.i18nInlineEmittedFiles = i18nInlineEmittedFiles;
34
34
  const fs = __importStar(require("fs"));
35
35
  const path = __importStar(require("path"));
36
36
  const action_executor_1 = require("./action-executor");
@@ -118,4 +118,3 @@ async function i18nInlineEmittedFiles(context, emittedFiles, i18n, baseOutputPat
118
118
  }
119
119
  return !hasErrors;
120
120
  }
121
- exports.i18nInlineEmittedFiles = i18nInlineEmittedFiles;
@@ -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 { type I18nOptions, loadTranslations } from '@angular/build/private';
9
9
  import { BuilderContext } from '@angular-devkit/architect';
@@ -4,13 +4,14 @@
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.configureI18nBuild = exports.loadTranslations = void 0;
13
+ exports.loadTranslations = void 0;
14
+ exports.configureI18nBuild = configureI18nBuild;
14
15
  const private_1 = require("@angular/build/private");
15
16
  Object.defineProperty(exports, "loadTranslations", { enumerable: true, get: function () { return private_1.loadTranslations; } });
16
17
  const node_fs_1 = __importDefault(require("node:fs"));
@@ -93,7 +94,6 @@ async function configureI18nBuild(context, options) {
93
94
  }
94
95
  return { buildOptions, i18n };
95
96
  }
96
- exports.configureI18nBuild = configureI18nBuild;
97
97
  function findLocaleDataPath(locale, resolver) {
98
98
  // Remove private use subtags
99
99
  const scrubbedLocale = locale.replace(/-x(-[a-zA-Z0-9]{1,8})+$/, '');
@@ -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 * from './default-progress';
9
9
  export { deleteOutputDir, loadProxyConfiguration } from '@angular/build/private';
@@ -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;
@@ -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
  * This uses a dynamic import to load a module which may be ESM.
@@ -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.loadEsmModule = void 0;
10
+ exports.loadEsmModule = loadEsmModule;
11
11
  /**
12
12
  * Lazily compiled dynamic import loader function.
13
13
  */
@@ -28,4 +28,3 @@ function loadEsmModule(modulePath) {
28
28
  load ??= new Function('modulePath', `return import(modulePath);`);
29
29
  return load(modulePath);
30
30
  }
31
- exports.loadEsmModule = loadEsmModule;
@@ -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 { AssetPattern, AssetPatternClass } from '../builders/browser/schema';
9
9
  export declare class MissingAssetSourceRootException extends Error {
@@ -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;
@@ -33,7 +33,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
33
33
  return (mod && mod.__esModule) ? mod : { "default": mod };
34
34
  };
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.normalizeAssetPatterns = exports.MissingAssetSourceRootException = void 0;
36
+ exports.MissingAssetSourceRootException = void 0;
37
+ exports.normalizeAssetPatterns = normalizeAssetPatterns;
37
38
  const fs_1 = require("fs");
38
39
  const node_assert_1 = __importDefault(require("node:assert"));
39
40
  const path = __importStar(require("path"));
@@ -93,4 +94,3 @@ function normalizeAssetPatterns(assetPatterns, workspaceRoot, projectRoot, proje
93
94
  return assetPattern;
94
95
  });
95
96
  }
96
- exports.normalizeAssetPatterns = normalizeAssetPatterns;
@@ -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, logging } from '@angular-devkit/core';
9
9
  import { AssetPatternClass, Schema as BrowserBuilderSchema, SourceMapClass } from '../builders/browser/schema';
@@ -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.normalizeBrowserSchema = void 0;
10
+ exports.normalizeBrowserSchema = normalizeBrowserSchema;
11
11
  const private_1 = require("@angular/build/private");
12
12
  const normalize_asset_patterns_1 = require("./normalize-asset-patterns");
13
13
  const normalize_cache_1 = require("./normalize-cache");
@@ -41,4 +41,3 @@ function normalizeBrowserSchema(workspaceRoot, projectRoot, projectSourceRoot, o
41
41
  supportedBrowsers: (0, private_1.getSupportedBrowsers)(projectRoot, logger),
42
42
  };
43
43
  }
44
- exports.normalizeBrowserSchema = normalizeBrowserSchema;
@@ -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 interface NormalizedCachedOptions {
9
9
  /** Whether disk cache is enabled. */
@@ -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
  Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.normalizeCacheOptions = void 0;
10
+ exports.normalizeCacheOptions = normalizeCacheOptions;
11
11
  const node_path_1 = require("node:path");
12
12
  /** Version placeholder is replaced during the build process with actual package version */
13
- const VERSION = '18.1.0-next.0';
13
+ const VERSION = '18.1.0-next.2';
14
14
  function hasCacheMetadata(value) {
15
15
  return (!!value &&
16
16
  typeof value === 'object' &&
@@ -41,4 +41,3 @@ function normalizeCacheOptions(projectMetadata, worspaceRoot) {
41
41
  path: (0, node_path_1.join)(cacheBasePath, VERSION),
42
42
  };
43
43
  }
44
- exports.normalizeCacheOptions = normalizeCacheOptions;
@@ -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 { FileReplacement } from '../builders/browser/schema';
9
9
  export declare class MissingFileReplacementException extends Error {
@@ -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,7 +30,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
30
30
  return result;
31
31
  };
32
32
  Object.defineProperty(exports, "__esModule", { value: true });
33
- exports.normalizeFileReplacements = exports.MissingFileReplacementException = void 0;
33
+ exports.MissingFileReplacementException = void 0;
34
+ exports.normalizeFileReplacements = normalizeFileReplacements;
34
35
  const fs_1 = require("fs");
35
36
  const path = __importStar(require("path"));
36
37
  class MissingFileReplacementException extends Error {
@@ -54,7 +55,6 @@ function normalizeFileReplacements(fileReplacements, workspaceRoot) {
54
55
  }
55
56
  return normalizedReplacement;
56
57
  }
57
- exports.normalizeFileReplacements = normalizeFileReplacements;
58
58
  function normalizeFileReplacement(fileReplacement, root) {
59
59
  let replacePath;
60
60
  let withPath;
@@ -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 { FontsClass, OptimizationClass, OptimizationUnion, StylesClass } from '../builders/browser/schema';
9
9
  export type NormalizedOptimizationOptions = Required<Omit<OptimizationClass, 'fonts' | 'styles'>> & {
@@ -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.normalizeOptimization = void 0;
10
+ exports.normalizeOptimization = normalizeOptimization;
11
11
  function normalizeOptimization(optimization = true) {
12
12
  if (typeof optimization === 'object') {
13
13
  const styleOptimization = !!optimization.styles;
@@ -37,4 +37,3 @@ function normalizeOptimization(optimization = true) {
37
37
  },
38
38
  };
39
39
  }
40
- exports.normalizeOptimization = normalizeOptimization;
@@ -3,6 +3,6 @@
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 function normalizePolyfills(polyfills: string[] | string | undefined, root: string): string[];
@@ -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.normalizePolyfills = void 0;
10
+ exports.normalizePolyfills = normalizePolyfills;
11
11
  const fs_1 = require("fs");
12
12
  const path_1 = require("path");
13
13
  function normalizePolyfills(polyfills, root) {
@@ -21,4 +21,3 @@ function normalizePolyfills(polyfills, root) {
21
21
  return (0, fs_1.existsSync)(resolvedPath) ? resolvedPath : p;
22
22
  });
23
23
  }
24
- exports.normalizePolyfills = normalizePolyfills;
@@ -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 { SourceMapClass, SourceMapUnion } from '../builders/browser/schema';
9
9
  export declare function normalizeSourceMaps(sourceMap: SourceMapUnion): SourceMapClass;
@@ -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.normalizeSourceMaps = void 0;
10
+ exports.normalizeSourceMaps = normalizeSourceMaps;
11
11
  function normalizeSourceMaps(sourceMap) {
12
12
  const scripts = typeof sourceMap === 'object' ? sourceMap.scripts : sourceMap;
13
13
  const styles = typeof sourceMap === 'object' ? sourceMap.styles : sourceMap;
@@ -20,4 +20,3 @@ function normalizeSourceMaps(sourceMap) {
20
20
  styles,
21
21
  };
22
22
  }
23
- exports.normalizeSourceMaps = normalizeSourceMaps;
@@ -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 { I18nOptions } from './i18n-webpack';
9
9
  export declare function ensureOutputPaths(baseOutputPath: string, i18n: I18nOptions): Map<string, string>;
@@ -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.ensureOutputPaths = void 0;
10
+ exports.ensureOutputPaths = ensureOutputPaths;
11
11
  const fs_1 = require("fs");
12
12
  const path_1 = require("path");
13
13
  function ensureOutputPaths(baseOutputPath, i18n) {
@@ -24,4 +24,3 @@ function ensureOutputPaths(baseOutputPath, i18n) {
24
24
  }
25
25
  return new Map(outputPaths);
26
26
  }
27
- exports.ensureOutputPaths = ensureOutputPaths;
@@ -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 { ScriptElement, StyleElement } from '../builders/browser/schema';
9
9
  export type EntryPointsType = [name: string, isModule: boolean];
@@ -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.generateEntryPoints = void 0;
10
+ exports.generateEntryPoints = generateEntryPoints;
11
11
  const helpers_1 = require("../tools/webpack/utils/helpers");
12
12
  function generateEntryPoints(options) {
13
13
  // Add all styles/scripts, except lazy-loaded ones.
@@ -32,4 +32,3 @@ function generateEntryPoints(options) {
32
32
  }
33
33
  return entryPoints;
34
34
  }
35
- exports.generateEntryPoints = generateEntryPoints;
@@ -3,6 +3,6 @@
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 VERSION: string;
@@ -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.VERSION = void 0;
@@ -3,20 +3,20 @@
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 { InlineOptions } from './bundle-inline-options';
9
9
  export declare function inlineLocales(options: InlineOptions): Promise<{
10
10
  file: string;
11
11
  diagnostics: {
12
- type: "error" | "warning";
12
+ type: "warning" | "error";
13
13
  message: string;
14
14
  }[];
15
15
  count: number;
16
16
  } | {
17
17
  file: string;
18
18
  diagnostics: {
19
- type: "error" | "warning";
19
+ type: "warning" | "error";
20
20
  message: string;
21
21
  }[];
22
22
  }>;
@@ -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;
@@ -33,7 +33,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
33
33
  return (mod && mod.__esModule) ? mod : { "default": mod };
34
34
  };
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.inlineLocales = void 0;
36
+ exports.inlineLocales = inlineLocales;
37
37
  const remapping_1 = __importDefault(require("@ampproject/remapping"));
38
38
  const core_1 = require("@babel/core");
39
39
  const fs = __importStar(require("fs/promises"));
@@ -170,7 +170,6 @@ async function inlineLocales(options) {
170
170
  }
171
171
  return { file: options.filename, diagnostics };
172
172
  }
173
- exports.inlineLocales = inlineLocales;
174
173
  async function inlineLocalesDirect(ast, options) {
175
174
  if (!i18n || i18n.inlineLocales.size === 0) {
176
175
  return { file: options.filename, diagnostics: [], count: 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 type { ParsedConfiguration } from '@angular/compiler-cli';
9
9
  /**
@@ -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,7 +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.readTsconfig = void 0;
33
+ exports.readTsconfig = readTsconfig;
34
34
  const path = __importStar(require("path"));
35
35
  const load_esm_1 = require("./load-esm");
36
36
  /**
@@ -52,4 +52,3 @@ async function readTsconfig(tsconfigPath, workspaceRoot) {
52
52
  }
53
53
  return configResult;
54
54
  }
55
- exports.readTsconfig = readTsconfig;
@@ -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 { BuilderOutput } from '@angular-devkit/architect';
9
9
  import { Observable } from 'rxjs';
@@ -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.runModuleAsObservableFork = void 0;
10
+ exports.runModuleAsObservableFork = runModuleAsObservableFork;
11
11
  const child_process_1 = require("child_process");
12
12
  const path_1 = require("path");
13
13
  const rxjs_1 = require("rxjs");
@@ -72,4 +72,3 @@ args) {
72
72
  return killForkedProcess;
73
73
  });
74
74
  }
75
- exports.runModuleAsObservableFork = runModuleAsObservableFork;
@@ -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
  process.on('message', (message) => {
9
9
  // Only process messages with the hash in 'run-module-as-observable-fork.ts'.
@@ -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 class Spinner {
9
9
  #private;
@@ -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,6 +3,6 @@
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 function findTailwindConfigurationFile(workspaceRoot: string, projectRoot: string): Promise<string | undefined>;