@depup/angular__build 21.2.2-depup.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (602) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +39 -0
  3. package/builders.json +34 -0
  4. package/changes.json +42 -0
  5. package/index.d.ts +8 -0
  6. package/index.js +25 -0
  7. package/index.js.map +1 -0
  8. package/package.json +177 -0
  9. package/private/index.d.ts +8 -0
  10. package/private/index.js +25 -0
  11. package/private/index.js.map +1 -0
  12. package/src/builders/application/build-action.d.ts +29 -0
  13. package/src/builders/application/build-action.js +355 -0
  14. package/src/builders/application/build-action.js.map +1 -0
  15. package/src/builders/application/chunk-optimizer.d.ts +21 -0
  16. package/src/builders/application/chunk-optimizer.js +278 -0
  17. package/src/builders/application/chunk-optimizer.js.map +1 -0
  18. package/src/builders/application/execute-build.d.ts +11 -0
  19. package/src/builders/application/execute-build.js +250 -0
  20. package/src/builders/application/execute-build.js.map +1 -0
  21. package/src/builders/application/execute-post-bundle.d.ts +27 -0
  22. package/src/builders/application/execute-post-bundle.js +136 -0
  23. package/src/builders/application/execute-post-bundle.js.map +1 -0
  24. package/src/builders/application/i18n.d.ts +31 -0
  25. package/src/builders/application/i18n.js +138 -0
  26. package/src/builders/application/i18n.js.map +1 -0
  27. package/src/builders/application/index.d.ts +32 -0
  28. package/src/builders/application/index.js +253 -0
  29. package/src/builders/application/index.js.map +1 -0
  30. package/src/builders/application/options.d.ts +214 -0
  31. package/src/builders/application/options.js +499 -0
  32. package/src/builders/application/options.js.map +1 -0
  33. package/src/builders/application/results.d.ts +73 -0
  34. package/src/builders/application/results.js +18 -0
  35. package/src/builders/application/results.js.map +1 -0
  36. package/src/builders/application/schema.d.ts +650 -0
  37. package/src/builders/application/schema.js +93 -0
  38. package/src/builders/application/schema.js.map +1 -0
  39. package/src/builders/application/schema.json +728 -0
  40. package/src/builders/application/setup-bundling.d.ts +25 -0
  41. package/src/builders/application/setup-bundling.js +104 -0
  42. package/src/builders/application/setup-bundling.js.map +1 -0
  43. package/src/builders/dev-server/builder.d.ts +31 -0
  44. package/src/builders/dev-server/builder.js +61 -0
  45. package/src/builders/dev-server/builder.js.map +1 -0
  46. package/src/builders/dev-server/index.d.ts +15 -0
  47. package/src/builders/dev-server/index.js +17 -0
  48. package/src/builders/dev-server/index.js.map +1 -0
  49. package/src/builders/dev-server/internal.d.ts +18 -0
  50. package/src/builders/dev-server/internal.js +28 -0
  51. package/src/builders/dev-server/internal.js.map +1 -0
  52. package/src/builders/dev-server/options.d.ts +51 -0
  53. package/src/builders/dev-server/options.js +104 -0
  54. package/src/builders/dev-server/options.js.map +1 -0
  55. package/src/builders/dev-server/output.d.ts +16 -0
  56. package/src/builders/dev-server/output.js +10 -0
  57. package/src/builders/dev-server/output.js.map +1 -0
  58. package/src/builders/dev-server/schema.d.ts +121 -0
  59. package/src/builders/dev-server/schema.js +5 -0
  60. package/src/builders/dev-server/schema.js.map +1 -0
  61. package/src/builders/dev-server/schema.json +138 -0
  62. package/src/builders/dev-server/vite/hmr.d.ts +25 -0
  63. package/src/builders/dev-server/vite/hmr.js +115 -0
  64. package/src/builders/dev-server/vite/hmr.js.map +1 -0
  65. package/src/builders/dev-server/vite/index.d.ts +21 -0
  66. package/src/builders/dev-server/vite/index.js +390 -0
  67. package/src/builders/dev-server/vite/index.js.map +1 -0
  68. package/src/builders/dev-server/vite/server.d.ts +15 -0
  69. package/src/builders/dev-server/vite/server.js +227 -0
  70. package/src/builders/dev-server/vite/server.js.map +1 -0
  71. package/src/builders/dev-server/vite/utils.d.ts +36 -0
  72. package/src/builders/dev-server/vite/utils.js +77 -0
  73. package/src/builders/dev-server/vite/utils.js.map +1 -0
  74. package/src/builders/extract-i18n/application-extraction.d.ts +18 -0
  75. package/src/builders/extract-i18n/application-extraction.js +132 -0
  76. package/src/builders/extract-i18n/application-extraction.js.map +1 -0
  77. package/src/builders/extract-i18n/builder.d.ts +14 -0
  78. package/src/builders/extract-i18n/builder.js +161 -0
  79. package/src/builders/extract-i18n/builder.js.map +1 -0
  80. package/src/builders/extract-i18n/index.d.ts +13 -0
  81. package/src/builders/extract-i18n/index.js +16 -0
  82. package/src/builders/extract-i18n/index.js.map +1 -0
  83. package/src/builders/extract-i18n/options.d.ts +33 -0
  84. package/src/builders/extract-i18n/options.js +86 -0
  85. package/src/builders/extract-i18n/options.js.map +1 -0
  86. package/src/builders/extract-i18n/schema.d.ts +53 -0
  87. package/src/builders/extract-i18n/schema.js +30 -0
  88. package/src/builders/extract-i18n/schema.js.map +1 -0
  89. package/src/builders/extract-i18n/schema.json +38 -0
  90. package/src/builders/karma/application_builder.d.ts +11 -0
  91. package/src/builders/karma/application_builder.js +324 -0
  92. package/src/builders/karma/application_builder.js.map +1 -0
  93. package/src/builders/karma/assets-middleware.d.ts +26 -0
  94. package/src/builders/karma/assets-middleware.js +66 -0
  95. package/src/builders/karma/assets-middleware.js.map +1 -0
  96. package/src/builders/karma/coverage.d.ts +9 -0
  97. package/src/builders/karma/coverage.js +32 -0
  98. package/src/builders/karma/coverage.js.map +1 -0
  99. package/src/builders/karma/find-tests.d.ts +9 -0
  100. package/src/builders/karma/find-tests.js +24 -0
  101. package/src/builders/karma/find-tests.js.map +1 -0
  102. package/src/builders/karma/index.d.ts +20 -0
  103. package/src/builders/karma/index.js +54 -0
  104. package/src/builders/karma/index.js.map +1 -0
  105. package/src/builders/karma/karma-config.d.ts +11 -0
  106. package/src/builders/karma/karma-config.js +80 -0
  107. package/src/builders/karma/karma-config.js.map +1 -0
  108. package/src/builders/karma/options.d.ts +42 -0
  109. package/src/builders/karma/options.js +44 -0
  110. package/src/builders/karma/options.js.map +1 -0
  111. package/src/builders/karma/polyfills/init_sourcemaps.js +10 -0
  112. package/src/builders/karma/polyfills/jasmine_global.js +18 -0
  113. package/src/builders/karma/polyfills/jasmine_global_cleanup.js +14 -0
  114. package/src/builders/karma/polyfills-plugin.d.ts +13 -0
  115. package/src/builders/karma/polyfills-plugin.js +75 -0
  116. package/src/builders/karma/polyfills-plugin.js.map +1 -0
  117. package/src/builders/karma/progress-reporter.d.ts +17 -0
  118. package/src/builders/karma/progress-reporter.js +76 -0
  119. package/src/builders/karma/progress-reporter.js.map +1 -0
  120. package/src/builders/karma/schema.d.ts +250 -0
  121. package/src/builders/karma/schema.js +16 -0
  122. package/src/builders/karma/schema.js.map +1 -0
  123. package/src/builders/karma/schema.json +348 -0
  124. package/src/builders/karma/utils.d.ts +17 -0
  125. package/src/builders/karma/utils.js +67 -0
  126. package/src/builders/karma/utils.js.map +1 -0
  127. package/src/builders/ng-packagr/builder.d.ts +19 -0
  128. package/src/builders/ng-packagr/builder.js +107 -0
  129. package/src/builders/ng-packagr/builder.js.map +1 -0
  130. package/src/builders/ng-packagr/index.d.ts +13 -0
  131. package/src/builders/ng-packagr/index.js +16 -0
  132. package/src/builders/ng-packagr/index.js.map +1 -0
  133. package/src/builders/ng-packagr/schema.d.ts +21 -0
  134. package/src/builders/ng-packagr/schema.js +5 -0
  135. package/src/builders/ng-packagr/schema.js.map +1 -0
  136. package/src/builders/ng-packagr/schema.json +26 -0
  137. package/src/builders/unit-test/builder.d.ts +15 -0
  138. package/src/builders/unit-test/builder.js +376 -0
  139. package/src/builders/unit-test/builder.js.map +1 -0
  140. package/src/builders/unit-test/index.d.ts +12 -0
  141. package/src/builders/unit-test/index.js +16 -0
  142. package/src/builders/unit-test/index.js.map +1 -0
  143. package/src/builders/unit-test/options.d.ts +53 -0
  144. package/src/builders/unit-test/options.js +119 -0
  145. package/src/builders/unit-test/options.js.map +1 -0
  146. package/src/builders/unit-test/runners/api.d.ts +65 -0
  147. package/src/builders/unit-test/runners/api.js +10 -0
  148. package/src/builders/unit-test/runners/api.js.map +1 -0
  149. package/src/builders/unit-test/runners/dependency-checker.d.ts +43 -0
  150. package/src/builders/unit-test/runners/dependency-checker.js +83 -0
  151. package/src/builders/unit-test/runners/dependency-checker.js.map +1 -0
  152. package/src/builders/unit-test/runners/karma/executor.d.ts +17 -0
  153. package/src/builders/unit-test/runners/karma/executor.js +164 -0
  154. package/src/builders/unit-test/runners/karma/executor.js.map +1 -0
  155. package/src/builders/unit-test/runners/karma/index.d.ts +13 -0
  156. package/src/builders/unit-test/runners/karma/index.js +44 -0
  157. package/src/builders/unit-test/runners/karma/index.js.map +1 -0
  158. package/src/builders/unit-test/runners/vitest/browser-provider.d.ts +17 -0
  159. package/src/builders/unit-test/runners/vitest/browser-provider.js +174 -0
  160. package/src/builders/unit-test/runners/vitest/browser-provider.js.map +1 -0
  161. package/src/builders/unit-test/runners/vitest/build-options.d.ts +11 -0
  162. package/src/builders/unit-test/runners/vitest/build-options.js +169 -0
  163. package/src/builders/unit-test/runners/vitest/build-options.js.map +1 -0
  164. package/src/builders/unit-test/runners/vitest/configuration.d.ts +15 -0
  165. package/src/builders/unit-test/runners/vitest/configuration.js +57 -0
  166. package/src/builders/unit-test/runners/vitest/configuration.js.map +1 -0
  167. package/src/builders/unit-test/runners/vitest/executor.d.ts +29 -0
  168. package/src/builders/unit-test/runners/vitest/executor.js +318 -0
  169. package/src/builders/unit-test/runners/vitest/executor.js.map +1 -0
  170. package/src/builders/unit-test/runners/vitest/index.d.ts +13 -0
  171. package/src/builders/unit-test/runners/vitest/index.js +69 -0
  172. package/src/builders/unit-test/runners/vitest/index.js.map +1 -0
  173. package/src/builders/unit-test/runners/vitest/plugins.d.ts +32 -0
  174. package/src/builders/unit-test/runners/vitest/plugins.js +382 -0
  175. package/src/builders/unit-test/runners/vitest/plugins.js.map +1 -0
  176. package/src/builders/unit-test/schema.d.ts +229 -0
  177. package/src/builders/unit-test/schema.js +25 -0
  178. package/src/builders/unit-test/schema.js.map +1 -0
  179. package/src/builders/unit-test/schema.json +280 -0
  180. package/src/builders/unit-test/test-discovery.d.ts +47 -0
  181. package/src/builders/unit-test/test-discovery.js +280 -0
  182. package/src/builders/unit-test/test-discovery.js.map +1 -0
  183. package/src/index.d.ts +16 -0
  184. package/src/index.js +25 -0
  185. package/src/index.js.map +1 -0
  186. package/src/private.d.ts +57 -0
  187. package/src/private.js +104 -0
  188. package/src/private.js.map +1 -0
  189. package/src/tools/angular/angular-host.d.ts +27 -0
  190. package/src/tools/angular/angular-host.js +164 -0
  191. package/src/tools/angular/angular-host.js.map +1 -0
  192. package/src/tools/angular/compilation/angular-compilation.d.ts +45 -0
  193. package/src/tools/angular/compilation/angular-compilation.js +104 -0
  194. package/src/tools/angular/compilation/angular-compilation.js.map +1 -0
  195. package/src/tools/angular/compilation/aot-compilation.d.ts +26 -0
  196. package/src/tools/angular/compilation/aot-compilation.js +341 -0
  197. package/src/tools/angular/compilation/aot-compilation.js.map +1 -0
  198. package/src/tools/angular/compilation/factory.d.ts +17 -0
  199. package/src/tools/angular/compilation/factory.js +67 -0
  200. package/src/tools/angular/compilation/factory.js.map +1 -0
  201. package/src/tools/angular/compilation/hmr-candidates.d.ts +22 -0
  202. package/src/tools/angular/compilation/hmr-candidates.js +270 -0
  203. package/src/tools/angular/compilation/hmr-candidates.js.map +1 -0
  204. package/src/tools/angular/compilation/index.d.ts +10 -0
  205. package/src/tools/angular/compilation/index.js +18 -0
  206. package/src/tools/angular/compilation/index.js.map +1 -0
  207. package/src/tools/angular/compilation/jit-compilation.d.ts +23 -0
  208. package/src/tools/angular/compilation/jit-compilation.js +150 -0
  209. package/src/tools/angular/compilation/jit-compilation.js.map +1 -0
  210. package/src/tools/angular/compilation/noop-compilation.d.ts +20 -0
  211. package/src/tools/angular/compilation/noop-compilation.js +27 -0
  212. package/src/tools/angular/compilation/noop-compilation.js.map +1 -0
  213. package/src/tools/angular/compilation/parallel-compilation.d.ts +44 -0
  214. package/src/tools/angular/compilation/parallel-compilation.js +119 -0
  215. package/src/tools/angular/compilation/parallel-compilation.js.map +1 -0
  216. package/src/tools/angular/compilation/parallel-worker.d.ts +39 -0
  217. package/src/tools/angular/compilation/parallel-worker.js +102 -0
  218. package/src/tools/angular/compilation/parallel-worker.js.map +1 -0
  219. package/src/tools/angular/transformers/jit-bootstrap-transformer.d.ts +10 -0
  220. package/src/tools/angular/transformers/jit-bootstrap-transformer.js +181 -0
  221. package/src/tools/angular/transformers/jit-bootstrap-transformer.js.map +1 -0
  222. package/src/tools/angular/transformers/jit-resource-transformer.d.ts +17 -0
  223. package/src/tools/angular/transformers/jit-resource-transformer.js +187 -0
  224. package/src/tools/angular/transformers/jit-resource-transformer.js.map +1 -0
  225. package/src/tools/angular/transformers/lazy-routes-transformer.d.ts +39 -0
  226. package/src/tools/angular/transformers/lazy-routes-transformer.js +164 -0
  227. package/src/tools/angular/transformers/lazy-routes-transformer.js.map +1 -0
  228. package/src/tools/angular/transformers/web-worker-transformer.d.ts +17 -0
  229. package/src/tools/angular/transformers/web-worker-transformer.js +94 -0
  230. package/src/tools/angular/transformers/web-worker-transformer.js.map +1 -0
  231. package/src/tools/angular/uri.d.ts +54 -0
  232. package/src/tools/angular/uri.js +76 -0
  233. package/src/tools/angular/uri.js.map +1 -0
  234. package/src/tools/babel/plugins/add-code-coverage.d.ts +14 -0
  235. package/src/tools/babel/plugins/add-code-coverage.js +45 -0
  236. package/src/tools/babel/plugins/add-code-coverage.js.map +1 -0
  237. package/src/tools/babel/plugins/adjust-static-class-members.d.ts +25 -0
  238. package/src/tools/babel/plugins/adjust-static-class-members.js +349 -0
  239. package/src/tools/babel/plugins/adjust-static-class-members.js.map +1 -0
  240. package/src/tools/babel/plugins/adjust-typescript-enums.d.ts +21 -0
  241. package/src/tools/babel/plugins/adjust-typescript-enums.js +113 -0
  242. package/src/tools/babel/plugins/adjust-typescript-enums.js.map +1 -0
  243. package/src/tools/babel/plugins/elide-angular-metadata.d.ts +21 -0
  244. package/src/tools/babel/plugins/elide-angular-metadata.js +110 -0
  245. package/src/tools/babel/plugins/elide-angular-metadata.js.map +1 -0
  246. package/src/tools/babel/plugins/index.d.ts +11 -0
  247. package/src/tools/babel/plugins/index.js +22 -0
  248. package/src/tools/babel/plugins/index.js.map +1 -0
  249. package/src/tools/babel/plugins/pure-toplevel-functions.d.ts +13 -0
  250. package/src/tools/babel/plugins/pure-toplevel-functions.js +128 -0
  251. package/src/tools/babel/plugins/pure-toplevel-functions.js.map +1 -0
  252. package/src/tools/babel/plugins/types.d.ts +20 -0
  253. package/src/tools/babel/typings.d.ts +21 -0
  254. package/src/tools/esbuild/angular/compilation-state.d.ts +15 -0
  255. package/src/tools/esbuild/angular/compilation-state.js +45 -0
  256. package/src/tools/esbuild/angular/compilation-state.js.map +1 -0
  257. package/src/tools/esbuild/angular/compiler-plugin.d.ts +34 -0
  258. package/src/tools/esbuild/angular/compiler-plugin.js +631 -0
  259. package/src/tools/esbuild/angular/compiler-plugin.js.map +1 -0
  260. package/src/tools/esbuild/angular/component-stylesheets.d.ts +49 -0
  261. package/src/tools/esbuild/angular/component-stylesheets.js +222 -0
  262. package/src/tools/esbuild/angular/component-stylesheets.js.map +1 -0
  263. package/src/tools/esbuild/angular/diagnostics.d.ts +15 -0
  264. package/src/tools/esbuild/angular/diagnostics.js +72 -0
  265. package/src/tools/esbuild/angular/diagnostics.js.map +1 -0
  266. package/src/tools/esbuild/angular/file-reference-tracker.d.ts +17 -0
  267. package/src/tools/esbuild/angular/file-reference-tracker.js +58 -0
  268. package/src/tools/esbuild/angular/file-reference-tracker.js.map +1 -0
  269. package/src/tools/esbuild/angular/jit-plugin-callbacks.d.ts +23 -0
  270. package/src/tools/esbuild/angular/jit-plugin-callbacks.js +120 -0
  271. package/src/tools/esbuild/angular/jit-plugin-callbacks.js.map +1 -0
  272. package/src/tools/esbuild/angular/rewrite-bazel-paths.d.ts +8 -0
  273. package/src/tools/esbuild/angular/rewrite-bazel-paths.js +28 -0
  274. package/src/tools/esbuild/angular/rewrite-bazel-paths.js.map +1 -0
  275. package/src/tools/esbuild/angular/source-file-cache.d.ts +18 -0
  276. package/src/tools/esbuild/angular/source-file-cache.js +80 -0
  277. package/src/tools/esbuild/angular/source-file-cache.js.map +1 -0
  278. package/src/tools/esbuild/angular-localize-init-warning-plugin.d.ts +16 -0
  279. package/src/tools/esbuild/angular-localize-init-warning-plugin.js +50 -0
  280. package/src/tools/esbuild/angular-localize-init-warning-plugin.js.map +1 -0
  281. package/src/tools/esbuild/application-code-bundle.d.ts +19 -0
  282. package/src/tools/esbuild/application-code-bundle.js +542 -0
  283. package/src/tools/esbuild/application-code-bundle.js.map +1 -0
  284. package/src/tools/esbuild/budget-stats.d.ts +19 -0
  285. package/src/tools/esbuild/budget-stats.js +67 -0
  286. package/src/tools/esbuild/budget-stats.js.map +1 -0
  287. package/src/tools/esbuild/bundler-context.d.ts +80 -0
  288. package/src/tools/esbuild/bundler-context.js +399 -0
  289. package/src/tools/esbuild/bundler-context.js.map +1 -0
  290. package/src/tools/esbuild/bundler-execution-result.d.ts +95 -0
  291. package/src/tools/esbuild/bundler-execution-result.js +149 -0
  292. package/src/tools/esbuild/bundler-execution-result.js.map +1 -0
  293. package/src/tools/esbuild/cache.d.ts +93 -0
  294. package/src/tools/esbuild/cache.js +100 -0
  295. package/src/tools/esbuild/cache.js.map +1 -0
  296. package/src/tools/esbuild/commonjs-checker.d.ts +28 -0
  297. package/src/tools/esbuild/commonjs-checker.js +151 -0
  298. package/src/tools/esbuild/commonjs-checker.js.map +1 -0
  299. package/src/tools/esbuild/compiler-plugin-options.d.ts +14 -0
  300. package/src/tools/esbuild/compiler-plugin-options.js +30 -0
  301. package/src/tools/esbuild/compiler-plugin-options.js.map +1 -0
  302. package/src/tools/esbuild/external-packages-plugin.d.ts +18 -0
  303. package/src/tools/esbuild/external-packages-plugin.js +97 -0
  304. package/src/tools/esbuild/external-packages-plugin.js.map +1 -0
  305. package/src/tools/esbuild/global-scripts.d.ts +16 -0
  306. package/src/tools/esbuild/global-scripts.js +153 -0
  307. package/src/tools/esbuild/global-scripts.js.map +1 -0
  308. package/src/tools/esbuild/global-styles.d.ts +10 -0
  309. package/src/tools/esbuild/global-styles.js +79 -0
  310. package/src/tools/esbuild/global-styles.js.map +1 -0
  311. package/src/tools/esbuild/i18n-inliner-worker.d.ts +77 -0
  312. package/src/tools/esbuild/i18n-inliner-worker.js +184 -0
  313. package/src/tools/esbuild/i18n-inliner-worker.js.map +1 -0
  314. package/src/tools/esbuild/i18n-inliner.d.ts +58 -0
  315. package/src/tools/esbuild/i18n-inliner.js +266 -0
  316. package/src/tools/esbuild/i18n-inliner.js.map +1 -0
  317. package/src/tools/esbuild/i18n-locale-plugin.d.ts +22 -0
  318. package/src/tools/esbuild/i18n-locale-plugin.js +139 -0
  319. package/src/tools/esbuild/i18n-locale-plugin.js.map +1 -0
  320. package/src/tools/esbuild/index-html-generator.d.ts +15 -0
  321. package/src/tools/esbuild/index-html-generator.js +91 -0
  322. package/src/tools/esbuild/index-html-generator.js.map +1 -0
  323. package/src/tools/esbuild/javascript-transformer-worker.d.ts +20 -0
  324. package/src/tools/esbuild/javascript-transformer-worker.js +162 -0
  325. package/src/tools/esbuild/javascript-transformer-worker.js.map +1 -0
  326. package/src/tools/esbuild/javascript-transformer.d.ts +54 -0
  327. package/src/tools/esbuild/javascript-transformer.js +153 -0
  328. package/src/tools/esbuild/javascript-transformer.js.map +1 -0
  329. package/src/tools/esbuild/license-extractor.d.ts +25 -0
  330. package/src/tools/esbuild/license-extractor.js +158 -0
  331. package/src/tools/esbuild/license-extractor.js.map +1 -0
  332. package/src/tools/esbuild/lmdb-cache-store.d.ts +18 -0
  333. package/src/tools/esbuild/lmdb-cache-store.js +55 -0
  334. package/src/tools/esbuild/lmdb-cache-store.js.map +1 -0
  335. package/src/tools/esbuild/load-result-cache.d.ts +21 -0
  336. package/src/tools/esbuild/load-result-cache.js +76 -0
  337. package/src/tools/esbuild/load-result-cache.js.map +1 -0
  338. package/src/tools/esbuild/loader-import-attribute-plugin.d.ts +9 -0
  339. package/src/tools/esbuild/loader-import-attribute-plugin.js +42 -0
  340. package/src/tools/esbuild/loader-import-attribute-plugin.js.map +1 -0
  341. package/src/tools/esbuild/profiling.d.ts +11 -0
  342. package/src/tools/esbuild/profiling.js +78 -0
  343. package/src/tools/esbuild/profiling.js.map +1 -0
  344. package/src/tools/esbuild/rxjs-esm-resolution-plugin.d.ts +18 -0
  345. package/src/tools/esbuild/rxjs-esm-resolution-plugin.js +44 -0
  346. package/src/tools/esbuild/rxjs-esm-resolution-plugin.js.map +1 -0
  347. package/src/tools/esbuild/server-bundle-metadata-plugin.d.ts +22 -0
  348. package/src/tools/esbuild/server-bundle-metadata-plugin.js +37 -0
  349. package/src/tools/esbuild/server-bundle-metadata-plugin.js.map +1 -0
  350. package/src/tools/esbuild/sourcemap-ignorelist-plugin.d.ts +17 -0
  351. package/src/tools/esbuild/sourcemap-ignorelist-plugin.js +73 -0
  352. package/src/tools/esbuild/sourcemap-ignorelist-plugin.js.map +1 -0
  353. package/src/tools/esbuild/stylesheets/bundle-options.d.ts +41 -0
  354. package/src/tools/esbuild/stylesheets/bundle-options.js +66 -0
  355. package/src/tools/esbuild/stylesheets/bundle-options.js.map +1 -0
  356. package/src/tools/esbuild/stylesheets/css-inline-fonts-plugin.d.ts +25 -0
  357. package/src/tools/esbuild/stylesheets/css-inline-fonts-plugin.js +57 -0
  358. package/src/tools/esbuild/stylesheets/css-inline-fonts-plugin.js.map +1 -0
  359. package/src/tools/esbuild/stylesheets/css-language.d.ts +9 -0
  360. package/src/tools/esbuild/stylesheets/css-language.js +16 -0
  361. package/src/tools/esbuild/stylesheets/css-language.js.map +1 -0
  362. package/src/tools/esbuild/stylesheets/css-resource-plugin.d.ts +18 -0
  363. package/src/tools/esbuild/stylesheets/css-resource-plugin.js +114 -0
  364. package/src/tools/esbuild/stylesheets/css-resource-plugin.js.map +1 -0
  365. package/src/tools/esbuild/stylesheets/less-language.d.ts +9 -0
  366. package/src/tools/esbuild/stylesheets/less-language.js +161 -0
  367. package/src/tools/esbuild/stylesheets/less-language.js.map +1 -0
  368. package/src/tools/esbuild/stylesheets/sass-language.d.ts +10 -0
  369. package/src/tools/esbuild/stylesheets/sass-language.js +231 -0
  370. package/src/tools/esbuild/stylesheets/sass-language.js.map +1 -0
  371. package/src/tools/esbuild/stylesheets/stylesheet-plugin-factory.d.ts +77 -0
  372. package/src/tools/esbuild/stylesheets/stylesheet-plugin-factory.js +333 -0
  373. package/src/tools/esbuild/stylesheets/stylesheet-plugin-factory.js.map +1 -0
  374. package/src/tools/esbuild/utils.d.ts +58 -0
  375. package/src/tools/esbuild/utils.js +394 -0
  376. package/src/tools/esbuild/utils.js.map +1 -0
  377. package/src/tools/esbuild/virtual-module-plugin.d.ts +33 -0
  378. package/src/tools/esbuild/virtual-module-plugin.js +43 -0
  379. package/src/tools/esbuild/virtual-module-plugin.js.map +1 -0
  380. package/src/tools/esbuild/wasm-plugin.d.ts +28 -0
  381. package/src/tools/esbuild/wasm-plugin.js +211 -0
  382. package/src/tools/esbuild/wasm-plugin.js.map +1 -0
  383. package/src/tools/esbuild/wasm.d.ts +25 -0
  384. package/src/tools/esbuild/watcher.d.ts +25 -0
  385. package/src/tools/esbuild/watcher.js +119 -0
  386. package/src/tools/esbuild/watcher.js.map +1 -0
  387. package/src/tools/sass/lexer.d.ts +18 -0
  388. package/src/tools/sass/lexer.js +172 -0
  389. package/src/tools/sass/lexer.js.map +1 -0
  390. package/src/tools/sass/rebasing-importer.d.ts +101 -0
  391. package/src/tools/sass/rebasing-importer.js +333 -0
  392. package/src/tools/sass/rebasing-importer.js.map +1 -0
  393. package/src/tools/sass/sass-service.d.ts +67 -0
  394. package/src/tools/sass/sass-service.js +242 -0
  395. package/src/tools/sass/sass-service.js.map +1 -0
  396. package/src/tools/sass/worker.d.ts +63 -0
  397. package/src/tools/sass/worker.js +202 -0
  398. package/src/tools/sass/worker.js.map +1 -0
  399. package/src/tools/vite/middlewares/assets-middleware.d.ts +17 -0
  400. package/src/tools/vite/middlewares/assets-middleware.js +205 -0
  401. package/src/tools/vite/middlewares/assets-middleware.js.map +1 -0
  402. package/src/tools/vite/middlewares/base-middleware.d.ts +17 -0
  403. package/src/tools/vite/middlewares/base-middleware.js +44 -0
  404. package/src/tools/vite/middlewares/base-middleware.js.map +1 -0
  405. package/src/tools/vite/middlewares/chrome-devtools-middleware.d.ts +9 -0
  406. package/src/tools/vite/middlewares/chrome-devtools-middleware.js +53 -0
  407. package/src/tools/vite/middlewares/chrome-devtools-middleware.js.map +1 -0
  408. package/src/tools/vite/middlewares/component-middleware.d.ts +9 -0
  409. package/src/tools/vite/middlewares/component-middleware.js +36 -0
  410. package/src/tools/vite/middlewares/component-middleware.js.map +1 -0
  411. package/src/tools/vite/middlewares/headers-middleware.d.ts +19 -0
  412. package/src/tools/vite/middlewares/headers-middleware.js +35 -0
  413. package/src/tools/vite/middlewares/headers-middleware.js.map +1 -0
  414. package/src/tools/vite/middlewares/host-check-middleware.d.ts +9 -0
  415. package/src/tools/vite/middlewares/host-check-middleware.js +61 -0
  416. package/src/tools/vite/middlewares/host-check-middleware.js.map +1 -0
  417. package/src/tools/vite/middlewares/html-fallback-middleware.d.ts +10 -0
  418. package/src/tools/vite/middlewares/html-fallback-middleware.js +42 -0
  419. package/src/tools/vite/middlewares/html-fallback-middleware.js.map +1 -0
  420. package/src/tools/vite/middlewares/index-html-middleware.d.ts +10 -0
  421. package/src/tools/vite/middlewares/index-html-middleware.js +47 -0
  422. package/src/tools/vite/middlewares/index-html-middleware.js.map +1 -0
  423. package/src/tools/vite/middlewares/index.d.ts +16 -0
  424. package/src/tools/vite/middlewares/index.js +30 -0
  425. package/src/tools/vite/middlewares/index.js.map +1 -0
  426. package/src/tools/vite/middlewares/ssr-middleware.d.ts +10 -0
  427. package/src/tools/vite/middlewares/ssr-middleware.js +129 -0
  428. package/src/tools/vite/middlewares/ssr-middleware.js.map +1 -0
  429. package/src/tools/vite/plugins/angular-memory-plugin.d.ts +18 -0
  430. package/src/tools/vite/plugins/angular-memory-plugin.js +149 -0
  431. package/src/tools/vite/plugins/angular-memory-plugin.js.map +1 -0
  432. package/src/tools/vite/plugins/id-prefix-plugin.d.ts +9 -0
  433. package/src/tools/vite/plugins/id-prefix-plugin.js +46 -0
  434. package/src/tools/vite/plugins/id-prefix-plugin.js.map +1 -0
  435. package/src/tools/vite/plugins/index.d.ts +12 -0
  436. package/src/tools/vite/plugins/index.js +22 -0
  437. package/src/tools/vite/plugins/index.js.map +1 -0
  438. package/src/tools/vite/plugins/setup-middlewares-plugin.d.ts +45 -0
  439. package/src/tools/vite/plugins/setup-middlewares-plugin.js +108 -0
  440. package/src/tools/vite/plugins/setup-middlewares-plugin.js.map +1 -0
  441. package/src/tools/vite/plugins/ssr-ssl-plugin.d.ts +9 -0
  442. package/src/tools/vite/plugins/ssr-ssl-plugin.js +92 -0
  443. package/src/tools/vite/plugins/ssr-ssl-plugin.js.map +1 -0
  444. package/src/tools/vite/plugins/ssr-transform-plugin.d.ts +9 -0
  445. package/src/tools/vite/plugins/ssr-transform-plugin.js +68 -0
  446. package/src/tools/vite/plugins/ssr-transform-plugin.js.map +1 -0
  447. package/src/tools/vite/utils.d.ts +45 -0
  448. package/src/tools/vite/utils.js +106 -0
  449. package/src/tools/vite/utils.js.map +1 -0
  450. package/src/utils/bundle-calculator.d.ts +45 -0
  451. package/src/utils/bundle-calculator.js +305 -0
  452. package/src/utils/bundle-calculator.js.map +1 -0
  453. package/src/utils/check-port.d.ts +8 -0
  454. package/src/utils/check-port.js +88 -0
  455. package/src/utils/check-port.js.map +1 -0
  456. package/src/utils/color.d.ts +9 -0
  457. package/src/utils/color.js +28 -0
  458. package/src/utils/color.js.map +1 -0
  459. package/src/utils/delete-output-dir.d.ts +11 -0
  460. package/src/utils/delete-output-dir.js +46 -0
  461. package/src/utils/delete-output-dir.js.map +1 -0
  462. package/src/utils/environment-options.d.ts +64 -0
  463. package/src/utils/environment-options.js +150 -0
  464. package/src/utils/environment-options.js.map +1 -0
  465. package/src/utils/error.d.ts +10 -0
  466. package/src/utils/error.js +21 -0
  467. package/src/utils/error.js.map +1 -0
  468. package/src/utils/format-bytes.d.ts +8 -0
  469. package/src/utils/format-bytes.js +22 -0
  470. package/src/utils/format-bytes.js.map +1 -0
  471. package/src/utils/i18n-options.d.ts +36 -0
  472. package/src/utils/i18n-options.js +208 -0
  473. package/src/utils/i18n-options.js.map +1 -0
  474. package/src/utils/index-file/add-event-dispatch-contract.d.ts +8 -0
  475. package/src/utils/index-file/add-event-dispatch-contract.js +28 -0
  476. package/src/utils/index-file/add-event-dispatch-contract.js.map +1 -0
  477. package/src/utils/index-file/augment-index-html.d.ts +40 -0
  478. package/src/utils/index-file/augment-index-html.js +300 -0
  479. package/src/utils/index-file/augment-index-html.js.map +1 -0
  480. package/src/utils/index-file/auto-csp.d.ts +23 -0
  481. package/src/utils/index-file/auto-csp.js +295 -0
  482. package/src/utils/index-file/auto-csp.js.map +1 -0
  483. package/src/utils/index-file/html-rewriting-stream.d.ts +15 -0
  484. package/src/utils/index-file/html-rewriting-stream.js +60 -0
  485. package/src/utils/index-file/html-rewriting-stream.js.map +1 -0
  486. package/src/utils/index-file/index-html-generator.d.ts +61 -0
  487. package/src/utils/index-file/index-html-generator.js +154 -0
  488. package/src/utils/index-file/index-html-generator.js.map +1 -0
  489. package/src/utils/index-file/inline-critical-css.d.ts +25 -0
  490. package/src/utils/index-file/inline-critical-css.js +193 -0
  491. package/src/utils/index-file/inline-critical-css.js.map +1 -0
  492. package/src/utils/index-file/inline-fonts.d.ts +23 -0
  493. package/src/utils/index-file/inline-fonts.js +240 -0
  494. package/src/utils/index-file/inline-fonts.js.map +1 -0
  495. package/src/utils/index-file/ngcm-attribute.d.ts +15 -0
  496. package/src/utils/index-file/ngcm-attribute.js +38 -0
  497. package/src/utils/index-file/ngcm-attribute.js.map +1 -0
  498. package/src/utils/index-file/nonce.d.ts +12 -0
  499. package/src/utils/index-file/nonce.js +54 -0
  500. package/src/utils/index-file/nonce.js.map +1 -0
  501. package/src/utils/index-file/valid-self-closing-tags.d.ts +9 -0
  502. package/src/utils/index-file/valid-self-closing-tags.js +90 -0
  503. package/src/utils/index-file/valid-self-closing-tags.js.map +1 -0
  504. package/src/utils/index.d.ts +11 -0
  505. package/src/utils/index.js +28 -0
  506. package/src/utils/index.js.map +1 -0
  507. package/src/utils/load-esm.d.ts +20 -0
  508. package/src/utils/load-esm.js +31 -0
  509. package/src/utils/load-esm.js.map +1 -0
  510. package/src/utils/load-proxy-config.d.ts +8 -0
  511. package/src/utils/load-proxy-config.js +186 -0
  512. package/src/utils/load-proxy-config.js.map +1 -0
  513. package/src/utils/load-translations.d.ts +16 -0
  514. package/src/utils/load-translations.js +93 -0
  515. package/src/utils/load-translations.js.map +1 -0
  516. package/src/utils/normalize-asset-patterns.d.ts +11 -0
  517. package/src/utils/normalize-asset-patterns.js +111 -0
  518. package/src/utils/normalize-asset-patterns.js.map +1 -0
  519. package/src/utils/normalize-cache.d.ts +16 -0
  520. package/src/utils/normalize-cache.js +46 -0
  521. package/src/utils/normalize-cache.js.map +1 -0
  522. package/src/utils/normalize-optimization.d.ts +13 -0
  523. package/src/utils/normalize-optimization.js +42 -0
  524. package/src/utils/normalize-optimization.js.map +1 -0
  525. package/src/utils/normalize-source-maps.d.ts +9 -0
  526. package/src/utils/normalize-source-maps.js +25 -0
  527. package/src/utils/normalize-source-maps.js.map +1 -0
  528. package/src/utils/path.d.ts +29 -0
  529. package/src/utils/path.js +38 -0
  530. package/src/utils/path.js.map +1 -0
  531. package/src/utils/postcss-configuration.d.ts +20 -0
  532. package/src/utils/postcss-configuration.js +86 -0
  533. package/src/utils/postcss-configuration.js.map +1 -0
  534. package/src/utils/project-metadata.d.ts +21 -0
  535. package/src/utils/project-metadata.js +32 -0
  536. package/src/utils/project-metadata.js.map +1 -0
  537. package/src/utils/purge-cache.d.ts +10 -0
  538. package/src/utils/purge-cache.js +40 -0
  539. package/src/utils/purge-cache.js.map +1 -0
  540. package/src/utils/resolve-assets.d.ts +18 -0
  541. package/src/utils/resolve-assets.js +35 -0
  542. package/src/utils/resolve-assets.js.map +1 -0
  543. package/src/utils/server-rendering/esm-in-memory-loader/loader-hooks.d.ts +18 -0
  544. package/src/utils/server-rendering/esm-in-memory-loader/loader-hooks.js +125 -0
  545. package/src/utils/server-rendering/esm-in-memory-loader/loader-hooks.js.map +1 -0
  546. package/src/utils/server-rendering/esm-in-memory-loader/register-hooks.d.ts +8 -0
  547. package/src/utils/server-rendering/esm-in-memory-loader/register-hooks.js +14 -0
  548. package/src/utils/server-rendering/esm-in-memory-loader/register-hooks.js.map +1 -0
  549. package/src/utils/server-rendering/esm-in-memory-loader/utils.d.ts +8 -0
  550. package/src/utils/server-rendering/esm-in-memory-loader/utils.js +14 -0
  551. package/src/utils/server-rendering/esm-in-memory-loader/utils.js.map +1 -0
  552. package/src/utils/server-rendering/fetch-patch.d.ts +8 -0
  553. package/src/utils/server-rendering/fetch-patch.js +64 -0
  554. package/src/utils/server-rendering/fetch-patch.js.map +1 -0
  555. package/src/utils/server-rendering/launch-server.d.ts +14 -0
  556. package/src/utils/server-rendering/launch-server.js +96 -0
  557. package/src/utils/server-rendering/launch-server.js.map +1 -0
  558. package/src/utils/server-rendering/load-esm-from-memory.d.ts +27 -0
  559. package/src/utils/server-rendering/load-esm-from-memory.js +26 -0
  560. package/src/utils/server-rendering/load-esm-from-memory.js.map +1 -0
  561. package/src/utils/server-rendering/manifest.d.ts +58 -0
  562. package/src/utils/server-rendering/manifest.js +177 -0
  563. package/src/utils/server-rendering/manifest.js.map +1 -0
  564. package/src/utils/server-rendering/models.d.ts +28 -0
  565. package/src/utils/server-rendering/models.js +22 -0
  566. package/src/utils/server-rendering/models.js.map +1 -0
  567. package/src/utils/server-rendering/prerender.d.ts +39 -0
  568. package/src/utils/server-rendering/prerender.js +246 -0
  569. package/src/utils/server-rendering/prerender.js.map +1 -0
  570. package/src/utils/server-rendering/render-worker.d.ts +23 -0
  571. package/src/utils/server-rendering/render-worker.js +79 -0
  572. package/src/utils/server-rendering/render-worker.js.map +1 -0
  573. package/src/utils/server-rendering/routes-extractor-worker.d.ts +16 -0
  574. package/src/utils/server-rendering/routes-extractor-worker.js +73 -0
  575. package/src/utils/server-rendering/routes-extractor-worker.js.map +1 -0
  576. package/src/utils/server-rendering/utils.d.ts +21 -0
  577. package/src/utils/server-rendering/utils.js +43 -0
  578. package/src/utils/server-rendering/utils.js.map +1 -0
  579. package/src/utils/service-worker.d.ts +23 -0
  580. package/src/utils/service-worker.js +215 -0
  581. package/src/utils/service-worker.js.map +1 -0
  582. package/src/utils/stats-table.d.ts +20 -0
  583. package/src/utils/stats-table.js +205 -0
  584. package/src/utils/stats-table.js.map +1 -0
  585. package/src/utils/supported-browsers.d.ts +10 -0
  586. package/src/utils/supported-browsers.js +57 -0
  587. package/src/utils/supported-browsers.js.map +1 -0
  588. package/src/utils/test-files.d.ts +17 -0
  589. package/src/utils/test-files.js +83 -0
  590. package/src/utils/test-files.js.map +1 -0
  591. package/src/utils/tty.d.ts +8 -0
  592. package/src/utils/tty.js +23 -0
  593. package/src/utils/tty.js.map +1 -0
  594. package/src/utils/url.d.ts +81 -0
  595. package/src/utils/url.js +122 -0
  596. package/src/utils/url.js.map +1 -0
  597. package/src/utils/version.d.ts +8 -0
  598. package/src/utils/version.js +58 -0
  599. package/src/utils/version.js.map +1 -0
  600. package/src/utils/worker-pool.d.ts +12 -0
  601. package/src/utils/worker-pool.js +46 -0
  602. package/src/utils/worker-pool.js.map +1 -0
