@depup/angular-devkit__build-angular 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 (385) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +46 -0
  3. package/builders.json +76 -0
  4. package/changes.json +70 -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 +229 -0
  9. package/plugins/karma.d.ts +7 -0
  10. package/plugins/karma.js +10 -0
  11. package/plugins/karma.js.map +1 -0
  12. package/src/builders/app-shell/index.d.ts +11 -0
  13. package/src/builders/app-shell/index.js +193 -0
  14. package/src/builders/app-shell/index.js.map +1 -0
  15. package/src/builders/app-shell/render-worker.d.ts +36 -0
  16. package/src/builders/app-shell/render-worker.js +115 -0
  17. package/src/builders/app-shell/render-worker.js.map +1 -0
  18. package/src/builders/app-shell/schema.d.ts +36 -0
  19. package/src/builders/app-shell/schema.js +5 -0
  20. package/src/builders/app-shell/schema.js.map +1 -0
  21. package/src/builders/app-shell/schema.json +37 -0
  22. package/src/builders/browser/index.d.ts +42 -0
  23. package/src/builders/browser/index.js +342 -0
  24. package/src/builders/browser/index.js.map +1 -0
  25. package/src/builders/browser/schema.d.ts +441 -0
  26. package/src/builders/browser/schema.js +65 -0
  27. package/src/builders/browser/schema.js.map +1 -0
  28. package/src/builders/browser/schema.json +548 -0
  29. package/src/builders/browser-esbuild/index.d.ts +28 -0
  30. package/src/builders/browser-esbuild/index.js +53 -0
  31. package/src/builders/browser-esbuild/index.js.map +1 -0
  32. package/src/builders/browser-esbuild/schema.d.ts +431 -0
  33. package/src/builders/browser-esbuild/schema.js +59 -0
  34. package/src/builders/browser-esbuild/schema.js.map +1 -0
  35. package/src/builders/browser-esbuild/schema.json +541 -0
  36. package/src/builders/dev-server/builder.d.ts +44 -0
  37. package/src/builders/dev-server/builder.js +160 -0
  38. package/src/builders/dev-server/builder.js.map +1 -0
  39. package/src/builders/dev-server/index.d.ts +14 -0
  40. package/src/builders/dev-server/index.js +16 -0
  41. package/src/builders/dev-server/index.js.map +1 -0
  42. package/src/builders/dev-server/options.d.ts +52 -0
  43. package/src/builders/dev-server/options.js +116 -0
  44. package/src/builders/dev-server/options.js.map +1 -0
  45. package/src/builders/dev-server/schema.d.ts +118 -0
  46. package/src/builders/dev-server/schema.js +5 -0
  47. package/src/builders/dev-server/schema.js.map +1 -0
  48. package/src/builders/dev-server/schema.json +135 -0
  49. package/src/builders/dev-server/webpack-server.d.ts +35 -0
  50. package/src/builders/dev-server/webpack-server.js +296 -0
  51. package/src/builders/dev-server/webpack-server.js.map +1 -0
  52. package/src/builders/extract-i18n/application-extraction.d.ts +17 -0
  53. package/src/builders/extract-i18n/application-extraction.js +136 -0
  54. package/src/builders/extract-i18n/application-extraction.js.map +1 -0
  55. package/src/builders/extract-i18n/builder.d.ts +17 -0
  56. package/src/builders/extract-i18n/builder.js +178 -0
  57. package/src/builders/extract-i18n/builder.js.map +1 -0
  58. package/src/builders/extract-i18n/empty-loader.d.ts +8 -0
  59. package/src/builders/extract-i18n/empty-loader.js +14 -0
  60. package/src/builders/extract-i18n/empty-loader.js.map +1 -0
  61. package/src/builders/extract-i18n/index.d.ts +12 -0
  62. package/src/builders/extract-i18n/index.js +15 -0
  63. package/src/builders/extract-i18n/index.js.map +1 -0
  64. package/src/builders/extract-i18n/ivy-extract-loader.d.ts +13 -0
  65. package/src/builders/extract-i18n/ivy-extract-loader.js +131 -0
  66. package/src/builders/extract-i18n/ivy-extract-loader.js.map +1 -0
  67. package/src/builders/extract-i18n/options.d.ts +33 -0
  68. package/src/builders/extract-i18n/options.js +86 -0
  69. package/src/builders/extract-i18n/options.js.map +1 -0
  70. package/src/builders/extract-i18n/schema.d.ts +53 -0
  71. package/src/builders/extract-i18n/schema.js +30 -0
  72. package/src/builders/extract-i18n/schema.js.map +1 -0
  73. package/src/builders/extract-i18n/schema.json +38 -0
  74. package/src/builders/extract-i18n/webpack-extraction.d.ts +21 -0
  75. package/src/builders/extract-i18n/webpack-extraction.js +99 -0
  76. package/src/builders/extract-i18n/webpack-extraction.js.map +1 -0
  77. package/src/builders/jest/index.d.ts +11 -0
  78. package/src/builders/jest/index.js +213 -0
  79. package/src/builders/jest/index.js.map +1 -0
  80. package/src/builders/jest/init-test-bed.mjs +24 -0
  81. package/src/builders/jest/jest-global.mjs +19 -0
  82. package/src/builders/jest/jest.config.mjs +11 -0
  83. package/src/builders/jest/options.d.ts +21 -0
  84. package/src/builders/jest/options.js +25 -0
  85. package/src/builders/jest/options.js.map +1 -0
  86. package/src/builders/jest/schema.d.ts +26 -0
  87. package/src/builders/jest/schema.js +5 -0
  88. package/src/builders/jest/schema.js.map +1 -0
  89. package/src/builders/jest/schema.json +44 -0
  90. package/src/builders/karma/browser_builder.d.ts +20 -0
  91. package/src/builders/karma/browser_builder.js +195 -0
  92. package/src/builders/karma/browser_builder.js.map +1 -0
  93. package/src/builders/karma/find-tests-plugin.d.ts +20 -0
  94. package/src/builders/karma/find-tests-plugin.js +59 -0
  95. package/src/builders/karma/find-tests-plugin.js.map +1 -0
  96. package/src/builders/karma/index.d.ts +26 -0
  97. package/src/builders/karma/index.js +183 -0
  98. package/src/builders/karma/index.js.map +1 -0
  99. package/src/builders/karma/schema.d.ts +218 -0
  100. package/src/builders/karma/schema.js +26 -0
  101. package/src/builders/karma/schema.js.map +1 -0
  102. package/src/builders/karma/schema.json +324 -0
  103. package/src/builders/ng-packagr/index.d.ts +17 -0
  104. package/src/builders/ng-packagr/index.js +80 -0
  105. package/src/builders/ng-packagr/index.js.map +1 -0
  106. package/src/builders/ng-packagr/schema.d.ts +21 -0
  107. package/src/builders/ng-packagr/schema.js +5 -0
  108. package/src/builders/ng-packagr/schema.js.map +1 -0
  109. package/src/builders/ng-packagr/schema.json +27 -0
  110. package/src/builders/prerender/index.d.ts +19 -0
  111. package/src/builders/prerender/index.js +242 -0
  112. package/src/builders/prerender/index.js.map +1 -0
  113. package/src/builders/prerender/render-worker.d.ts +30 -0
  114. package/src/builders/prerender/render-worker.js +141 -0
  115. package/src/builders/prerender/render-worker.js.map +1 -0
  116. package/src/builders/prerender/routes-extractor-worker.d.ts +20 -0
  117. package/src/builders/prerender/routes-extractor-worker.js +84 -0
  118. package/src/builders/prerender/routes-extractor-worker.js.map +1 -0
  119. package/src/builders/prerender/schema.d.ts +24 -0
  120. package/src/builders/prerender/schema.js +5 -0
  121. package/src/builders/prerender/schema.js.map +1 -0
  122. package/src/builders/prerender/schema.json +39 -0
  123. package/src/builders/protractor/index.d.ts +16 -0
  124. package/src/builders/protractor/index.js +177 -0
  125. package/src/builders/protractor/index.js.map +1 -0
  126. package/src/builders/protractor/schema.d.ts +47 -0
  127. package/src/builders/protractor/schema.js +5 -0
  128. package/src/builders/protractor/schema.js.map +1 -0
  129. package/src/builders/protractor/schema.json +58 -0
  130. package/src/builders/protractor-error/index.d.ts +10 -0
  131. package/src/builders/protractor-error/index.js +15 -0
  132. package/src/builders/protractor-error/index.js.map +1 -0
  133. package/src/builders/server/index.d.ts +32 -0
  134. package/src/builders/server/index.js +223 -0
  135. package/src/builders/server/index.js.map +1 -0
  136. package/src/builders/server/platform-server-exports-loader.d.ts +16 -0
  137. package/src/builders/server/platform-server-exports-loader.js +35 -0
  138. package/src/builders/server/platform-server-exports-loader.js.map +1 -0
  139. package/src/builders/server/schema.d.ts +229 -0
  140. package/src/builders/server/schema.js +37 -0
  141. package/src/builders/server/schema.js.map +1 -0
  142. package/src/builders/server/schema.json +301 -0
  143. package/src/builders/ssr-dev-server/index.d.ts +23 -0
  144. package/src/builders/ssr-dev-server/index.js +316 -0
  145. package/src/builders/ssr-dev-server/index.js.map +1 -0
  146. package/src/builders/ssr-dev-server/schema.d.ts +64 -0
  147. package/src/builders/ssr-dev-server/schema.js +5 -0
  148. package/src/builders/ssr-dev-server/schema.js.map +1 -0
  149. package/src/builders/ssr-dev-server/schema.json +75 -0
  150. package/src/builders/ssr-dev-server/utils.d.ts +15 -0
  151. package/src/builders/ssr-dev-server/utils.js +74 -0
  152. package/src/builders/ssr-dev-server/utils.js.map +1 -0
  153. package/src/builders/web-test-runner/builder-status-warnings.d.ts +11 -0
  154. package/src/builders/web-test-runner/builder-status-warnings.js +46 -0
  155. package/src/builders/web-test-runner/builder-status-warnings.js.map +1 -0
  156. package/src/builders/web-test-runner/index.d.ts +10 -0
  157. package/src/builders/web-test-runner/index.js +162 -0
  158. package/src/builders/web-test-runner/index.js.map +1 -0
  159. package/src/builders/web-test-runner/jasmine_runner.js +91 -0
  160. package/src/builders/web-test-runner/options.d.ts +24 -0
  161. package/src/builders/web-test-runner/options.js +26 -0
  162. package/src/builders/web-test-runner/options.js.map +1 -0
  163. package/src/builders/web-test-runner/schema.d.ts +192 -0
  164. package/src/builders/web-test-runner/schema.js +16 -0
  165. package/src/builders/web-test-runner/schema.js.map +1 -0
  166. package/src/builders/web-test-runner/schema.json +297 -0
  167. package/src/builders/web-test-runner/test_page.html +40 -0
  168. package/src/builders/web-test-runner/write-test-files.d.ts +9 -0
  169. package/src/builders/web-test-runner/write-test-files.js +42 -0
  170. package/src/builders/web-test-runner/write-test-files.js.map +1 -0
  171. package/src/index.d.ts +30 -0
  172. package/src/index.js +55 -0
  173. package/src/index.js.map +1 -0
  174. package/src/tools/babel/babel-loader.d.ts +34 -0
  175. package/src/tools/babel/plugins/add-code-coverage.d.ts +14 -0
  176. package/src/tools/babel/plugins/add-code-coverage.js +45 -0
  177. package/src/tools/babel/plugins/add-code-coverage.js.map +1 -0
  178. package/src/tools/babel/plugins/types.d.ts +20 -0
  179. package/src/tools/babel/presets/application.d.ts +50 -0
  180. package/src/tools/babel/presets/application.js +189 -0
  181. package/src/tools/babel/presets/application.js.map +1 -0
  182. package/src/tools/babel/webpack-loader.d.ts +18 -0
  183. package/src/tools/babel/webpack-loader.js +201 -0
  184. package/src/tools/babel/webpack-loader.js.map +1 -0
  185. package/src/tools/webpack/configs/common.d.ts +10 -0
  186. package/src/tools/webpack/configs/common.js +433 -0
  187. package/src/tools/webpack/configs/common.js.map +1 -0
  188. package/src/tools/webpack/configs/dev-server.d.ts +16 -0
  189. package/src/tools/webpack/configs/dev-server.js +313 -0
  190. package/src/tools/webpack/configs/dev-server.js.map +1 -0
  191. package/src/tools/webpack/configs/index.d.ts +10 -0
  192. package/src/tools/webpack/configs/index.js +27 -0
  193. package/src/tools/webpack/configs/index.js.map +1 -0
  194. package/src/tools/webpack/configs/styles.d.ts +10 -0
  195. package/src/tools/webpack/configs/styles.js +384 -0
  196. package/src/tools/webpack/configs/styles.js.map +1 -0
  197. package/src/tools/webpack/plugins/any-component-style-budget-checker.d.ts +18 -0
  198. package/src/tools/webpack/plugins/any-component-style-budget-checker.js +100 -0
  199. package/src/tools/webpack/plugins/any-component-style-budget-checker.js.map +1 -0
  200. package/src/tools/webpack/plugins/builder-watch-plugin.d.ts +23 -0
  201. package/src/tools/webpack/plugins/builder-watch-plugin.js +102 -0
  202. package/src/tools/webpack/plugins/builder-watch-plugin.js.map +1 -0
  203. package/src/tools/webpack/plugins/common-js-usage-warn-plugin.d.ts +21 -0
  204. package/src/tools/webpack/plugins/common-js-usage-warn-plugin.js +126 -0
  205. package/src/tools/webpack/plugins/common-js-usage-warn-plugin.js.map +1 -0
  206. package/src/tools/webpack/plugins/css-optimizer-plugin.d.ts +35 -0
  207. package/src/tools/webpack/plugins/css-optimizer-plugin.js +124 -0
  208. package/src/tools/webpack/plugins/css-optimizer-plugin.js.map +1 -0
  209. package/src/tools/webpack/plugins/dedupe-module-resolve-plugin.d.ts +29 -0
  210. package/src/tools/webpack/plugins/dedupe-module-resolve-plugin.js +76 -0
  211. package/src/tools/webpack/plugins/dedupe-module-resolve-plugin.js.map +1 -0
  212. package/src/tools/webpack/plugins/devtools-ignore-plugin.d.ts +16 -0
  213. package/src/tools/webpack/plugins/devtools-ignore-plugin.js +57 -0
  214. package/src/tools/webpack/plugins/devtools-ignore-plugin.js.map +1 -0
  215. package/src/tools/webpack/plugins/esbuild-executor.d.ts +46 -0
  216. package/src/tools/webpack/plugins/esbuild-executor.js +134 -0
  217. package/src/tools/webpack/plugins/esbuild-executor.js.map +1 -0
  218. package/src/tools/webpack/plugins/hmr/hmr-accept.d.ts +8 -0
  219. package/src/tools/webpack/plugins/hmr/hmr-accept.js +185 -0
  220. package/src/tools/webpack/plugins/hmr/hmr-accept.js.map +1 -0
  221. package/src/tools/webpack/plugins/hmr/hmr-loader.d.ts +9 -0
  222. package/src/tools/webpack/plugins/hmr/hmr-loader.js +25 -0
  223. package/src/tools/webpack/plugins/hmr/hmr-loader.js.map +1 -0
  224. package/src/tools/webpack/plugins/index-html-webpack-plugin.d.ts +20 -0
  225. package/src/tools/webpack/plugins/index-html-webpack-plugin.js +88 -0
  226. package/src/tools/webpack/plugins/index-html-webpack-plugin.js.map +1 -0
  227. package/src/tools/webpack/plugins/index.d.ts +16 -0
  228. package/src/tools/webpack/plugins/index.js +33 -0
  229. package/src/tools/webpack/plugins/index.js.map +1 -0
  230. package/src/tools/webpack/plugins/javascript-optimizer-plugin.d.ts +59 -0
  231. package/src/tools/webpack/plugins/javascript-optimizer-plugin.js +168 -0
  232. package/src/tools/webpack/plugins/javascript-optimizer-plugin.js.map +1 -0
  233. package/src/tools/webpack/plugins/javascript-optimizer-worker.d.ts +91 -0
  234. package/src/tools/webpack/plugins/javascript-optimizer-worker.js +135 -0
  235. package/src/tools/webpack/plugins/javascript-optimizer-worker.js.map +1 -0
  236. package/src/tools/webpack/plugins/json-stats-plugin.d.ts +13 -0
  237. package/src/tools/webpack/plugins/json-stats-plugin.js +71 -0
  238. package/src/tools/webpack/plugins/json-stats-plugin.js.map +1 -0
  239. package/src/tools/webpack/plugins/karma/karma-context.html +44 -0
  240. package/src/tools/webpack/plugins/karma/karma-debug.html +46 -0
  241. package/src/tools/webpack/plugins/karma/karma.d.ts +8 -0
  242. package/src/tools/webpack/plugins/karma/karma.js +196 -0
  243. package/src/tools/webpack/plugins/karma/karma.js.map +1 -0
  244. package/src/tools/webpack/plugins/named-chunks-plugin.d.ts +17 -0
  245. package/src/tools/webpack/plugins/named-chunks-plugin.js +59 -0
  246. package/src/tools/webpack/plugins/named-chunks-plugin.js.map +1 -0
  247. package/src/tools/webpack/plugins/occurrences-plugin.d.ts +18 -0
  248. package/src/tools/webpack/plugins/occurrences-plugin.js +81 -0
  249. package/src/tools/webpack/plugins/occurrences-plugin.js.map +1 -0
  250. package/src/tools/webpack/plugins/postcss-cli-resources.d.ts +21 -0
  251. package/src/tools/webpack/plugins/postcss-cli-resources.js +189 -0
  252. package/src/tools/webpack/plugins/postcss-cli-resources.js.map +1 -0
  253. package/src/tools/webpack/plugins/progress-plugin.d.ts +11 -0
  254. package/src/tools/webpack/plugins/progress-plugin.js +39 -0
  255. package/src/tools/webpack/plugins/progress-plugin.js.map +1 -0
  256. package/src/tools/webpack/plugins/remove-hash-plugin.d.ts +18 -0
  257. package/src/tools/webpack/plugins/remove-hash-plugin.js +32 -0
  258. package/src/tools/webpack/plugins/remove-hash-plugin.js.map +1 -0
  259. package/src/tools/webpack/plugins/scripts-webpack-plugin.d.ts +24 -0
  260. package/src/tools/webpack/plugins/scripts-webpack-plugin.js +196 -0
  261. package/src/tools/webpack/plugins/scripts-webpack-plugin.js.map +1 -0
  262. package/src/tools/webpack/plugins/service-worker-plugin.d.ts +19 -0
  263. package/src/tools/webpack/plugins/service-worker-plugin.js +47 -0
  264. package/src/tools/webpack/plugins/service-worker-plugin.js.map +1 -0
  265. package/src/tools/webpack/plugins/styles-webpack-plugin.d.ts +19 -0
  266. package/src/tools/webpack/plugins/styles-webpack-plugin.js +74 -0
  267. package/src/tools/webpack/plugins/styles-webpack-plugin.js.map +1 -0
  268. package/src/tools/webpack/plugins/suppress-entry-chunks-webpack-plugin.d.ts +14 -0
  269. package/src/tools/webpack/plugins/suppress-entry-chunks-webpack-plugin.js +52 -0
  270. package/src/tools/webpack/plugins/suppress-entry-chunks-webpack-plugin.js.map +1 -0
  271. package/src/tools/webpack/plugins/transfer-size-plugin.d.ts +12 -0
  272. package/src/tools/webpack/plugins/transfer-size-plugin.js +50 -0
  273. package/src/tools/webpack/plugins/transfer-size-plugin.js.map +1 -0
  274. package/src/tools/webpack/plugins/typescript.d.ts +10 -0
  275. package/src/tools/webpack/plugins/typescript.js +53 -0
  276. package/src/tools/webpack/plugins/typescript.js.map +1 -0
  277. package/src/tools/webpack/plugins/watch-files-logs-plugin.d.ts +11 -0
  278. package/src/tools/webpack/plugins/watch-files-logs-plugin.js +28 -0
  279. package/src/tools/webpack/plugins/watch-files-logs-plugin.js.map +1 -0
  280. package/src/tools/webpack/utils/async-chunks.d.ts +16 -0
  281. package/src/tools/webpack/utils/async-chunks.js +45 -0
  282. package/src/tools/webpack/utils/async-chunks.js.map +1 -0
  283. package/src/tools/webpack/utils/helpers.d.ts +43 -0
  284. package/src/tools/webpack/utils/helpers.js +301 -0
  285. package/src/tools/webpack/utils/helpers.js.map +1 -0
  286. package/src/tools/webpack/utils/stats.d.ts +32 -0
  287. package/src/tools/webpack/utils/stats.js +301 -0
  288. package/src/tools/webpack/utils/stats.js.map +1 -0
  289. package/src/transforms.d.ts +8 -0
  290. package/src/transforms.js +10 -0
  291. package/src/transforms.js.map +1 -0
  292. package/src/utils/action-executor.d.ts +35 -0
  293. package/src/utils/action-executor.js +61 -0
  294. package/src/utils/action-executor.js.map +1 -0
  295. package/src/utils/build-options.d.ts +75 -0
  296. package/src/utils/build-options.js +10 -0
  297. package/src/utils/build-options.js.map +1 -0
  298. package/src/utils/bundle-inline-options.d.ts +15 -0
  299. package/src/utils/bundle-inline-options.js +10 -0
  300. package/src/utils/bundle-inline-options.js.map +1 -0
  301. package/src/utils/color.d.ts +10 -0
  302. package/src/utils/color.js +74 -0
  303. package/src/utils/color.js.map +1 -0
  304. package/src/utils/copy-assets.d.ts +18 -0
  305. package/src/utils/copy-assets.js +51 -0
  306. package/src/utils/copy-assets.js.map +1 -0
  307. package/src/utils/default-progress.d.ts +8 -0
  308. package/src/utils/default-progress.js +17 -0
  309. package/src/utils/default-progress.js.map +1 -0
  310. package/src/utils/environment-options.d.ts +16 -0
  311. package/src/utils/environment-options.js +83 -0
  312. package/src/utils/environment-options.js.map +1 -0
  313. package/src/utils/error.d.ts +10 -0
  314. package/src/utils/error.js +21 -0
  315. package/src/utils/error.js.map +1 -0
  316. package/src/utils/i18n-inlining.d.ts +11 -0
  317. package/src/utils/i18n-inlining.js +131 -0
  318. package/src/utils/i18n-inlining.js.map +1 -0
  319. package/src/utils/i18n-webpack.d.ts +16 -0
  320. package/src/utils/i18n-webpack.js +108 -0
  321. package/src/utils/i18n-webpack.js.map +1 -0
  322. package/src/utils/index.d.ts +16 -0
  323. package/src/utils/index.js +36 -0
  324. package/src/utils/index.js.map +1 -0
  325. package/src/utils/load-esm.d.ts +20 -0
  326. package/src/utils/load-esm.js +31 -0
  327. package/src/utils/load-esm.js.map +1 -0
  328. package/src/utils/normalize-asset-patterns.d.ts +14 -0
  329. package/src/utils/normalize-asset-patterns.js +107 -0
  330. package/src/utils/normalize-asset-patterns.js.map +1 -0
  331. package/src/utils/normalize-builder-schema.d.ts +23 -0
  332. package/src/utils/normalize-builder-schema.js +44 -0
  333. package/src/utils/normalize-builder-schema.js.map +1 -0
  334. package/src/utils/normalize-cache.d.ts +16 -0
  335. package/src/utils/normalize-cache.js +44 -0
  336. package/src/utils/normalize-cache.js.map +1 -0
  337. package/src/utils/normalize-file-replacements.d.ts +16 -0
  338. package/src/utils/normalize-file-replacements.js +87 -0
  339. package/src/utils/normalize-file-replacements.js.map +1 -0
  340. package/src/utils/normalize-optimization.d.ts +13 -0
  341. package/src/utils/normalize-optimization.js +40 -0
  342. package/src/utils/normalize-optimization.js.map +1 -0
  343. package/src/utils/normalize-polyfills.d.ts +8 -0
  344. package/src/utils/normalize-polyfills.js +24 -0
  345. package/src/utils/normalize-polyfills.js.map +1 -0
  346. package/src/utils/normalize-source-maps.d.ts +9 -0
  347. package/src/utils/normalize-source-maps.js +23 -0
  348. package/src/utils/normalize-source-maps.js.map +1 -0
  349. package/src/utils/output-paths.d.ts +9 -0
  350. package/src/utils/output-paths.js +27 -0
  351. package/src/utils/output-paths.js.map +1 -0
  352. package/src/utils/package-chunk-sort.d.ts +14 -0
  353. package/src/utils/package-chunk-sort.js +35 -0
  354. package/src/utils/package-chunk-sort.js.map +1 -0
  355. package/src/utils/package-version.d.ts +8 -0
  356. package/src/utils/package-version.js +12 -0
  357. package/src/utils/package-version.js.map +1 -0
  358. package/src/utils/process-bundle.d.ts +22 -0
  359. package/src/utils/process-bundle.js +315 -0
  360. package/src/utils/process-bundle.js.map +1 -0
  361. package/src/utils/read-tsconfig.d.ts +16 -0
  362. package/src/utils/read-tsconfig.js +61 -0
  363. package/src/utils/read-tsconfig.js.map +1 -0
  364. package/src/utils/run-module-as-observable-fork.d.ts +10 -0
  365. package/src/utils/run-module-as-observable-fork.js +78 -0
  366. package/src/utils/run-module-as-observable-fork.js.map +1 -0
  367. package/src/utils/run-module-worker.js +18 -0
  368. package/src/utils/spinner.d.ts +20 -0
  369. package/src/utils/spinner.js +56 -0
  370. package/src/utils/spinner.js.map +1 -0
  371. package/src/utils/test-files.d.ts +18 -0
  372. package/src/utils/test-files.js +32 -0
  373. package/src/utils/test-files.js.map +1 -0
  374. package/src/utils/tty.d.ts +8 -0
  375. package/src/utils/tty.js +23 -0
  376. package/src/utils/tty.js.map +1 -0
  377. package/src/utils/url.d.ts +8 -0
  378. package/src/utils/url.js +18 -0
  379. package/src/utils/url.js.map +1 -0
  380. package/src/utils/webpack-browser-config.d.ts +29 -0
  381. package/src/utils/webpack-browser-config.js +161 -0
  382. package/src/utils/webpack-browser-config.js.map +1 -0
  383. package/src/utils/webpack-diagnostics.d.ts +10 -0
  384. package/src/utils/webpack-diagnostics.js +18 -0
  385. package/src/utils/webpack-diagnostics.js.map +1 -0