@@ -0,0 +1,650 @@
1
+ /**
2
+ * Application builder target options
3
+ */
4
+ export type Schema = {
5
+ /**
6
+ * A list of CommonJS or AMD packages that are allowed to be used without a build time
7
+ * warning. Use `'*'` to allow all.
8
+ */
9
+ allowedCommonJsDependencies?: string[];
10
+ /**
11
+ * Build using Ahead of Time compilation.
12
+ */
13
+ aot?: boolean;
14
+ /**
15
+ * Generates an application shell during build time.
16
+ */
17
+ appShell?: boolean;
18
+ /**
19
+ * Define the assets to be copied to the output directory. These assets are copied as-is
20
+ * without any further processing or hashing.
21
+ */
22
+ assets?: AssetPattern[];
23
+ /**
24
+ * Base url for the application being built.
25
+ */
26
+ baseHref?: string;
27
+ /**
28
+ * The full path for the browser entry point to the application, relative to the current
29
+ * workspace.
30
+ */
31
+ browser?: string;
32
+ /**
33
+ * Budget thresholds to ensure parts of your application stay within boundaries which you
34
+ * set.
35
+ */
36
+ budgets?: Budget[];
37
+ /**
38
+ * Automatically clear the terminal screen during rebuilds.
39
+ */
40
+ clearScreen?: boolean;
41
+ /**
42
+ * Custom package resolution conditions used to resolve conditional exports/imports.
43
+ * Defaults to ['module', 'development'/'production']. The following special conditions are
44
+ * always present if the requirements are satisfied: 'default', 'import', 'require',
45
+ * 'browser', 'node'.
46
+ */
47
+ conditions?: string[];
48
+ /**
49
+ * Define the crossorigin attribute setting of elements that provide CORS support.
50
+ */
51
+ crossOrigin?: CrossOrigin;
52
+ /**
53
+ * Defines global identifiers that will be replaced with a specified constant value when
54
+ * found in any JavaScript or TypeScript code including libraries. The value will be used
55
+ * directly. String values must be put in quotes. Identifiers within Angular metadata such
56
+ * as Component Decorators will not be replaced.
57
+ */
58
+ define?: {
59
+ [key: string]: string;
60
+ };
61
+ /**
62
+ * Delete the output path before building.
63
+ */
64
+ deleteOutputPath?: boolean;
65
+ /**
66
+ * Customize the base path for the URLs of resources in 'index.html' and component
67
+ * stylesheets. This option is only necessary for specific deployment scenarios, such as
68
+ * with Angular Elements or when utilizing different CDN locations.
69
+ */
70
+ deployUrl?: string;
71
+ /**
72
+ * Exclude the listed external dependencies from being bundled into the bundle. Instead, the
73
+ * created bundle relies on these dependencies to be available during runtime. Note:
74
+ * `@foo/bar` marks all paths within the `@foo/bar` package as external, including sub-paths
75
+ * like `@foo/bar/baz`.
76
+ */
77
+ externalDependencies?: string[];
78
+ /**
79
+ * Extract all licenses in a separate file.
80
+ */
81
+ extractLicenses?: boolean;
82
+ /**
83
+ * Replace compilation source files with other compilation source files in the build.
84
+ */
85
+ fileReplacements?: FileReplacement[];
86
+ /**
87
+ * How to handle duplicate translations for i18n.
88
+ */
89
+ i18nDuplicateTranslation?: I18NTranslation;
90
+ /**
91
+ * How to handle missing translations for i18n.
92
+ */
93
+ i18nMissingTranslation?: I18NTranslation;
94
+ /**
95
+ * Configures the generation of the application's HTML index.
96
+ */
97
+ index?: IndexUnion;
98
+ /**
99
+ * The stylesheet language to use for the application's inline component styles.
100
+ */
101
+ inlineStyleLanguage?: InlineStyleLanguage;
102
+ /**
103
+ * Defines the type of loader to use with a specified file extension when used with a
104
+ * JavaScript `import`. `text` inlines the content as a string; `binary` inlines the content
105
+ * as a Uint8Array; `file` emits the file and provides the runtime location of the file;
106
+ * `dataurl` inlines the content as a data URL with best guess of MIME type; `base64`
107
+ * inlines the content as a Base64-encoded string; `empty` considers the content to be empty
108
+ * and not include it in bundles.
109
+ */
110
+ loader?: {
111
+ [key: string]: any;
112
+ };
113
+ /**
114
+ * Translate the bundles in one or more locales.
115
+ */
116
+ localize?: Localize;
117
+ /**
118
+ * Use file name for lazy loaded chunks.
119
+ */
120
+ namedChunks?: boolean;
121
+ /**
122
+ * Enables optimization of the build output. Including minification of scripts and styles,
123
+ * tree-shaking, dead-code elimination, inlining of critical CSS and fonts inlining. For
124
+ * more information, see
125
+ * https://angular.dev/reference/configs/workspace-config#optimization-configuration.
126
+ */
127
+ optimization?: OptimizationUnion;
128
+ /**
129
+ * Define the output filename cache-busting hashing mode.
130
+ *
131
+ * - `none`: No hashing.
132
+ * - `all`: Hash for all output bundles.
133
+ * - `media`: Hash for all output media (e.g., images, fonts, etc. that are referenced in
134
+ * CSS files).
135
+ * - `bundles`: Hash for output of lazy and main bundles.
136
+ */
137
+ outputHashing?: OutputHashing;
138
+ /**
139
+ * Defines the type of build output artifact. 'static': Generates a static site build
140
+ * artifact for deployment on any static hosting service. 'server': Generates a server
141
+ * application build artifact, required for applications using hybrid rendering or APIs.
142
+ */
143
+ outputMode?: OutputMode;
144
+ /**
145
+ * Specify the output path relative to workspace root.
146
+ */
147
+ outputPath?: OutputPathUnion;
148
+ /**
149
+ * Enable and define the file watching poll time period in milliseconds.
150
+ */
151
+ poll?: number;
152
+ /**
153
+ * A list of polyfills to include in the build. Can be a full path for a file, relative to
154
+ * the current workspace or module specifier. Example: 'zone.js'.
155
+ */
156
+ polyfills?: string[];
157
+ /**
158
+ * Prerender (SSG) pages of your application during build time.
159
+ */
160
+ prerender?: PrerenderUnion;
161
+ /**
162
+ * Do not use the real path when resolving modules. If unset then will default to `true` if
163
+ * NodeJS option --preserve-symlinks is set.
164
+ */
165
+ preserveSymlinks?: boolean;
166
+ /**
167
+ * Log progress to the console while building.
168
+ */
169
+ progress?: boolean;
170
+ /**
171
+ * Global scripts to be included in the build.
172
+ */
173
+ scripts?: ScriptElement[];
174
+ /**
175
+ * Security features to protect against XSS and other common attacks
176
+ */
177
+ security?: Security;
178
+ /**
179
+ * The full path for the server entry point to the application, relative to the current
180
+ * workspace.
181
+ */
182
+ server?: Serv;
183
+ /**
184
+ * Generates a service worker configuration.
185
+ */
186
+ serviceWorker?: Serv;
187
+ /**
188
+ * Output source maps for scripts and styles. For more information, see
189
+ * https://angular.dev/reference/configs/workspace-config#source-map-configuration.
190
+ */
191
+ sourceMap?: SourceMapUnion;
192
+ /**
193
+ * Server side render (SSR) pages of your application during runtime.
194
+ */
195
+ ssr?: SsrUnion;
196
+ /**
197
+ * Generates a 'stats.json' file which can be analyzed with
198
+ * https://esbuild.github.io/analyze/.
199
+ */
200
+ statsJson?: boolean;
201
+ /**
202
+ * Options to pass to style preprocessors.
203
+ */
204
+ stylePreprocessorOptions?: StylePreprocessorOptions;
205
+ /**
206
+ * Global styles to be included in the build.
207
+ */
208
+ styles?: StyleElement[];
209
+ /**
210
+ * Enables the use of subresource integrity validation.
211
+ */
212
+ subresourceIntegrity?: boolean;
213
+ /**
214
+ * The full path for the TypeScript configuration file, relative to the current workspace.
215
+ */
216
+ tsConfig: string;
217
+ /**
218
+ * Adds more details to output logging.
219
+ */
220
+ verbose?: boolean;
221
+ /**
222
+ * Run build when files change.
223
+ */
224
+ watch?: boolean;
225
+ /**
226
+ * TypeScript configuration for Web Worker modules.
227
+ */
228
+ webWorkerTsConfig?: string;
229
+ };
230
+ export type AssetPattern = AssetPatternClass | string;
231
+ export type AssetPatternClass = {
232
+ /**
233
+ * Allow glob patterns to follow symlink directories. This allows subdirectories of the
234
+ * symlink to be searched.
235
+ */
236
+ followSymlinks?: boolean;
237
+ /**
238
+ * The pattern to match.
239
+ */
240
+ glob: string;
241
+ /**
242
+ * An array of globs to ignore.
243
+ */
244
+ ignore?: string[];
245
+ /**
246
+ * The input directory path in which to apply 'glob'. Defaults to the project root.
247
+ */
248
+ input: string;
249
+ /**
250
+ * Absolute path within the output.
251
+ */
252
+ output?: string;
253
+ };
254
+ export type Budget = {
255
+ /**
256
+ * The baseline size for comparison.
257
+ */
258
+ baseline?: string;
259
+ /**
260
+ * The threshold for error relative to the baseline (min & max).
261
+ */
262
+ error?: string;
263
+ /**
264
+ * The maximum threshold for error relative to the baseline.
265
+ */
266
+ maximumError?: string;
267
+ /**
268
+ * The maximum threshold for warning relative to the baseline.
269
+ */
270
+ maximumWarning?: string;
271
+ /**
272
+ * The minimum threshold for error relative to the baseline.
273
+ */
274
+ minimumError?: string;
275
+ /**
276
+ * The minimum threshold for warning relative to the baseline.
277
+ */
278
+ minimumWarning?: string;
279
+ /**
280
+ * The name of the bundle.
281
+ */
282
+ name?: string;
283
+ /**
284
+ * The type of budget.
285
+ */
286
+ type: Type;
287
+ /**
288
+ * The threshold for warning relative to the baseline (min & max).
289
+ */
290
+ warning?: string;
291
+ };
292
+ /**
293
+ * The type of budget.
294
+ */
295
+ export declare enum Type {
296
+ All = "all",
297
+ AllScript = "allScript",
298
+ Any = "any",
299
+ AnyComponentStyle = "anyComponentStyle",
300
+ AnyScript = "anyScript",
301
+ Bundle = "bundle",
302
+ Initial = "initial"
303
+ }
304
+ /**
305
+ * Define the crossorigin attribute setting of elements that provide CORS support.
306
+ */
307
+ export declare enum CrossOrigin {
308
+ Anonymous = "anonymous",
309
+ None = "none",
310
+ UseCredentials = "use-credentials"
311
+ }
312
+ export type FileReplacement = {
313
+ replace: string;
314
+ with: string;
315
+ };
316
+ /**
317
+ * How to handle duplicate translations for i18n.
318
+ *
319
+ * How to handle missing translations for i18n.
320
+ */
321
+ export declare enum I18NTranslation {
322
+ Error = "error",
323
+ Ignore = "ignore",
324
+ Warning = "warning"
325
+ }
326
+ /**
327
+ * Configures the generation of the application's HTML index.
328
+ */
329
+ export type IndexUnion = boolean | IndexObject | string;
330
+ export type IndexObject = {
331
+ /**
332
+ * The path of a file to use for the application's generated HTML index.
333
+ */
334
+ input: string;
335
+ /**
336
+ * The output path of the application's generated HTML index file. The full provided path
337
+ * will be used and will be considered relative to the application's configured output path.
338
+ */
339
+ output?: string;
340
+ /**
341
+ * Generates 'preload', 'modulepreload', and 'preconnect' link elements for initial
342
+ * application files and resources.
343
+ */
344
+ preloadInitial?: boolean;
345
+ [property: string]: any;
346
+ };
347
+ /**
348
+ * The stylesheet language to use for the application's inline component styles.
349
+ */
350
+ export declare enum InlineStyleLanguage {
351
+ Css = "css",
352
+ Less = "less",
353
+ Sass = "sass",
354
+ Scss = "scss"
355
+ }
356
+ /**
357
+ * Translate the bundles in one or more locales.
358
+ */
359
+ export type Localize = string[] | boolean;
360
+ /**
361
+ * Enables optimization of the build output. Including minification of scripts and styles,
362
+ * tree-shaking, dead-code elimination, inlining of critical CSS and fonts inlining. For
363
+ * more information, see
364
+ * https://angular.dev/reference/configs/workspace-config#optimization-configuration.
365
+ */
366
+ export type OptimizationUnion = boolean | OptimizationClass;
367
+ export type OptimizationClass = {
368
+ /**
369
+ * Enables optimization for fonts. This option requires internet access. `HTTPS_PROXY`
370
+ * environment variable can be used to specify a proxy server.
371
+ */
372
+ fonts?: FontsUnion;
373
+ /**
374
+ * Enables optimization of the scripts output.
375
+ */
376
+ scripts?: boolean;
377
+ /**
378
+ * Enables optimization of the styles output.
379
+ */
380
+ styles?: StylesUnion;
381
+ };
382
+ /**
383
+ * Enables optimization for fonts. This option requires internet access. `HTTPS_PROXY`
384
+ * environment variable can be used to specify a proxy server.
385
+ */
386
+ export type FontsUnion = boolean | FontsClass;
387
+ export type FontsClass = {
388
+ /**
389
+ * Reduce render blocking requests by inlining external Google Fonts and Adobe Fonts CSS
390
+ * definitions in the application's HTML index file. This option requires internet access.
391
+ * `HTTPS_PROXY` environment variable can be used to specify a proxy server.
392
+ */
393
+ inline?: boolean;
394
+ };
395
+ /**
396
+ * Enables optimization of the styles output.
397
+ */
398
+ export type StylesUnion = boolean | StylesClass;
399
+ export type StylesClass = {
400
+ /**
401
+ * Extract and inline critical CSS definitions to improve first paint time.
402
+ */
403
+ inlineCritical?: boolean;
404
+ /**
405
+ * Minify CSS definitions by removing extraneous whitespace and comments, merging
406
+ * identifiers and minimizing values.
407
+ */
408
+ minify?: boolean;
409
+ /**
410
+ * Remove comments in global CSS that contains '@license' or '@preserve' or that starts with
411
+ * '//!' or '/*!'.
412
+ */
413
+ removeSpecialComments?: boolean;
414
+ };
415
+ /**
416
+ * Define the output filename cache-busting hashing mode.
417
+ *
418
+ * - `none`: No hashing.
419
+ * - `all`: Hash for all output bundles.
420
+ * - `media`: Hash for all output media (e.g., images, fonts, etc. that are referenced in
421
+ * CSS files).
422
+ * - `bundles`: Hash for output of lazy and main bundles.
423
+ */
424
+ export declare enum OutputHashing {
425
+ All = "all",
426
+ Bundles = "bundles",
427
+ Media = "media",
428
+ None = "none"
429
+ }
430
+ /**
431
+ * Defines the type of build output artifact. 'static': Generates a static site build
432
+ * artifact for deployment on any static hosting service. 'server': Generates a server
433
+ * application build artifact, required for applications using hybrid rendering or APIs.
434
+ */
435
+ export declare enum OutputMode {
436
+ Server = "server",
437
+ Static = "static"
438
+ }
439
+ /**
440
+ * Specify the output path relative to workspace root.
441
+ */
442
+ export type OutputPathUnion = OutputPathClass | string;
443
+ export type OutputPathClass = {
444
+ /**
445
+ * Specify the output path relative to workspace root.
446
+ */
447
+ base: string;
448
+ /**
449
+ * The output directory name of your browser build within the output path base. Defaults to
450
+ * 'browser'.
451
+ */
452
+ browser?: string;
453
+ /**
454
+ * The output directory name of your media files within the output browser directory.
455
+ * Defaults to 'media'.
456
+ */
457
+ media?: string;
458
+ /**
459
+ * The output directory name of your server build within the output path base. Defaults to
460
+ * 'server'.
461
+ */
462
+ server?: string;
463
+ };
464
+ /**
465
+ * Prerender (SSG) pages of your application during build time.
466
+ */
467
+ export type PrerenderUnion = boolean | PrerenderClass;
468
+ export type PrerenderClass = {
469
+ /**
470
+ * Whether the builder should process the Angular Router configuration to find all
471
+ * unparameterized routes and prerender them.
472
+ */
473
+ discoverRoutes?: boolean;
474
+ /**
475
+ * The path to a file that contains a list of all routes to prerender, separated by
476
+ * newlines. This option is useful if you want to prerender routes with parameterized URLs.
477
+ */
478
+ routesFile?: string;
479
+ };
480
+ export type ScriptElement = ScriptClass | string;
481
+ export type ScriptClass = {
482
+ /**
483
+ * The bundle name for this extra entry point.
484
+ */
485
+ bundleName?: string;
486
+ /**
487
+ * If the bundle will be referenced in the HTML file.
488
+ */
489
+ inject?: boolean;
490
+ /**
491
+ * The file to include.
492
+ */
493
+ input: string;
494
+ };
495
+ /**
496
+ * Security features to protect against XSS and other common attacks
497
+ */
498
+ export type Security = {
499
+ /**
500
+ * A list of hostnames that are allowed to access the server-side application. For more
501
+ * information, see
502
+ * https://angular.dev/best-practices/security#preventing-server-side-request-forgery-ssrf.
503
+ */
504
+ allowedHosts?: string[];
505
+ /**
506
+ * Enables automatic generation of a hash-based Strict Content Security Policy
507
+ * (https://web.dev/articles/strict-csp#choose-hash) based on scripts in index.html. Will
508
+ * default to true once we are out of experimental/preview phases.
509
+ */
510
+ autoCsp?: AutoCspUnion;
511
+ };
512
+ /**
513
+ * Enables automatic generation of a hash-based Strict Content Security Policy
514
+ * (https://web.dev/articles/strict-csp#choose-hash) based on scripts in index.html. Will
515
+ * default to true once we are out of experimental/preview phases.
516
+ */
517
+ export type AutoCspUnion = boolean | AutoCspClass;
518
+ export type AutoCspClass = {
519
+ /**
520
+ * Include the `unsafe-eval` directive (https://web.dev/articles/strict-csp#remove-eval) in
521
+ * the auto-CSP. Please only enable this if you are absolutely sure that you need to, as
522
+ * allowing calls to eval will weaken the XSS defenses provided by the auto-CSP.
523
+ */
524
+ unsafeEval?: boolean;
525
+ };
526
+ /**
527
+ * The full path for the server entry point to the application, relative to the current
528
+ * workspace.
529
+ *
530
+ * Generates a service worker configuration.
531
+ */
532
+ export type Serv = boolean | string;
533
+ /**
534
+ * Output source maps for scripts and styles. For more information, see
535
+ * https://angular.dev/reference/configs/workspace-config#source-map-configuration.
536
+ */
537
+ export type SourceMapUnion = boolean | SourceMapClass;
538
+ export type SourceMapClass = {
539
+ /**
540
+ * Output source maps used for error reporting tools.
541
+ */
542
+ hidden?: boolean;
543
+ /**
544
+ * Output source maps for all scripts.
545
+ */
546
+ scripts?: boolean;
547
+ /**
548
+ * Output original source content for files within the source map.
549
+ */
550
+ sourcesContent?: boolean;
551
+ /**
552
+ * Output source maps for all styles.
553
+ */
554
+ styles?: boolean;
555
+ /**
556
+ * Resolve vendor packages source maps.
557
+ */
558
+ vendor?: boolean;
559
+ };
560
+ /**
561
+ * Server side render (SSR) pages of your application during runtime.
562
+ */
563
+ export type SsrUnion = boolean | SsrClass;
564
+ export type SsrClass = {
565
+ /**
566
+ * The server entry-point that when executed will spawn the web server.
567
+ */
568
+ entry?: string;
569
+ /**
570
+ * Specifies the platform for which the server bundle is generated. This affects the APIs
571
+ * and modules available in the server-side code.
572
+ *
573
+ * - `node`: (Default) Generates a bundle optimized for Node.js environments.
574
+ * - `neutral`: Generates a platform-neutral bundle suitable for environments like edge
575
+ * workers, and other serverless platforms. This option avoids using Node.js-specific APIs,
576
+ * making the bundle more portable.
577
+ *
578
+ * Please note that this feature does not provide polyfills for Node.js modules.
579
+ * Additionally, it is experimental, and the schematics may undergo changes in future
580
+ * versions.
581
+ */
582
+ experimentalPlatform?: ExperimentalPlatform;
583
+ };
584
+ /**
585
+ * Specifies the platform for which the server bundle is generated. This affects the APIs
586
+ * and modules available in the server-side code.
587
+ *
588
+ * - `node`: (Default) Generates a bundle optimized for Node.js environments.
589
+ * - `neutral`: Generates a platform-neutral bundle suitable for environments like edge
590
+ * workers, and other serverless platforms. This option avoids using Node.js-specific APIs,
591
+ * making the bundle more portable.
592
+ *
593
+ * Please note that this feature does not provide polyfills for Node.js modules.
594
+ * Additionally, it is experimental, and the schematics may undergo changes in future
595
+ * versions.
596
+ */
597
+ export declare enum ExperimentalPlatform {
598
+ Neutral = "neutral",
599
+ Node = "node"
600
+ }
601
+ /**
602
+ * Options to pass to style preprocessors.
603
+ */
604
+ export type StylePreprocessorOptions = {
605
+ /**
606
+ * Paths to include. Paths will be resolved to workspace root.
607
+ */
608
+ includePaths?: string[];
609
+ /**
610
+ * Options to pass to the sass preprocessor.
611
+ */
612
+ sass?: Sass;
613
+ };
614
+ /**
615
+ * Options to pass to the sass preprocessor.
616
+ */
617
+ export type Sass = {
618
+ /**
619
+ * A set of deprecations to treat as fatal. If a deprecation warning of any provided type is
620
+ * encountered during compilation, the compiler will error instead. If a Version is
621
+ * provided, then all deprecations that were active in that compiler version will be treated
622
+ * as fatal.
623
+ */
624
+ fatalDeprecations?: string[];
625
+ /**
626
+ * A set of future deprecations to opt into early. Future deprecations passed here will be
627
+ * treated as active by the compiler, emitting warnings as necessary.
628
+ */
629
+ futureDeprecations?: string[];
630
+ /**
631
+ * A set of active deprecations to ignore. If a deprecation warning of any provided type is
632
+ * encountered during compilation, the compiler will ignore it instead.
633
+ */
634
+ silenceDeprecations?: string[];
635
+ };
636
+ export type StyleElement = StyleClass | string;
637
+ export type StyleClass = {
638
+ /**
639
+ * The bundle name for this extra entry point.
640
+ */
641
+ bundleName?: string;
642
+ /**
643
+ * If the bundle will be referenced in the HTML file.
644
+ */
645
+ inject?: boolean;
646
+ /**
647
+ * The file to include.
648
+ */
649
+ input: string;
650
+ };