@@ -0,0 +1,16 @@
1
+ /**
2
+ * @license
3
+ * Copyright Google LLC All Rights Reserved.
4
+ *
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.dev/license
7
+ */
8
+ /**
9
+ * This loader is needed to add additional exports and is a workaround for a Webpack bug that doesn't
10
+ * allow exports from multiple files in the same entry.
11
+ * @see https://github.com/webpack/webpack/issues/15936.
12
+ */
13
+ export default function (this: import('webpack').LoaderContext<{
14
+ angularSSRInstalled: boolean;
15
+ isZoneJsInstalled: boolean;
16
+ }>, content: string, map: Parameters<import('webpack').LoaderDefinitionFunction>[1]): void;
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ /**
3
+ * @license
4
+ * Copyright Google LLC All Rights Reserved.
5
+ *
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.dev/license
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.default = default_1;
11
+ /**
12
+ * This loader is needed to add additional exports and is a workaround for a Webpack bug that doesn't
13
+ * allow exports from multiple files in the same entry.
14
+ * @see https://github.com/webpack/webpack/issues/15936.
15
+ */
16
+ function default_1(content, map) {
17
+ const { angularSSRInstalled, isZoneJsInstalled } = this.getOptions();
18
+ let source = `${content}
19
+
20
+ // EXPORTS added by @angular-devkit/build-angular
21
+ export { renderApplication, renderModule, ɵSERVER_CONTEXT } from '@angular/platform-server';
22
+ `;
23
+ if (angularSSRInstalled) {
24
+ source += `
25
+ export { ɵgetRoutesFromAngularRouterConfig } from '@angular/ssr';
26
+ `;
27
+ }
28
+ if (isZoneJsInstalled) {
29
+ source = `import 'zone.js/node';
30
+ ${source}`;
31
+ }
32
+ this.callback(null, source, map);
33
+ return;
34
+ }
35
+ //# sourceMappingURL=platform-server-exports-loader.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"platform-server-exports-loader.js","sourceRoot":"","sources":["platform-server-exports-loader.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAOH,4BA8BC;AAnCD;;;;GAIG;AACH,mBAKE,OAAe,EACf,GAA8D;IAE9D,MAAM,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,GAAG,IAAI,CAAC,UAAU,EAAE,CAAC;IAErE,IAAI,MAAM,GAAG,GAAG,OAAO;;;;GAItB,CAAC;IAEF,IAAI,mBAAmB,EAAE,CAAC;QACxB,MAAM,IAAI;;KAET,CAAC;IACJ,CAAC;IAED,IAAI,iBAAiB,EAAE,CAAC;QACtB,MAAM,GAAG;MACP,MAAM,EAAE,CAAC;IACb,CAAC;IAED,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,CAAC,CAAC;IAEjC,OAAO;AACT,CAAC"}
@@ -0,0 +1,229 @@
1
+ export type Schema = {
2
+ /**
3
+ * List of static application assets.
4
+ */
5
+ assets?: AssetPattern[];
6
+ /**
7
+ * Enables advanced build optimizations.
8
+ */
9
+ buildOptimizer?: boolean;
10
+ /**
11
+ * Delete the output path before building.
12
+ */
13
+ deleteOutputPath?: boolean;
14
+ /**
15
+ * Customize the base path for the URLs of resources in 'index.html' and component
16
+ * stylesheets. This option is only necessary for specific deployment scenarios, such as
17
+ * with Angular Elements or when utilizing different CDN locations.
18
+ */
19
+ deployUrl?: string;
20
+ /**
21
+ * Exclude the listed external dependencies from being bundled into the bundle. Instead, the
22
+ * created bundle relies on these dependencies to be available during runtime.
23
+ */
24
+ externalDependencies?: string[];
25
+ /**
26
+ * Extract all licenses in a separate file, in the case of production builds only.
27
+ */
28
+ extractLicenses?: boolean;
29
+ /**
30
+ * Replace compilation source files with other compilation source files in the build.
31
+ */
32
+ fileReplacements?: FileReplacement[];
33
+ /**
34
+ * How to handle duplicate translations for i18n.
35
+ */
36
+ i18nDuplicateTranslation?: I18NTranslation;
37
+ /**
38
+ * How to handle missing translations for i18n.
39
+ */
40
+ i18nMissingTranslation?: I18NTranslation;
41
+ /**
42
+ * The stylesheet language to use for the application's inline component styles.
43
+ */
44
+ inlineStyleLanguage?: InlineStyleLanguage;
45
+ /**
46
+ * Translate the bundles in one or more locales.
47
+ */
48
+ localize?: Localize;
49
+ /**
50
+ * The name of the main entry-point file.
51
+ */
52
+ main: string;
53
+ /**
54
+ * Use file name for lazy loaded chunks.
55
+ */
56
+ namedChunks?: boolean;
57
+ /**
58
+ * Enables optimization of the build output. Including minification of scripts and styles,
59
+ * tree-shaking and dead-code elimination. For more information, see
60
+ * https://angular.dev/reference/configs/workspace-config#optimization-configuration.
61
+ */
62
+ optimization?: OptimizationUnion;
63
+ /**
64
+ * Define the output filename cache-busting hashing mode.
65
+ */
66
+ outputHashing?: OutputHashing;
67
+ /**
68
+ * Path where output will be placed.
69
+ */
70
+ outputPath: string;
71
+ /**
72
+ * Enable and define the file watching poll time period in milliseconds.
73
+ */
74
+ poll?: number;
75
+ /**
76
+ * Do not use the real path when resolving modules. If unset then will default to `true` if
77
+ * NodeJS option --preserve-symlinks is set.
78
+ */
79
+ preserveSymlinks?: boolean;
80
+ /**
81
+ * Log progress to the console while building.
82
+ */
83
+ progress?: boolean;
84
+ /**
85
+ * The path where style resources will be placed, relative to outputPath.
86
+ */
87
+ resourcesOutputPath?: string;
88
+ /**
89
+ * Output source maps for scripts and styles. For more information, see
90
+ * https://angular.dev/reference/configs/workspace-config#source-map-configuration.
91
+ */
92
+ sourceMap?: SourceMapUnion;
93
+ /**
94
+ * Generates a 'stats.json' file which can be analyzed using tools such as
95
+ * 'webpack-bundle-analyzer'.
96
+ */
97
+ statsJson?: boolean;
98
+ /**
99
+ * Options to pass to style preprocessors
100
+ */
101
+ stylePreprocessorOptions?: StylePreprocessorOptions;
102
+ /**
103
+ * The name of the TypeScript configuration file.
104
+ */
105
+ tsConfig: string;
106
+ /**
107
+ * Generate a seperate bundle containing only vendor libraries. This option should only be
108
+ * used for development to reduce the incremental compilation time.
109
+ */
110
+ vendorChunk?: boolean;
111
+ /**
112
+ * Adds more details to output logging.
113
+ */
114
+ verbose?: boolean;
115
+ /**
116
+ * Run build when files change.
117
+ */
118
+ watch?: boolean;
119
+ };
120
+ export type AssetPattern = AssetPatternClass | string;
121
+ export type AssetPatternClass = {
122
+ /**
123
+ * Allow glob patterns to follow symlink directories. This allows subdirectories of the
124
+ * symlink to be searched.
125
+ */
126
+ followSymlinks?: boolean;
127
+ /**
128
+ * The pattern to match.
129
+ */
130
+ glob: string;
131
+ /**
132
+ * An array of globs to ignore.
133
+ */
134
+ ignore?: string[];
135
+ /**
136
+ * The input directory path in which to apply 'glob'. Defaults to the project root.
137
+ */
138
+ input: string;
139
+ /**
140
+ * Absolute path within the output.
141
+ */
142
+ output?: string;
143
+ };
144
+ export type FileReplacement = {
145
+ replace?: string;
146
+ replaceWith?: string;
147
+ src?: string;
148
+ with?: string;
149
+ };
150
+ /**
151
+ * How to handle duplicate translations for i18n.
152
+ *
153
+ * How to handle missing translations for i18n.
154
+ */
155
+ export declare enum I18NTranslation {
156
+ Error = "error",
157
+ Ignore = "ignore",
158
+ Warning = "warning"
159
+ }
160
+ /**
161
+ * The stylesheet language to use for the application's inline component styles.
162
+ */
163
+ export declare enum InlineStyleLanguage {
164
+ Css = "css",
165
+ Less = "less",
166
+ Sass = "sass",
167
+ Scss = "scss"
168
+ }
169
+ /**
170
+ * Translate the bundles in one or more locales.
171
+ */
172
+ export type Localize = string[] | boolean;
173
+ /**
174
+ * Enables optimization of the build output. Including minification of scripts and styles,
175
+ * tree-shaking and dead-code elimination. For more information, see
176
+ * https://angular.dev/reference/configs/workspace-config#optimization-configuration.
177
+ */
178
+ export type OptimizationUnion = boolean | OptimizationClass;
179
+ export type OptimizationClass = {
180
+ /**
181
+ * Enables optimization of the scripts output.
182
+ */
183
+ scripts?: boolean;
184
+ /**
185
+ * Enables optimization of the styles output.
186
+ */
187
+ styles?: boolean;
188
+ };
189
+ /**
190
+ * Define the output filename cache-busting hashing mode.
191
+ */
192
+ export declare enum OutputHashing {
193
+ All = "all",
194
+ Bundles = "bundles",
195
+ Media = "media",
196
+ None = "none"
197
+ }
198
+ /**
199
+ * Output source maps for scripts and styles. For more information, see
200
+ * https://angular.dev/reference/configs/workspace-config#source-map-configuration.
201
+ */
202
+ export type SourceMapUnion = boolean | SourceMapClass;
203
+ export type SourceMapClass = {
204
+ /**
205
+ * Output source maps used for error reporting tools.
206
+ */
207
+ hidden?: boolean;
208
+ /**
209
+ * Output source maps for all scripts.
210
+ */
211
+ scripts?: boolean;
212
+ /**
213
+ * Output source maps for all styles.
214
+ */
215
+ styles?: boolean;
216
+ /**
217
+ * Resolve vendor packages source maps.
218
+ */
219
+ vendor?: boolean;
220
+ };
221
+ /**
222
+ * Options to pass to style preprocessors
223
+ */
224
+ export type StylePreprocessorOptions = {
225
+ /**
226
+ * Paths to include. Paths will be resolved to workspace root.
227
+ */
228
+ includePaths?: string[];
229
+ };
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ // THIS FILE IS AUTOMATICALLY GENERATED. TO UPDATE THIS FILE YOU NEED TO CHANGE THE
3
+ // CORRESPONDING JSON SCHEMA FILE, THEN RUN devkit-admin build (or bazel build ...).
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.OutputHashing = exports.InlineStyleLanguage = exports.I18NTranslation = void 0;
6
+ /**
7
+ * How to handle duplicate translations for i18n.
8
+ *
9
+ * How to handle missing translations for i18n.
10
+ */
11
+ var I18NTranslation;
12
+ (function (I18NTranslation) {
13
+ I18NTranslation["Error"] = "error";
14
+ I18NTranslation["Ignore"] = "ignore";
15
+ I18NTranslation["Warning"] = "warning";
16
+ })(I18NTranslation || (exports.I18NTranslation = I18NTranslation = {}));
17
+ /**
18
+ * The stylesheet language to use for the application's inline component styles.
19
+ */
20
+ var InlineStyleLanguage;
21
+ (function (InlineStyleLanguage) {
22
+ InlineStyleLanguage["Css"] = "css";
23
+ InlineStyleLanguage["Less"] = "less";
24
+ InlineStyleLanguage["Sass"] = "sass";
25
+ InlineStyleLanguage["Scss"] = "scss";
26
+ })(InlineStyleLanguage || (exports.InlineStyleLanguage = InlineStyleLanguage = {}));
27
+ /**
28
+ * Define the output filename cache-busting hashing mode.
29
+ */
30
+ var OutputHashing;
31
+ (function (OutputHashing) {
32
+ OutputHashing["All"] = "all";
33
+ OutputHashing["Bundles"] = "bundles";
34
+ OutputHashing["Media"] = "media";
35
+ OutputHashing["None"] = "none";
36
+ })(OutputHashing || (exports.OutputHashing = OutputHashing = {}));
37
+ //# sourceMappingURL=schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.js","sourceRoot":"","sources":["schema.ts"],"names":[],"mappings":";AACA,mFAAmF;AACnF,oFAAoF;;;AA2JpF;;;;GAIG;AACH,IAAY,eAIX;AAJD,WAAY,eAAe;IACvB,kCAAe,CAAA;IACf,oCAAiB,CAAA;IACjB,sCAAmB,CAAA;AACvB,CAAC,EAJW,eAAe,+BAAf,eAAe,QAI1B;AAED;;GAEG;AACH,IAAY,mBAKX;AALD,WAAY,mBAAmB;IAC3B,kCAAW,CAAA;IACX,oCAAa,CAAA;IACb,oCAAa,CAAA;IACb,oCAAa,CAAA;AACjB,CAAC,EALW,mBAAmB,mCAAnB,mBAAmB,QAK9B;AAyBD;;GAEG;AACH,IAAY,aAKX;AALD,WAAY,aAAa;IACrB,4BAAW,CAAA;IACX,oCAAmB,CAAA;IACnB,gCAAe,CAAA;IACf,8BAAa,CAAA;AACjB,CAAC,EALW,aAAa,6BAAb,aAAa,QAKxB"}
@@ -0,0 +1,301 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema",
3
+ "$id": "BuildAngularWebpackServerSchema",
4
+ "title": "Universal Target",
5
+ "type": "object",
6
+ "properties": {
7
+ "assets": {
8
+ "type": "array",
9
+ "description": "List of static application assets.",
10
+ "default": [],
11
+ "items": {
12
+ "$ref": "#/definitions/assetPattern"
13
+ }
14
+ },
15
+ "main": {
16
+ "type": "string",
17
+ "description": "The name of the main entry-point file."
18
+ },
19
+ "tsConfig": {
20
+ "type": "string",
21
+ "default": "tsconfig.app.json",
22
+ "description": "The name of the TypeScript configuration file."
23
+ },
24
+ "inlineStyleLanguage": {
25
+ "description": "The stylesheet language to use for the application's inline component styles.",
26
+ "type": "string",
27
+ "default": "css",
28
+ "enum": ["css", "less", "sass", "scss"]
29
+ },
30
+ "stylePreprocessorOptions": {
31
+ "description": "Options to pass to style preprocessors",
32
+ "type": "object",
33
+ "properties": {
34
+ "includePaths": {
35
+ "description": "Paths to include. Paths will be resolved to workspace root.",
36
+ "type": "array",
37
+ "items": {
38
+ "type": "string"
39
+ },
40
+ "default": []
41
+ }
42
+ },
43
+ "additionalProperties": false
44
+ },
45
+ "optimization": {
46
+ "description": "Enables optimization of the build output. Including minification of scripts and styles, tree-shaking and dead-code elimination. For more information, see https://angular.dev/reference/configs/workspace-config#optimization-configuration.",
47
+ "default": true,
48
+ "x-user-analytics": "ep.ng_optimization",
49
+ "oneOf": [
50
+ {
51
+ "type": "object",
52
+ "properties": {
53
+ "scripts": {
54
+ "type": "boolean",
55
+ "description": "Enables optimization of the scripts output.",
56
+ "default": true
57
+ },
58
+ "styles": {
59
+ "type": "boolean",
60
+ "description": "Enables optimization of the styles output.",
61
+ "default": true
62
+ }
63
+ },
64
+ "additionalProperties": false
65
+ },
66
+ {
67
+ "type": "boolean"
68
+ }
69
+ ]
70
+ },
71
+ "fileReplacements": {
72
+ "description": "Replace compilation source files with other compilation source files in the build.",
73
+ "type": "array",
74
+ "items": {
75
+ "$ref": "#/definitions/fileReplacement"
76
+ },
77
+ "default": []
78
+ },
79
+ "outputPath": {
80
+ "type": "string",
81
+ "description": "Path where output will be placed."
82
+ },
83
+ "resourcesOutputPath": {
84
+ "type": "string",
85
+ "description": "The path where style resources will be placed, relative to outputPath."
86
+ },
87
+ "sourceMap": {
88
+ "description": "Output source maps for scripts and styles. For more information, see https://angular.dev/reference/configs/workspace-config#source-map-configuration.",
89
+ "default": false,
90
+ "oneOf": [
91
+ {
92
+ "type": "object",
93
+ "properties": {
94
+ "scripts": {
95
+ "type": "boolean",
96
+ "description": "Output source maps for all scripts.",
97
+ "default": true
98
+ },
99
+ "styles": {
100
+ "type": "boolean",
101
+ "description": "Output source maps for all styles.",
102
+ "default": true
103
+ },
104
+ "hidden": {
105
+ "type": "boolean",
106
+ "description": "Output source maps used for error reporting tools.",
107
+ "default": false
108
+ },
109
+ "vendor": {
110
+ "type": "boolean",
111
+ "description": "Resolve vendor packages source maps.",
112
+ "default": false
113
+ }
114
+ },
115
+ "additionalProperties": false
116
+ },
117
+ {
118
+ "type": "boolean"
119
+ }
120
+ ]
121
+ },
122
+ "deployUrl": {
123
+ "type": "string",
124
+ "description": "Customize the base path for the URLs of resources in 'index.html' and component stylesheets. This option is only necessary for specific deployment scenarios, such as with Angular Elements or when utilizing different CDN locations."
125
+ },
126
+ "vendorChunk": {
127
+ "type": "boolean",
128
+ "description": "Generate a seperate bundle containing only vendor libraries. This option should only be used for development to reduce the incremental compilation time.",
129
+ "default": false
130
+ },
131
+ "verbose": {
132
+ "type": "boolean",
133
+ "description": "Adds more details to output logging.",
134
+ "default": false
135
+ },
136
+ "progress": {
137
+ "type": "boolean",
138
+ "description": "Log progress to the console while building.",
139
+ "default": true
140
+ },
141
+ "i18nMissingTranslation": {
142
+ "type": "string",
143
+ "description": "How to handle missing translations for i18n.",
144
+ "enum": ["warning", "error", "ignore"],
145
+ "default": "warning"
146
+ },
147
+ "i18nDuplicateTranslation": {
148
+ "type": "string",
149
+ "description": "How to handle duplicate translations for i18n.",
150
+ "enum": ["warning", "error", "ignore"],
151
+ "default": "warning"
152
+ },
153
+ "localize": {
154
+ "description": "Translate the bundles in one or more locales.",
155
+ "oneOf": [
156
+ {
157
+ "type": "boolean",
158
+ "description": "Translate all locales."
159
+ },
160
+ {
161
+ "type": "array",
162
+ "description": "List of locales ID's to translate.",
163
+ "minItems": 1,
164
+ "items": {
165
+ "type": "string",
166
+ "pattern": "^[a-zA-Z]{2,3}(-[a-zA-Z]{4})?(-([a-zA-Z]{2}|[0-9]{3}))?(-[a-zA-Z]{5,8})?(-x(-[a-zA-Z0-9]{1,8})+)?$"
167
+ }
168
+ }
169
+ ]
170
+ },
171
+ "outputHashing": {
172
+ "type": "string",
173
+ "description": "Define the output filename cache-busting hashing mode.",
174
+ "default": "none",
175
+ "enum": ["none", "all", "media", "bundles"]
176
+ },
177
+ "deleteOutputPath": {
178
+ "type": "boolean",
179
+ "description": "Delete the output path before building.",
180
+ "default": true
181
+ },
182
+ "preserveSymlinks": {
183
+ "type": "boolean",
184
+ "description": "Do not use the real path when resolving modules. If unset then will default to `true` if NodeJS option --preserve-symlinks is set."
185
+ },
186
+ "extractLicenses": {
187
+ "type": "boolean",
188
+ "description": "Extract all licenses in a separate file, in the case of production builds only.",
189
+ "default": true
190
+ },
191
+ "buildOptimizer": {
192
+ "type": "boolean",
193
+ "description": "Enables advanced build optimizations.",
194
+ "default": true
195
+ },
196
+ "namedChunks": {
197
+ "type": "boolean",
198
+ "description": "Use file name for lazy loaded chunks.",
199
+ "default": false
200
+ },
201
+ "externalDependencies": {
202
+ "description": "Exclude the listed external dependencies from being bundled into the bundle. Instead, the created bundle relies on these dependencies to be available during runtime.",
203
+ "type": "array",
204
+ "items": {
205
+ "type": "string"
206
+ },
207
+ "default": []
208
+ },
209
+ "statsJson": {
210
+ "type": "boolean",
211
+ "description": "Generates a 'stats.json' file which can be analyzed using tools such as 'webpack-bundle-analyzer'.",
212
+ "default": false
213
+ },
214
+ "watch": {
215
+ "type": "boolean",
216
+ "description": "Run build when files change.",
217
+ "default": false
218
+ },
219
+ "poll": {
220
+ "type": "number",
221
+ "description": "Enable and define the file watching poll time period in milliseconds."
222
+ }
223
+ },
224
+ "additionalProperties": false,
225
+ "required": ["outputPath", "main", "tsConfig"],
226
+ "definitions": {
227
+ "assetPattern": {
228
+ "oneOf": [
229
+ {
230
+ "type": "object",
231
+ "properties": {
232
+ "followSymlinks": {
233
+ "type": "boolean",
234
+ "default": false,
235
+ "description": "Allow glob patterns to follow symlink directories. This allows subdirectories of the symlink to be searched."
236
+ },
237
+ "glob": {
238
+ "type": "string",
239
+ "description": "The pattern to match."
240
+ },
241
+ "input": {
242
+ "type": "string",
243
+ "description": "The input directory path in which to apply 'glob'. Defaults to the project root."
244
+ },
245
+ "ignore": {
246
+ "description": "An array of globs to ignore.",
247
+ "type": "array",
248
+ "items": {
249
+ "type": "string"
250
+ }
251
+ },
252
+ "output": {
253
+ "type": "string",
254
+ "default": "",
255
+ "description": "Absolute path within the output."
256
+ }
257
+ },
258
+ "additionalProperties": false,
259
+ "required": ["glob", "input"]
260
+ },
261
+ {
262
+ "type": "string"
263
+ }
264
+ ]
265
+ },
266
+ "fileReplacement": {
267
+ "oneOf": [
268
+ {
269
+ "type": "object",
270
+ "properties": {
271
+ "src": {
272
+ "type": "string",
273
+ "pattern": "\\.(([cm]?[jt])sx?|json)$"
274
+ },
275
+ "replaceWith": {
276
+ "type": "string",
277
+ "pattern": "\\.(([cm]?[jt])sx?|json)$"
278
+ }
279
+ },
280
+ "additionalProperties": false,
281
+ "required": ["src", "replaceWith"]
282
+ },
283
+ {
284
+ "type": "object",
285
+ "properties": {
286
+ "replace": {
287
+ "type": "string",
288
+ "pattern": "\\.(([cm]?[jt])sx?|json)$"
289
+ },
290
+ "with": {
291
+ "type": "string",
292
+ "pattern": "\\.(([cm]?[jt])sx?|json)$"
293
+ }
294
+ },
295
+ "additionalProperties": false,
296
+ "required": ["replace", "with"]
297
+ }
298
+ ]
299
+ }
300
+ }
301
+ }
@@ -0,0 +1,23 @@
1
+ /**
2
+ * @license
3
+ * Copyright Google LLC All Rights Reserved.
4
+ *
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.dev/license
7
+ */
8
+ import { BuilderContext, BuilderOutput } from '@angular-devkit/architect';
9
+ import { json, logging } from '@angular-devkit/core';
10
+ import { Observable } from 'rxjs';
11
+ import { Schema } from './schema';
12
+ export type SSRDevServerBuilderOptions = Schema;
13
+ export type SSRDevServerBuilderOutput = BuilderOutput & {
14
+ baseUrl?: string;
15
+ port?: string;
16
+ };
17
+ export declare function execute(options: SSRDevServerBuilderOptions, context: BuilderContext): Observable<SSRDevServerBuilderOutput>;
18
+ export declare function log({ stderr, stdout }: {
19
+ stderr: string | undefined;
20
+ stdout: string | undefined;
21
+ }, logger: logging.LoggerApi): void;
22
+ declare const _default: import("@angular-devkit/architect").Builder<Schema & json.JsonObject>;
23
+ export default _default;