├── uniqueId ├── src ├── transforms.js.map ├── builders │ ├── jest │ │ ├── schema.js.map │ │ ├── schema.js │ │ ├── options.js.map │ │ ├── jest.config.mjs │ │ ├── index.d.ts │ │ ├── schema.d.ts │ │ ├── options.d.ts │ │ ├── jest-global.mjs │ │ ├── options.js │ │ ├── init-test-bed.mjs │ │ └── schema.json │ ├── app-shell │ │ ├── schema.js.map │ │ ├── schema.js │ │ ├── index.d.ts │ │ ├── render-worker.d.ts │ │ ├── schema.d.ts │ │ ├── render-worker.js.map │ │ └── schema.json │ ├── prerender │ │ ├── schema.js.map │ │ ├── schema.js │ │ ├── routes-extractor-worker.d.ts │ │ ├── schema.d.ts │ │ ├── index.d.ts │ │ ├── render-worker.d.ts │ │ ├── routes-extractor-worker.js.map │ │ └── schema.json │ ├── dev-server │ │ ├── schema.js.map │ │ ├── index.js.map │ │ ├── schema.js │ │ ├── index.d.ts │ │ ├── index.js │ │ └── webpack-server.d.ts │ ├── ng-packagr │ │ ├── schema.js.map │ │ ├── schema.js │ │ ├── schema.d.ts │ │ ├── index.d.ts │ │ ├── schema.json │ │ └── index.js.map │ ├── protractor │ │ ├── schema.js.map │ │ ├── schema.js │ │ ├── index.d.ts │ │ └── schema.d.ts │ ├── ssr-dev-server │ │ ├── schema.js.map │ │ ├── schema.js │ │ ├── utils.d.ts │ │ ├── index.d.ts │ │ └── schema.d.ts │ ├── extract-i18n │ │ ├── empty-loader.js.map │ │ ├── index.js.map │ │ ├── empty-loader.d.ts │ │ ├── empty-loader.js │ │ ├── schema.js.map │ │ ├── index.d.ts │ │ ├── ivy-extract-loader.d.ts │ │ ├── index.js │ │ ├── builder.d.ts │ │ ├── application-extraction.d.ts │ │ ├── webpack-extraction.d.ts │ │ ├── schema.js │ │ ├── schema.d.ts │ │ ├── schema.json │ │ ├── options.d.ts │ │ └── options.js.map │ ├── web-test-runner │ │ ├── schema.js.map │ │ ├── write-test-files.d.ts │ │ ├── index.d.ts │ │ ├── options.js.map │ │ ├── builder-status-warnings.d.ts │ │ ├── schema.js │ │ ├── builder-status-warnings.js.map │ │ ├── options.d.ts │ │ ├── options.js │ │ ├── write-test-files.js.map │ │ └── builder-status-warnings.js │ ├── protractor-error │ │ ├── index.js.map │ │ ├── index.d.ts │ │ └── index.js │ ├── karma │ │ ├── schema.js.map │ │ ├── find-tests-plugin.d.ts │ │ ├── browser_builder.d.ts │ │ ├── schema.js │ │ ├── index.d.ts │ │ └── find-tests-plugin.js.map │ ├── server │ │ ├── schema.js.map │ │ ├── platform-server-exports-loader.js.map │ │ ├── platform-server-exports-loader.d.ts │ │ ├── platform-server-exports-loader.js │ │ ├── index.d.ts │ │ └── schema.js │ ├── browser-esbuild │ │ ├── schema.js.map │ │ ├── index.js.map │ │ └── index.d.ts │ └── browser │ │ ├── schema.js.map │ │ └── index.d.ts ├── utils │ ├── build-options.js.map │ ├── bundle-inline-options.js.map │ ├── package-version.js.map │ ├── tty.d.ts │ ├── package-version.d.ts │ ├── index.js.map │ ├── url.d.ts │ ├── default-progress.js.map │ ├── load-esm.js.map │ ├── default-progress.d.ts │ ├── color.d.ts │ ├── error.d.ts │ ├── normalize-polyfills.d.ts │ ├── error.js.map │ ├── build-options.js │ ├── bundle-inline-options.js │ ├── url.js.map │ ├── output-paths.d.ts │ ├── normalize-source-maps.d.ts │ ├── package-version.js │ ├── webpack-diagnostics.js.map │ ├── webpack-diagnostics.d.ts │ ├── bundle-inline-options.d.ts │ ├── run-module-as-observable-fork.d.ts │ ├── tty.js.map │ ├── package-chunk-sort.d.ts │ ├── default-progress.js │ ├── copy-assets.d.ts │ ├── normalize-source-maps.js.map │ ├── test-files.js.map │ ├── normalize-polyfills.js.map │ ├── read-tsconfig.js.map │ ├── normalize-optimization.d.ts │ ├── spinner.d.ts │ ├── normalize-asset-patterns.d.ts │ ├── normalize-cache.d.ts │ ├── url.js │ ├── index.d.ts │ ├── run-module-worker.js │ ├── normalize-file-replacements.d.ts │ ├── process-bundle.d.ts │ ├── environment-options.d.ts │ ├── i18n-inlining.d.ts │ ├── read-tsconfig.d.ts │ ├── webpack-diagnostics.js │ ├── color.js.map │ ├── output-paths.js.map │ ├── i18n-webpack.d.ts │ ├── normalize-optimization.js.map │ ├── test-files.d.ts │ ├── tty.js │ ├── normalize-source-maps.js │ ├── error.js │ ├── normalize-polyfills.js │ ├── load-esm.d.ts │ ├── output-paths.js │ ├── action-executor.d.ts │ ├── spinner.js.map │ ├── normalize-cache.js.map │ ├── package-chunk-sort.js.map │ ├── normalize-builder-schema.d.ts │ ├── load-esm.js │ ├── normalize-builder-schema.js.map │ ├── test-files.js │ ├── normalize-optimization.js │ ├── normalize-file-replacements.js.map │ ├── action-executor.js.map │ ├── package-chunk-sort.js │ ├── copy-assets.js.map │ ├── normalize-cache.js │ ├── run-module-as-observable-fork.js.map │ └── spinner.js ├── tools │ ├── webpack │ │ ├── configs │ │ │ ├── index.js.map │ │ │ ├── index.d.ts │ │ │ ├── common.d.ts │ │ │ ├── styles.d.ts │ │ │ ├── dev-server.d.ts │ │ │ └── index.js │ │ ├── plugins │ │ │ ├── karma │ │ │ │ ├── karma.d.ts │ │ │ │ └── karma-context.html │ │ │ ├── hmr │ │ │ │ ├── hmr-accept.d.ts │ │ │ │ ├── hmr-loader.js.map │ │ │ │ ├── hmr-loader.d.ts │ │ │ │ └── hmr-loader.js │ │ │ ├── watch-files-logs-plugin.d.ts │ │ │ ├── transfer-size-plugin.d.ts │ │ │ ├── progress-plugin.d.ts │ │ │ ├── index.js.map │ │ │ ├── json-stats-plugin.d.ts │ │ │ ├── typescript.d.ts │ │ │ ├── suppress-entry-chunks-webpack-plugin.d.ts │ │ │ ├── occurrences-plugin.d.ts │ │ │ ├── remove-hash-plugin.d.ts │ │ │ ├── devtools-ignore-plugin.d.ts │ │ │ ├── service-worker-plugin.d.ts │ │ │ ├── styles-webpack-plugin.d.ts │ │ │ ├── any-component-style-budget-checker.d.ts │ │ │ ├── named-chunks-plugin.d.ts │ │ │ ├── watch-files-logs-plugin.js.map │ │ │ ├── postcss-cli-resources.d.ts │ │ │ ├── remove-hash-plugin.js.map │ │ │ ├── builder-watch-plugin.d.ts │ │ │ ├── common-js-usage-warn-plugin.d.ts │ │ │ ├── scripts-webpack-plugin.d.ts │ │ │ ├── progress-plugin.js.map │ │ │ ├── json-stats-plugin.js.map │ │ │ ├── index-html-webpack-plugin.d.ts │ │ │ ├── index.d.ts │ │ │ ├── service-worker-plugin.js.map │ │ │ ├── watch-files-logs-plugin.js │ │ │ ├── dedupe-module-resolve-plugin.d.ts │ │ │ ├── typescript.js.map │ │ │ ├── suppress-entry-chunks-webpack-plugin.js.map │ │ │ ├── remove-hash-plugin.js │ │ │ ├── css-optimizer-plugin.d.ts │ │ │ ├── named-chunks-plugin.js.map │ │ │ ├── devtools-ignore-plugin.js.map │ │ │ ├── transfer-size-plugin.js.map │ │ │ ├── progress-plugin.js │ │ │ ├── dedupe-module-resolve-plugin.js.map │ │ │ ├── esbuild-executor.js.map │ │ │ └── any-component-style-budget-checker.js.map │ │ └── utils │ │ │ ├── async-chunks.d.ts │ │ │ ├── async-chunks.js.map │ │ │ └── stats.d.ts │ └── babel │ │ ├── plugins │ │ ├── add-code-coverage.d.ts │ │ ├── types.d.ts │ │ ├── add-code-coverage.js.map │ │ └── add-code-coverage.js │ │ ├── webpack-loader.d.ts │ │ └── babel-loader.d.ts ├── transforms.d.ts ├── transforms.js ├── index.js.map └── index.d.ts ├── index.js.map ├── plugins ├── karma.js.map ├── karma.d.ts └── karma.js ├── index.d.ts ├── index.js └── LICENSE /uniqueId: -------------------------------------------------------------------------------- 1 | Tue Dec 16 2025 19:48:36 GMT+0000 (Coordinated Universal Time) -------------------------------------------------------------------------------- /src/transforms.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"transforms.js","sourceRoot":"","sources":["transforms.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG"} -------------------------------------------------------------------------------- /index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;;;;;;;;;;;;;AAEH,8CAA4B"} -------------------------------------------------------------------------------- /src/builders/jest/schema.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"schema.js","sourceRoot":"","sources":["schema.ts"],"names":[],"mappings":";AACA,mFAAmF;AACnF,oFAAoF"} -------------------------------------------------------------------------------- /src/builders/app-shell/schema.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"schema.js","sourceRoot":"","sources":["schema.ts"],"names":[],"mappings":";AACA,mFAAmF;AACnF,oFAAoF"} -------------------------------------------------------------------------------- /src/builders/prerender/schema.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"schema.js","sourceRoot":"","sources":["schema.ts"],"names":[],"mappings":";AACA,mFAAmF;AACnF,oFAAoF"} -------------------------------------------------------------------------------- /src/utils/build-options.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"build-options.js","sourceRoot":"","sources":["build-options.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG"} -------------------------------------------------------------------------------- /src/builders/dev-server/schema.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"schema.js","sourceRoot":"","sources":["schema.ts"],"names":[],"mappings":";AACA,mFAAmF;AACnF,oFAAoF"} -------------------------------------------------------------------------------- /src/builders/ng-packagr/schema.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"schema.js","sourceRoot":"","sources":["schema.ts"],"names":[],"mappings":";AACA,mFAAmF;AACnF,oFAAoF"} -------------------------------------------------------------------------------- /src/builders/protractor/schema.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"schema.js","sourceRoot":"","sources":["schema.ts"],"names":[],"mappings":";AACA,mFAAmF;AACnF,oFAAoF"} -------------------------------------------------------------------------------- /src/builders/ssr-dev-server/schema.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"schema.js","sourceRoot":"","sources":["schema.ts"],"names":[],"mappings":";AACA,mFAAmF;AACnF,oFAAoF"} -------------------------------------------------------------------------------- /plugins/karma.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"karma.js","sourceRoot":"","sources":["karma.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;AAEH,MAAM,CAAC,OAAO,GAAG,OAAO,CAAC,0CAA0C,CAAC,CAAC"} -------------------------------------------------------------------------------- /src/utils/bundle-inline-options.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"bundle-inline-options.js","sourceRoot":"","sources":["bundle-inline-options.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG"} -------------------------------------------------------------------------------- /src/tools/webpack/configs/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;;;;;;;;;;;;;AAEH,2CAAyB;AACzB,+CAA6B;AAC7B,2CAAyB"} -------------------------------------------------------------------------------- /src/builders/extract-i18n/empty-loader.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"empty-loader.js","sourceRoot":"","sources":["empty-loader.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAEH,4BAEC;AAFD;IACE,OAAO,oBAAoB,CAAC;AAC9B,CAAC"} -------------------------------------------------------------------------------- /src/utils/package-version.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"package-version.js","sourceRoot":"","sources":["package-version.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEU,QAAA,OAAO,GAAW,OAAO,CAAC,oBAAoB,CAAC,CAAC,OAAO,CAAC"} -------------------------------------------------------------------------------- /src/builders/extract-i18n/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,yDAA0D;AAC1D,uCAAoC;AAGA,wFAH3B,iBAAO,OAG2B;AAC3C,kBAAe,IAAA,yBAAa,EAA4B,iBAAO,CAAC,CAAC"} -------------------------------------------------------------------------------- /plugins/karma.d.ts: -------------------------------------------------------------------------------- 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 | -------------------------------------------------------------------------------- /src/builders/dev-server/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAGH,yDAA0D;AAC1D,uCAAoC;AAMvB,wGANJ,iBAAO,OAMoB;AAKhB,iGAXX,iBAAO,OAWoB;AAHpC,kBAAe,IAAA,yBAAa,EAAkD,iBAAO,CAAC,CAAC"} -------------------------------------------------------------------------------- /index.d.ts: -------------------------------------------------------------------------------- 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 | export * from './src/index'; 9 | -------------------------------------------------------------------------------- /src/tools/webpack/plugins/karma/karma.d.ts: -------------------------------------------------------------------------------- 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 | export {}; 9 | -------------------------------------------------------------------------------- /src/utils/tty.d.ts: -------------------------------------------------------------------------------- 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 | export declare function isTTY(): boolean; 9 | -------------------------------------------------------------------------------- /src/utils/package-version.d.ts: -------------------------------------------------------------------------------- 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 | export declare const VERSION: string; 9 | -------------------------------------------------------------------------------- /src/utils/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;;;;;;;;;;;;;;AAEH,qDAAmC;AACnC,kDAAiF;AAAxE,0GAAA,eAAe,OAAA;AAAE,iHAAA,sBAAsB,OAAA;AAChD,kEAAgD;AAChD,gEAA8C;AAC9C,6DAA2C;AAC3C,0DAAwC;AACxC,2DAAyC;AACzC,6DAA2C;AAC3C,wCAAsB"} -------------------------------------------------------------------------------- /src/builders/extract-i18n/empty-loader.d.ts: -------------------------------------------------------------------------------- 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 | export default function (): string; 9 | -------------------------------------------------------------------------------- /src/utils/url.d.ts: -------------------------------------------------------------------------------- 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 | export declare function urlJoin(...parts: string[]): string; 9 | -------------------------------------------------------------------------------- /src/builders/jest/schema.js: -------------------------------------------------------------------------------- 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 | //# sourceMappingURL=schema.js.map -------------------------------------------------------------------------------- /src/builders/web-test-runner/schema.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"schema.js","sourceRoot":"","sources":["schema.ts"],"names":[],"mappings":";AACA,mFAAmF;AACnF,oFAAoF;;;AA+HpF;;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"} -------------------------------------------------------------------------------- /src/tools/webpack/plugins/hmr/hmr-accept.d.ts: -------------------------------------------------------------------------------- 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 | export default function (mod: any): void; 9 | -------------------------------------------------------------------------------- /src/transforms.d.ts: -------------------------------------------------------------------------------- 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 | export type ExecutionTransformer = (input: T) => T | Promise; 9 | -------------------------------------------------------------------------------- /src/builders/app-shell/schema.js: -------------------------------------------------------------------------------- 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 | //# sourceMappingURL=schema.js.map -------------------------------------------------------------------------------- /src/builders/prerender/schema.js: -------------------------------------------------------------------------------- 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 | //# sourceMappingURL=schema.js.map -------------------------------------------------------------------------------- /src/builders/dev-server/schema.js: -------------------------------------------------------------------------------- 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 | //# sourceMappingURL=schema.js.map -------------------------------------------------------------------------------- /src/builders/ng-packagr/schema.js: -------------------------------------------------------------------------------- 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 | //# sourceMappingURL=schema.js.map -------------------------------------------------------------------------------- /src/builders/protractor/schema.js: -------------------------------------------------------------------------------- 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 | //# sourceMappingURL=schema.js.map -------------------------------------------------------------------------------- /src/builders/ssr-dev-server/schema.js: -------------------------------------------------------------------------------- 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 | //# sourceMappingURL=schema.js.map -------------------------------------------------------------------------------- /src/utils/default-progress.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"default-progress.js","sourceRoot":"","sources":["default-progress.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAEH,0CAMC;AAND,SAAgB,eAAe,CAAC,QAA6B;IAC3D,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;QAC3B,OAAO,OAAO,CAAC,MAAM,CAAC,KAAK,KAAK,IAAI,CAAC;IACvC,CAAC;IAED,OAAO,QAAQ,CAAC;AAClB,CAAC"} -------------------------------------------------------------------------------- /src/builders/protractor-error/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAEH,yDAA0E;AAG1E,kBAAe,IAAA,yBAAa,EAC1B,CAAC,QAAkC,EAAE,OAAuB,EAAE,EAAE;IAC9D,OAAO,CAAC,MAAM,CAAC,KAAK,CAClB,yMAAyM,CAC1M,CAAC;IAEF,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;AAC5B,CAAC,CACF,CAAC"} -------------------------------------------------------------------------------- /src/utils/load-esm.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"load-esm.js","sourceRoot":"","sources":["load-esm.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAmBH,sCAOC;AAxBD;;GAEG;AACH,IAAI,IAA+D,CAAC;AAEpE;;;;;;;;;;;GAWG;AACH,SAAgB,aAAa,CAAI,UAAwB;IACvD,IAAI,KAAK,IAAI,QAAQ,CAAC,YAAY,EAAE,4BAA4B,CAG/D,CAAC;IAEF,OAAO,IAAI,CAAC,UAAU,CAAC,CAAC;AAC1B,CAAC"} -------------------------------------------------------------------------------- /src/builders/jest/options.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"options.js","sourceRoot":"","sources":["options.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAiBH,4CAUC;AAdD;;;GAGG;AACH,SAAgB,gBAAgB,CAAC,MAAyB;IACxD,OAAO;QACL,gFAAgF;QAChF,6DAA6D;QAC7D,OAAO,EAAE,MAAM,CAAC,OAAQ;QACxB,OAAO,EAAE,MAAM,CAAC,OAAQ;QACxB,4DAA4D;QAE5D,GAAG,MAAM;KACV,CAAC;AACJ,CAAC"} -------------------------------------------------------------------------------- /src/utils/default-progress.d.ts: -------------------------------------------------------------------------------- 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 | export declare function defaultProgress(progress: boolean | undefined): boolean; 9 | -------------------------------------------------------------------------------- /src/tools/webpack/configs/index.d.ts: -------------------------------------------------------------------------------- 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 | export * from './common'; 9 | export * from './dev-server'; 10 | export * from './styles'; 11 | -------------------------------------------------------------------------------- /src/utils/color.d.ts: -------------------------------------------------------------------------------- 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 * as ansiColors from 'ansi-colors'; 9 | declare const colors: typeof ansiColors; 10 | export { colors }; 11 | -------------------------------------------------------------------------------- /src/utils/error.d.ts: -------------------------------------------------------------------------------- 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 | export declare function assertIsError(value: unknown): asserts value is Error & { 9 | code?: string; 10 | }; 11 | -------------------------------------------------------------------------------- /plugins/karma.js: -------------------------------------------------------------------------------- 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 | module.exports = require('../src/tools/webpack/plugins/karma/karma'); 10 | //# sourceMappingURL=karma.js.map -------------------------------------------------------------------------------- /src/transforms.js: -------------------------------------------------------------------------------- 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 | //# sourceMappingURL=transforms.js.map -------------------------------------------------------------------------------- /src/utils/normalize-polyfills.d.ts: -------------------------------------------------------------------------------- 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 | export declare function normalizePolyfills(polyfills: string[] | string | undefined, root: string): string[]; 9 | -------------------------------------------------------------------------------- /src/utils/error.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"error.js","sourceRoot":"","sources":["error.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;;AAIH,sCAMC;AARD,8DAAiC;AAEjC,SAAgB,aAAa,CAAC,KAAc;IAC1C,MAAM,OAAO,GACX,KAAK,YAAY,KAAK;QACtB,gEAAgE;QAChE,CAAC,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,IAAI,MAAM,IAAI,KAAK,IAAI,SAAS,IAAI,KAAK,CAAC,CAAC;IAChF,IAAA,qBAAM,EAAC,OAAO,EAAE,gDAAgD,CAAC,CAAC;AACpE,CAAC"} -------------------------------------------------------------------------------- /src/utils/build-options.js: -------------------------------------------------------------------------------- 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 | //# sourceMappingURL=build-options.js.map -------------------------------------------------------------------------------- /src/utils/bundle-inline-options.js: -------------------------------------------------------------------------------- 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 | //# sourceMappingURL=bundle-inline-options.js.map -------------------------------------------------------------------------------- /src/utils/url.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"url.js","sourceRoot":"","sources":["url.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAEH,0BAOC;AAPD,SAAgB,OAAO,CAAC,GAAG,KAAe;IACxC,MAAM,CAAC,CAAC,EAAE,GAAG,IAAI,CAAC,GAAG,KAAK,CAAC;IAE3B,wCAAwC;IACxC,0BAA0B;IAC1B,wCAAwC;IACxC,OAAO,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,GAAG,CAAC,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC;AAC9E,CAAC"} -------------------------------------------------------------------------------- /src/utils/output-paths.d.ts: -------------------------------------------------------------------------------- 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 { I18nOptions } from './i18n-webpack'; 9 | export declare function ensureOutputPaths(baseOutputPath: string, i18n: I18nOptions): Map; 10 | -------------------------------------------------------------------------------- /src/tools/webpack/plugins/watch-files-logs-plugin.d.ts: -------------------------------------------------------------------------------- 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 type { Compiler } from 'webpack'; 9 | export declare class WatchFilesLogsPlugin { 10 | apply(compiler: Compiler): void; 11 | } 12 | -------------------------------------------------------------------------------- /src/builders/karma/schema.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"schema.js","sourceRoot":"","sources":["schema.ts"],"names":[],"mappings":";AACA,mFAAmF;AACnF,oFAAoF;;;AA0IpF;;;GAGG;AACH,IAAY,WAIX;AAJD,WAAY,WAAW;IACnB,0CAA2B,CAAA;IAC3B,kCAAmB,CAAA;IACnB,gCAAiB,CAAA;AACrB,CAAC,EAJW,WAAW,2BAAX,WAAW,QAItB;AASD;;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"} -------------------------------------------------------------------------------- /src/tools/webpack/plugins/transfer-size-plugin.d.ts: -------------------------------------------------------------------------------- 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 { Compiler } from 'webpack'; 9 | export declare class TransferSizePlugin { 10 | constructor(); 11 | apply(compiler: Compiler): void; 12 | } 13 | -------------------------------------------------------------------------------- /src/utils/normalize-source-maps.d.ts: -------------------------------------------------------------------------------- 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 { SourceMapClass, SourceMapUnion } from '../builders/browser/schema'; 9 | export declare function normalizeSourceMaps(sourceMap: SourceMapUnion): SourceMapClass; 10 | -------------------------------------------------------------------------------- /src/builders/web-test-runner/write-test-files.d.ts: -------------------------------------------------------------------------------- 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 { ResultFile } from '@angular/build/private'; 9 | export declare function writeTestFiles(files: Record, testDir: string): Promise; 10 | -------------------------------------------------------------------------------- /src/builders/web-test-runner/index.d.ts: -------------------------------------------------------------------------------- 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 { Schema } from './schema'; 9 | declare const _default: import("@angular-devkit/architect").Builder; 10 | export default _default; 11 | -------------------------------------------------------------------------------- /src/builders/jest/jest.config.mjs: -------------------------------------------------------------------------------- 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 | // Empty config file, everything is specified via CLI options right now. 10 | // This file is used just so Jest doesn't accidentally inherit a custom user-specified Jest config. 11 | export default {}; 12 | -------------------------------------------------------------------------------- /src/builders/web-test-runner/options.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"options.js","sourceRoot":"","sources":["options.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAuBH,4CAYC;AAhBD;;;GAGG;AACH,SAAgB,gBAAgB,CAAC,MAAwB;IACvD,OAAO;QACL,GAAG,MAAM;QAET,gFAAgF;QAChF,6DAA6D;QAC7D,OAAO,EAAE,MAAM,CAAC,OAAQ;QACxB,OAAO,EAAE,MAAM,CAAC,OAAQ;QACxB,4DAA4D;QAE5D,SAAS,EAAE,OAAO,MAAM,CAAC,SAAS,KAAK,QAAQ,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,SAAS,IAAI,EAAE;KAC9F,CAAC;AACJ,CAAC"} -------------------------------------------------------------------------------- /src/tools/webpack/configs/common.d.ts: -------------------------------------------------------------------------------- 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 { Configuration } from 'webpack'; 9 | import { WebpackConfigOptions } from '../../../utils/build-options'; 10 | export declare function getCommonConfig(wco: WebpackConfigOptions): Promise; 11 | -------------------------------------------------------------------------------- /src/tools/webpack/plugins/progress-plugin.d.ts: -------------------------------------------------------------------------------- 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 { ProgressPlugin as WebpackProgressPlugin } from 'webpack'; 9 | export declare class ProgressPlugin extends WebpackProgressPlugin { 10 | constructor(platform: 'server' | 'browser'); 11 | } 12 | -------------------------------------------------------------------------------- /src/utils/package-version.js: -------------------------------------------------------------------------------- 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.VERSION = void 0; 11 | exports.VERSION = require('../../package.json').version; 12 | //# sourceMappingURL=package-version.js.map -------------------------------------------------------------------------------- /src/tools/webpack/configs/styles.d.ts: -------------------------------------------------------------------------------- 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 type { Configuration } from 'webpack'; 9 | import { WebpackConfigOptions } from '../../../utils/build-options'; 10 | export declare function getStylesConfig(wco: WebpackConfigOptions): Promise; 11 | -------------------------------------------------------------------------------- /src/tools/webpack/plugins/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;;;AAEH,iDAAiD;AACjD,2FAAsF;AAA7E,oJAAA,8BAA8B,OAAA;AACvC,mEAAkG;AAAzF,8HAAA,oBAAoB,OAAA;AAC7B,+FAAkG;AAAzF,gKAAA,wCAAwC,OAAA;AACjD,2DAAsF;AAA7E,sHAAA,gBAAgB,OAAA;AACzB,+EAA2E;AAAlE,yIAAA,yBAAyB,OAAA;AAClC,6EAAwE;AAA/D,sIAAA,uBAAuB,OAAA;AAChC,yDAAsD;AAA7C,oHAAA,eAAe,OAAA;AACxB,6EAA0E;AAAjE,wIAAA,yBAAyB,OAAA;AAClC,iEAGiC;AAF/B,6IAAA,OAAO,OAAuB"} -------------------------------------------------------------------------------- /src/utils/webpack-diagnostics.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"webpack-diagnostics.js","sourceRoot":"","sources":["webpack-diagnostics.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAIH,gCAEC;AAED,4BAEC;AAND,SAAgB,UAAU,CAAC,WAAwB,EAAE,OAAe;IAClE,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,WAAW,CAAC,QAAQ,CAAC,OAAO,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,CAAC;AACpF,CAAC;AAED,SAAgB,QAAQ,CAAC,WAAwB,EAAE,OAAe;IAChE,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,WAAW,CAAC,QAAQ,CAAC,OAAO,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,CAAC;AAClF,CAAC"} -------------------------------------------------------------------------------- /src/tools/webpack/plugins/hmr/hmr-loader.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"hmr-loader.js","sourceRoot":"","sources":["hmr-loader.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAOH,wCAeC;AApBD,yCAAiC;AAEpB,QAAA,SAAS,GAAG,UAAU,CAAC;AACpC,MAAM,aAAa,GAAG,IAAA,gBAAI,EAAC,SAAS,EAAE,iBAAiB,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;AAE7E,SAAwB,qBAAqB,CAE3C,OAAe,EACf,GAA8D;IAE9D,MAAM,MAAM,GAAG,GAAG,OAAO;;;6BAGE,aAAa;;GAEvC,CAAC;IAEF,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,CAAC,CAAC;IAEjC,OAAO;AACT,CAAC"} -------------------------------------------------------------------------------- /src/utils/webpack-diagnostics.d.ts: -------------------------------------------------------------------------------- 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 type { Compilation } from 'webpack'; 9 | export declare function addWarning(compilation: Compilation, message: string): void; 10 | export declare function addError(compilation: Compilation, message: string): void; 11 | -------------------------------------------------------------------------------- /src/tools/webpack/plugins/hmr/hmr-loader.d.ts: -------------------------------------------------------------------------------- 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 | export declare const HmrLoader: string; 9 | export default function localizeExtractLoader(this: import('webpack').LoaderContext<{}>, content: string, map: Parameters[1]): void; 10 | -------------------------------------------------------------------------------- /src/tools/webpack/plugins/json-stats-plugin.d.ts: -------------------------------------------------------------------------------- 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 { Compiler } from 'webpack'; 9 | export declare class JsonStatsPlugin { 10 | private readonly statsOutputPath; 11 | constructor(statsOutputPath: string); 12 | apply(compiler: Compiler): void; 13 | } 14 | -------------------------------------------------------------------------------- /src/builders/extract-i18n/empty-loader.js: -------------------------------------------------------------------------------- 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 | function default_1() { 12 | return `export default '';`; 13 | } 14 | //# sourceMappingURL=empty-loader.js.map -------------------------------------------------------------------------------- /src/utils/bundle-inline-options.d.ts: -------------------------------------------------------------------------------- 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 | export interface InlineOptions { 9 | filename: string; 10 | code: string; 11 | map?: string; 12 | outputPath: string; 13 | missingTranslation?: 'warning' | 'error' | 'ignore'; 14 | setLocale?: boolean; 15 | } 16 | -------------------------------------------------------------------------------- /src/tools/babel/plugins/add-code-coverage.d.ts: -------------------------------------------------------------------------------- 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 { PluginObj } from '@babel/core'; 9 | /** 10 | * A babel plugin factory function for adding istanbul instrumentation. 11 | * 12 | * @returns A babel plugin object instance. 13 | */ 14 | export default function (): PluginObj; 15 | -------------------------------------------------------------------------------- /src/builders/extract-i18n/schema.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"schema.js","sourceRoot":"","sources":["schema.ts"],"names":[],"mappings":";AACA,mFAAmF;AACnF,oFAAoF;;;AAkCpF;;GAEG;AACH,IAAY,MAUX;AAVD,WAAY,MAAM;IACd,qBAAW,CAAA;IACX,uBAAa,CAAA;IACb,0CAAgC,CAAA;IAChC,qBAAW,CAAA;IACX,uBAAa,CAAA;IACb,uBAAa,CAAA;IACb,yBAAe,CAAA;IACf,2BAAiB,CAAA;IACjB,qBAAW,CAAA;AACf,CAAC,EAVW,MAAM,sBAAN,MAAM,QAUjB;AAED;;GAEG;AACH,IAAY,wBAIX;AAJD,WAAY,wBAAwB;IAChC,2CAAe,CAAA;IACf,6CAAiB,CAAA;IACjB,+CAAmB,CAAA;AACvB,CAAC,EAJW,wBAAwB,wCAAxB,wBAAwB,QAInC"} -------------------------------------------------------------------------------- /src/builders/protractor-error/index.d.ts: -------------------------------------------------------------------------------- 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 { Schema as ProtractorBuilderOptions } from '../protractor/schema'; 9 | declare const _default: import("@angular-devkit/architect").Builder; 10 | export default _default; 11 | -------------------------------------------------------------------------------- /src/builders/app-shell/index.d.ts: -------------------------------------------------------------------------------- 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 { JsonObject } from '@angular-devkit/core'; 9 | import { Schema as BuildWebpackAppShellSchema } from './schema'; 10 | declare const _default: import("@angular-devkit/architect").Builder; 11 | export default _default; 12 | -------------------------------------------------------------------------------- /src/tools/webpack/plugins/typescript.d.ts: -------------------------------------------------------------------------------- 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 { AngularWebpackPlugin } from '@ngtools/webpack'; 9 | import { WebpackConfigOptions } from '../../../utils/build-options'; 10 | export declare function createIvyPlugin(wco: WebpackConfigOptions, aot: boolean, tsconfig: string): AngularWebpackPlugin; 11 | -------------------------------------------------------------------------------- /src/utils/run-module-as-observable-fork.d.ts: -------------------------------------------------------------------------------- 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 { BuilderOutput } from '@angular-devkit/architect'; 9 | import { Observable } from 'rxjs'; 10 | export declare function runModuleAsObservableFork(cwd: string, modulePath: string, exportName: string | undefined, args: any[]): Observable; 11 | -------------------------------------------------------------------------------- /src/builders/jest/index.d.ts: -------------------------------------------------------------------------------- 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 { Schema as JestBuilderSchema } from './schema'; 9 | /** Main execution function for the Jest builder. */ 10 | declare const _default: import("@angular-devkit/architect").Builder; 11 | export default _default; 12 | -------------------------------------------------------------------------------- /src/utils/tty.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"tty.js","sourceRoot":"","sources":["tty.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAOH,sBAQC;AAbD,SAAS,SAAS,CAAC,KAAyB;IAC1C,qEAAqE;IACrE,OAAO,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,GAAG,IAAI,KAAK,CAAC,WAAW,EAAE,KAAK,OAAO,CAAC;AACjF,CAAC;AAED,SAAgB,KAAK;IACnB,0CAA0C;IAC1C,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IAC1C,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACxB,OAAO,SAAS,CAAC,KAAK,CAAC,CAAC;IAC1B,CAAC;IAED,OAAO,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC;AACjE,CAAC"} -------------------------------------------------------------------------------- /src/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;;;;;;;;;;;;;;AAEH,+CAA6B;AAE7B,oDAA6E;AAApE,qGAAA,WAAW,OAAA;AAAE,uGAAA,aAAa,OAAA;AAAE,8FAAA,IAAI,OAAA;AAczC,8CAG4B;AAF1B,gHAAA,mBAAmB,OAAyB;AAI9C,wCAAkF;AAAzE,yGAAA,gBAAgB,OAAA;AAEzB,oDAI+B;AAH7B,qHAAA,uBAAuB,OAAA;AAKzB,wDAGiC;AAF/B,yHAAA,OAAO,OAA6B;AAItC,0CAI0B;AAHxB,4GAAA,OAAO,OAAuB;AAKhC,oDAG+B;AAF7B,sHAAA,OAAO,OAA4B;AAIrC,4CAI2B;AAHzB,8GAAA,OAAO,OAAwB;AAKjC,4DAImC;AAHjC,4HAAA,OAAO,OAA8B;AAKvC,oDAG+B;AAF7B,qHAAA,OAAO,OAA2B"} -------------------------------------------------------------------------------- /src/builders/server/schema.js.map: -------------------------------------------------------------------------------- 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"} -------------------------------------------------------------------------------- /src/builders/web-test-runner/builder-status-warnings.d.ts: -------------------------------------------------------------------------------- 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 } from '@angular-devkit/architect'; 9 | import { Schema as WtrBuilderOptions } from './schema'; 10 | /** Logs a warning for any unsupported options specified. */ 11 | export declare function logBuilderStatusWarnings(options: WtrBuilderOptions, ctx: BuilderContext): void; 12 | -------------------------------------------------------------------------------- /src/tools/webpack/plugins/suppress-entry-chunks-webpack-plugin.d.ts: -------------------------------------------------------------------------------- 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 | * Remove .js files from entry points consisting entirely of stylesheets. 10 | * To be used together with mini-css-extract-plugin. 11 | */ 12 | export declare class SuppressExtractedTextChunksWebpackPlugin { 13 | apply(compiler: import('webpack').Compiler): void; 14 | } 15 | -------------------------------------------------------------------------------- /src/builders/server/platform-server-exports-loader.js.map: -------------------------------------------------------------------------------- 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"} -------------------------------------------------------------------------------- /src/utils/package-chunk-sort.d.ts: -------------------------------------------------------------------------------- 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 { ScriptElement, StyleElement } from '../builders/browser/schema'; 9 | export type EntryPointsType = [name: string, isModule: boolean]; 10 | export declare function generateEntryPoints(options: { 11 | styles: StyleElement[]; 12 | scripts: ScriptElement[]; 13 | isHMREnabled?: boolean; 14 | }): EntryPointsType[]; 15 | -------------------------------------------------------------------------------- /src/builders/extract-i18n/index.d.ts: -------------------------------------------------------------------------------- 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 { execute } from './builder'; 9 | import type { Schema as ExtractI18nBuilderOptions } from './schema'; 10 | export { ExtractI18nBuilderOptions, execute }; 11 | declare const _default: import("@angular-devkit/architect").Builder; 12 | export default _default; 13 | -------------------------------------------------------------------------------- /src/utils/default-progress.js: -------------------------------------------------------------------------------- 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.defaultProgress = defaultProgress; 11 | function defaultProgress(progress) { 12 | if (progress === undefined) { 13 | return process.stdout.isTTY === true; 14 | } 15 | return progress; 16 | } 17 | //# sourceMappingURL=default-progress.js.map -------------------------------------------------------------------------------- /src/utils/copy-assets.d.ts: -------------------------------------------------------------------------------- 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 | export declare function copyAssets(entries: { 9 | glob: string; 10 | ignore?: string[]; 11 | input: string; 12 | output: string; 13 | flatten?: boolean; 14 | followSymlinks?: boolean; 15 | }[], basePaths: Iterable, root: string, changed?: Set): Promise<{ 16 | source: string; 17 | destination: string; 18 | }[]>; 19 | -------------------------------------------------------------------------------- /src/utils/normalize-source-maps.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"normalize-source-maps.js","sourceRoot":"","sources":["normalize-source-maps.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAIH,kDAYC;AAZD,SAAgB,mBAAmB,CAAC,SAAyB;IAC3D,MAAM,OAAO,GAAG,OAAO,SAAS,KAAK,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;IAC9E,MAAM,MAAM,GAAG,OAAO,SAAS,KAAK,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;IAC5E,MAAM,MAAM,GAAG,CAAC,OAAO,SAAS,KAAK,QAAQ,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,KAAK,CAAC;IAC5E,MAAM,MAAM,GAAG,CAAC,OAAO,SAAS,KAAK,QAAQ,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,KAAK,CAAC;IAE5E,OAAO;QACL,MAAM;QACN,MAAM;QACN,OAAO;QACP,MAAM;KACP,CAAC;AACJ,CAAC"} -------------------------------------------------------------------------------- /src/utils/test-files.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"test-files.js","sourceRoot":"","sources":["test-files.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAaH,sCAiBC;AA5BD,2CAAyD;AAEzD;;;;;;;;GAQG;AACI,KAAK,UAAU,aAAa,CACjC,OAAiB,EACjB,OAAiB,EACjB,aAAqB,EACrB,OAAsB,iBAAM;IAE5B,MAAM,WAAW,GAAgB;QAC/B,GAAG,EAAE,aAAa;QAClB,MAAM,EAAE,CAAC,iBAAiB,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC;QAC3C,cAAc,EAAE,KAAK,EAAE,qCAAqC;QAC5D,OAAO,EAAE,KAAK,EAAE,8BAA8B;KAC/C,CAAC;IAEF,MAAM,QAAQ,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC;IAEzF,wEAAwE;IACxE,OAAO,IAAI,GAAG,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC;AAClC,CAAC"} -------------------------------------------------------------------------------- /src/tools/webpack/plugins/occurrences-plugin.d.ts: -------------------------------------------------------------------------------- 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 { Compiler } from 'webpack'; 9 | export interface OccurrencesPluginOptions { 10 | aot?: boolean; 11 | scriptsOptimization?: boolean; 12 | } 13 | export declare class OccurrencesPlugin { 14 | private options; 15 | constructor(options: OccurrencesPluginOptions); 16 | apply(compiler: Compiler): void; 17 | private countOccurrences; 18 | } 19 | -------------------------------------------------------------------------------- /src/utils/normalize-polyfills.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"normalize-polyfills.js","sourceRoot":"","sources":["normalize-polyfills.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAKH,gDAgBC;AAnBD,qCAAqC;AACrC,yCAAoC;AAEpC,SAAgB,kBAAkB,CAChC,SAAwC,EACxC,IAAY;IAEZ,IAAI,CAAC,SAAS,EAAE,CAAC;QACf,OAAO,EAAE,CAAC;IACZ,CAAC;IAED,MAAM,aAAa,GAAG,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IAEzE,OAAO,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE;QAC7B,MAAM,YAAY,GAAG,IAAA,mBAAO,EAAC,IAAI,EAAE,CAAC,CAAC,CAAC;QAEtC,iFAAiF;QACjF,OAAO,IAAA,oBAAU,EAAC,YAAY,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC;IACrD,CAAC,CAAC,CAAC;AACL,CAAC"} -------------------------------------------------------------------------------- /src/tools/webpack/plugins/remove-hash-plugin.d.ts: -------------------------------------------------------------------------------- 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 { Compiler } from 'webpack'; 9 | import { HashFormat } from '../utils/helpers'; 10 | export interface RemoveHashPluginOptions { 11 | chunkNames: string[]; 12 | hashFormat: HashFormat; 13 | } 14 | export declare class RemoveHashPlugin { 15 | private options; 16 | constructor(options: RemoveHashPluginOptions); 17 | apply(compiler: Compiler): void; 18 | } 19 | -------------------------------------------------------------------------------- /src/utils/read-tsconfig.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"read-tsconfig.js","sourceRoot":"","sources":["read-tsconfig.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAYH,oCAcC;AAvBD,gDAAkC;AAElC;;;;;;GAMG;AACI,KAAK,UAAU,YAAY,CAChC,YAAoB,EACpB,aAAsB;IAEtB,MAAM,gBAAgB,GAAG,aAAa,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,aAAa,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC;IAElG,MAAM,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,GAAG,wDAAa,uBAAuB,GAAC,CAAC;IAEvF,MAAM,YAAY,GAAG,iBAAiB,CAAC,gBAAgB,CAAC,CAAC;IACzD,IAAI,YAAY,CAAC,MAAM,IAAI,YAAY,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC;QACtD,MAAM,IAAI,KAAK,CAAC,iBAAiB,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC,CAAC;IAC1D,CAAC;IAED,OAAO,YAAY,CAAC;AACtB,CAAC"} -------------------------------------------------------------------------------- /src/tools/webpack/plugins/devtools-ignore-plugin.d.ts: -------------------------------------------------------------------------------- 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 { Compiler } from 'webpack'; 9 | /** 10 | * This plugin adds a field to source maps that identifies which sources are 11 | * vendored or runtime-injected (aka third-party) sources. These are consumed by 12 | * Chrome DevTools to automatically ignore-list sources. 13 | */ 14 | export declare class DevToolsIgnorePlugin { 15 | apply(compiler: Compiler): void; 16 | } 17 | -------------------------------------------------------------------------------- /src/utils/normalize-optimization.d.ts: -------------------------------------------------------------------------------- 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 { FontsClass, OptimizationClass, OptimizationUnion, StylesClass } from '../builders/browser/schema'; 9 | export type NormalizedOptimizationOptions = Required> & { 10 | fonts: FontsClass; 11 | styles: StylesClass; 12 | }; 13 | export declare function normalizeOptimization(optimization?: OptimizationUnion): NormalizedOptimizationOptions; 14 | -------------------------------------------------------------------------------- /src/utils/spinner.d.ts: -------------------------------------------------------------------------------- 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 | export declare class Spinner { 9 | #private; 10 | private readonly spinner; 11 | /** When false, only fail messages will be displayed. */ 12 | enabled: boolean; 13 | constructor(text?: string); 14 | set text(text: string); 15 | get isSpinning(): boolean; 16 | succeed(text?: string): void; 17 | fail(text?: string): void; 18 | stop(): void; 19 | start(text?: string): void; 20 | } 21 | -------------------------------------------------------------------------------- /src/builders/extract-i18n/ivy-extract-loader.d.ts: -------------------------------------------------------------------------------- 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 | type LoaderSourceMap = Parameters[1]; 9 | interface LocalizeExtractLoaderOptions { 10 | messageHandler: (messages: import('@angular/localize').ɵParsedMessage[]) => void; 11 | } 12 | export default function localizeExtractLoader(this: import('webpack').LoaderContext, content: string, map: LoaderSourceMap): void; 13 | export {}; 14 | -------------------------------------------------------------------------------- /src/tools/webpack/plugins/service-worker-plugin.d.ts: -------------------------------------------------------------------------------- 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 type { Compiler } from 'webpack'; 9 | export interface ServiceWorkerPluginOptions { 10 | projectRoot: string; 11 | root: string; 12 | baseHref?: string; 13 | ngswConfigPath?: string; 14 | } 15 | export declare class ServiceWorkerPlugin { 16 | private readonly options; 17 | constructor(options: ServiceWorkerPluginOptions); 18 | apply(compiler: Compiler): void; 19 | } 20 | -------------------------------------------------------------------------------- /src/builders/ng-packagr/schema.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * ng-packagr target options for Build Architect. Use to build library projects. 3 | */ 4 | export type Schema = { 5 | /** 6 | * Enable and define the file watching poll time period in milliseconds. 7 | */ 8 | poll?: number; 9 | /** 10 | * The file path for the ng-packagr configuration file, relative to the current workspace. 11 | */ 12 | project: string; 13 | /** 14 | * The full path for the TypeScript configuration file, relative to the current workspace. 15 | */ 16 | tsConfig?: string; 17 | /** 18 | * Run build when files change. 19 | */ 20 | watch?: boolean; 21 | }; 22 | -------------------------------------------------------------------------------- /src/utils/normalize-asset-patterns.d.ts: -------------------------------------------------------------------------------- 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 { AssetPattern, AssetPatternClass } from '../builders/browser/schema'; 9 | export declare class MissingAssetSourceRootException extends Error { 10 | constructor(path: string); 11 | } 12 | export declare function normalizeAssetPatterns(assetPatterns: AssetPattern[], workspaceRoot: string, projectRoot: string, projectSourceRoot: string | undefined): (AssetPatternClass & { 13 | output: string; 14 | })[]; 15 | -------------------------------------------------------------------------------- /src/utils/normalize-cache.d.ts: -------------------------------------------------------------------------------- 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 | export interface NormalizedCachedOptions { 9 | /** Whether disk cache is enabled. */ 10 | enabled: boolean; 11 | /** Disk cache path. Example: `/.angular/cache/v12.0.0`. */ 12 | path: string; 13 | /** Disk cache base path. Example: `/.angular/cache`. */ 14 | basePath: string; 15 | } 16 | export declare function normalizeCacheOptions(projectMetadata: unknown, worspaceRoot: string): NormalizedCachedOptions; 17 | -------------------------------------------------------------------------------- /src/utils/url.js: -------------------------------------------------------------------------------- 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.urlJoin = urlJoin; 11 | function urlJoin(...parts) { 12 | const [p, ...rest] = parts; 13 | // Remove trailing slash from first part 14 | // Join all parts with `/` 15 | // Dedupe double slashes from path names 16 | return p.replace(/\/$/, '') + ('/' + rest.join('/')).replace(/\/\/+/g, '/'); 17 | } 18 | //# sourceMappingURL=url.js.map -------------------------------------------------------------------------------- /src/builders/karma/find-tests-plugin.d.ts: -------------------------------------------------------------------------------- 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 type { Compiler } from 'webpack'; 9 | export interface FindTestsPluginOptions { 10 | include?: string[]; 11 | exclude?: string[]; 12 | workspaceRoot: string; 13 | projectSourceRoot: string; 14 | } 15 | export declare class FindTestsPlugin { 16 | private options; 17 | private compilation; 18 | constructor(options: FindTestsPluginOptions); 19 | apply(compiler: Compiler): void; 20 | } 21 | -------------------------------------------------------------------------------- /src/utils/index.d.ts: -------------------------------------------------------------------------------- 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 | export * from './default-progress'; 9 | export { deleteOutputDir, loadProxyConfiguration } from '@angular/build/private'; 10 | export * from './run-module-as-observable-fork'; 11 | export * from './normalize-file-replacements'; 12 | export * from './normalize-asset-patterns'; 13 | export * from './normalize-source-maps'; 14 | export * from './normalize-optimization'; 15 | export * from './normalize-builder-schema'; 16 | export * from './url'; 17 | -------------------------------------------------------------------------------- /src/utils/run-module-worker.js: -------------------------------------------------------------------------------- 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 | process.on('message', (message) => { 9 | // Only process messages with the hash in 'run-module-as-observable-fork.ts'. 10 | if (message.hash === '5d4b9a5c0a4e0f9977598437b0e85bcc') { 11 | const requiredModule = require(message.modulePath); 12 | if (message.exportName) { 13 | requiredModule[message.exportName](...message.args); 14 | } else { 15 | requiredModule(...message.args); 16 | } 17 | } 18 | }); 19 | -------------------------------------------------------------------------------- /src/utils/normalize-file-replacements.d.ts: -------------------------------------------------------------------------------- 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 { FileReplacement } from '../builders/browser/schema'; 9 | export declare class MissingFileReplacementException extends Error { 10 | constructor(path: string); 11 | } 12 | export interface NormalizedFileReplacement { 13 | replace: string; 14 | with: string; 15 | } 16 | export declare function normalizeFileReplacements(fileReplacements: FileReplacement[], workspaceRoot: string): NormalizedFileReplacement[]; 17 | -------------------------------------------------------------------------------- /src/utils/process-bundle.d.ts: -------------------------------------------------------------------------------- 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 { InlineOptions } from './bundle-inline-options'; 9 | export declare function inlineLocales(options: InlineOptions): Promise<{ 10 | file: string; 11 | diagnostics: { 12 | type: "warning" | "error"; 13 | message: string; 14 | }[]; 15 | count: number; 16 | } | { 17 | file: string; 18 | diagnostics: { 19 | type: "warning" | "error"; 20 | message: string; 21 | }[]; 22 | }>; 23 | -------------------------------------------------------------------------------- /src/builders/extract-i18n/index.js: -------------------------------------------------------------------------------- 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.execute = void 0; 11 | const architect_1 = require("@angular-devkit/architect"); 12 | const builder_1 = require("./builder"); 13 | Object.defineProperty(exports, "execute", { enumerable: true, get: function () { return builder_1.execute; } }); 14 | exports.default = (0, architect_1.createBuilder)(builder_1.execute); 15 | //# sourceMappingURL=index.js.map -------------------------------------------------------------------------------- /src/builders/ssr-dev-server/utils.d.ts: -------------------------------------------------------------------------------- 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 { SpawnOptions } from 'node:child_process'; 9 | import { Observable } from 'rxjs'; 10 | export declare function getAvailablePort(): Promise; 11 | export declare function spawnAsObservable(command: string, args?: string[], options?: SpawnOptions): Observable<{ 12 | stdout?: string; 13 | stderr?: string; 14 | }>; 15 | export declare function waitUntilServerIsListening(port: number, host?: string): Observable; 16 | -------------------------------------------------------------------------------- /src/tools/babel/plugins/types.d.ts: -------------------------------------------------------------------------------- 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 | declare module 'istanbul-lib-instrument' { 10 | export interface Visitor { 11 | enter(path: import('@babel/core').NodePath): void; 12 | exit(path: import('@babel/core').NodePath): void; 13 | } 14 | 15 | export function programVisitor( 16 | types: typeof import('@babel/core').types, 17 | filePath?: string, 18 | options?: { inputSourceMap?: object | null }, 19 | ): Visitor; 20 | } 21 | -------------------------------------------------------------------------------- /src/tools/webpack/plugins/styles-webpack-plugin.d.ts: -------------------------------------------------------------------------------- 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 type { Compiler } from 'webpack'; 9 | export interface StylesWebpackPluginOptions { 10 | preserveSymlinks?: boolean; 11 | root: string; 12 | entryPoints: Record; 13 | } 14 | export declare class StylesWebpackPlugin { 15 | private readonly options; 16 | private compilation; 17 | constructor(options: StylesWebpackPluginOptions); 18 | apply(compiler: Compiler): void; 19 | } 20 | -------------------------------------------------------------------------------- /src/utils/environment-options.d.ts: -------------------------------------------------------------------------------- 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 | export declare const allowMangle: boolean; 9 | export declare const shouldBeautify: boolean; 10 | export declare const allowMinify: boolean; 11 | export declare const maxWorkers: number; 12 | export declare const useParallelTs: boolean; 13 | export declare const debugPerformance: boolean; 14 | export declare const shouldWatchRoot: boolean; 15 | export declare const useTypeChecking: boolean; 16 | export declare const useJSONBuildLogs: boolean; 17 | -------------------------------------------------------------------------------- /src/tools/webpack/plugins/any-component-style-budget-checker.d.ts: -------------------------------------------------------------------------------- 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 { BudgetEntry } from '@angular/build/private'; 9 | import { Compiler } from 'webpack'; 10 | /** 11 | * Check budget sizes for component styles by emitting a warning or error if a 12 | * budget is exceeded by a particular component's styles. 13 | */ 14 | export declare class AnyComponentStyleBudgetChecker { 15 | private readonly budgets; 16 | constructor(budgets: BudgetEntry[]); 17 | apply(compiler: Compiler): void; 18 | } 19 | -------------------------------------------------------------------------------- /src/utils/i18n-inlining.d.ts: -------------------------------------------------------------------------------- 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 } from '@angular-devkit/architect'; 9 | import { EmittedFiles } from '@angular-devkit/build-webpack'; 10 | import { I18nOptions } from './i18n-webpack'; 11 | export declare function i18nInlineEmittedFiles(context: BuilderContext, emittedFiles: EmittedFiles[], i18n: I18nOptions, baseOutputPath: string, outputPaths: string[], scriptsEntryPointName: string[], emittedPath: string, missingTranslation: 'error' | 'warning' | 'ignore' | undefined): Promise; 12 | -------------------------------------------------------------------------------- /src/utils/read-tsconfig.d.ts: -------------------------------------------------------------------------------- 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 type { ParsedConfiguration } from '@angular/compiler-cli'; 9 | /** 10 | * Reads and parses a given TsConfig file. 11 | * 12 | * @param tsconfigPath - An absolute or relative path from 'workspaceRoot' of the tsconfig file. 13 | * @param workspaceRoot - workspaceRoot root location when provided 14 | * it will resolve 'tsconfigPath' from this path. 15 | */ 16 | export declare function readTsconfig(tsconfigPath: string, workspaceRoot?: string): Promise; 17 | -------------------------------------------------------------------------------- /src/utils/webpack-diagnostics.js: -------------------------------------------------------------------------------- 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.addWarning = addWarning; 11 | exports.addError = addError; 12 | function addWarning(compilation, message) { 13 | compilation.warnings.push(new compilation.compiler.webpack.WebpackError(message)); 14 | } 15 | function addError(compilation, message) { 16 | compilation.errors.push(new compilation.compiler.webpack.WebpackError(message)); 17 | } 18 | //# sourceMappingURL=webpack-diagnostics.js.map -------------------------------------------------------------------------------- /src/builders/dev-server/index.d.ts: -------------------------------------------------------------------------------- 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 { DevServerBuilderOutput } from '@angular/build'; 9 | import { execute } from './builder'; 10 | import { Schema as DevServerBuilderOptions } from './schema'; 11 | export { type DevServerBuilderOptions, type DevServerBuilderOutput, execute as executeDevServerBuilder, }; 12 | declare const _default: import("@angular-devkit/architect").Builder; 13 | export default _default; 14 | export { execute as executeDevServer }; 15 | -------------------------------------------------------------------------------- /src/builders/prerender/routes-extractor-worker.d.ts: -------------------------------------------------------------------------------- 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 | export interface RoutesExtractorWorkerData { 9 | zonePackage: string | undefined; 10 | indexFile: string; 11 | outputPath: string; 12 | serverBundlePath: string; 13 | } 14 | declare function extract(): Promise; 15 | /** 16 | * The default export will be the promise returned by the initialize function. 17 | * This is awaited by piscina prior to using the Worker. 18 | */ 19 | declare const _default: Promise; 20 | export default _default; 21 | -------------------------------------------------------------------------------- /src/builders/server/platform-server-exports-loader.d.ts: -------------------------------------------------------------------------------- 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[1]): void; 17 | -------------------------------------------------------------------------------- /src/tools/babel/webpack-loader.d.ts: -------------------------------------------------------------------------------- 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 { ApplicationPresetOptions } from './presets/application'; 9 | interface AngularCustomOptions extends Omit { 10 | instrumentCode?: { 11 | /** node_modules and test files are always excluded. */ 12 | excludedPaths: Set; 13 | includedBasePath: string; 14 | }; 15 | } 16 | export type AngularBabelLoaderOptions = AngularCustomOptions & Record; 17 | declare const _default: any; 18 | export default _default; 19 | -------------------------------------------------------------------------------- /src/utils/color.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"color.js","sourceRoot":"","sources":["color.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,wDAA0C;AAC1C,uCAAuC;AAEvC,SAAS,YAAY;IACnB,IAAI,OAAO,CAAC,GAAG,CAAC,WAAW,KAAK,SAAS,EAAE,CAAC;QAC1C,uDAAuD;QACvD,sCAAsC;QACtC,uCAAuC;QACvC,+CAA+C;QAC/C,gGAAgG;QAChG,6GAA6G;QAC7G,QAAQ,OAAO,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC;YAChC,KAAK,EAAE,CAAC;YACR,KAAK,MAAM,CAAC;YACZ,KAAK,GAAG,CAAC;YACT,KAAK,GAAG,CAAC;YACT,KAAK,GAAG;gBACN,OAAO,IAAI,CAAC;YACd;gBACE,OAAO,KAAK,CAAC;QACjB,CAAC;IACH,CAAC;IAED,IAAI,OAAO,CAAC,MAAM,YAAY,sBAAW,EAAE,CAAC;QAC1C,OAAO,OAAO,CAAC,MAAM,CAAC,SAAS,EAAE,CAAC;IACpC,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC;AAED,6FAA6F;AAC7F,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM,EAAE,CAAC;AAG1B,wBAAM;AAFf,MAAM,CAAC,OAAO,GAAG,YAAY,EAAE,CAAC"} -------------------------------------------------------------------------------- /src/builders/jest/schema.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Jest target options 3 | */ 4 | export type Schema = { 5 | /** 6 | * Run tests using Ahead of Time compilation. 7 | */ 8 | aot?: boolean; 9 | /** 10 | * Globs of files to exclude, relative to the project root. 11 | */ 12 | exclude?: string[]; 13 | /** 14 | * Globs of files to include, relative to project root. 15 | */ 16 | include?: string[]; 17 | /** 18 | * A list of polyfills to include in the build. Can be a full path for a file, relative to 19 | * the current workspace or module specifier. Example: 'zone.js'. 20 | */ 21 | polyfills?: string[]; 22 | /** 23 | * The name of the TypeScript configuration file. 24 | */ 25 | tsConfig: string; 26 | }; 27 | -------------------------------------------------------------------------------- /src/utils/output-paths.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"output-paths.js","sourceRoot":"","sources":["output-paths.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAMH,8CAeC;AAnBD,qCAAgD;AAChD,yCAAiC;AAGjC,SAAgB,iBAAiB,CAAC,cAAsB,EAAE,IAAiB;IACzE,MAAM,WAAW,GAAuB,IAAI,CAAC,YAAY;QACvD,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,aAAa,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;YACjC,CAAC;YACD,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,IAAA,gBAAI,EAAC,cAAc,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC;SACjF,CAAC;QACJ,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,cAAc,CAAC,CAAC,CAAC;IAE3B,KAAK,MAAM,CAAC,EAAE,UAAU,CAAC,IAAI,WAAW,EAAE,CAAC;QACzC,IAAI,CAAC,IAAA,oBAAU,EAAC,UAAU,CAAC,EAAE,CAAC;YAC5B,IAAA,mBAAS,EAAC,UAAU,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;QAC7C,CAAC;IACH,CAAC;IAED,OAAO,IAAI,GAAG,CAAC,WAAW,CAAC,CAAC;AAC9B,CAAC"} -------------------------------------------------------------------------------- /src/builders/protractor-error/index.js: -------------------------------------------------------------------------------- 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 | const architect_1 = require("@angular-devkit/architect"); 11 | exports.default = (0, architect_1.createBuilder)((_options, context) => { 12 | context.logger.error('Protractor has reached end-of-life and is no longer supported. For additional information and alternatives, please see https://blog.angular.dev/protractor-deprecation-update-august-2023-2beac7402ce0.'); 13 | return { success: false }; 14 | }); 15 | //# sourceMappingURL=index.js.map -------------------------------------------------------------------------------- /src/tools/webpack/plugins/named-chunks-plugin.d.ts: -------------------------------------------------------------------------------- 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 { Compiler } from 'webpack'; 9 | /** 10 | * Webpack will not populate the chunk `name` property unless `webpackChunkName` magic comment is used. 11 | * This however will also effect the filename which is not desired when using `deterministic` chunkIds. 12 | * This plugin will populate the chunk `name` which is mainly used so that users can set bundle budgets on lazy chunks. 13 | */ 14 | export declare class NamedChunksPlugin { 15 | apply(compiler: Compiler): void; 16 | private generateName; 17 | } 18 | -------------------------------------------------------------------------------- /src/builders/prerender/schema.d.ts: -------------------------------------------------------------------------------- 1 | export type Schema = { 2 | /** 3 | * Target to build. 4 | */ 5 | browserTarget: string; 6 | /** 7 | * Whether the builder should process the Angular Router configuration to find all 8 | * unparameterized routes and prerender them. 9 | */ 10 | discoverRoutes?: boolean; 11 | /** 12 | * The routes to render. 13 | */ 14 | routes?: string[]; 15 | /** 16 | * The path to a file that contains a list of all routes to prerender, separated by 17 | * newlines. This option is useful if you want to prerender routes with parameterized URLs. 18 | */ 19 | routesFile?: string; 20 | /** 21 | * Server target to use for prerendering the app. 22 | */ 23 | serverTarget: string; 24 | }; 25 | -------------------------------------------------------------------------------- /src/builders/web-test-runner/schema.js: -------------------------------------------------------------------------------- 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.InlineStyleLanguage = void 0; 6 | /** 7 | * The stylesheet language to use for the application's inline component styles. 8 | */ 9 | var InlineStyleLanguage; 10 | (function (InlineStyleLanguage) { 11 | InlineStyleLanguage["Css"] = "css"; 12 | InlineStyleLanguage["Less"] = "less"; 13 | InlineStyleLanguage["Sass"] = "sass"; 14 | InlineStyleLanguage["Scss"] = "scss"; 15 | })(InlineStyleLanguage || (exports.InlineStyleLanguage = InlineStyleLanguage = {})); 16 | //# sourceMappingURL=schema.js.map -------------------------------------------------------------------------------- /src/utils/i18n-webpack.d.ts: -------------------------------------------------------------------------------- 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 { type I18nOptions, loadTranslations } from '@angular/build/private'; 9 | import { BuilderContext } from '@angular-devkit/architect'; 10 | import { Schema as BrowserBuilderSchema } from '../builders/browser/schema'; 11 | import { Schema as ServerBuilderSchema } from '../builders/server/schema'; 12 | export { I18nOptions, loadTranslations }; 13 | export declare function configureI18nBuild(context: BuilderContext, options: T): Promise<{ 14 | buildOptions: T; 15 | i18n: I18nOptions; 16 | }>; 17 | -------------------------------------------------------------------------------- /src/utils/normalize-optimization.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"normalize-optimization.js","sourceRoot":"","sources":["normalize-optimization.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAgBH,sDAkCC;AAlCD,SAAgB,qBAAqB,CACnC,eAAkC,IAAI;IAEtC,IAAI,OAAO,YAAY,KAAK,QAAQ,EAAE,CAAC;QACrC,MAAM,iBAAiB,GAAG,CAAC,CAAC,YAAY,CAAC,MAAM,CAAC;QAEhD,OAAO;YACL,OAAO,EAAE,CAAC,CAAC,YAAY,CAAC,OAAO;YAC/B,MAAM,EACJ,OAAO,YAAY,CAAC,MAAM,KAAK,QAAQ;gBACrC,CAAC,CAAC,YAAY,CAAC,MAAM;gBACrB,CAAC,CAAC;oBACE,MAAM,EAAE,iBAAiB;oBACzB,cAAc,EAAE,iBAAiB;iBAClC;YACP,KAAK,EACH,OAAO,YAAY,CAAC,KAAK,KAAK,QAAQ;gBACpC,CAAC,CAAC,YAAY,CAAC,KAAK;gBACpB,CAAC,CAAC;oBACE,MAAM,EAAE,CAAC,CAAC,YAAY,CAAC,KAAK;iBAC7B;SACR,CAAC;IACJ,CAAC;IAED,OAAO;QACL,OAAO,EAAE,YAAY;QACrB,MAAM,EAAE;YACN,MAAM,EAAE,YAAY;YACpB,cAAc,EAAE,YAAY;SAC7B;QACD,KAAK,EAAE;YACL,MAAM,EAAE,YAAY;SACrB;KACF,CAAC;AACJ,CAAC"} -------------------------------------------------------------------------------- /src/tools/webpack/plugins/watch-files-logs-plugin.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"watch-files-logs-plugin.js","sourceRoot":"","sources":["watch-files-logs-plugin.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAIH,MAAM,WAAW,GAAG,iCAAiC,CAAC;AAEtD,MAAa,oBAAoB;IAC/B,KAAK,CAAC,QAAkB;QACtB,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC,EAAE,aAAa,EAAE,YAAY,EAAE,EAAE,EAAE;YAC3E,QAAQ,CAAC,KAAK,CAAC,WAAW,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC,WAAW,EAAE,EAAE;gBAC1D,MAAM,MAAM,GAAG,WAAW,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;gBAClD,IAAI,aAAa,EAAE,IAAI,EAAE,CAAC;oBACxB,MAAM,CAAC,GAAG,CAAC,oBAAoB,CAAC,GAAG,aAAa,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;gBACpE,CAAC;gBAED,IAAI,YAAY,EAAE,IAAI,EAAE,CAAC;oBACvB,MAAM,CAAC,GAAG,CAAC,mBAAmB,CAAC,GAAG,YAAY,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;gBAClE,CAAC;YACH,CAAC,CAAC,CAAC;QACL,CAAC,CAAC,CAAC;IACL,CAAC;CACF;AAfD,oDAeC"} -------------------------------------------------------------------------------- /src/builders/extract-i18n/builder.d.ts: -------------------------------------------------------------------------------- 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 type { BuilderContext, BuilderOutput } from '@angular-devkit/architect'; 9 | import type webpack from 'webpack'; 10 | import type { ExecutionTransformer } from '../../transforms'; 11 | import { Schema as ExtractI18nBuilderOptions } from './schema'; 12 | /** 13 | * @experimental Direct usage of this function is considered experimental. 14 | */ 15 | export declare function execute(options: ExtractI18nBuilderOptions, context: BuilderContext, transforms?: { 16 | webpackConfiguration?: ExecutionTransformer; 17 | }): Promise; 18 | -------------------------------------------------------------------------------- /src/builders/protractor/index.d.ts: -------------------------------------------------------------------------------- 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 { Schema as ProtractorBuilderOptions } from './schema'; 10 | export type { ProtractorBuilderOptions }; 11 | /** 12 | * @experimental Direct usage of this function is considered experimental. 13 | */ 14 | export declare function execute(options: ProtractorBuilderOptions, context: BuilderContext): Promise; 15 | declare const _default: import("@angular-devkit/architect").Builder; 16 | export default _default; 17 | -------------------------------------------------------------------------------- /src/utils/test-files.d.ts: -------------------------------------------------------------------------------- 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 { glob as globFn } from 'tinyglobby'; 9 | /** 10 | * Finds all test files in the project. 11 | * 12 | * @param options The builder options describing where to find tests. 13 | * @param workspaceRoot The path to the root directory of the workspace. 14 | * @param glob A promisified implementation of the `glob` module. Only intended for 15 | * testing purposes. 16 | * @returns A set of all test files in the project. 17 | */ 18 | export declare function findTestFiles(include: string[], exclude: string[], workspaceRoot: string, glob?: typeof globFn): Promise>; 19 | -------------------------------------------------------------------------------- /src/builders/jest/options.d.ts: -------------------------------------------------------------------------------- 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 { Schema as JestBuilderSchema } from './schema'; 9 | /** 10 | * Options supported for the Jest builder. The schema is an approximate 11 | * representation of the options type, but this is a more precise version. 12 | */ 13 | export type JestBuilderOptions = JestBuilderSchema & { 14 | include: string[]; 15 | exclude: string[]; 16 | }; 17 | /** 18 | * Normalizes input options validated by the schema to a more precise and useful 19 | * options type in {@link JestBuilderOptions}. 20 | */ 21 | export declare function normalizeOptions(schema: JestBuilderSchema): JestBuilderOptions; 22 | -------------------------------------------------------------------------------- /src/tools/babel/plugins/add-code-coverage.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"add-code-coverage.js","sourceRoot":"","sources":["add-code-coverage.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;;AAWH,4BAyBC;AAlCD,sCAAyD;AACzD,qEAAkE;AAClE,8DAAiC;AAEjC;;;;GAIG;AACH;IACE,MAAM,QAAQ,GAAG,IAAI,OAAO,EAAqB,CAAC;IAElD,OAAO;QACL,OAAO,EAAE;YACP,OAAO,EAAE;gBACP,KAAK,CAAC,IAAI,EAAE,KAAK;oBACf,MAAM,OAAO,GAAG,IAAA,wCAAc,EAAC,YAAK,EAAE,KAAK,CAAC,QAAQ,EAAE;wBACpD,yEAAyE;wBACzE,cAAc,EAAG,KAAK,CAAC,IAAI,CAAC,QAA+C,EAAE,QAAQ,EAAE;qBACxF,CAAC,CAAC;oBACH,QAAQ,CAAC,GAAG,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;oBAE5B,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;gBACtB,CAAC;gBACD,IAAI,CAAC,IAAI;oBACP,MAAM,OAAO,GAAG,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;oBACnC,IAAA,qBAAM,EAAC,OAAO,EAAE,oEAAoE,CAAC,CAAC;oBAEtF,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;oBACnB,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;gBACxB,CAAC;aACF;SACF;KACF,CAAC;AACJ,CAAC"} -------------------------------------------------------------------------------- /src/tools/webpack/utils/async-chunks.d.ts: -------------------------------------------------------------------------------- 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 { StatsChunk, StatsCompilation } from 'webpack'; 9 | import { NormalizedEntryPoint } from './helpers'; 10 | /** 11 | * Webpack stats may incorrectly mark extra entry points `initial` chunks, when 12 | * they are actually loaded asynchronously and thus not in the main bundle. This 13 | * function finds extra entry points in Webpack stats and corrects this value 14 | * whereever necessary. Does not modify {@param webpackStats}. 15 | */ 16 | export declare function markAsyncChunksNonInitial(webpackStats: StatsCompilation, extraEntryPoints: NormalizedEntryPoint[]): StatsChunk[]; 17 | -------------------------------------------------------------------------------- /src/tools/webpack/plugins/postcss-cli-resources.d.ts: -------------------------------------------------------------------------------- 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 { Plugin } from 'postcss'; 9 | export interface PostcssCliResourcesOptions { 10 | baseHref?: string; 11 | deployUrl?: string; 12 | resourcesOutputPath?: string; 13 | rebaseRootRelative?: boolean; 14 | /** CSS is extracted to a `.css` or is embedded in a `.js` file. */ 15 | extracted?: boolean; 16 | filename: (resourcePath: string) => string; 17 | loader: import('webpack').LoaderContext; 18 | emitFile: boolean; 19 | } 20 | export declare const postcss = true; 21 | export default function (options?: PostcssCliResourcesOptions): Plugin; 22 | -------------------------------------------------------------------------------- /src/tools/webpack/plugins/remove-hash-plugin.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"remove-hash-plugin.js","sourceRoot":"","sources":["remove-hash-plugin.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAUH,MAAa,gBAAgB;IACP;IAApB,YAAoB,OAAgC;QAAhC,YAAO,GAAP,OAAO,CAAyB;IAAG,CAAC;IAExD,KAAK,CAAC,QAAkB;QACtB,QAAQ,CAAC,KAAK,CAAC,WAAW,CAAC,GAAG,CAAC,oBAAoB,EAAE,CAAC,WAAW,EAAE,EAAE;YACnE,MAAM,SAAS,GAAG,CAAC,IAAY,EAAE,IAA0C,EAAE,EAAE;gBAC7E,MAAM,SAAS,GAAG,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC;gBACnC,MAAM,EAAE,UAAU,EAAE,UAAU,EAAE,GAAG,IAAI,CAAC,OAAO,CAAC;gBAEhD,IAAI,SAAS,IAAI,UAAU,EAAE,QAAQ,CAAC,SAAS,CAAC,EAAE,CAAC;oBACjD,2CAA2C;oBAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;gBAC5E,CAAC;gBAED,OAAO,IAAI,CAAC;YACd,CAAC,CAAC;YAEF,WAAW,CAAC,KAAK,CAAC,SAAS,CAAC,GAAG,CAAC,oBAAoB,EAAE,SAAS,CAAC,CAAC;QACnE,CAAC,CAAC,CAAC;IACL,CAAC;CACF;AApBD,4CAoBC"} -------------------------------------------------------------------------------- /src/builders/extract-i18n/application-extraction.d.ts: -------------------------------------------------------------------------------- 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 type { ɵParsedMessage as LocalizeMessage } from '@angular/localize'; 9 | import type { MessageExtractor } from '@angular/localize/tools'; 10 | import type { BuilderContext } from '@angular-devkit/architect'; 11 | import type { NormalizedExtractI18nOptions } from './options'; 12 | export declare function extractMessages(options: NormalizedExtractI18nOptions, builderName: string, context: BuilderContext, extractorConstructor: typeof MessageExtractor): Promise<{ 13 | success: boolean; 14 | basePath: string; 15 | messages: LocalizeMessage[]; 16 | useLegacyIds: boolean; 17 | }>; 18 | -------------------------------------------------------------------------------- /src/utils/tty.js: -------------------------------------------------------------------------------- 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.isTTY = isTTY; 11 | function _isTruthy(value) { 12 | // Returns true if value is a string that is anything but 0 or false. 13 | return value !== undefined && value !== '0' && value.toUpperCase() !== 'FALSE'; 14 | } 15 | function isTTY() { 16 | // If we force TTY, we always return true. 17 | const force = process.env['NG_FORCE_TTY']; 18 | if (force !== undefined) { 19 | return _isTruthy(force); 20 | } 21 | return !!process.stdout.isTTY && !_isTruthy(process.env['CI']); 22 | } 23 | //# sourceMappingURL=tty.js.map -------------------------------------------------------------------------------- /src/builders/dev-server/index.js: -------------------------------------------------------------------------------- 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.executeDevServer = exports.executeDevServerBuilder = void 0; 11 | const architect_1 = require("@angular-devkit/architect"); 12 | const builder_1 = require("./builder"); 13 | Object.defineProperty(exports, "executeDevServerBuilder", { enumerable: true, get: function () { return builder_1.execute; } }); 14 | Object.defineProperty(exports, "executeDevServer", { enumerable: true, get: function () { return builder_1.execute; } }); 15 | exports.default = (0, architect_1.createBuilder)(builder_1.execute); 16 | //# sourceMappingURL=index.js.map -------------------------------------------------------------------------------- /src/tools/webpack/plugins/builder-watch-plugin.d.ts: -------------------------------------------------------------------------------- 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 { Compiler } from 'webpack'; 9 | export type BuilderWatcherCallback = (events: Array<{ 10 | path: string; 11 | type: 'created' | 'modified' | 'deleted'; 12 | time?: number; 13 | }>) => void; 14 | export interface BuilderWatcherFactory { 15 | watch(files: Iterable, directories: Iterable, callback: BuilderWatcherCallback): { 16 | close(): void; 17 | }; 18 | } 19 | export declare class BuilderWatchPlugin { 20 | private readonly watcherFactory; 21 | constructor(watcherFactory: BuilderWatcherFactory); 22 | apply(compiler: Compiler): void; 23 | } 24 | -------------------------------------------------------------------------------- /src/tools/webpack/plugins/common-js-usage-warn-plugin.d.ts: -------------------------------------------------------------------------------- 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 { Compiler } from 'webpack'; 9 | export interface CommonJsUsageWarnPluginOptions { 10 | /** A list of CommonJS or AMD packages that are allowed to be used without a warning. Use `'*'` to allow all. */ 11 | allowedDependencies?: string[]; 12 | } 13 | export declare class CommonJsUsageWarnPlugin { 14 | private options; 15 | private shownWarnings; 16 | private allowedDependencies; 17 | constructor(options?: CommonJsUsageWarnPluginOptions); 18 | apply(compiler: Compiler): void; 19 | private hasCommonJsDependencies; 20 | private rawRequestToPackageName; 21 | } 22 | -------------------------------------------------------------------------------- /src/tools/webpack/plugins/scripts-webpack-plugin.d.ts: -------------------------------------------------------------------------------- 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 { Compilation, Compiler } from 'webpack'; 9 | export interface ScriptsWebpackPluginOptions { 10 | name: string; 11 | sourceMap?: boolean; 12 | scripts: string[]; 13 | filename: string; 14 | basePath: string; 15 | } 16 | export declare class ScriptsWebpackPlugin { 17 | private options; 18 | private _lastBuildTime?; 19 | private _cachedOutput?; 20 | constructor(options: ScriptsWebpackPluginOptions); 21 | shouldSkip(compilation: Compilation, scripts: string[]): Promise; 22 | private _insertOutput; 23 | apply(compiler: Compiler): void; 24 | } 25 | -------------------------------------------------------------------------------- /src/tools/webpack/configs/dev-server.d.ts: -------------------------------------------------------------------------------- 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 { logging } from '@angular-devkit/core'; 9 | import { Configuration } from 'webpack'; 10 | import { WebpackConfigOptions, WebpackDevServerOptions } from '../../../utils/build-options'; 11 | export declare function getDevServerConfig(wco: WebpackConfigOptions): Promise; 12 | /** 13 | * Resolve and build a URL _path_ that will be the root of the server. This resolved base href and 14 | * deploy URL from the browser options and returns a path from the root. 15 | */ 16 | export declare function buildServePath(options: WebpackDevServerOptions, logger: logging.LoggerApi): string; 17 | -------------------------------------------------------------------------------- /src/builders/ng-packagr/index.d.ts: -------------------------------------------------------------------------------- 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 { Observable } from 'rxjs'; 10 | import { Schema as NgPackagrBuilderOptions } from './schema'; 11 | /** 12 | * @experimental Direct usage of this function is considered experimental. 13 | */ 14 | export declare function execute(options: NgPackagrBuilderOptions, context: BuilderContext): Observable; 15 | export type { NgPackagrBuilderOptions }; 16 | declare const _default: import("@angular-devkit/architect").Builder & NgPackagrBuilderOptions & import("@angular-devkit/core").JsonObject>; 17 | export default _default; 18 | -------------------------------------------------------------------------------- /src/builders/browser-esbuild/schema.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"schema.js","sourceRoot":"","sources":["schema.ts"],"names":[],"mappings":";AACA,mFAAmF;AACnF,oFAAoF;;;AAyPpF;;GAEG;AACH,IAAY,IAQX;AARD,WAAY,IAAI;IACZ,mBAAW,CAAA;IACX,+BAAuB,CAAA;IACvB,mBAAW,CAAA;IACX,+CAAuC,CAAA;IACvC,+BAAuB,CAAA;IACvB,yBAAiB,CAAA;IACjB,2BAAmB,CAAA;AACvB,CAAC,EARW,IAAI,oBAAJ,IAAI,QAQf;AAED;;GAEG;AACH,IAAY,WAIX;AAJD,WAAY,WAAW;IACnB,sCAAuB,CAAA;IACvB,4BAAa,CAAA;IACb,iDAAkC,CAAA;AACtC,CAAC,EAJW,WAAW,2BAAX,WAAW,QAItB;AAOD;;;;GAIG;AACH,IAAY,eAIX;AAJD,WAAY,eAAe;IACvB,kCAAe,CAAA;IACf,oCAAiB,CAAA;IACjB,sCAAmB,CAAA;AACvB,CAAC,EAJW,eAAe,+BAAf,eAAe,QAI1B;AAoBD;;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;AA+DD;;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"} -------------------------------------------------------------------------------- /src/builders/browser/schema.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"schema.js","sourceRoot":"","sources":["schema.ts"],"names":[],"mappings":";AACA,mFAAmF;AACnF,oFAAoF;;;AA2PpF;;GAEG;AACH,IAAY,IAQX;AARD,WAAY,IAAI;IACZ,mBAAW,CAAA;IACX,+BAAuB,CAAA;IACvB,mBAAW,CAAA;IACX,+CAAuC,CAAA;IACvC,+BAAuB,CAAA;IACvB,yBAAiB,CAAA;IACjB,2BAAmB,CAAA;AACvB,CAAC,EARW,IAAI,oBAAJ,IAAI,QAQf;AAED;;GAEG;AACH,IAAY,WAIX;AAJD,WAAY,WAAW;IACnB,sCAAuB,CAAA;IACvB,4BAAa,CAAA;IACb,iDAAkC,CAAA;AACtC,CAAC,EAJW,WAAW,2BAAX,WAAW,QAItB;AASD;;;;GAIG;AACH,IAAY,eAIX;AAJD,WAAY,eAAe;IACvB,kCAAe,CAAA;IACf,oCAAiB,CAAA;IACjB,sCAAmB,CAAA;AACvB,CAAC,EAJW,eAAe,+BAAf,eAAe,QAI1B;AAoBD;;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;AA+DD;;;;;;;;GAQG;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"} -------------------------------------------------------------------------------- /src/tools/webpack/plugins/hmr/hmr-loader.js: -------------------------------------------------------------------------------- 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.HmrLoader = void 0; 11 | exports.default = localizeExtractLoader; 12 | const node_path_1 = require("node:path"); 13 | exports.HmrLoader = __filename; 14 | const hmrAcceptPath = (0, node_path_1.join)(__dirname, './hmr-accept.js').replace(/\\/g, '/'); 15 | function localizeExtractLoader(content, map) { 16 | const source = `${content} 17 | 18 | // HMR Accept Code 19 | import ngHmrAccept from '${hmrAcceptPath}'; 20 | ngHmrAccept(module); 21 | `; 22 | this.callback(null, source, map); 23 | return; 24 | } 25 | //# sourceMappingURL=hmr-loader.js.map -------------------------------------------------------------------------------- /src/builders/web-test-runner/builder-status-warnings.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"builder-status-warnings.js","sourceRoot":"","sources":["builder-status-warnings.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAyBH,4DAiBC;AArCD,MAAM,mBAAmB,GAAmC;IAC1D,MAAM;IACN,QAAQ;IACR,SAAS;IACT,QAAQ;IACR,qBAAqB;IACrB,0BAA0B;IAC1B,WAAW;IACX,UAAU;IACV,MAAM;IACN,kBAAkB;IAClB,UAAU;IACV,cAAc;IACd,qBAAqB;IACrB,kBAAkB;IAClB,mBAAmB;IACnB,OAAO;CACR,CAAC;AAEF,4DAA4D;AAC5D,SAAgB,wBAAwB,CAAC,OAA0B,EAAE,GAAmB;IACtF,6BAA6B;IAC7B,KAAK,MAAM,iBAAiB,IAAI,mBAAmB,EAAE,CAAC;QACpD,MAAM,KAAK,GAAI,OAAwC,CAAC,iBAAiB,CAAC,CAAC;QAE3E,IAAI,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,KAAK,EAAE,CAAC;YAC3C,SAAS;QACX,CAAC;QACD,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAC/C,SAAS;QACX,CAAC;QACD,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YACjE,SAAS;QACX,CAAC;QAED,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,iBAAiB,gDAAgD,CAAC,CAAC;IAC7F,CAAC;AACH,CAAC"} -------------------------------------------------------------------------------- /src/builders/prerender/index.d.ts: -------------------------------------------------------------------------------- 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 { Schema } from './schema'; 10 | type PrerenderBuilderOptions = Schema; 11 | type PrerenderBuilderOutput = BuilderOutput; 12 | /** 13 | * Builds the browser and server, then renders each route in options.routes 14 | * and writes them to prerender//index.html for each output path in 15 | * the browser result. 16 | */ 17 | export declare function execute(options: PrerenderBuilderOptions, context: BuilderContext): Promise; 18 | declare const _default: import("@angular-devkit/architect").Builder; 19 | export default _default; 20 | -------------------------------------------------------------------------------- /src/utils/normalize-source-maps.js: -------------------------------------------------------------------------------- 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.normalizeSourceMaps = normalizeSourceMaps; 11 | function normalizeSourceMaps(sourceMap) { 12 | const scripts = typeof sourceMap === 'object' ? sourceMap.scripts : sourceMap; 13 | const styles = typeof sourceMap === 'object' ? sourceMap.styles : sourceMap; 14 | const hidden = (typeof sourceMap === 'object' && sourceMap.hidden) || false; 15 | const vendor = (typeof sourceMap === 'object' && sourceMap.vendor) || false; 16 | return { 17 | vendor, 18 | hidden, 19 | scripts, 20 | styles, 21 | }; 22 | } 23 | //# sourceMappingURL=normalize-source-maps.js.map -------------------------------------------------------------------------------- /src/builders/jest/jest-global.mjs: -------------------------------------------------------------------------------- 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 | /** 10 | * @fileoverview Zone.js requires the `jest` global to be initialized in order to know that it must patch the environment to support Jest 11 | * execution. When running ESM code, Jest does _not_ inject the global `jest` symbol, so Zone.js would not normally know it is running 12 | * within Jest as users are supposed to import from `@jest/globals` or use `import.meta.jest`. Zone.js is not currently aware of this, so we 13 | * manually set this global to get Zone.js to run correctly. 14 | * 15 | * TODO(dgp1130): Update Zone.js to directly support Jest ESM executions so we can drop this. 16 | */ 17 | 18 | // eslint-disable-next-line no-undef 19 | globalThis.jest = import.meta.jest; 20 | -------------------------------------------------------------------------------- /src/tools/webpack/plugins/progress-plugin.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"progress-plugin.js","sourceRoot":"","sources":["progress-plugin.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,qCAAkE;AAClE,oDAAiD;AAEjD,MAAa,cAAe,SAAQ,wBAAqB;IACvD,YAAY,QAA8B;QACxC,MAAM,oBAAoB,GAAG,QAAQ,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC;QAC7E,MAAM,OAAO,GAAG,IAAI,iBAAO,EAAE,CAAC;QAC9B,OAAO,CAAC,KAAK,CAAC,cAAc,QAAQ,wCAAwC,CAAC,CAAC;QAE9E,KAAK,CAAC;YACJ,OAAO,EAAE,CAAC,UAAkB,EAAE,OAAe,EAAE,EAAE;gBAC/C,MAAM,KAAK,GAAG,OAAO,CAAC,CAAC,CAAC,YAAY,OAAO,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;gBACpD,OAAO,CAAC,IAAI,GAAG,cAAc,QAAQ,uBAAuB,KAAK,KAAK,CAAC;gBAEvE,QAAQ,UAAU,EAAE,CAAC;oBACnB,KAAK,CAAC;wBACJ,IAAI,OAAO,CAAC,UAAU,EAAE,CAAC;4BACvB,OAAO,CAAC,OAAO,CAAC,GAAG,oBAAoB,0CAA0C,CAAC,CAAC;wBACrF,CAAC;wBACD,MAAM;oBACR,KAAK,CAAC;wBACJ,IAAI,CAAC,OAAO,CAAC,UAAU,EAAE,CAAC;4BACxB,OAAO,CAAC,KAAK,EAAE,CAAC;wBAClB,CAAC;wBACD,MAAM;gBACV,CAAC;YACH,CAAC;SACF,CAAC,CAAC;IACL,CAAC;CACF;AA1BD,wCA0BC"} -------------------------------------------------------------------------------- /src/utils/error.js: -------------------------------------------------------------------------------- 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 | var __importDefault = (this && this.__importDefault) || function (mod) { 10 | return (mod && mod.__esModule) ? mod : { "default": mod }; 11 | }; 12 | Object.defineProperty(exports, "__esModule", { value: true }); 13 | exports.assertIsError = assertIsError; 14 | const node_assert_1 = __importDefault(require("node:assert")); 15 | function assertIsError(value) { 16 | const isError = value instanceof Error || 17 | // The following is needing to identify errors coming from RxJs. 18 | (typeof value === 'object' && value && 'name' in value && 'message' in value); 19 | (0, node_assert_1.default)(isError, 'catch clause variable is not an Error instance'); 20 | } 21 | //# sourceMappingURL=error.js.map -------------------------------------------------------------------------------- /src/builders/jest/options.js: -------------------------------------------------------------------------------- 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.normalizeOptions = normalizeOptions; 11 | /** 12 | * Normalizes input options validated by the schema to a more precise and useful 13 | * options type in {@link JestBuilderOptions}. 14 | */ 15 | function normalizeOptions(schema) { 16 | return { 17 | // Options with default values can't actually be null, even if the types say so. 18 | /* eslint-disable @typescript-eslint/no-non-null-assertion */ 19 | include: schema.include, 20 | exclude: schema.exclude, 21 | /* eslint-enable @typescript-eslint/no-non-null-assertion */ 22 | ...schema, 23 | }; 24 | } 25 | //# sourceMappingURL=options.js.map -------------------------------------------------------------------------------- /src/tools/webpack/plugins/json-stats-plugin.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"json-stats-plugin.js","sourceRoot":"","sources":["json-stats-plugin.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,qCAA4C;AAC5C,+CAAyC;AACzC,yCAAoC;AACpC,mDAAgD;AAEhD,gDAAqD;AACrD,4EAA8D;AAE9D,MAAa,eAAe;IACG;IAA7B,YAA6B,eAAuB;QAAvB,oBAAe,GAAf,eAAe,CAAQ;IAAG,CAAC;IAExD,KAAK,CAAC,QAAkB;QACtB,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,oBAAoB,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE;YACnE,MAAM,EAAE,gBAAgB,EAAE,GAAG,wDAAa,uBAAuB,GAAC,CAAC;YACnE,MAAM,IAAI,GAAG,KAAK,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;YAErC,IAAI,CAAC;gBACH,MAAM,IAAA,gBAAK,EAAC,IAAA,mBAAO,EAAC,IAAI,CAAC,eAAe,CAAC,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;gBAChE,MAAM,IAAA,mBAAQ,EAAC,gBAAgB,CAAC,IAAI,CAAC,EAAE,IAAA,2BAAiB,EAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC;YAClF,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBACf,IAAA,qBAAa,EAAC,KAAK,CAAC,CAAC;gBACrB,IAAA,8BAAQ,EACN,KAAK,CAAC,WAAW,EACjB,+BAA+B,KAAK,CAAC,OAAO,IAAI,eAAe,EAAE,CAClE,CAAC;YACJ,CAAC;QACH,CAAC,CAAC,CAAC;IACL,CAAC;CACF;AApBD,0CAoBC"} -------------------------------------------------------------------------------- /src/builders/ng-packagr/schema.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema", 3 | "title": "ng-packagr Target", 4 | "description": "ng-packagr target options for Build Architect. Use to build library projects.", 5 | "type": "object", 6 | "properties": { 7 | "project": { 8 | "type": "string", 9 | "description": "The file path for the ng-packagr configuration file, relative to the current workspace." 10 | }, 11 | "tsConfig": { 12 | "type": "string", 13 | "description": "The full path for the TypeScript configuration file, relative to the current workspace." 14 | }, 15 | "watch": { 16 | "type": "boolean", 17 | "description": "Run build when files change.", 18 | "default": false 19 | }, 20 | "poll": { 21 | "type": "number", 22 | "description": "Enable and define the file watching poll time period in milliseconds." 23 | } 24 | }, 25 | "additionalProperties": false, 26 | "required": ["project"] 27 | } 28 | -------------------------------------------------------------------------------- /src/builders/extract-i18n/webpack-extraction.d.ts: -------------------------------------------------------------------------------- 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 type { ɵParsedMessage as LocalizeMessage } from '@angular/localize'; 9 | import { BuilderContext } from '@angular-devkit/architect'; 10 | import { BuildResult } from '@angular-devkit/build-webpack'; 11 | import webpack from 'webpack'; 12 | import { ExecutionTransformer } from '../../transforms'; 13 | import { NormalizedExtractI18nOptions } from './options'; 14 | export declare function extractMessages(options: NormalizedExtractI18nOptions, builderName: string, context: BuilderContext, transforms?: { 15 | webpackConfiguration?: ExecutionTransformer; 16 | }): Promise<{ 17 | builderResult: BuildResult; 18 | basePath: string; 19 | messages: LocalizeMessage[]; 20 | useLegacyIds: boolean; 21 | }>; 22 | -------------------------------------------------------------------------------- /src/builders/web-test-runner/options.d.ts: -------------------------------------------------------------------------------- 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 { Schema as WtrBuilderSchema } from './schema'; 9 | /** 10 | * Options supported for the Web Test Runner builder. The schema is an approximate 11 | * representation of the options type, but this is a more precise version. 12 | */ 13 | export type WtrBuilderOptions = Overwrite; 18 | type Overwrite = Omit & Overrides; 19 | /** 20 | * Normalizes input options validated by the schema to a more precise and useful 21 | * options type in {@link WtrBuilderOptions}. 22 | */ 23 | export declare function normalizeOptions(schema: WtrBuilderSchema): WtrBuilderOptions; 24 | export {}; 25 | -------------------------------------------------------------------------------- /src/tools/webpack/plugins/index-html-webpack-plugin.d.ts: -------------------------------------------------------------------------------- 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 { IndexHtmlGenerator, IndexHtmlGeneratorOptions, IndexHtmlGeneratorProcessOptions } from '@angular/build/private'; 9 | import { Compilation, Compiler } from 'webpack'; 10 | export interface IndexHtmlWebpackPluginOptions extends IndexHtmlGeneratorOptions, Omit { 11 | } 12 | export declare class IndexHtmlWebpackPlugin extends IndexHtmlGenerator { 13 | readonly options: IndexHtmlWebpackPluginOptions; 14 | private _compilation; 15 | get compilation(): Compilation; 16 | constructor(options: IndexHtmlWebpackPluginOptions); 17 | apply(compiler: Compiler): void; 18 | readAsset(path: string): Promise; 19 | protected readIndex(path: string): Promise; 20 | } 21 | -------------------------------------------------------------------------------- /src/utils/normalize-polyfills.js: -------------------------------------------------------------------------------- 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.normalizePolyfills = normalizePolyfills; 11 | const node_fs_1 = require("node:fs"); 12 | const node_path_1 = require("node:path"); 13 | function normalizePolyfills(polyfills, root) { 14 | if (!polyfills) { 15 | return []; 16 | } 17 | const polyfillsList = Array.isArray(polyfills) ? polyfills : [polyfills]; 18 | return polyfillsList.map((p) => { 19 | const resolvedPath = (0, node_path_1.resolve)(root, p); 20 | // If file doesn't exist, let the bundle resolve it using node module resolution. 21 | return (0, node_fs_1.existsSync)(resolvedPath) ? resolvedPath : p; 22 | }); 23 | } 24 | //# sourceMappingURL=normalize-polyfills.js.map -------------------------------------------------------------------------------- /src/utils/load-esm.d.ts: -------------------------------------------------------------------------------- 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 uses a dynamic import to load a module which may be ESM. 10 | * CommonJS code can load ESM code via a dynamic import. Unfortunately, TypeScript 11 | * will currently, unconditionally downlevel dynamic import into a require call. 12 | * require calls cannot load ESM code and will result in a runtime error. To workaround 13 | * this, a Function constructor is used to prevent TypeScript from changing the dynamic import. 14 | * Once TypeScript provides support for keeping the dynamic import this workaround can 15 | * be dropped. 16 | * 17 | * @param modulePath The path of the module to load. 18 | * @returns A Promise that resolves to the dynamically imported module. 19 | */ 20 | export declare function loadEsmModule(modulePath: string | URL): Promise; 21 | -------------------------------------------------------------------------------- /src/builders/karma/browser_builder.d.ts: -------------------------------------------------------------------------------- 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 type { ConfigOptions } from 'karma'; 10 | import { Observable } from 'rxjs'; 11 | import { Configuration } from 'webpack'; 12 | import { ExecutionTransformer } from '../../transforms'; 13 | import { Schema as KarmaBuilderOptions } from './schema'; 14 | export type KarmaConfigOptions = ConfigOptions & { 15 | buildWebpack?: unknown; 16 | configFile?: string; 17 | }; 18 | export declare function execute(options: KarmaBuilderOptions, context: BuilderContext, karmaOptions: KarmaConfigOptions, transforms?: { 19 | webpackConfiguration?: ExecutionTransformer; 20 | karmaOptions?: (options: KarmaConfigOptions) => KarmaConfigOptions; 21 | }): Observable; 22 | -------------------------------------------------------------------------------- /src/tools/webpack/plugins/index.d.ts: -------------------------------------------------------------------------------- 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 | export { AnyComponentStyleBudgetChecker } from './any-component-style-budget-checker'; 9 | export { ScriptsWebpackPlugin, type ScriptsWebpackPluginOptions } from './scripts-webpack-plugin'; 10 | export { SuppressExtractedTextChunksWebpackPlugin } from './suppress-entry-chunks-webpack-plugin'; 11 | export { RemoveHashPlugin, type RemoveHashPluginOptions } from './remove-hash-plugin'; 12 | export { DedupeModuleResolvePlugin } from './dedupe-module-resolve-plugin'; 13 | export { CommonJsUsageWarnPlugin } from './common-js-usage-warn-plugin'; 14 | export { JsonStatsPlugin } from './json-stats-plugin'; 15 | export { JavaScriptOptimizerPlugin } from './javascript-optimizer-plugin'; 16 | export { default as PostcssCliResources, type PostcssCliResourcesOptions, } from './postcss-cli-resources'; 17 | -------------------------------------------------------------------------------- /src/builders/ssr-dev-server/index.d.ts: -------------------------------------------------------------------------------- 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; 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; 23 | export default _default; 24 | -------------------------------------------------------------------------------- /src/builders/jest/init-test-bed.mjs: -------------------------------------------------------------------------------- 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 | // TODO(dgp1130): These imports likely don't resolve in stricter package environments like `pnpm`, since they are resolved relative to 10 | // `@angular-devkit/build-angular` rather than the user's workspace. Should look into virtual modules to support those use cases. 11 | 12 | import { NgModule, provideZoneChangeDetection } from '@angular/core'; 13 | import { getTestBed } from '@angular/core/testing'; 14 | import { BrowserTestingModule, platformBrowserTesting } from '@angular/platform-browser/testing'; 15 | 16 | @NgModule({ 17 | providers: [typeof window.Zone !== 'undefined' ? provideZoneChangeDetection() : []], 18 | }) 19 | class TestModule {} 20 | 21 | getTestBed().initTestEnvironment([BrowserTestingModule, TestModule], platformBrowserTesting(), { 22 | errorOnUnknownElements: true, 23 | errorOnUnknownProperties: true, 24 | }); 25 | -------------------------------------------------------------------------------- /src/builders/web-test-runner/options.js: -------------------------------------------------------------------------------- 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.normalizeOptions = normalizeOptions; 11 | /** 12 | * Normalizes input options validated by the schema to a more precise and useful 13 | * options type in {@link WtrBuilderOptions}. 14 | */ 15 | function normalizeOptions(schema) { 16 | return { 17 | ...schema, 18 | // Options with default values can't actually be null, even if the types say so. 19 | /* eslint-disable @typescript-eslint/no-non-null-assertion */ 20 | include: schema.include, 21 | exclude: schema.exclude, 22 | /* eslint-enable @typescript-eslint/no-non-null-assertion */ 23 | polyfills: typeof schema.polyfills === 'string' ? [schema.polyfills] : schema.polyfills ?? [], 24 | }; 25 | } 26 | //# sourceMappingURL=options.js.map -------------------------------------------------------------------------------- /src/utils/output-paths.js: -------------------------------------------------------------------------------- 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.ensureOutputPaths = ensureOutputPaths; 11 | const node_fs_1 = require("node:fs"); 12 | const node_path_1 = require("node:path"); 13 | function ensureOutputPaths(baseOutputPath, i18n) { 14 | const outputPaths = i18n.shouldInline 15 | ? [...i18n.inlineLocales].map((l) => [ 16 | l, 17 | i18n.flatOutput ? baseOutputPath : (0, node_path_1.join)(baseOutputPath, i18n.locales[l].subPath), 18 | ]) 19 | : [['', baseOutputPath]]; 20 | for (const [, outputPath] of outputPaths) { 21 | if (!(0, node_fs_1.existsSync)(outputPath)) { 22 | (0, node_fs_1.mkdirSync)(outputPath, { recursive: true }); 23 | } 24 | } 25 | return new Map(outputPaths); 26 | } 27 | //# sourceMappingURL=output-paths.js.map -------------------------------------------------------------------------------- /src/builders/prerender/render-worker.d.ts: -------------------------------------------------------------------------------- 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 | export interface RenderOptions { 9 | indexFile: string; 10 | deployUrl: string; 11 | inlineCriticalCss: boolean; 12 | minifyCss: boolean; 13 | outputPath: string; 14 | serverBundlePath: string; 15 | route: string; 16 | } 17 | export interface RenderResult { 18 | errors?: string[]; 19 | warnings?: string[]; 20 | } 21 | /** 22 | * Renders each route in routes and writes them to //index.html. 23 | */ 24 | declare function render({ indexFile, deployUrl, minifyCss, outputPath, serverBundlePath, route, inlineCriticalCss, }: RenderOptions): Promise; 25 | /** 26 | * The default export will be the promise returned by the initialize function. 27 | * This is awaited by piscina prior to using the Worker. 28 | */ 29 | declare const _default: Promise; 30 | export default _default; 31 | -------------------------------------------------------------------------------- /src/utils/action-executor.d.ts: -------------------------------------------------------------------------------- 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 { InlineOptions } from './bundle-inline-options'; 9 | import { I18nOptions } from './i18n-webpack'; 10 | export declare class BundleActionExecutor { 11 | private workerOptions; 12 | private workerPool?; 13 | constructor(workerOptions: { 14 | i18n: I18nOptions; 15 | }); 16 | private ensureWorkerPool; 17 | inline(action: InlineOptions): Promise<{ 18 | file: string; 19 | diagnostics: { 20 | type: string; 21 | message: string; 22 | }[]; 23 | count: number; 24 | }>; 25 | inlineAll(actions: Iterable): AsyncIterable<{ 26 | file: string; 27 | diagnostics: { 28 | type: string; 29 | message: string; 30 | }[]; 31 | count: number; 32 | }>; 33 | private static executeAll; 34 | stop(): void; 35 | } 36 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 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 | var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { 10 | if (k2 === undefined) k2 = k; 11 | var desc = Object.getOwnPropertyDescriptor(m, k); 12 | if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { 13 | desc = { enumerable: true, get: function() { return m[k]; } }; 14 | } 15 | Object.defineProperty(o, k2, desc); 16 | }) : (function(o, m, k, k2) { 17 | if (k2 === undefined) k2 = k; 18 | o[k2] = m[k]; 19 | })); 20 | var __exportStar = (this && this.__exportStar) || function(m, exports) { 21 | for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); 22 | }; 23 | Object.defineProperty(exports, "__esModule", { value: true }); 24 | __exportStar(require("./src/index"), exports); 25 | //# sourceMappingURL=index.js.map -------------------------------------------------------------------------------- /src/utils/spinner.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"spinner.js","sourceRoot":"","sources":["spinner.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;;;AAEH,8CAAoC;AACpC,mCAAiC;AACjC,+BAA8B;AAE9B,MAAa,OAAO;IACD,OAAO,CAAM;IAE9B,wDAAwD;IACxD,OAAO,GAAG,IAAI,CAAC;IACN,MAAM,GAAG,IAAA,WAAK,GAAE,CAAC;IAE1B,YAAY,IAAa;QACvB,IAAI,CAAC,OAAO,GAAG,IAAA,aAAG,EAAC;YACjB,IAAI,EAAE,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,GAAG,IAAI;YAClD,0EAA0E;YAC1E,uCAAuC;YACvC,UAAU,EAAE,KAAK;YACjB,YAAY,EAAE,KAAK;YACnB,SAAS,EAAE,IAAI,CAAC,MAAM;SACvB,CAAC,CAAC;IACL,CAAC;IAED,IAAI,IAAI,CAAC,IAAY;QACnB,IAAI,CAAC,OAAO,CAAC,IAAI,GAAG,IAAI,CAAC;IAC3B,CAAC;IAED,IAAI,UAAU;QACZ,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC;IACjD,CAAC;IAED,OAAO,CAAC,IAAa;QACnB,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;YACjB,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAC7B,CAAC;IACH,CAAC;IAED,IAAI,CAAC,IAAa;QAChB,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,IAAI,cAAM,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC;IACpD,CAAC;IAED,IAAI;QACF,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;IACtB,CAAC;IAED,KAAK,CAAC,IAAa;QACjB,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;YACjB,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QAC3B,CAAC;IACH,CAAC;CACF;AA7CD,0BA6CC"} -------------------------------------------------------------------------------- /src/builders/web-test-runner/write-test-files.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"write-test-files.js","sourceRoot":"","sources":["write-test-files.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;;AAOH,wCAyBC;AA9BD,0CAAqD;AACrD,oDAAqE;AACrE,gEAAkC;AAClC,0DAA6B;AAEtB,KAAK,UAAU,cAAc,CAAC,KAAiC,EAAE,OAAe;IACrF,MAAM,eAAe,GAAG,IAAI,GAAG,EAAU,CAAC;IAC1C,kGAAkG;IAClG,MAAM,IAAA,yBAAe,EAAC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,CAAC,QAAQ,EAAE,IAAI,CAAC,EAAE,EAAE;QACtE,IAAI,IAAI,CAAC,IAAI,KAAK,2BAAmB,CAAC,OAAO,IAAI,IAAI,CAAC,IAAI,KAAK,2BAAmB,CAAC,KAAK,EAAE,CAAC;YACzF,OAAO;QACT,CAAC;QAED,MAAM,YAAY,GAAG,mBAAI,CAAC,IAAI,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;QAElD,qCAAqC;QACrC,MAAM,YAAY,GAAG,mBAAI,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;QAChD,IAAI,YAAY,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE,CAAC;YACvD,MAAM,kBAAE,CAAC,KAAK,CAAC,YAAY,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;YAClD,eAAe,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;QACpC,CAAC;QAED,IAAI,IAAI,CAAC,MAAM,KAAK,QAAQ,EAAE,CAAC;YAC7B,sBAAsB;YACtB,MAAM,kBAAE,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC;QAClD,CAAC;aAAM,CAAC;YACN,qBAAqB;YACrB,MAAM,kBAAE,CAAC,QAAQ,CAAC,IAAI,CAAC,SAAS,EAAE,YAAY,EAAE,kBAAE,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;QACjF,CAAC;IACH,CAAC,CAAC,CAAC;AACL,CAAC"} -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License 2 | 3 | Copyright (c) 2010-2025 Google LLC. https://angular.dev/license 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /src/utils/normalize-cache.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"normalize-cache.js","sourceRoot":"","sources":["normalize-cache.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAmCH,sDA4BC;AA7DD,yCAA0C;AAE1C,2FAA2F;AAC3F,MAAM,OAAO,GAAG,mBAAmB,CAAC;AAmBpC,SAAS,gBAAgB,CAAC,KAAc;IACtC,OAAO,CACL,CAAC,CAAC,KAAK;QACP,OAAO,KAAK,KAAK,QAAQ;QACzB,KAAK,IAAI,KAAK;QACd,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC;QACd,OAAO,KAAK,CAAC,KAAK,CAAC,KAAK,QAAQ;QAChC,OAAO,IAAI,KAAK,CAAC,KAAK,CAAC,CACxB,CAAC;AACJ,CAAC;AAED,SAAgB,qBAAqB,CACnC,eAAwB,EACxB,YAAoB;IAEpB,MAAM,aAAa,GAAG,gBAAgB,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,eAAe,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;IAEzF,MAAM,EAAE,OAAO,GAAG,IAAI,EAAE,WAAW,GAAG,OAAO,EAAE,IAAI,GAAG,gBAAgB,EAAE,GAAG,aAAa,CAAC;IACzF,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,GAAG,IAAI,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,WAAW,EAAE,KAAK,MAAM,CAAC;IAEtF,IAAI,YAAY,GAAG,OAAO,CAAC;IAC3B,IAAI,YAAY,EAAE,CAAC;QACjB,QAAQ,WAAW,EAAE,CAAC;YACpB,KAAK,IAAI;gBACP,YAAY,GAAG,IAAI,CAAC;gBACpB,MAAM;YACR,KAAK,OAAO;gBACV,YAAY,GAAG,CAAC,IAAI,CAAC;gBACrB,MAAM;QACV,CAAC;IACH,CAAC;IAED,MAAM,aAAa,GAAG,IAAA,mBAAO,EAAC,YAAY,EAAE,IAAI,CAAC,CAAC;IAElD,OAAO;QACL,OAAO,EAAE,YAAY;QACrB,QAAQ,EAAE,aAAa;QACvB,IAAI,EAAE,IAAA,gBAAI,EAAC,aAAa,EAAE,OAAO,CAAC;KACnC,CAAC;AACJ,CAAC"} -------------------------------------------------------------------------------- /src/builders/karma/schema.js: -------------------------------------------------------------------------------- 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.InlineStyleLanguage = exports.BuilderMode = void 0; 6 | /** 7 | * Determines how to build the code under test. If set to 'detect', attempts to follow the 8 | * development builder. 9 | */ 10 | var BuilderMode; 11 | (function (BuilderMode) { 12 | BuilderMode["Application"] = "application"; 13 | BuilderMode["Browser"] = "browser"; 14 | BuilderMode["Detect"] = "detect"; 15 | })(BuilderMode || (exports.BuilderMode = BuilderMode = {})); 16 | /** 17 | * The stylesheet language to use for the application's inline component styles. 18 | */ 19 | var InlineStyleLanguage; 20 | (function (InlineStyleLanguage) { 21 | InlineStyleLanguage["Css"] = "css"; 22 | InlineStyleLanguage["Less"] = "less"; 23 | InlineStyleLanguage["Sass"] = "sass"; 24 | InlineStyleLanguage["Scss"] = "scss"; 25 | })(InlineStyleLanguage || (exports.InlineStyleLanguage = InlineStyleLanguage = {})); 26 | //# sourceMappingURL=schema.js.map -------------------------------------------------------------------------------- /src/tools/webpack/plugins/service-worker-plugin.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"service-worker-plugin.js","sourceRoot":"","sources":["service-worker-plugin.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,oDAAqE;AAUrE,MAAa,mBAAmB;IACD;IAA7B,YAA6B,OAAmC;QAAnC,YAAO,GAAP,OAAO,CAA4B;IAAG,CAAC;IAEpE,KAAK,CAAC,QAAkB;QACtB,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,wBAAwB,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE;YACvE,IAAI,KAAK,CAAC,SAAS,EAAE,EAAE,CAAC;gBACtB,iEAAiE;gBACjE,8HAA8H;gBAC9H,OAAO;YACT,CAAC;YAED,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,QAAQ,GAAG,EAAE,EAAE,cAAc,EAAE,GAAG,IAAI,CAAC,OAAO,CAAC;YAC1E,MAAM,EAAE,WAAW,EAAE,GAAG,KAAK,CAAC;YAC9B,oFAAoF;YACpF,gEAAgE;YAChE,sKAAsK;YACtK,MAAM,UAAU,GAAG,WAAW,CAAC,aAAa,CAAC,IAAI,CAAC;YAElD,IAAI,CAAC,UAAU,EAAE,CAAC;gBAChB,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;YAC9D,CAAC;YAED,IAAI,CAAC;gBACH,MAAM,IAAA,qCAA2B,EAC/B,WAAW,EACX,IAAI,EACJ,UAAU,EACV,QAAQ,EACR,cAAc;gBACd,8DAA8D;gBAC7D,QAAQ,CAAC,eAAuB,CAAC,QAAQ;gBAC1C,8DAA8D;gBAC7D,QAAQ,CAAC,gBAAwB,CAAC,QAAQ,CAC5C,CAAC;YACJ,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBACf,WAAW,CAAC,MAAM,CAAC,IAAI,CACrB,IAAI,WAAW,CAAC,QAAQ,CAAC,OAAO,CAAC,YAAY,CAC3C,uCAAuC,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,EAAE,CACxF,CACF,CAAC;YACJ,CAAC;QACH,CAAC,CAAC,CAAC;IACL,CAAC;CACF;AA3CD,kDA2CC"} -------------------------------------------------------------------------------- /src/tools/webpack/utils/async-chunks.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"async-chunks.js","sourceRoot":"","sources":["async-chunks.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAWH,8DAoCC;AA1CD;;;;;GAKG;AACH,SAAgB,yBAAyB,CACvC,YAA8B,EAC9B,gBAAwC;IAExC,MAAM,EAAE,MAAM,GAAG,EAAE,EAAE,WAAW,EAAE,WAAW,GAAG,EAAE,EAAE,GAAG,YAAY,CAAC;IAEpE,8EAA8E;IAC9E,8EAA8E;IAC9E,6EAA6E;IAC7E,uCAAuC;IACvC,MAAM,aAAa,GAAG,gBAAgB;SACnC,MAAM,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,CAAC,UAAU,CAAC,MAAM,IAAI,WAAW,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;SAChF,OAAO,CAAC,CAAC,UAAU,EAAE,EAAE,CACtB,WAAW,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,KAAK,SAAS,CAAC,CAC1E,CAAC;IAEJ,2BAA2B;IAC3B,MAAM,WAAW,GAAG,aAAa,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE;QAChD,MAAM,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,EAAE,KAAK,OAAO,CAAC,CAAC;QAC3D,IAAI,CAAC,KAAK,EAAE,CAAC;YACX,MAAM,IAAI,KAAK,CAAC,yBAAyB,OAAO,cAAc,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;QAC1F,CAAC;QAED,OAAO,KAAK,CAAC;IACf,CAAC,CAAC,CAAC;IAEH,mFAAmF;IACnF,gFAAgF;IAChF,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE;QAC1B,OAAO,WAAW,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,UAAU,KAAK,KAAK,CAAC;YAC3D,CAAC,CAAC;gBACE,GAAG,KAAK;gBACR,OAAO,EAAE,KAAK;aACf;YACH,CAAC,CAAC,KAAK,CAAC;IACZ,CAAC,CAAC,CAAC;AACL,CAAC"} -------------------------------------------------------------------------------- /src/utils/package-chunk-sort.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"package-chunk-sort.js","sourceRoot":"","sources":["package-chunk-sort.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAOH,kDAoCC;AAxCD,4DAA2E;AAI3E,SAAgB,mBAAmB,CAAC,OAInC;IACC,mDAAmD;IACnD,MAAM,gBAAgB,GAAG,CACvB,gBAAkD,EAClD,iBAAyB,EACzB,EAAE;QACF,MAAM,WAAW,GAAG,IAAA,mCAAyB,EAAC,gBAAgB,EAAE,iBAAiB,CAAC;aAC/E,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC;aAC/B,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;QAEpC,oBAAoB;QACpB,OAAO,CAAC,GAAG,IAAI,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,GAAG,CAAkB,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC;IAC3E,CAAC,CAAC;IAEF,MAAM,WAAW,GAAsB;QACrC,CAAC,SAAS,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC;QAClC,CAAC,WAAW,EAAE,IAAI,CAAC;QACnB,GAAG,gBAAgB,CAAC,OAAO,CAAC,MAAM,EAAE,QAAQ,CAAC;QAC7C,GAAG,gBAAgB,CAAC,OAAO,CAAC,OAAO,EAAE,SAAS,CAAC;QAC/C,CAAC,QAAQ,EAAE,IAAI,CAAC;QAChB,CAAC,MAAM,EAAE,IAAI,CAAC;KACf,CAAC;IAEF,MAAM,UAAU,GAAG,WAAW,CAAC,MAAM,CACnC,CAAC,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,WAAW,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,IAAI,CAAC,CAC9E,CAAC;IAEF,IAAI,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAC1B,MAAM,IAAI,KAAK,CAAC,+CAA+C,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IAC9F,CAAC;IAED,OAAO,WAAW,CAAC;AACrB,CAAC"} -------------------------------------------------------------------------------- /src/tools/webpack/plugins/watch-files-logs-plugin.js: -------------------------------------------------------------------------------- 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.WatchFilesLogsPlugin = void 0; 11 | const PLUGIN_NAME = 'angular.watch-files-logs-plugin'; 12 | class WatchFilesLogsPlugin { 13 | apply(compiler) { 14 | compiler.hooks.watchRun.tap(PLUGIN_NAME, ({ modifiedFiles, removedFiles }) => { 15 | compiler.hooks.compilation.tap(PLUGIN_NAME, (compilation) => { 16 | const logger = compilation.getLogger(PLUGIN_NAME); 17 | if (modifiedFiles?.size) { 18 | logger.log(`Modified files:\n${[...modifiedFiles].join('\n')}\n`); 19 | } 20 | if (removedFiles?.size) { 21 | logger.log(`Removed files:\n${[...removedFiles].join('\n')}\n`); 22 | } 23 | }); 24 | }); 25 | } 26 | } 27 | exports.WatchFilesLogsPlugin = WatchFilesLogsPlugin; 28 | //# sourceMappingURL=watch-files-logs-plugin.js.map -------------------------------------------------------------------------------- /src/tools/webpack/plugins/dedupe-module-resolve-plugin.d.ts: -------------------------------------------------------------------------------- 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 { Compiler } from 'webpack'; 9 | export interface DedupeModuleResolvePluginOptions { 10 | verbose?: boolean; 11 | } 12 | /** 13 | * DedupeModuleResolvePlugin is a webpack plugin which dedupes modules with the same name and versions 14 | * that are laid out in different parts of the node_modules tree. 15 | * 16 | * This is needed because Webpack relies on package managers to hoist modules and doesn't have any deduping logic. 17 | * 18 | * This is similar to how Webpack's 'NormalModuleReplacementPlugin' works 19 | * @see https://github.com/webpack/webpack/blob/4a1f068828c2ab47537d8be30d542cd3a1076db4/lib/NormalModuleReplacementPlugin.js#L9 20 | */ 21 | export declare class DedupeModuleResolvePlugin { 22 | private options?; 23 | modules: Map; 27 | constructor(options?: DedupeModuleResolvePluginOptions | undefined); 28 | apply(compiler: Compiler): void; 29 | } 30 | -------------------------------------------------------------------------------- /src/tools/webpack/configs/index.js: -------------------------------------------------------------------------------- 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 | var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { 10 | if (k2 === undefined) k2 = k; 11 | var desc = Object.getOwnPropertyDescriptor(m, k); 12 | if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { 13 | desc = { enumerable: true, get: function() { return m[k]; } }; 14 | } 15 | Object.defineProperty(o, k2, desc); 16 | }) : (function(o, m, k, k2) { 17 | if (k2 === undefined) k2 = k; 18 | o[k2] = m[k]; 19 | })); 20 | var __exportStar = (this && this.__exportStar) || function(m, exports) { 21 | for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); 22 | }; 23 | Object.defineProperty(exports, "__esModule", { value: true }); 24 | __exportStar(require("./common"), exports); 25 | __exportStar(require("./dev-server"), exports); 26 | __exportStar(require("./styles"), exports); 27 | //# sourceMappingURL=index.js.map -------------------------------------------------------------------------------- /src/utils/normalize-builder-schema.d.ts: -------------------------------------------------------------------------------- 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 { json, logging } from '@angular-devkit/core'; 9 | import { AssetPatternClass, Schema as BrowserBuilderSchema, SourceMapClass } from '../builders/browser/schema'; 10 | import { BuildOptions } from './build-options'; 11 | import { NormalizedFileReplacement } from './normalize-file-replacements'; 12 | import { NormalizedOptimizationOptions } from './normalize-optimization'; 13 | /** 14 | * A normalized browser builder schema. 15 | */ 16 | export type NormalizedBrowserBuilderSchema = BrowserBuilderSchema & BuildOptions & { 17 | sourceMap: SourceMapClass; 18 | assets: AssetPatternClass[]; 19 | fileReplacements: NormalizedFileReplacement[]; 20 | optimization: NormalizedOptimizationOptions; 21 | polyfills: string[]; 22 | }; 23 | export declare function normalizeBrowserSchema(workspaceRoot: string, projectRoot: string, projectSourceRoot: string | undefined, options: BrowserBuilderSchema, metadata: json.JsonObject, logger: logging.LoggerApi): NormalizedBrowserBuilderSchema; 24 | -------------------------------------------------------------------------------- /src/builders/extract-i18n/schema.js: -------------------------------------------------------------------------------- 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.I18NDuplicateTranslation = exports.Format = void 0; 6 | /** 7 | * Output format for the generated file. 8 | */ 9 | var Format; 10 | (function (Format) { 11 | Format["Arb"] = "arb"; 12 | Format["Json"] = "json"; 13 | Format["LegacyMigrate"] = "legacy-migrate"; 14 | Format["Xlf"] = "xlf"; 15 | Format["Xlf2"] = "xlf2"; 16 | Format["Xlif"] = "xlif"; 17 | Format["Xliff"] = "xliff"; 18 | Format["Xliff2"] = "xliff2"; 19 | Format["Xmb"] = "xmb"; 20 | })(Format || (exports.Format = Format = {})); 21 | /** 22 | * How to handle duplicate translations. 23 | */ 24 | var I18NDuplicateTranslation; 25 | (function (I18NDuplicateTranslation) { 26 | I18NDuplicateTranslation["Error"] = "error"; 27 | I18NDuplicateTranslation["Ignore"] = "ignore"; 28 | I18NDuplicateTranslation["Warning"] = "warning"; 29 | })(I18NDuplicateTranslation || (exports.I18NDuplicateTranslation = I18NDuplicateTranslation = {})); 30 | //# sourceMappingURL=schema.js.map -------------------------------------------------------------------------------- /src/builders/prerender/routes-extractor-worker.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"routes-extractor-worker.js","sourceRoot":"","sources":["routes-extractor-worker.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKH,8DAAiC;AACjC,4CAA8B;AAC9B,gDAAkC;AAClC,6DAAiD;AAoBjD,MAAM,EAAE,WAAW,EAAE,gBAAgB,EAAE,UAAU,EAAE,SAAS,EAAE,GAC5D,gCAAuC,CAAC;AAE1C,KAAK,UAAU,OAAO;IACpB,MAAM,EACJ,eAAe,EACf,iCAAiC,EAAE,gCAAgC,EACnE,OAAO,EAAE,cAAc,GACxB,GAAG,CAAC,yBAAa,gBAAgB,uCAAC,CAAwB,CAAC;IAE5D,MAAM,qBAAqB,GAAG,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,SAAS,CAAC,CAAC;IAC/D,MAAM,QAAQ,GAAG,MAAM,EAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,qBAAqB,EAAE,MAAM,CAAC,CAAC;IAE3E,MAAM,sBAAsB,GAAG,cAAc,IAAI,eAAe,CAAC;IACjE,IAAA,qBAAM,EACJ,sBAAsB,EACtB,aAAa,gBAAgB,sFAAsF,CACpH,CAAC;IAEF,MAAM,MAAM,GAAa,EAAE,CAAC;IAC5B,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,GAAG,MAAM,gCAAgC,CACtE,sBAAsB,EACtB,QAAQ,EACR,IAAI,GAAG,CAAC,kBAAkB,CAAC,CAC5B,CAAC;IAEF,KAAK,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,IAAI,aAAa,EAAE,CAAC;QAClD,IAAI,UAAU,KAAK,SAAS,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YACpD,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACrB,CAAC;IACH,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC;AAED;;;;;GAKG;AACH,KAAK,UAAU,UAAU;IACvB,IAAI,WAAW,EAAE,CAAC;QAChB,gBAAgB;QAChB,yBAAa,WAAW,uCAAC,CAAC;IAC5B,CAAC;IAED,OAAO,OAAO,CAAC;AACjB,CAAC;AAED;;;GAGG;AACH,kBAAe,UAAU,EAAE,CAAC"} -------------------------------------------------------------------------------- /src/builders/browser-esbuild/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAkBH,kDA4BC;AAED,sDAyBC;AAvED,0CAAkF;AAClF,yDAAyF;AAQzF;;;;;;GAMG;AACI,KAAK,SAAS,CAAC,CAAC,mBAAmB,CACxC,WAAkC,EAClC,OAAuB,EACvB,sBAEC,EACD,OAAkB;IAElB,qCAAqC;IACrC,IAAI,WAAW,CAAC,aAAa,CAAC,EAAE,CAAC;QAC/B,OAAO,CAAC,MAAM,CAAC,IAAI,CACjB,2EAA2E,CAC5E,CAAC;IACJ,CAAC;IACD,IAAI,WAAW,CAAC,aAAa,CAAC,KAAK,KAAK,EAAE,CAAC;QACzC,OAAO,CAAC,MAAM,CAAC,IAAI,CACjB,iFAAiF,CAClF,CAAC;IACJ,CAAC;IACD,IAAI,WAAW,CAAC,mBAAmB,CAAC,EAAE,CAAC;QACrC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,sEAAsE,CAAC,CAAC;IAC9F,CAAC;IAED,iEAAiE;IACjE,MAAM,iBAAiB,GAAG,qBAAqB,CAAC,WAAW,CAAC,CAAC;IAE7D,kCAAkC;IAClC,KAAK,CAAC,CAAC,IAAA,wBAAgB,EAAC,iBAAiB,EAAE,OAAO,EAAE,EAAE,WAAW,EAAE,OAAO,EAAE,CAAC,CAAC;AAChF,CAAC;AAED,SAAgB,qBAAqB,CACnC,OAA8B;IAE9B,MAAM,EACJ,IAAI,EAAE,OAAO,EACb,UAAU,EACV,cAAc,EACd,aAAa,EACb,SAAS,EACT,mBAAmB,EACnB,GAAG,YAAY,EAChB,GAAG,OAAO,CAAC;IAEZ,OAAO;QACL,OAAO;QACP,aAAa,EAAE,aAAa,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,KAAK;QACrD,SAAS,EAAE,OAAO,SAAS,KAAK,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS;QAClE,UAAU,EAAE;YACV,IAAI,EAAE,UAAU;YAChB,OAAO,EAAE,EAAE;YACX,MAAM,EAAE,EAAE;YACV,KAAK,EAAE,mBAAmB,IAAI,OAAO;SACtC;QACD,GAAG,YAAY;KAChB,CAAC;AACJ,CAAC;AAED,kBAAe,IAAA,yBAAa,EAAwB,mBAAmB,CAAC,CAAC"} -------------------------------------------------------------------------------- /src/tools/webpack/plugins/typescript.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"typescript.js","sourceRoot":"","sources":["typescript.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAOH,0CAmDC;AAvDD,8CAAwD;AACxD,2CAA0C;AAG1C,SAAgB,eAAe,CAC7B,GAAyB,EACzB,GAAY,EACZ,QAAgB;IAEhB,MAAM,EAAE,YAAY,EAAE,QAAQ,EAAE,GAAG,GAAG,CAAC;IACvC,MAAM,QAAQ,GAAG,YAAY,CAAC,YAAY,CAAC,OAAO,CAAC;IAEnD,MAAM,eAAe,GAAoB;QACvC,SAAS,EAAE,YAAY,CAAC,SAAS,CAAC,OAAO;QACzC,WAAW,EAAE,KAAK;QAClB,cAAc,EAAE,KAAK;QACrB,4EAA4E;QAC5E,yDAAyD;QACzD,cAAc,EAAE,KAAK;KACtB,CAAC;IAEF,IAAI,QAAQ,CAAC,OAAO,CAAC,MAAM,KAAK,SAAS,IAAI,QAAQ,CAAC,OAAO,CAAC,MAAM,GAAG,yBAAY,CAAC,MAAM,EAAE,CAAC;QAC3F,eAAe,CAAC,MAAM,GAAG,yBAAY,CAAC,MAAM,CAAC;QAC7C,8FAA8F;QAC9F,0FAA0F;QAC1F,qGAAqG;QACrG,eAAe,CAAC,uBAAuB,KAAK,KAAK,CAAC;QAElD,GAAG,CAAC,MAAM,CAAC,IAAI,CACb,6FAA6F;YAC3F,oHAAoH;YACpH,mGAAmG;YACnG,8FAA8F,CACjG,CAAC;IACJ,CAAC;IAED,IAAI,YAAY,CAAC,gBAAgB,KAAK,SAAS,EAAE,CAAC;QAChD,eAAe,CAAC,gBAAgB,GAAG,YAAY,CAAC,gBAAgB,CAAC;IACnE,CAAC;IAED,MAAM,gBAAgB,GAA2B,EAAE,CAAC;IACpD,IAAI,YAAY,CAAC,gBAAgB,EAAE,CAAC;QAClC,KAAK,MAAM,WAAW,IAAI,YAAY,CAAC,gBAAgB,EAAE,CAAC;YACxD,gBAAgB,CAAC,WAAW,CAAC,OAAO,CAAC,GAAG,WAAW,CAAC,IAAI,CAAC;QAC3D,CAAC;IACH,CAAC;IAED,OAAO,IAAI,8BAAoB,CAAC;QAC9B,QAAQ;QACR,eAAe;QACf,gBAAgB;QAChB,OAAO,EAAE,CAAC,GAAG;QACb,iBAAiB,EAAE,CAAC,QAAQ;QAC5B,wBAAwB,EAAE,YAAY,CAAC,mBAAmB,IAAI,KAAK;KACpE,CAAC,CAAC;AACL,CAAC"} -------------------------------------------------------------------------------- /src/builders/karma/index.d.ts: -------------------------------------------------------------------------------- 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 type { ConfigOptions } from 'karma'; 10 | import { Observable } from 'rxjs'; 11 | import { Configuration } from 'webpack'; 12 | import { ExecutionTransformer } from '../../transforms'; 13 | import { Schema as KarmaBuilderOptions } from './schema'; 14 | export type KarmaConfigOptions = ConfigOptions & { 15 | buildWebpack?: unknown; 16 | configFile?: string; 17 | }; 18 | /** 19 | * @experimental Direct usage of this function is considered experimental. 20 | */ 21 | export declare function execute(options: KarmaBuilderOptions, context: BuilderContext, transforms?: { 22 | webpackConfiguration?: ExecutionTransformer; 23 | karmaOptions?: (options: KarmaConfigOptions) => KarmaConfigOptions; 24 | }): Observable; 25 | export type { KarmaBuilderOptions }; 26 | declare const _default: import("@angular-devkit/architect").Builder & KarmaBuilderOptions & import("@angular-devkit/core").JsonObject>; 27 | export default _default; 28 | -------------------------------------------------------------------------------- /src/tools/webpack/plugins/suppress-entry-chunks-webpack-plugin.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"suppress-entry-chunks-webpack-plugin.js","sourceRoot":"","sources":["suppress-entry-chunks-webpack-plugin.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH;;;GAGG;AACH,MAAa,wCAAwC;IACnD,KAAK,CAAC,QAAoC;QACxC,QAAQ,CAAC,KAAK,CAAC,WAAW,CAAC,GAAG,CAAC,6BAA6B,EAAE,CAAC,WAAW,EAAE,EAAE;YAC5E,WAAW,CAAC,KAAK,CAAC,UAAU,CAAC,GAAG,CAAC,6BAA6B,EAAE,CAAC,KAAK,EAAE,QAAQ,EAAE,EAAE;gBAClF,gCAAgC;gBAChC,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC;oBAC9B,OAAO;gBACT,CAAC;gBAED,qEAAqE;gBACrE,IAAI,UAAU,GAAG,KAAK,CAAC;gBACvB,KAAK,MAAM,IAAI,IAAI,KAAK,CAAC,KAAK,EAAE,CAAC;oBAC/B,IAAI,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;wBAC1B,UAAU,GAAG,IAAI,CAAC;wBAClB,MAAM;oBACR,CAAC;gBACH,CAAC;gBAED,IAAI,CAAC,UAAU,EAAE,CAAC;oBAChB,OAAO;gBACT,CAAC;gBAED,oFAAoF;gBACpF,IAAI,OAAO,GAAG,KAAK,CAAC;gBACpB,MAAM,YAAY,GAAG,WAAW,CAAC,UAAU,CAAC,4BAA4B,CAAC,KAAK,CAAC,CAAC;gBAChF,KAAK,MAAM,MAAM,IAAI,YAAY,EAAE,CAAC;oBAClC,OAAO,GAAG,MAAM,CAAC,YAAY,CAAC,KAAK,CACjC,CAAC,UAAc,EAAE,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC,IAAI,KAAK,eAAe,CACpE,CAAC;oBAEF,IAAI,CAAC,OAAO,EAAE,CAAC;wBACb,MAAM;oBACR,CAAC;gBACH,CAAC;gBAED,IAAI,OAAO,EAAE,CAAC;oBACZ,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;oBAC7B,WAAW,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC;gBACpC,CAAC;YACH,CAAC,CAAC,CAAC;QACL,CAAC,CAAC,CAAC;IACL,CAAC;CACF;AA1CD,4FA0CC"} -------------------------------------------------------------------------------- /src/tools/webpack/plugins/remove-hash-plugin.js: -------------------------------------------------------------------------------- 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.RemoveHashPlugin = void 0; 11 | class RemoveHashPlugin { 12 | options; 13 | constructor(options) { 14 | this.options = options; 15 | } 16 | apply(compiler) { 17 | compiler.hooks.compilation.tap('remove-hash-plugin', (compilation) => { 18 | const assetPath = (path, data) => { 19 | const chunkName = data.chunk?.name; 20 | const { chunkNames, hashFormat } = this.options; 21 | if (chunkName && chunkNames?.includes(chunkName)) { 22 | // Replace hash formats with empty strings. 23 | return path.replace(hashFormat.chunk, '').replace(hashFormat.extract, ''); 24 | } 25 | return path; 26 | }; 27 | compilation.hooks.assetPath.tap('remove-hash-plugin', assetPath); 28 | }); 29 | } 30 | } 31 | exports.RemoveHashPlugin = RemoveHashPlugin; 32 | //# sourceMappingURL=remove-hash-plugin.js.map -------------------------------------------------------------------------------- /src/builders/server/platform-server-exports-loader.js: -------------------------------------------------------------------------------- 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 -------------------------------------------------------------------------------- /src/utils/load-esm.js: -------------------------------------------------------------------------------- 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.loadEsmModule = loadEsmModule; 11 | /** 12 | * Lazily compiled dynamic import loader function. 13 | */ 14 | let load; 15 | /** 16 | * This uses a dynamic import to load a module which may be ESM. 17 | * CommonJS code can load ESM code via a dynamic import. Unfortunately, TypeScript 18 | * will currently, unconditionally downlevel dynamic import into a require call. 19 | * require calls cannot load ESM code and will result in a runtime error. To workaround 20 | * this, a Function constructor is used to prevent TypeScript from changing the dynamic import. 21 | * Once TypeScript provides support for keeping the dynamic import this workaround can 22 | * be dropped. 23 | * 24 | * @param modulePath The path of the module to load. 25 | * @returns A Promise that resolves to the dynamically imported module. 26 | */ 27 | function loadEsmModule(modulePath) { 28 | load ??= new Function('modulePath', `return import(modulePath);`); 29 | return load(modulePath); 30 | } 31 | //# sourceMappingURL=load-esm.js.map -------------------------------------------------------------------------------- /src/builders/server/index.d.ts: -------------------------------------------------------------------------------- 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 { Observable } from 'rxjs'; 10 | import webpack from 'webpack'; 11 | import { ExecutionTransformer } from '../../transforms'; 12 | import { Schema as ServerBuilderOptions } from './schema'; 13 | /** 14 | * @experimental Direct usage of this type is considered experimental. 15 | */ 16 | export type ServerBuilderOutput = BuilderOutput & { 17 | baseOutputPath: string; 18 | outputPath: string; 19 | outputs: { 20 | locale?: string; 21 | path: string; 22 | }[]; 23 | }; 24 | export type { ServerBuilderOptions }; 25 | /** 26 | * @experimental Direct usage of this function is considered experimental. 27 | */ 28 | export declare function execute(options: ServerBuilderOptions, context: BuilderContext, transforms?: { 29 | webpackConfiguration?: ExecutionTransformer; 30 | }): Observable; 31 | declare const _default: import("@angular-devkit/architect").Builder; 32 | export default _default; 33 | -------------------------------------------------------------------------------- /src/utils/normalize-builder-schema.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"normalize-builder-schema.js","sourceRoot":"","sources":["normalize-builder-schema.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAgCH,wDAuCC;AArED,oDAA8D;AAQ9D,yEAAoE;AACpE,uDAA0D;AAC1D,+EAGuC;AACvC,qEAAgG;AAChG,+DAA2D;AAC3D,mEAA8D;AAc9D,SAAgB,sBAAsB,CACpC,aAAqB,EACrB,WAAmB,EACnB,iBAAqC,EACrC,OAA6B,EAC7B,QAAyB,EACzB,MAAyB;IAEzB,OAAO;QACL,GAAG,OAAO;QACV,KAAK,EAAE,IAAA,uCAAqB,EAAC,QAAQ,EAAE,aAAa,CAAC;QACrD,MAAM,EAAE,IAAA,iDAAsB,EAC5B,OAAO,CAAC,MAAM,IAAI,EAAE,EACpB,aAAa,EACb,WAAW,EACX,iBAAiB,CAClB;QACD,gBAAgB,EAAE,IAAA,uDAAyB,EAAC,OAAO,CAAC,gBAAgB,IAAI,EAAE,EAAE,aAAa,CAAC;QAC1F,YAAY,EAAE,IAAA,8CAAqB,EAAC,OAAO,CAAC,YAAY,CAAC;QACzD,SAAS,EAAE,IAAA,2CAAmB,EAAC,OAAO,CAAC,SAAS,IAAI,KAAK,CAAC;QAC1D,SAAS,EAAE,IAAA,wCAAkB,EAAC,OAAO,CAAC,SAAS,EAAE,aAAa,CAAC;QAC/D,gBAAgB,EACd,OAAO,CAAC,gBAAgB,KAAK,SAAS;YACpC,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC,qBAAqB,CAAC;YAClD,CAAC,CAAC,OAAO,CAAC,gBAAgB;QAC9B,SAAS,EAAE,OAAO,CAAC,SAAS,IAAI,KAAK;QACrC,OAAO,EAAE,OAAO,CAAC,OAAO,IAAI,EAAE;QAC9B,OAAO,EAAE,OAAO,CAAC,OAAO,IAAI,EAAE;QAC9B,MAAM,EAAE,OAAO,CAAC,MAAM,IAAI,EAAE;QAC5B,wBAAwB,EAAE;YACxB,YAAY,EACV,CAAC,OAAO,CAAC,wBAAwB,IAAI,OAAO,CAAC,wBAAwB,CAAC,YAAY,CAAC,IAAI,EAAE;SAC5F;QACD,yFAAyF;QACzF,oEAAoE;QACpE,4CAA4C;QAC5C,IAAI,EAAE,OAAO,CAAC,IAAI,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI;QAC7C,iBAAiB,EAAE,IAAA,8BAAoB,EAAC,WAAW,EAAE,MAAM,CAAC;KAC7D,CAAC;AACJ,CAAC"} -------------------------------------------------------------------------------- /src/builders/protractor/schema.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Protractor target options for Build Facade. 3 | */ 4 | export type Schema = { 5 | /** 6 | * Base URL for protractor to connect to. 7 | */ 8 | baseUrl?: string; 9 | /** 10 | * A dev-server builder target to run tests against in the format of 11 | * `project:target[:configuration]`. You can also pass in more than one configuration name 12 | * as a comma-separated list. Example: `project:target:production,staging`. 13 | */ 14 | devServerTarget?: string; 15 | /** 16 | * Execute specs whose names match the pattern, which is internally compiled to a RegExp. 17 | */ 18 | grep?: string; 19 | /** 20 | * Host to listen on. 21 | */ 22 | host?: string; 23 | /** 24 | * Invert the selection specified by the 'grep' option. 25 | */ 26 | invertGrep?: boolean; 27 | /** 28 | * The port to use to serve the application. 29 | */ 30 | port?: number; 31 | /** 32 | * The name of the Protractor configuration file. 33 | */ 34 | protractorConfig: string; 35 | /** 36 | * Override specs in the protractor config. 37 | */ 38 | specs?: string[]; 39 | /** 40 | * Override suite in the protractor config. 41 | */ 42 | suite?: string; 43 | /** 44 | * Try to update webdriver. 45 | */ 46 | webdriverUpdate?: boolean; 47 | }; 48 | -------------------------------------------------------------------------------- /src/tools/webpack/plugins/css-optimizer-plugin.d.ts: -------------------------------------------------------------------------------- 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 type { Compiler } from 'webpack'; 9 | export interface CssOptimizerPluginOptions { 10 | supportedBrowsers?: string[]; 11 | } 12 | /** 13 | * A Webpack plugin that provides CSS optimization capabilities. 14 | * 15 | * The plugin uses both `esbuild` to provide both fast and highly-optimized 16 | * code output. 17 | */ 18 | export declare class CssOptimizerPlugin { 19 | private targets; 20 | private esbuild; 21 | constructor(options?: CssOptimizerPluginOptions); 22 | apply(compiler: Compiler): void; 23 | /** 24 | * Optimizes a CSS asset using esbuild. 25 | * 26 | * @param input The CSS asset source content to optimize. 27 | * @param name The name of the CSS asset. Used to generate source maps. 28 | * @param inputMap Optionally specifies the CSS asset's original source map that will 29 | * be merged with the intermediate optimized source map. 30 | * @param target Optionally specifies the target browsers for the output code. 31 | * @returns A promise resolving to the optimized CSS, source map, and any warnings. 32 | */ 33 | private optimize; 34 | private addWarnings; 35 | } 36 | -------------------------------------------------------------------------------- /src/tools/webpack/plugins/named-chunks-plugin.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"named-chunks-plugin.js","sourceRoot":"","sources":["named-chunks-plugin.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,qCAA0F;AAE1F,mEAAmE;AACnE,MAAM,gBAAgB,GAAyC,OAAO,CAAC,2CAA2C,CAAC,CAAC;AAEpH,MAAM,WAAW,GAAG,qBAAqB,CAAC;AAE1C;;;;GAIG;AACH,MAAa,iBAAiB;IAC5B,KAAK,CAAC,QAAkB;QACtB,QAAQ,CAAC,KAAK,CAAC,WAAW,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC,WAAW,EAAE,EAAE;YAC1D,WAAW,CAAC,KAAK,CAAC,UAAU,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC,KAAK,EAAE,EAAE;gBACtD,IAAI,KAAK,CAAC,IAAI,EAAE,CAAC;oBACf,OAAO;gBACT,CAAC;gBAED,IAAI,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC;oBAC/D,yCAAyC;oBACzC,4EAA4E;oBAC5E,OAAO,SAAS,CAAC;gBACnB,CAAC;gBAED,MAAM,IAAI,GAAG,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;gBACtC,IAAI,IAAI,EAAE,CAAC;oBACT,KAAK,CAAC,IAAI,GAAG,IAAI,CAAC;gBACpB,CAAC;YACH,CAAC,CAAC,CAAC;QACL,CAAC,CAAC,CAAC;IACL,CAAC;IAEO,YAAY,CAAC,KAAY;QAC/B,KAAK,MAAM,KAAK,IAAI,KAAK,CAAC,cAAc,EAAE,CAAC;YACzC,MAAM,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,SAAS,EAAE,CAAC;YAClC,IAAI,CAAC,CAAC,KAAK,YAAY,gCAAsB,CAAC,EAAE,CAAC;gBAC/C,SAAS;YACX,CAAC;YAED,IAAI,KAAK,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC;gBAC5B,+CAA+C;gBAC/C,OAAO,SAAS,CAAC;YACnB,CAAC;YAED,KAAK,MAAM,UAAU,IAAI,KAAK,CAAC,YAAY,EAAE,CAAC;gBAC5C,IAAI,UAAU,YAAY,gBAAgB,EAAE,CAAC;oBAC3C,OAAO,kBAAQ,CAAC,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;gBAC7C,CAAC;YACH,CAAC;QACH,CAAC;QAED,OAAO,SAAS,CAAC;IACnB,CAAC;CACF;AA3CD,8CA2CC"} -------------------------------------------------------------------------------- /src/utils/test-files.js: -------------------------------------------------------------------------------- 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.findTestFiles = findTestFiles; 11 | const tinyglobby_1 = require("tinyglobby"); 12 | /** 13 | * Finds all test files in the project. 14 | * 15 | * @param options The builder options describing where to find tests. 16 | * @param workspaceRoot The path to the root directory of the workspace. 17 | * @param glob A promisified implementation of the `glob` module. Only intended for 18 | * testing purposes. 19 | * @returns A set of all test files in the project. 20 | */ 21 | async function findTestFiles(include, exclude, workspaceRoot, glob = tinyglobby_1.glob) { 22 | const globOptions = { 23 | cwd: workspaceRoot, 24 | ignore: ['node_modules/**'].concat(exclude), 25 | braceExpansion: false, // Do not expand `a{b,c}` to `ab,ac`. 26 | extglob: false, // Disable "extglob" patterns. 27 | }; 28 | const included = await Promise.all(include.map((pattern) => glob(pattern, globOptions))); 29 | // Flatten and deduplicate any files found in multiple include patterns. 30 | return new Set(included.flat()); 31 | } 32 | //# sourceMappingURL=test-files.js.map -------------------------------------------------------------------------------- /src/builders/app-shell/render-worker.d.ts: -------------------------------------------------------------------------------- 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 | * A request to render a Server bundle generate by the universal server builder. 10 | */ 11 | interface RenderRequest { 12 | /** 13 | * The path to the server bundle that should be loaded and rendered. 14 | */ 15 | serverBundlePath: string; 16 | /** 17 | * The existing HTML document as a string that will be augmented with the rendered application. 18 | */ 19 | document: string; 20 | /** 21 | * An optional URL path that represents the Angular route that should be rendered. 22 | */ 23 | url: string; 24 | } 25 | /** 26 | * Renders an application based on a provided server bundle path, initial document, and optional URL route. 27 | * @param param0 A request to render a server bundle. 28 | * @returns A promise that resolves to the render HTML document for the application. 29 | */ 30 | declare function render({ serverBundlePath, document, url }: RenderRequest): Promise; 31 | /** 32 | * The default export will be the promise returned by the initialize function. 33 | * This is awaited by piscina prior to using the Worker. 34 | */ 35 | declare const _default: Promise; 36 | export default _default; 37 | -------------------------------------------------------------------------------- /src/tools/babel/babel-loader.d.ts: -------------------------------------------------------------------------------- 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 | declare module 'babel-loader' { 10 | type BabelLoaderCustomizer = (babel: typeof import('@babel/core')) => { 11 | customOptions?( 12 | this: import('webpack').loader.LoaderContext, 13 | loaderOptions: Record, 14 | loaderArguments: { source: string; map?: unknown }, 15 | ): Promise<{ custom?: T; loader: Record }>; 16 | config?( 17 | this: import('webpack').loader.LoaderContext, 18 | configuration: import('@babel/core').PartialConfig, 19 | loaderArguments: { source: string; map?: unknown; customOptions: T }, 20 | ): import('@babel/core').TransformOptions; 21 | result?( 22 | this: import('webpack').loader.LoaderContext, 23 | result: import('@babel/core').BabelFileResult, 24 | context: { 25 | source: string; 26 | map?: unknown; 27 | customOptions: T; 28 | configuration: import('@babel/core').PartialConfig; 29 | options: import('@babel/core').TransformOptions; 30 | }, 31 | ): import('@babel/core').BabelFileResult; 32 | }; 33 | function custom(customizer: BabelLoaderCustomizer): import('webpack').loader.Loader; 34 | } 35 | -------------------------------------------------------------------------------- /src/builders/jest/schema.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema", 3 | "title": "Jest browser schema for Build Facade.", 4 | "description": "Jest target options", 5 | "type": "object", 6 | "properties": { 7 | "include": { 8 | "type": "array", 9 | "items": { 10 | "type": "string" 11 | }, 12 | "default": ["**/*.spec.ts"], 13 | "description": "Globs of files to include, relative to project root." 14 | }, 15 | "exclude": { 16 | "type": "array", 17 | "items": { 18 | "type": "string" 19 | }, 20 | "default": [], 21 | "description": "Globs of files to exclude, relative to the project root." 22 | }, 23 | "tsConfig": { 24 | "type": "string", 25 | "description": "The name of the TypeScript configuration file." 26 | }, 27 | "polyfills": { 28 | "type": "array", 29 | "description": "A list of polyfills to include in the build. Can be a full path for a file, relative to the current workspace or module specifier. Example: 'zone.js'.", 30 | "items": { 31 | "type": "string", 32 | "uniqueItems": true 33 | }, 34 | "default": [] 35 | }, 36 | "aot": { 37 | "type": "boolean", 38 | "description": "Run tests using Ahead of Time compilation.", 39 | "default": false 40 | } 41 | }, 42 | "additionalProperties": false, 43 | "required": ["tsConfig"] 44 | } 45 | -------------------------------------------------------------------------------- /src/utils/normalize-optimization.js: -------------------------------------------------------------------------------- 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.normalizeOptimization = normalizeOptimization; 11 | function normalizeOptimization(optimization = true) { 12 | if (typeof optimization === 'object') { 13 | const styleOptimization = !!optimization.styles; 14 | return { 15 | scripts: !!optimization.scripts, 16 | styles: typeof optimization.styles === 'object' 17 | ? optimization.styles 18 | : { 19 | minify: styleOptimization, 20 | inlineCritical: styleOptimization, 21 | }, 22 | fonts: typeof optimization.fonts === 'object' 23 | ? optimization.fonts 24 | : { 25 | inline: !!optimization.fonts, 26 | }, 27 | }; 28 | } 29 | return { 30 | scripts: optimization, 31 | styles: { 32 | minify: optimization, 33 | inlineCritical: optimization, 34 | }, 35 | fonts: { 36 | inline: optimization, 37 | }, 38 | }; 39 | } 40 | //# sourceMappingURL=normalize-optimization.js.map -------------------------------------------------------------------------------- /src/builders/prerender/schema.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema", 3 | "title": "Prerender Target", 4 | "type": "object", 5 | "properties": { 6 | "browserTarget": { 7 | "type": "string", 8 | "description": "Target to build.", 9 | "pattern": "^[^:\\s]+:[^:\\s]+(:[^\\s]+)?$" 10 | }, 11 | "serverTarget": { 12 | "type": "string", 13 | "description": "Server target to use for prerendering the app.", 14 | "pattern": "^[^:\\s]+:[^:\\s]+(:[^\\s]+)?$" 15 | }, 16 | "routesFile": { 17 | "type": "string", 18 | "description": "The path to a file that contains a list of all routes to prerender, separated by newlines. This option is useful if you want to prerender routes with parameterized URLs." 19 | }, 20 | "routes": { 21 | "type": "array", 22 | "description": "The routes to render.", 23 | "items": { 24 | "minItems": 1, 25 | "type": "string", 26 | "uniqueItems": true 27 | }, 28 | "default": [] 29 | }, 30 | "discoverRoutes": { 31 | "type": "boolean", 32 | "description": "Whether the builder should process the Angular Router configuration to find all unparameterized routes and prerender them.", 33 | "default": true 34 | } 35 | }, 36 | "required": ["browserTarget", "serverTarget"], 37 | "anyOf": [{ "required": ["routes"] }, { "required": ["routesFile"] }], 38 | "additionalProperties": false 39 | } 40 | -------------------------------------------------------------------------------- /src/builders/extract-i18n/schema.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Extract i18n target options for Build Facade. 3 | */ 4 | export type Schema = { 5 | /** 6 | * A builder target to extract i18n messages in the format of 7 | * `project:target[:configuration]`. You can also pass in more than one configuration name 8 | * as a comma-separated list. Example: `project:target:production,staging`. 9 | */ 10 | buildTarget?: string; 11 | /** 12 | * Output format for the generated file. 13 | */ 14 | format?: Format; 15 | /** 16 | * How to handle duplicate translations. 17 | */ 18 | i18nDuplicateTranslation?: I18NDuplicateTranslation; 19 | /** 20 | * Name of the file to output. 21 | */ 22 | outFile?: string; 23 | /** 24 | * Path where output will be placed. 25 | */ 26 | outputPath?: string; 27 | /** 28 | * Log progress to the console. 29 | */ 30 | progress?: boolean; 31 | }; 32 | /** 33 | * Output format for the generated file. 34 | */ 35 | export declare enum Format { 36 | Arb = "arb", 37 | Json = "json", 38 | LegacyMigrate = "legacy-migrate", 39 | Xlf = "xlf", 40 | Xlf2 = "xlf2", 41 | Xlif = "xlif", 42 | Xliff = "xliff", 43 | Xliff2 = "xliff2", 44 | Xmb = "xmb" 45 | } 46 | /** 47 | * How to handle duplicate translations. 48 | */ 49 | export declare enum I18NDuplicateTranslation { 50 | Error = "error", 51 | Ignore = "ignore", 52 | Warning = "warning" 53 | } 54 | -------------------------------------------------------------------------------- /src/tools/webpack/plugins/devtools-ignore-plugin.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"devtools-ignore-plugin.js","sourceRoot":"","sources":["devtools-ignore-plugin.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,qCAAgD;AAEhD,wCAAwC;AACxC,mDAAmD;AACnD,MAAM,WAAW,GAAG,qBAAqB,CAAC;AAE1C,MAAM,WAAW,GAAG,wBAAwB,CAAC;AAO7C;;;;GAIG;AACH,MAAa,oBAAoB;IAC/B,KAAK,CAAC,QAAkB;QACtB,MAAM,EAAE,SAAS,EAAE,GAAG,QAAQ,CAAC,OAAO,CAAC,OAAO,CAAC;QAE/C,QAAQ,CAAC,KAAK,CAAC,WAAW,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC,WAAW,EAAE,EAAE;YAC1D,WAAW,CAAC,KAAK,CAAC,aAAa,CAAC,GAAG,CACjC;gBACE,IAAI,EAAE,WAAW;gBACjB,KAAK,EAAE,qBAAW,CAAC,gCAAgC;gBACnD,gBAAgB,EAAE,IAAI;aACvB,EACD,CAAC,MAAM,EAAE,EAAE;gBACT,KAAK,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC;oBACnD,+DAA+D;oBAC/D,gEAAgE;oBAChE,iEAAiE;oBACjE,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;wBAC3B,+BAA+B;wBAC/B,SAAS;oBACX,CAAC;oBAED,MAAM,UAAU,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC;oBAC7C,IAAI,CAAC,UAAU,EAAE,CAAC;wBAChB,SAAS;oBACX,CAAC;oBAED,MAAM,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,UAAU,CAAc,CAAC;oBAChD,MAAM,UAAU,GAAG,EAAE,CAAC;oBAEtB,KAAK,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,IAAI,GAAG,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE,CAAC;wBAClD,IAAI,IAAI,CAAC,QAAQ,CAAC,gBAAgB,CAAC,IAAI,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,EAAE,CAAC;4BACnE,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;wBACzB,CAAC;oBACH,CAAC;oBAED,GAAG,CAAC,WAAW,CAAC,GAAG,UAAU,CAAC;oBAC9B,WAAW,CAAC,WAAW,CAAC,IAAI,EAAE,IAAI,SAAS,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;gBACpE,CAAC;YACH,CAAC,CACF,CAAC;QACJ,CAAC,CAAC,CAAC;IACL,CAAC;CACF;AA1CD,oDA0CC"} -------------------------------------------------------------------------------- /src/builders/extract-i18n/schema.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema", 3 | "title": "Extract i18n Target", 4 | "description": "Extract i18n target options for Build Facade.", 5 | "type": "object", 6 | "properties": { 7 | "buildTarget": { 8 | "type": "string", 9 | "description": "A builder target to extract i18n messages in the format of `project:target[:configuration]`. You can also pass in more than one configuration name as a comma-separated list. Example: `project:target:production,staging`.", 10 | "pattern": "^[^:\\s]*:[^:\\s]*(:[^\\s]+)?$" 11 | }, 12 | "format": { 13 | "type": "string", 14 | "description": "Output format for the generated file.", 15 | "default": "xlf", 16 | "enum": ["xmb", "xlf", "xlif", "xliff", "xlf2", "xliff2", "json", "arb", "legacy-migrate"] 17 | }, 18 | "progress": { 19 | "type": "boolean", 20 | "description": "Log progress to the console.", 21 | "default": true 22 | }, 23 | "outputPath": { 24 | "type": "string", 25 | "description": "Path where output will be placed." 26 | }, 27 | "outFile": { 28 | "type": "string", 29 | "description": "Name of the file to output." 30 | }, 31 | "i18nDuplicateTranslation": { 32 | "type": "string", 33 | "description": "How to handle duplicate translations.", 34 | "enum": ["error", "warning", "ignore"] 35 | } 36 | }, 37 | "additionalProperties": false 38 | } 39 | -------------------------------------------------------------------------------- /src/utils/normalize-file-replacements.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"normalize-file-replacements.js","sourceRoot":"","sources":["normalize-file-replacements.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiBH,8DAuBC;AAtCD,qCAAqC;AACrC,gDAAkC;AAGlC,MAAa,+BAAgC,SAAQ,KAAK;IACxD,YAAY,IAAY;QACtB,KAAK,CAAC,OAAO,IAAI,4CAA4C,CAAC,CAAC;IACjE,CAAC;CACF;AAJD,0EAIC;AAOD,SAAgB,yBAAyB,CACvC,gBAAmC,EACnC,aAAqB;IAErB,IAAI,gBAAgB,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAClC,OAAO,EAAE,CAAC;IACZ,CAAC;IAED,MAAM,qBAAqB,GAAG,gBAAgB,CAAC,GAAG,CAAC,CAAC,WAAW,EAAE,EAAE,CACjE,wBAAwB,CAAC,WAAW,EAAE,aAAa,CAAC,CACrD,CAAC;IAEF,KAAK,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,eAAe,EAAE,IAAI,qBAAqB,EAAE,CAAC;QACvE,IAAI,CAAC,IAAA,oBAAU,EAAC,eAAe,CAAC,EAAE,CAAC;YACjC,MAAM,IAAI,+BAA+B,CAAC,eAAe,CAAC,CAAC;QAC7D,CAAC;QAED,IAAI,CAAC,IAAA,oBAAU,EAAC,OAAO,CAAC,EAAE,CAAC;YACzB,MAAM,IAAI,+BAA+B,CAAC,OAAO,CAAC,CAAC;QACrD,CAAC;IACH,CAAC;IAED,OAAO,qBAAqB,CAAC;AAC/B,CAAC;AAED,SAAS,wBAAwB,CAC/B,eAAgC,EAChC,IAAY;IAEZ,IAAI,WAAmB,CAAC;IACxB,IAAI,QAAgB,CAAC;IACrB,IAAI,eAAe,CAAC,GAAG,IAAI,eAAe,CAAC,WAAW,EAAE,CAAC;QACvD,WAAW,GAAG,eAAe,CAAC,GAAG,CAAC;QAClC,QAAQ,GAAG,eAAe,CAAC,WAAW,CAAC;IACzC,CAAC;SAAM,IAAI,eAAe,CAAC,OAAO,IAAI,eAAe,CAAC,IAAI,EAAE,CAAC;QAC3D,WAAW,GAAG,eAAe,CAAC,OAAO,CAAC;QACtC,QAAQ,GAAG,eAAe,CAAC,IAAI,CAAC;IAClC,CAAC;SAAM,CAAC;QACN,MAAM,IAAI,KAAK,CAAC,6BAA6B,IAAI,CAAC,SAAS,CAAC,eAAe,CAAC,EAAE,CAAC,CAAC;IAClF,CAAC;IAED,OAAO;QACL,OAAO,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC;QACrC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC;KAChC,CAAC;AACJ,CAAC"} -------------------------------------------------------------------------------- /src/tools/webpack/plugins/transfer-size-plugin.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"transfer-size-plugin.js","sourceRoot":"","sources":["transfer-size-plugin.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,yCAAsC;AACtC,yCAA2C;AAE3C,4EAAgE;AAEhE,MAAM,mBAAmB,GAAG,IAAA,qBAAS,EAAC,0BAAc,CAAC,CAAC;AAEtD,MAAM,WAAW,GAAG,iCAAiC,CAAC;AAEtD,MAAa,kBAAkB;IAC7B,gBAAe,CAAC;IAEhB,KAAK,CAAC,QAAkB;QACtB,QAAQ,CAAC,KAAK,CAAC,eAAe,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC,WAAW,EAAE,EAAE;YAC9D,WAAW,CAAC,KAAK,CAAC,aAAa,CAAC,UAAU,CACxC;gBACE,IAAI,EAAE,WAAW;gBACjB,KAAK,EAAE,QAAQ,CAAC,OAAO,CAAC,WAAW,CAAC,4BAA4B;aACjE,EACD,KAAK,EAAE,iBAAiB,EAAE,EAAE;gBAC1B,MAAM,OAAO,GAAG,EAAE,CAAC;gBACnB,KAAK,MAAM,SAAS,IAAI,MAAM,CAAC,IAAI,CAAC,iBAAiB,CAAC,EAAE,CAAC;oBACvD,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;wBAC9D,SAAS;oBACX,CAAC;oBAED,MAAM,WAAW,GAAG,WAAW,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;oBACpD,IAAI,CAAC,WAAW,IAAI,WAAW,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC;wBACnD,SAAS;oBACX,CAAC;oBAED,OAAO,CAAC,IAAI,CACV,mBAAmB,CAAC,WAAW,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC;yBAC7C,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE;wBACf,WAAW,CAAC,WAAW,CACrB,SAAS,EACT,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EACR,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC;4BACd,GAAG,SAAS;4BACZ,qBAAqB,EAAE,MAAM,CAAC,MAAM;yBACrC,CAAC,CACH,CAAC;oBACJ,CAAC,CAAC;yBACD,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE;wBACf,IAAA,gCAAU,EACR,WAAW,EACX,oDAAoD,SAAS,cAAc,KAAK,CAAC,OAAO,EAAE,CAC3F,CAAC;oBACJ,CAAC,CAAC,CACL,CAAC;gBACJ,CAAC;gBAED,MAAM,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;YAC7B,CAAC,CACF,CAAC;QACJ,CAAC,CAAC,CAAC;IACL,CAAC;CACF;AAhDD,gDAgDC"} -------------------------------------------------------------------------------- /src/builders/app-shell/schema.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * App Shell target options for Build Facade. 3 | */ 4 | export type Schema = { 5 | /** 6 | * Script that exports the Server AppModule to render. This should be the main JavaScript 7 | * outputted by the server target. By default we will resolve the outputPath of the 8 | * serverTarget and find a bundle named 'main' in it (whether or not there's a hash tag). 9 | */ 10 | appModuleBundle?: string; 11 | /** 12 | * A browser builder target use for rendering the application shell in the format of 13 | * `project:target[:configuration]`. You can also pass in more than one configuration name 14 | * as a comma-separated list. Example: `project:target:production,staging`. 15 | */ 16 | browserTarget: string; 17 | /** 18 | * The input path for the index.html file. By default uses the output index.html of the 19 | * browser target. 20 | */ 21 | inputIndexPath?: string; 22 | /** 23 | * The output path of the index.html file. By default will overwrite the input file. 24 | */ 25 | outputIndexPath?: string; 26 | /** 27 | * The route to render. 28 | */ 29 | route?: string; 30 | /** 31 | * A server builder target use for rendering the application shell in the format of 32 | * `project:target[:configuration]`. You can also pass in more than one configuration name 33 | * as a comma-separated list. Example: `project:target:production,staging`. 34 | */ 35 | serverTarget: string; 36 | }; 37 | -------------------------------------------------------------------------------- /src/utils/action-executor.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"action-executor.js","sourceRoot":"","sources":["action-executor.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;;;AAEH,sDAA8B;AAE9B,+DAAmD;AAGnD,MAAM,UAAU,GAAG,OAAO,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC;AAEvD,MAAa,oBAAoB;IAGX;IAFZ,UAAU,CAAW;IAE7B,YAAoB,aAAoC;QAApC,kBAAa,GAAb,aAAa,CAAuB;IAAG,CAAC;IAEpD,gBAAgB;QACtB,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;YACpB,OAAO,IAAI,CAAC,UAAU,CAAC;QACzB,CAAC;QAED,IAAI,CAAC,UAAU,GAAG,IAAI,iBAAO,CAAC;YAC5B,QAAQ,EAAE,UAAU;YACpB,IAAI,EAAE,eAAe;YACrB,UAAU,EAAE,IAAI,CAAC,aAAa;YAC9B,UAAU,EAAE,gCAAU;YACtB,YAAY,EAAE,KAAK;SACpB,CAAC,CAAC;QAEH,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAED,KAAK,CAAC,MAAM,CACV,MAAqB;QAErB,OAAO,IAAI,CAAC,gBAAgB,EAAE,CAAC,GAAG,CAAC,MAAM,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC,CAAC;IACxE,CAAC;IAED,SAAS,CAAC,OAAgC;QACxC,OAAO,oBAAoB,CAAC,UAAU,CAAC,OAAO,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC;IACnF,CAAC;IAEO,MAAM,CAAC,KAAK,CAAC,CAAC,UAAU,CAC9B,OAAoB,EACpB,QAAmC;QAEnC,MAAM,UAAU,GAAG,IAAI,GAAG,EAAwC,CAAC;QACnE,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE,CAAC;YAC7B,MAAM,SAAS,GAAG,QAAQ,CAAC,MAAM,CAAC,CAAC;YACnC,UAAU,CAAC,GAAG,CACZ,SAAS,EACT,SAAS,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC,CAChD,CAAC;QACJ,CAAC;QAED,OAAO,UAAU,CAAC,IAAI,GAAG,CAAC,EAAE,CAAC;YAC3B,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,GAAG,MAAM,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,MAAM,EAAE,CAAC,CAAC;YACpE,UAAU,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;YAC7B,MAAM,MAAM,CAAC;QACf,CAAC;IACH,CAAC;IAED,IAAI;QACF,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;YACpB,KAAK,IAAI,CAAC,UAAU,CAAC,OAAO,EAAE,CAAC;QACjC,CAAC;IACH,CAAC;CACF;AAxDD,oDAwDC"} -------------------------------------------------------------------------------- /src/builders/karma/find-tests-plugin.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"find-tests-plugin.js","sourceRoot":"","sources":["find-tests-plugin.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;;;AAEH,oDAAmD;AACnD,qEAAqD;AACrD,8DAAiC;AAGjC;;GAEG;AACH,MAAM,WAAW,GAAG,2BAA2B,CAAC;AAShD,MAAa,eAAe;IAGN;IAFZ,WAAW,CAA0B;IAE7C,YAAoB,OAA+B;QAA/B,YAAO,GAAP,OAAO,CAAwB;IAAG,CAAC;IAEvD,KAAK,CAAC,QAAkB;QACtB,MAAM,EACJ,OAAO,GAAG,CAAC,cAAc,CAAC,EAC1B,OAAO,GAAG,EAAE,EACZ,iBAAiB,EACjB,aAAa,GACd,GAAG,IAAI,CAAC,OAAO,CAAC;QACjB,MAAM,cAAc,GAAG,QAAQ,CAAC,OAAO,CAAC;QACxC,MAAM,KAAK,GACT,OAAO,cAAc,CAAC,KAAK,KAAK,UAAU,CAAC,CAAC,CAAC,cAAc,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,cAAc,CAAC,KAAK,CAAC;QAE7F,IAAI,cAAoC,CAAC;QAEzC,+CAA+C;QAC/C,cAAc,CAAC,KAAK,GAAG,KAAK,IAAI,EAAE;YAChC,MAAM,SAAS,GAAG,MAAM,IAAA,mBAAS,EAAC,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,iBAAiB,CAAC,CAAC;YACtF,MAAM,WAAW,GAAG,MAAM,KAAK,CAAC;YAChC,MAAM,UAAU,GAAG,WAAW,CAAC,MAAM,CAAC,CAAC;YACvC,IAAI,CAAC,UAAU,CAAC,MAAM,EAAE,CAAC;gBACvB,MAAM,IAAI,KAAK,CAAC,gCAAgC,CAAC,CAAC;YACpD,CAAC;YAED,IAAI,SAAS,CAAC,MAAM,EAAE,CAAC;gBACrB,cAAc,KAAK,UAAU,CAAC,MAAM,CAAC;gBACrC,UAAU,CAAC,MAAM,GAAG,CAAC,GAAG,cAAc,EAAE,GAAG,SAAS,CAAC,CAAC;YACxD,CAAC;iBAAM,CAAC;gBACN,IAAA,qBAAM,EAAC,IAAI,CAAC,WAAW,EAAE,kCAAkC,CAAC,CAAC;gBAC7D,IAAI,CAAC,WAAW;qBACb,SAAS,CAAC,oCAAU,CAAC;qBACrB,KAAK,CAAC,wBAAwB,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,iCAAiC,CAAC,CAAC;YACxF,CAAC;YAED,OAAO,WAAW,CAAC;QACrB,CAAC,CAAC;QAEF,QAAQ,CAAC,KAAK,CAAC,eAAe,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC,WAAW,EAAE,EAAE;YAC9D,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;YAC/B,WAAW,CAAC,mBAAmB,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;QACzD,CAAC,CAAC,CAAC;IACL,CAAC;CACF;AA7CD,0CA6CC"} -------------------------------------------------------------------------------- /src/builders/browser-esbuild/index.d.ts: -------------------------------------------------------------------------------- 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 { type ApplicationBuilderOptions } from '@angular/build'; 9 | import { BuilderContext, BuilderOutput } from '@angular-devkit/architect'; 10 | import type { Plugin } from 'esbuild'; 11 | import type { Schema as BrowserBuilderOptions } from './schema'; 12 | export type { BrowserBuilderOptions }; 13 | type OutputPathClass = Exclude; 14 | /** 15 | * Main execution function for the esbuild-based application builder. 16 | * The options are compatible with the Webpack-based builder. 17 | * @param userOptions The browser builder options to use when setting up the application build 18 | * @param context The Architect builder context object 19 | * @returns An async iterable with the builder result output 20 | */ 21 | export declare function buildEsbuildBrowser(userOptions: BrowserBuilderOptions, context: BuilderContext, infrastructureSettings?: { 22 | write?: boolean; 23 | }, plugins?: Plugin[]): AsyncIterable; 24 | export declare function convertBrowserOptions(options: BrowserBuilderOptions): Omit & { 25 | outputPath: OutputPathClass; 26 | }; 27 | declare const _default: import("@angular-devkit/architect").Builder; 28 | export default _default; 29 | -------------------------------------------------------------------------------- /src/builders/web-test-runner/builder-status-warnings.js: -------------------------------------------------------------------------------- 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.logBuilderStatusWarnings = logBuilderStatusWarnings; 11 | const UNSUPPORTED_OPTIONS = [ 12 | 'main', 13 | 'assets', 14 | 'scripts', 15 | 'styles', 16 | 'inlineStyleLanguage', 17 | 'stylePreprocessorOptions', 18 | 'sourceMap', 19 | 'progress', 20 | 'poll', 21 | 'preserveSymlinks', 22 | 'browsers', 23 | 'codeCoverage', 24 | 'codeCoverageExclude', 25 | 'fileReplacements', 26 | 'webWorkerTsConfig', 27 | 'watch', 28 | ]; 29 | /** Logs a warning for any unsupported options specified. */ 30 | function logBuilderStatusWarnings(options, ctx) { 31 | // Validate supported options 32 | for (const unsupportedOption of UNSUPPORTED_OPTIONS) { 33 | const value = options[unsupportedOption]; 34 | if (value === undefined || value === false) { 35 | continue; 36 | } 37 | if (Array.isArray(value) && value.length === 0) { 38 | continue; 39 | } 40 | if (typeof value === 'object' && Object.keys(value).length === 0) { 41 | continue; 42 | } 43 | ctx.logger.warn(`The '${unsupportedOption}' option is not yet supported by this builder.`); 44 | } 45 | } 46 | //# sourceMappingURL=builder-status-warnings.js.map -------------------------------------------------------------------------------- /src/utils/package-chunk-sort.js: -------------------------------------------------------------------------------- 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.generateEntryPoints = generateEntryPoints; 11 | const helpers_1 = require("../tools/webpack/utils/helpers"); 12 | function generateEntryPoints(options) { 13 | // Add all styles/scripts, except lazy-loaded ones. 14 | const extraEntryPoints = (extraEntryPoints, defaultBundleName) => { 15 | const entryPoints = (0, helpers_1.normalizeExtraEntryPoints)(extraEntryPoints, defaultBundleName) 16 | .filter((entry) => entry.inject) 17 | .map((entry) => entry.bundleName); 18 | // remove duplicates 19 | return [...new Set(entryPoints)].map((f) => [f, false]); 20 | }; 21 | const entryPoints = [ 22 | ['runtime', !options.isHMREnabled], 23 | ['polyfills', true], 24 | ...extraEntryPoints(options.styles, 'styles'), 25 | ...extraEntryPoints(options.scripts, 'scripts'), 26 | ['vendor', true], 27 | ['main', true], 28 | ]; 29 | const duplicates = entryPoints.filter(([name]) => entryPoints[0].indexOf(name) !== entryPoints[0].lastIndexOf(name)); 30 | if (duplicates.length > 0) { 31 | throw new Error(`Multiple bundles have been named the same: '${duplicates.join(`', '`)}'.`); 32 | } 33 | return entryPoints; 34 | } 35 | //# sourceMappingURL=package-chunk-sort.js.map -------------------------------------------------------------------------------- /src/builders/server/schema.js: -------------------------------------------------------------------------------- 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 -------------------------------------------------------------------------------- /src/builders/ng-packagr/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAaH,0BA4CC;AAvDD,oDAA8D;AAC9D,yDAAyF;AAEzF,yCAA0C;AAC1C,+BAAwE;AACxE,iEAAoE;AAGpE;;GAEG;AACH,SAAgB,OAAO,CACrB,OAAgC,EAChC,OAAuB;IAEvB,OAAO,IAAA,WAAI,EACT,CAAC,KAAK,IAAI,EAAE;QACV,8BAA8B;QAC9B,MAAM,IAAA,8BAAoB,EAAC,OAAO,CAAC,CAAC;QAEpC,MAAM,IAAI,GAAG,OAAO,CAAC,aAAa,CAAC;QACnC,MAAM,QAAQ,GAAG,CAAC,wDAAa,YAAY,GAAC,CAAC,CAAC,SAAS,EAAE,CAAC;QAE1D,QAAQ,CAAC,UAAU,CAAC,IAAA,mBAAO,EAAC,IAAI,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC;QAEpD,IAAI,OAAO,CAAC,QAAQ,EAAE,CAAC;YACrB,QAAQ,CAAC,YAAY,CAAC,IAAA,mBAAO,EAAC,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC;QACzD,CAAC;QAED,MAAM,WAAW,GAAG,OAAO,CAAC,MAAM,EAAE,OAAO,CAAC;QAC5C,IAAI,CAAC,WAAW,EAAE,CAAC;YACjB,MAAM,IAAI,KAAK,CAAC,gCAAgC,CAAC,CAAC;QACpD,CAAC;QAED,MAAM,QAAQ,GAAG,MAAM,OAAO,CAAC,kBAAkB,CAAC,WAAW,CAAC,CAAC;QAC/D,MAAM,EAAE,OAAO,EAAE,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,GAAG,IAAA,uCAAqB,EAC3E,QAAQ,EACR,OAAO,CAAC,aAAa,CACtB,CAAC;QAEF,MAAM,gBAAgB,GAAqB;YACzC,YAAY;YACZ,IAAI,EAAE,OAAO,CAAC,IAAI;YAClB,cAAc,EAAE,IAAA,gBAAI,EAAC,cAAc,EAAE,YAAY,CAAC;SACnD,CAAC;QAEF,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,CAAC;IACxC,CAAC,CAAC,EAAE,CACL,CAAC,IAAI,CACJ,IAAA,gBAAS,EAAC,CAAC,EAAE,QAAQ,EAAE,gBAAgB,EAAE,EAAE,EAAE,CAC3C,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,gBAAgB,CAAC,CACpF,EACD,IAAA,UAAG,EAAC,GAAG,EAAE,CAAC,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC,EAC9B,IAAA,iBAAU,EAAC,CAAC,GAAG,EAAE,EAAE,CAAC,IAAA,SAAE,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,CAAC,OAAO,EAAE,CAAC,CAAC,CAChE,CAAC;AACJ,CAAC;AAGD,kBAAe,IAAA,yBAAa,EAAmD,OAAO,CAAC,CAAC"} -------------------------------------------------------------------------------- /src/builders/extract-i18n/options.d.ts: -------------------------------------------------------------------------------- 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 { type I18nOptions } from '@angular/build/private'; 9 | import { type DiagnosticHandlingStrategy } from '@angular/localize/tools'; 10 | import { BuilderContext } from '@angular-devkit/architect'; 11 | import { Schema as ExtractI18nOptions, Format } from './schema'; 12 | export type NormalizedExtractI18nOptions = Awaited>; 13 | /** 14 | * Normalize the user provided options by creating full paths for all path based options 15 | * and converting multi-form options into a single form that can be directly used 16 | * by the build process. 17 | * 18 | * @param context The context for current builder execution. 19 | * @param projectName The name of the project for the current execution. 20 | * @param options An object containing the options to use for the build. 21 | * @returns An object containing normalized options required to perform the build. 22 | */ 23 | export declare function normalizeOptions(context: BuilderContext, projectName: string, options: ExtractI18nOptions): Promise<{ 24 | workspaceRoot: string; 25 | projectRoot: string; 26 | buildTarget: import("@angular-devkit/architect").Target; 27 | i18nOptions: I18nOptions & { 28 | duplicateTranslationBehavior: DiagnosticHandlingStrategy; 29 | }; 30 | format: Format.Arb | Format.Json | Format.LegacyMigrate | Format.Xliff | Format.Xliff2 | Format.Xmb; 31 | outFile: string; 32 | progress: boolean; 33 | }>; 34 | -------------------------------------------------------------------------------- /src/index.d.ts: -------------------------------------------------------------------------------- 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 | export * from './transforms'; 9 | export { CrossOrigin, OutputHashing, Type } from './builders/browser/schema'; 10 | export type { AssetPattern, AssetPatternClass as AssetPatternObject, Budget, FileReplacement, OptimizationClass as OptimizationObject, OptimizationUnion, Schema as BrowserBuilderOptions, SourceMapClass as SourceMapObject, SourceMapUnion, StylePreprocessorOptions, } from './builders/browser/schema'; 11 | export { buildWebpackBrowser as executeBrowserBuilder, type BrowserBuilderOutput, } from './builders/browser'; 12 | export { buildApplication, type ApplicationBuilderOptions } from '@angular/build'; 13 | export { executeDevServerBuilder, type DevServerBuilderOptions, type DevServerBuilderOutput, } from './builders/dev-server'; 14 | export { execute as executeExtractI18nBuilder, type ExtractI18nBuilderOptions, } from './builders/extract-i18n'; 15 | export { execute as executeKarmaBuilder, type KarmaBuilderOptions, type KarmaConfigOptions, } from './builders/karma'; 16 | export { execute as executeProtractorBuilder, type ProtractorBuilderOptions, } from './builders/protractor'; 17 | export { execute as executeServerBuilder, type ServerBuilderOptions, type ServerBuilderOutput, } from './builders/server'; 18 | export { execute as executeSSRDevServerBuilder, type SSRDevServerBuilderOptions, type SSRDevServerBuilderOutput, } from './builders/ssr-dev-server'; 19 | export { execute as executeNgPackagrBuilder, type NgPackagrBuilderOptions, } from './builders/ng-packagr'; 20 | -------------------------------------------------------------------------------- /src/tools/webpack/plugins/progress-plugin.js: -------------------------------------------------------------------------------- 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.ProgressPlugin = void 0; 11 | const webpack_1 = require("webpack"); 12 | const spinner_1 = require("../../../utils/spinner"); 13 | class ProgressPlugin extends webpack_1.ProgressPlugin { 14 | constructor(platform) { 15 | const platformCapitalFirst = platform.replace(/^\w/, (s) => s.toUpperCase()); 16 | const spinner = new spinner_1.Spinner(); 17 | spinner.start(`Generating ${platform} application bundles (phase: setup)...`); 18 | super({ 19 | handler: (percentage, message) => { 20 | const phase = message ? ` (phase: ${message})` : ''; 21 | spinner.text = `Generating ${platform} application bundles${phase}...`; 22 | switch (percentage) { 23 | case 1: 24 | if (spinner.isSpinning) { 25 | spinner.succeed(`${platformCapitalFirst} application bundle generation complete.`); 26 | } 27 | break; 28 | case 0: 29 | if (!spinner.isSpinning) { 30 | spinner.start(); 31 | } 32 | break; 33 | } 34 | }, 35 | }); 36 | } 37 | } 38 | exports.ProgressPlugin = ProgressPlugin; 39 | //# sourceMappingURL=progress-plugin.js.map -------------------------------------------------------------------------------- /src/builders/ssr-dev-server/schema.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * SSR Dev Server target options for Build Facade. 3 | */ 4 | export type Schema = { 5 | /** 6 | * Browser target to build. 7 | */ 8 | browserTarget: string; 9 | /** 10 | * Host to listen on. 11 | */ 12 | host?: string; 13 | /** 14 | * Launch the development server in inspector mode and listen on address and port 15 | * '127.0.0.1:9229'. 16 | */ 17 | inspect?: boolean; 18 | /** 19 | * Opens the url in default browser. 20 | */ 21 | open?: boolean; 22 | /** 23 | * Port to start the development server at. Default is 4200. Pass 0 to get a dynamically 24 | * assigned port. 25 | */ 26 | port?: number; 27 | /** 28 | * Log progress to the console while building. 29 | */ 30 | progress?: boolean; 31 | /** 32 | * Proxy configuration file. 33 | */ 34 | proxyConfig?: string; 35 | /** 36 | * The URL that the browser client should use to connect to the development server. Use for 37 | * a complex dev server setup, such as one with reverse proxies. 38 | */ 39 | publicHost?: string; 40 | /** 41 | * Server target to build. 42 | */ 43 | serverTarget: string; 44 | /** 45 | * Serve using HTTPS. 46 | */ 47 | ssl?: boolean; 48 | /** 49 | * SSL certificate to use for serving HTTPS. 50 | */ 51 | sslCert?: string; 52 | /** 53 | * SSL key to use for serving HTTPS. 54 | */ 55 | sslKey?: string; 56 | /** 57 | * Adds more details to output logging. 58 | */ 59 | verbose?: boolean; 60 | /** 61 | * Rebuild on change. 62 | */ 63 | watch?: boolean; 64 | }; 65 | -------------------------------------------------------------------------------- /src/utils/copy-assets.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"copy-assets.js","sourceRoot":"","sources":["copy-assets.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;;AAMH,gCAqDC;AAzDD,sDAAyB;AACzB,0DAA6B;AAC7B,2CAAkC;AAE3B,KAAK,UAAU,UAAU,CAC9B,OAOG,EACH,SAA2B,EAC3B,IAAY,EACZ,OAAqB;IAErB,MAAM,aAAa,GAAG,CAAC,UAAU,EAAE,cAAc,EAAE,cAAc,CAAC,CAAC;IAEnE,MAAM,WAAW,GAA8C,EAAE,CAAC;IAElE,KAAK,MAAM,KAAK,IAAI,OAAO,EAAE,CAAC;QAC5B,MAAM,GAAG,GAAG,mBAAI,CAAC,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;QAC5C,MAAM,KAAK,GAAG,MAAM,IAAA,iBAAI,EAAC,KAAK,CAAC,IAAI,EAAE;YACnC,GAAG;YACH,GAAG,EAAE,IAAI;YACT,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,aAAa;YACzE,mBAAmB,EAAE,KAAK,CAAC,cAAc;SAC1C,CAAC,CAAC;QAEH,MAAM,eAAe,GAAG,IAAI,GAAG,EAAU,CAAC;QAE1C,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;YACzB,MAAM,GAAG,GAAG,mBAAI,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;YACjC,IAAI,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC;gBACjC,SAAS;YACX,CAAC;YAED,MAAM,QAAQ,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,mBAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;YAE5D,WAAW,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,WAAW,EAAE,mBAAI,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,QAAQ,CAAC,EAAE,CAAC,CAAC;YAElF,KAAK,MAAM,IAAI,IAAI,SAAS,EAAE,CAAC;gBAC7B,MAAM,IAAI,GAAG,mBAAI,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;gBACrD,MAAM,GAAG,GAAG,mBAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;gBAC/B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC;oBAC9B,IAAI,CAAC,iBAAE,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC;wBACxB,iBAAE,CAAC,SAAS,CAAC,GAAG,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;oBACzC,CAAC;oBACD,eAAe,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;gBAC3B,CAAC;gBACD,iBAAE,CAAC,YAAY,CAAC,GAAG,EAAE,IAAI,EAAE,iBAAE,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;YAC5D,CAAC;QACH,CAAC;IACH,CAAC;IAED,OAAO,WAAW,CAAC;AACrB,CAAC"} -------------------------------------------------------------------------------- /src/builders/dev-server/webpack-server.d.ts: -------------------------------------------------------------------------------- 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 { IndexHtmlTransform } from '@angular/build/private'; 9 | import { BuilderContext } from '@angular-devkit/architect'; 10 | import { DevServerBuildOutput, WebpackLoggingCallback } from '@angular-devkit/build-webpack'; 11 | import { Observable } from 'rxjs'; 12 | import webpack from 'webpack'; 13 | import { BuildEventStats } from '../../tools/webpack/utils/stats'; 14 | import { ExecutionTransformer } from '../../transforms'; 15 | import { NormalizedDevServerOptions } from './options'; 16 | /** 17 | * @experimental Direct usage of this type is considered experimental. 18 | */ 19 | export type DevServerBuilderOutput = DevServerBuildOutput & { 20 | baseUrl: string; 21 | stats: BuildEventStats; 22 | }; 23 | /** 24 | * Reusable implementation of the Angular Webpack development server builder. 25 | * @param options Dev Server options. 26 | * @param builderName The name of the builder used to build the application. 27 | * @param context The build context. 28 | * @param transforms A map of transforms that can be used to hook into some logic (such as 29 | * transforming webpack configuration before passing it to webpack). 30 | */ 31 | export declare function serveWebpackBrowser(options: NormalizedDevServerOptions, builderName: string, context: BuilderContext, transforms?: { 32 | webpackConfiguration?: ExecutionTransformer; 33 | logging?: WebpackLoggingCallback; 34 | indexHtml?: IndexHtmlTransform; 35 | }): Observable; 36 | -------------------------------------------------------------------------------- /src/tools/webpack/plugins/dedupe-module-resolve-plugin.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"dedupe-module-resolve-plugin.js","sourceRoot":"","sources":["dedupe-module-resolve-plugin.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAGH,4EAAgE;AAahE,8DAA8D;AAC9D,SAAS,eAAe,CAAC,WAAgB;IACvC,MAAM,EAAE,mBAAmB,EAAE,YAAY,EAAE,GAAG,WAAW,CAAC,UAAU,CAAC,mBAAmB,CAAC;IAEzF,OAAO;QACL,WAAW,EAAE,mBAAmB,EAAE,IAAI;QACtC,cAAc,EAAE,mBAAmB,EAAE,OAAO;QAC5C,YAAY;QACZ,QAAQ,EAAE,WAAW,CAAC,UAAU,CAAC,QAAQ;KAC1C,CAAC;AACJ,CAAC;AAED;;;;;;;;GAQG;AACH,MAAa,yBAAyB;IAGhB;IAFpB,OAAO,GAAG,IAAI,GAAG,EAAiD,CAAC;IAEnE,YAAoB,OAA0C;QAA1C,YAAO,GAAP,OAAO,CAAmC;IAAG,CAAC;IAElE,KAAK,CAAC,QAAkB;QACtB,QAAQ,CAAC,KAAK,CAAC,WAAW,CAAC,GAAG,CAC5B,2BAA2B,EAC3B,CAAC,WAAW,EAAE,EAAE,mBAAmB,EAAE,EAAE,EAAE;YACvC,mBAAmB,CAAC,KAAK,CAAC,YAAY,CAAC,GAAG,CAAC,2BAA2B,EAAE,CAAC,MAAM,EAAE,EAAE;gBACjF,IAAI,CAAC,MAAM,EAAE,CAAC;oBACZ,OAAO;gBACT,CAAC;gBAED,MAAM,EAAE,WAAW,EAAE,cAAc,EAAE,YAAY,EAAE,QAAQ,EAAE,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC;gBAExF,wEAAwE;gBACxE,IAAI,CAAC,WAAW,IAAI,CAAC,cAAc,EAAE,CAAC;oBACpC,OAAO;gBACT,CAAC;gBAED,MAAM,QAAQ,GAAG,WAAW,GAAG,GAAG,GAAG,cAAc,GAAG,GAAG,GAAG,YAAY,CAAC;gBACzE,MAAM,kBAAkB,GAAG,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;gBAEtD,IAAI,CAAC,kBAAkB,EAAE,CAAC;oBACxB,+CAA+C;oBAC/C,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,QAAQ,EAAE;wBACzB,QAAQ;wBACR,OAAO,EAAE,MAAM,CAAC,OAAO;qBACxB,CAAC,CAAC;oBAEH,OAAO;gBACT,CAAC;gBAED,MAAM,EAAE,QAAQ,EAAE,YAAY,EAAE,OAAO,EAAE,WAAW,EAAE,GAAG,kBAAkB,CAAC;gBAC5E,IAAI,QAAQ,KAAK,YAAY,EAAE,CAAC;oBAC9B,sBAAsB;oBACtB,0DAA0D;oBAC1D,OAAO;gBACT,CAAC;gBAED,IAAI,IAAI,CAAC,OAAO,EAAE,OAAO,EAAE,CAAC;oBAC1B,IAAA,gCAAU,EAAC,WAAW,EAAE,gCAAgC,QAAQ,OAAO,YAAY,EAAE,CAAC,CAAC;gBACzF,CAAC;gBAED,yDAAyD;gBACzD,MAAM,UAAU,GAAG,MAAM,CAAC,UAAuD,CAAC;gBAClF,UAAU,CAAC,QAAQ,GAAG,YAAY,CAAC;gBACnC,UAAU,CAAC,WAAW,GAAG,WAAW,CAAC;YACvC,CAAC,CAAC,CAAC;QACL,CAAC,CACF,CAAC;IACJ,CAAC;CACF;AArDD,8DAqDC"} -------------------------------------------------------------------------------- /src/utils/normalize-cache.js: -------------------------------------------------------------------------------- 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.normalizeCacheOptions = normalizeCacheOptions; 11 | const node_path_1 = require("node:path"); 12 | /** Version placeholder is replaced during the build process with actual package version */ 13 | const VERSION = '21.1.0-next.2+sha-edeb41c'; 14 | function hasCacheMetadata(value) { 15 | return (!!value && 16 | typeof value === 'object' && 17 | 'cli' in value && 18 | !!value['cli'] && 19 | typeof value['cli'] === 'object' && 20 | 'cache' in value['cli']); 21 | } 22 | function normalizeCacheOptions(projectMetadata, worspaceRoot) { 23 | const cacheMetadata = hasCacheMetadata(projectMetadata) ? projectMetadata.cli.cache : {}; 24 | const { enabled = true, environment = 'local', path = '.angular/cache' } = cacheMetadata; 25 | const isCI = process.env['CI'] === '1' || process.env['CI']?.toLowerCase() === 'true'; 26 | let cacheEnabled = enabled; 27 | if (cacheEnabled) { 28 | switch (environment) { 29 | case 'ci': 30 | cacheEnabled = isCI; 31 | break; 32 | case 'local': 33 | cacheEnabled = !isCI; 34 | break; 35 | } 36 | } 37 | const cacheBasePath = (0, node_path_1.resolve)(worspaceRoot, path); 38 | return { 39 | enabled: cacheEnabled, 40 | basePath: cacheBasePath, 41 | path: (0, node_path_1.join)(cacheBasePath, VERSION), 42 | }; 43 | } 44 | //# sourceMappingURL=normalize-cache.js.map -------------------------------------------------------------------------------- /src/builders/app-shell/render-worker.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"render-worker.js","sourceRoot":"","sources":["render-worker.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKH,8DAAiC;AACjC,6DAAiD;AAEjD;;;GAGG;AACH,MAAM,EAAE,WAAW,EAAE,GAAG,gCAEvB,CAAC;AAuCF;;;;GAIG;AACH,KAAK,UAAU,MAAM,CAAC,EAAE,gBAAgB,EAAE,QAAQ,EAAE,GAAG,EAAiB;IACtE,MAAM,EACJ,eAAe,EACf,eAAe,EACf,YAAY,EACZ,iBAAiB,EACjB,OAAO,EAAE,cAAc,GACxB,GAAG,CAAC,yBAAa,gBAAgB,uCAAC,CAAwB,CAAC;IAE5D,IAAA,qBAAM,EAAC,eAAe,EAAE,0CAA0C,gBAAgB,GAAG,CAAC,CAAC;IAEvF,MAAM,iBAAiB,GAAqB;QAC1C;YACE,OAAO,EAAE,eAAe;YACxB,QAAQ,EAAE,WAAW;SACtB;KACF,CAAC;IAEF,IAAI,gBAAiC,CAAC;IACtC,gCAAgC;IAChC,IAAI,aAAa,CAAC,cAAc,CAAC,EAAE,CAAC;QAClC,IAAA,qBAAM,EAAC,iBAAiB,EAAE,4CAA4C,gBAAgB,GAAG,CAAC,CAAC;QAE3F,gBAAgB,GAAG,iBAAiB,CAAC,cAAc,EAAE;YACnD,QAAQ;YACR,GAAG;YACH,iBAAiB;SAClB,CAAC,CAAC;IACL,CAAC;SAAM,CAAC;QACN,IAAA,qBAAM,EAAC,YAAY,EAAE,uCAAuC,gBAAgB,GAAG,CAAC,CAAC;QACjF,MAAM,WAAW,GAAG,cAAc,IAAI,eAAe,CAAC;QACtD,IAAA,qBAAM,EACJ,WAAW,EACX,8EAA8E,gBAAgB,GAAG,CAClG,CAAC;QAEF,gBAAgB,GAAG,YAAY,CAAC,WAAW,EAAE;YAC3C,QAAQ;YACR,GAAG;YACH,cAAc,EAAE,iBAAiB;SAClC,CAAC,CAAC;IACL,CAAC;IAED,uDAAuD;IACvD,uDAAuD;IACvD,IAAI,KAAqB,CAAC;IAC1B,MAAM,gBAAgB,GAAG,IAAI,OAAO,CAClC,CAAC,CAAC,EAAE,MAAM,EAAE,EAAE,CACZ,CAAC,KAAK,GAAG,UAAU,CACjB,GAAG,EAAE,CACH,MAAM,CACJ,IAAI,KAAK,CAAC,QAAQ,IAAI,GAAG,CAAC,GAAG,EAAE,YAAY,CAAC,CAAC,QAAQ,gCAAgC,CAAC,CACvF,EACH,MAAM,CACP,CAAC,CACL,CAAC;IAEF,OAAO,OAAO,CAAC,IAAI,CAAC,CAAC,gBAAgB,EAAE,gBAAgB,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;AAC/F,CAAC;AAED,SAAS,aAAa,CACpB,KAAc;IAEd,uHAAuH;IACvH,OAAO,OAAO,KAAK,KAAK,UAAU,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,CAAC;AAC3D,CAAC;AAED;;;;;GAKG;AACH,KAAK,UAAU,UAAU;IACvB,IAAI,WAAW,EAAE,CAAC;QAChB,yBAAa,WAAW,uCAAC,CAAC;IAC5B,CAAC;IAED,qCAAqC;IACrC,OAAO,MAAM,CAAC;AAChB,CAAC;AAED;;;GAGG;AACH,kBAAe,UAAU,EAAE,CAAC"} -------------------------------------------------------------------------------- /src/builders/browser/index.d.ts: -------------------------------------------------------------------------------- 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 { IndexHtmlTransform } from '@angular/build/private'; 9 | import { BuilderContext, BuilderOutput } from '@angular-devkit/architect'; 10 | import { WebpackLoggingCallback } from '@angular-devkit/build-webpack'; 11 | import { Observable } from 'rxjs'; 12 | import webpack from 'webpack'; 13 | import { BuildEventStats } from '../../tools/webpack/utils/stats'; 14 | import { ExecutionTransformer } from '../../transforms'; 15 | import { Schema as BrowserBuilderSchema } from './schema'; 16 | /** 17 | * @experimental Direct usage of this type is considered experimental. 18 | */ 19 | export type BrowserBuilderOutput = BuilderOutput & { 20 | stats: BuildEventStats; 21 | baseOutputPath: string; 22 | outputs: { 23 | locale?: string; 24 | path: string; 25 | baseHref?: string; 26 | }[]; 27 | }; 28 | /** 29 | * Maximum time in milliseconds for single build/rebuild 30 | * This accounts for CI variability. 31 | */ 32 | export declare const BUILD_TIMEOUT = 30000; 33 | /** 34 | * @experimental Direct usage of this function is considered experimental. 35 | */ 36 | export declare function buildWebpackBrowser(options: BrowserBuilderSchema, context: BuilderContext, transforms?: { 37 | webpackConfiguration?: ExecutionTransformer; 38 | logging?: WebpackLoggingCallback; 39 | indexHtml?: IndexHtmlTransform; 40 | }): Observable; 41 | declare const _default: import("@angular-devkit/architect").Builder; 42 | export default _default; 43 | -------------------------------------------------------------------------------- /src/utils/run-module-as-observable-fork.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"run-module-as-observable-fork.js","sourceRoot":"","sources":["run-module-as-observable-fork.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;;AAQH,8DAuEC;AA5ED,2DAAuD;AACvD,yCAAoC;AACpC,+BAAkC;AAClC,0DAAiC;AAEjC,SAAgB,yBAAyB,CACvC,GAAW,EACX,UAAkB,EAClB,UAA8B;AAC9B,8DAA8D;AAC9D,IAAW;IAEX,OAAO,IAAI,iBAAU,CAAC,CAAC,GAAG,EAAE,EAAE;QAC5B,MAAM,UAAU,GAAW,IAAA,mBAAO,EAAC,SAAS,EAAE,wBAAwB,CAAC,CAAC;QAExE,MAAM,aAAa,GAAG,gDAAgD,CAAC;QACvE,MAAM,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE;YAC/C,qBAAqB;YACrB,4DAA4D;YAC5D,OAAO,CAAC,aAAa,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAClC,CAAC,CAAC,CAAC;QACH,MAAM,WAAW,GAAgB;YAC/B,GAAG;YACH,QAAQ;SACT,CAAC;QAEF,4DAA4D;QAC5D,gBAAgB;QAChB,mCAAmC;QACnC,gBAAgB;QAChB,uCAAuC;QACvC,wCAAwC;QACxC,OAAO;QACP,IAAI;QAEJ,MAAM,aAAa,GAAG,IAAA,yBAAI,EAAC,UAAU,EAAE,SAAS,EAAE,WAAW,CAAC,CAAC;QAE/D,WAAW;QACX,MAAM,iBAAiB,GAAG,GAAG,EAAE;YAC7B,IAAI,aAAa,IAAI,aAAa,CAAC,GAAG,EAAE,CAAC;gBACvC,IAAA,mBAAQ,EAAC,aAAa,CAAC,GAAG,EAAE,SAAS,CAAC,CAAC;YACzC,CAAC;QACH,CAAC,CAAC;QAEF,6BAA6B;QAC7B,MAAM,sBAAsB,GAAG,CAAC,IAAa,EAAE,EAAE;YAC/C,iBAAiB,EAAE,CAAC;YACpB,IAAI,IAAI,IAAI,IAAI,KAAK,CAAC,EAAE,CAAC;gBACvB,GAAG,CAAC,KAAK,EAAE,CAAC;YACd,CAAC;YACD,GAAG,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;YAC5B,GAAG,CAAC,QAAQ,EAAE,CAAC;QACjB,CAAC,CAAC;QACF,aAAa,CAAC,IAAI,CAAC,MAAM,EAAE,sBAAsB,CAAC,CAAC;QACnD,aAAa,CAAC,IAAI,CAAC,QAAQ,EAAE,sBAAsB,CAAC,CAAC;QACrD,aAAa,CAAC,IAAI,CAAC,mBAAmB,EAAE,sBAAsB,CAAC,CAAC;QAEhE,8BAA8B;QAC9B,MAAM,uBAAuB,GAAG,GAAG,EAAE;YACnC,iBAAiB,EAAE,CAAC;QACtB,CAAC,CAAC;QACF,OAAO,CAAC,IAAI,CAAC,MAAM,EAAE,uBAAuB,CAAC,CAAC;QAC9C,OAAO,CAAC,IAAI,CAAC,QAAQ,EAAE,uBAAuB,CAAC,CAAC;QAChD,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,uBAAuB,CAAC,CAAC;QAE3D,cAAc;QACd,aAAa,CAAC,IAAI,CAAC;YACjB,IAAI,EAAE,kCAAkC;YACxC,UAAU;YACV,UAAU;YACV,IAAI;SACL,CAAC,CAAC;QAEH,+DAA+D;QAC/D,OAAO,iBAAiB,CAAC;IAC3B,CAAC,CAAC,CAAC;AACL,CAAC"} -------------------------------------------------------------------------------- /src/tools/webpack/utils/stats.d.ts: -------------------------------------------------------------------------------- 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 { BudgetCalculatorResult } from '@angular/build/private'; 9 | import { WebpackLoggingCallback } from '@angular-devkit/build-webpack'; 10 | import { logging } from '@angular-devkit/core'; 11 | import { Configuration, StatsCompilation } from 'webpack'; 12 | import { Schema as BrowserBuilderOptions } from '../../../builders/browser/schema'; 13 | import { WebpackStatsOptions } from './helpers'; 14 | export declare function statsWarningsToString(json: StatsCompilation, statsConfig: WebpackStatsOptions): string; 15 | export declare function statsErrorsToString(json: StatsCompilation, statsConfig: WebpackStatsOptions): string; 16 | export declare function statsHasErrors(json: StatsCompilation): boolean; 17 | export declare function statsHasWarnings(json: StatsCompilation): boolean; 18 | export declare function createWebpackLoggingCallback(options: BrowserBuilderOptions, logger: logging.LoggerApi): WebpackLoggingCallback; 19 | export interface BuildEventStats { 20 | aot: boolean; 21 | optimization: boolean; 22 | allChunksCount: number; 23 | lazyChunksCount: number; 24 | initialChunksCount: number; 25 | changedChunksCount?: number; 26 | durationInMs: number; 27 | cssSizeInBytes: number; 28 | jsSizeInBytes: number; 29 | ngComponentCount: number; 30 | } 31 | export declare function generateBuildEventStats(webpackStats: StatsCompilation, browserBuilderOptions: BrowserBuilderOptions): BuildEventStats; 32 | export declare function webpackStatsLogger(logger: logging.LoggerApi, json: StatsCompilation, config: Configuration, budgetFailures?: BudgetCalculatorResult[]): void; 33 | -------------------------------------------------------------------------------- /src/builders/extract-i18n/options.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"options.js","sourceRoot":"","sources":["options.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;;AAqBH,4CAkDC;AArED,oDAA6E;AAE7E,yDAAmF;AACnF,6CAAmC;AACnC,0DAA6B;AAC7B,qCAAgE;AAIhE;;;;;;;;;GASG;AACI,KAAK,UAAU,gBAAgB,CACpC,OAAuB,EACvB,WAAmB,EACnB,OAA2B;IAE3B,MAAM,aAAa,GAAG,OAAO,CAAC,aAAa,CAAC;IAC5C,MAAM,eAAe,GAAG,MAAM,OAAO,CAAC,kBAAkB,CAAC,WAAW,CAAC,CAAC;IACtE,MAAM,WAAW,GAAG,mBAAI,CAAC,IAAI,CAAC,aAAa,EAAG,eAAe,CAAC,IAA2B,IAAI,EAAE,CAAC,CAAC;IAEjG,kGAAkG;IAClG,MAAM,oBAAoB,GAAG,OAAO,CAAC,WAAW,IAAI,GAAG,CAAC;IACxD,MAAM,WAAW,GAAG,IAAA,kCAAsB,EAAC,oBAAoB,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC;IACvF,MAAM,WAAW,GAEb;QACF,GAAG,IAAA,2BAAiB,EAAC,eAAe,EAAE,aAAa,CAAC,KAAK,EAAE,OAAO,CAAC,MAAM,CAAC;QAC1E,4BAA4B,EAAE,OAAO,CAAC,wBAAwB,IAAI,SAAS;KAC5E,CAAC;IAEF,oCAAoC;IACpC,IAAI,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAC5B,QAAQ,MAAM,EAAE,CAAC;QACf,2BAA2B;QAC3B,KAAK,SAAS,CAAC;QACf,KAAK,eAAM,CAAC,GAAG,CAAC;QAChB,KAAK,eAAM,CAAC,IAAI,CAAC;QACjB,KAAK,eAAM,CAAC,KAAK;YACf,MAAM,GAAG,eAAM,CAAC,KAAK,CAAC;YACtB,MAAM;QACR,KAAK,eAAM,CAAC,IAAI,CAAC;QACjB,KAAK,eAAM,CAAC,MAAM;YAChB,MAAM,GAAG,eAAM,CAAC,MAAM,CAAC;YACvB,MAAM;IACV,CAAC;IAED,IAAI,OAAO,GAAG,OAAO,CAAC,OAAO,IAAI,iBAAiB,CAAC,MAAM,CAAC,CAAC;IAC3D,IAAI,OAAO,CAAC,UAAU,EAAE,CAAC;QACvB,OAAO,GAAG,mBAAI,CAAC,IAAI,CAAC,OAAO,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;IACnD,CAAC;IACD,OAAO,GAAG,mBAAI,CAAC,OAAO,CAAC,OAAO,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;IAEvD,OAAO;QACL,aAAa;QACb,WAAW;QACX,WAAW;QACX,WAAW;QACX,MAAM;QACN,OAAO;QACP,QAAQ,EAAE,OAAO,CAAC,QAAQ,IAAI,IAAI;KACnC,CAAC;AACJ,CAAC;AAED,SAAS,iBAAiB,CAAC,MAAc;IACvC,QAAQ,MAAM,EAAE,CAAC;QACf,KAAK,eAAM,CAAC,GAAG;YACb,OAAO,cAAc,CAAC;QACxB,KAAK,eAAM,CAAC,KAAK,CAAC;QAClB,KAAK,eAAM,CAAC,MAAM;YAChB,OAAO,cAAc,CAAC;QACxB,KAAK,eAAM,CAAC,IAAI,CAAC;QACjB,KAAK,eAAM,CAAC,aAAa;YACvB,OAAO,eAAe,CAAC;QACzB,KAAK,eAAM,CAAC,GAAG;YACb,OAAO,cAAc,CAAC;QACxB;YACE,IAAA,kBAAI,EAAC,8BAA8B,MAAiB,EAAE,CAAC,CAAC;IAC5D,CAAC;AACH,CAAC"} -------------------------------------------------------------------------------- /src/utils/spinner.js: -------------------------------------------------------------------------------- 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 | var __importDefault = (this && this.__importDefault) || function (mod) { 10 | return (mod && mod.__esModule) ? mod : { "default": mod }; 11 | }; 12 | Object.defineProperty(exports, "__esModule", { value: true }); 13 | exports.Spinner = void 0; 14 | const ora_1 = __importDefault(require("ora")); 15 | const color_1 = require("./color"); 16 | const tty_1 = require("./tty"); 17 | class Spinner { 18 | spinner; 19 | /** When false, only fail messages will be displayed. */ 20 | enabled = true; 21 | #isTTY = (0, tty_1.isTTY)(); 22 | constructor(text) { 23 | this.spinner = (0, ora_1.default)({ 24 | text: text === undefined ? undefined : text + '\n', 25 | // The below 2 options are needed because otherwise CTRL+C will be delayed 26 | // when the underlying process is sync. 27 | hideCursor: false, 28 | discardStdin: false, 29 | isEnabled: this.#isTTY, 30 | }); 31 | } 32 | set text(text) { 33 | this.spinner.text = text; 34 | } 35 | get isSpinning() { 36 | return this.spinner.isSpinning || !this.#isTTY; 37 | } 38 | succeed(text) { 39 | if (this.enabled) { 40 | this.spinner.succeed(text); 41 | } 42 | } 43 | fail(text) { 44 | this.spinner.fail(text && color_1.colors.redBright(text)); 45 | } 46 | stop() { 47 | this.spinner.stop(); 48 | } 49 | start(text) { 50 | if (this.enabled) { 51 | this.spinner.start(text); 52 | } 53 | } 54 | } 55 | exports.Spinner = Spinner; 56 | //# sourceMappingURL=spinner.js.map -------------------------------------------------------------------------------- /src/tools/webpack/plugins/karma/karma-context.html: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 17 | 18 | 19 | 20 | 24 | 25 | 33 | 34 | 35 | 36 | %SCRIPTS% 37 | 38 | 39 | 40 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /src/tools/webpack/plugins/esbuild-executor.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"esbuild-executor.js","sourceRoot":"","sources":["esbuild-executor.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASH;;;;;;GAMG;AACH,MAAa,eAAe;IAaN;IAVZ,gBAAgB,CAAoB;IACpC,qBAAqB,CAAyB;IAC9C,WAAW,GAAG,KAAK,CAAC;IAE5B;;;;;OAKG;IACH,YAAoB,gBAAgB,KAAK;QAArB,kBAAa,GAAb,aAAa,CAAQ;QACvC,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,qBAAqB,GAAG,GAAG,EAAE;YACxD,MAAM,IAAI,KAAK,CAAC,gCAAgC,CAAC,CAAC;QACpD,CAAC,CAAC;IACJ,CAAC;IAED;;;;OAIG;IACH,MAAM,CAAC,KAAK,CAAC,gBAAgB;QAC3B,yEAAyE;QACzE,IAAI,CAAC;YACH,MAAM,EAAE,cAAc,EAAE,GAAG,wDAAa,SAAS,GAAC,CAAC;YACnD,MAAM,cAAc,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,CAAC;YAE5C,OAAO,IAAI,CAAC;QACd,CAAC;QAAC,MAAM,CAAC;YACP,OAAO,KAAK,CAAC;QACf,CAAC;IACH,CAAC;IAED;;;;OAIG;IACK,KAAK,CAAC,aAAa;QACzB,IAAI,IAAI,CAAC,WAAW,EAAE,CAAC;YACrB,OAAO;QACT,CAAC;QAED,+FAA+F;QAC/F,IAAI,IAAI,CAAC,aAAa,IAAI,CAAC,CAAC,MAAM,eAAe,CAAC,gBAAgB,EAAE,CAAC,EAAE,CAAC;YACtE,MAAM,IAAI,CAAC,OAAO,EAAE,CAAC;YACrB,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;YAExB,OAAO;QACT,CAAC;QAED,IAAI,CAAC;YACH,8CAA8C;YAC9C,MAAM,EAAE,SAAS,EAAE,cAAc,EAAE,GAAG,wDAAa,SAAS,GAAC,CAAC;YAE9D,IAAI,CAAC,gBAAgB,GAAG,SAAS,CAAC;YAClC,IAAI,CAAC,qBAAqB,GAAG,cAAc,CAAC;QAC9C,CAAC;QAAC,MAAM,CAAC;YACP,yEAAyE;YACzE,MAAM,IAAI,CAAC,OAAO,EAAE,CAAC;QACvB,CAAC;QAED,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;IAC1B,CAAC;IAED;;OAEG;IACK,KAAK,CAAC,OAAO;QACnB,MAAM,EAAE,SAAS,EAAE,cAAc,EAAE,GAAG,wDAAa,cAAc,GAAC,CAAC;QACnE,IAAI,CAAC,gBAAgB,GAAG,SAAS,CAAC;QAClC,IAAI,CAAC,qBAAqB,GAAG,cAAc,CAAC;QAE5C,uFAAuF;QACvF,4FAA4F;QAC5F,uBAAuB;QACvB,OAAO,OAAO,CAAC,GAAG,CAAC,mBAAmB,CAAC;QAEvC,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC;IAC5B,CAAC;IAED,KAAK,CAAC,SAAS,CACb,KAA0B,EAC1B,OAA0B;QAE1B,MAAM,IAAI,CAAC,aAAa,EAAE,CAAC;QAE3B,OAAO,IAAI,CAAC,gBAAgB,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC/C,CAAC;IAED,KAAK,CAAC,cAAc,CAClB,QAA0B,EAC1B,OAA8B;QAE9B,MAAM,IAAI,CAAC,aAAa,EAAE,CAAC;QAE3B,OAAO,IAAI,CAAC,qBAAqB,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;IACvD,CAAC;CACF;AArGD,0CAqGC"} -------------------------------------------------------------------------------- /src/tools/babel/plugins/add-code-coverage.js: -------------------------------------------------------------------------------- 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 | var __importDefault = (this && this.__importDefault) || function (mod) { 10 | return (mod && mod.__esModule) ? mod : { "default": mod }; 11 | }; 12 | Object.defineProperty(exports, "__esModule", { value: true }); 13 | exports.default = default_1; 14 | const core_1 = require("@babel/core"); 15 | const istanbul_lib_instrument_1 = require("istanbul-lib-instrument"); 16 | const node_assert_1 = __importDefault(require("node:assert")); 17 | /** 18 | * A babel plugin factory function for adding istanbul instrumentation. 19 | * 20 | * @returns A babel plugin object instance. 21 | */ 22 | function default_1() { 23 | const visitors = new WeakMap(); 24 | return { 25 | visitor: { 26 | Program: { 27 | enter(path, state) { 28 | const visitor = (0, istanbul_lib_instrument_1.programVisitor)(core_1.types, state.filename, { 29 | // Babel returns a Converter object from the `convert-source-map` package 30 | inputSourceMap: state.file.inputMap?.toObject(), 31 | }); 32 | visitors.set(path, visitor); 33 | visitor.enter(path); 34 | }, 35 | exit(path) { 36 | const visitor = visitors.get(path); 37 | (0, node_assert_1.default)(visitor, 'Instrumentation visitor should always be present for program path.'); 38 | visitor.exit(path); 39 | visitors.delete(path); 40 | }, 41 | }, 42 | }, 43 | }; 44 | } 45 | //# sourceMappingURL=add-code-coverage.js.map -------------------------------------------------------------------------------- /src/tools/webpack/plugins/any-component-style-budget-checker.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"any-component-style-budget-checker.js","sourceRoot":"","sources":["any-component-style-budget-checker.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,oDAMgC;AAChC,gDAAkC;AAClC,qCAAgD;AAChD,4EAA0E;AAE1E,MAAM,WAAW,GAAG,gCAAgC,CAAC;AAErD;;;GAGG;AACH,MAAa,8BAA8B;IACxB,OAAO,CAAgB;IAExC,YAAY,OAAsB;QAChC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,KAAK,oBAAU,CAAC,iBAAiB,CAAC,CAAC;IAC1F,CAAC;IAED,KAAK,CAAC,QAAkB;QACtB,QAAQ,CAAC,KAAK,CAAC,WAAW,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC,WAAW,EAAE,EAAE;YAC1D,WAAW,CAAC,KAAK,CAAC,aAAa,CAAC,GAAG,CACjC;gBACE,IAAI,EAAE,WAAW;gBACjB,KAAK,EAAE,qBAAW,CAAC,4BAA4B;aAChD,EACD,GAAG,EAAE;gBACH,cAAc;gBACd,IAAI,IAAI,CAAC,OAAO,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;oBAC9B,OAAO;gBACT,CAAC;gBAED,4EAA4E;gBAC5E,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,iBAAiB,EAAE,CAAC;oBAC5C,OAAO;gBACT,CAAC;gBAED,MAAM,aAAa,GAAG,CAAC,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;gBAE1D,MAAM,eAAe,GAAkB,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC;qBACnE,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,aAAa,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;qBAC5D,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;oBACd,IAAI;oBACJ,IAAI,EAAE,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE;oBACrC,cAAc,EAAE,IAAI;iBACrB,CAAC,CAAC,CAAC;gBAEN,KAAK,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,IAAI,IAAA,sBAAY,EAC9C,IAAI,CAAC,OAAO,EACZ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,eAAe,EAAE,EACvC,IAAI,CACL,EAAE,CAAC;oBACF,QAAQ,QAAQ,EAAE,CAAC;wBACjB,KAAK,2BAAiB,CAAC,OAAO;4BAC5B,IAAA,gCAAU,EAAC,WAAW,EAAE,OAAO,CAAC,CAAC;4BACjC,MAAM;wBACR,KAAK,2BAAiB,CAAC,KAAK;4BAC1B,IAAA,8BAAQ,EAAC,WAAW,EAAE,OAAO,CAAC,CAAC;4BAC/B,MAAM;wBACR;4BACE,WAAW,CAAC,QAAQ,CAAC,CAAC;oBAC1B,CAAC;gBACH,CAAC;YACH,CAAC,CACF,CAAC;QACJ,CAAC,CAAC,CAAC;IACL,CAAC;CACF;AAvDD,wEAuDC;AAED,SAAS,WAAW,CAAC,KAAY;IAC/B,MAAM,IAAI,KAAK,CACb,gDAAgD,IAAI,CAAC,SAAS,CAC5D,KAAK,EACL,IAAI,CAAC,cAAc,EACnB,CAAC,CAAC,aAAa,CAChB,EAAE,CACJ,CAAC;AACJ,CAAC"} -------------------------------------------------------------------------------- /src/builders/app-shell/schema.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema", 3 | "title": "App Shell Target", 4 | "description": "App Shell target options for Build Facade.", 5 | "type": "object", 6 | "properties": { 7 | "browserTarget": { 8 | "type": "string", 9 | "description": "A browser builder target use for rendering the application shell in the format of `project:target[:configuration]`. You can also pass in more than one configuration name as a comma-separated list. Example: `project:target:production,staging`.", 10 | "pattern": "^[^:\\s]+:[^:\\s]+(:[^\\s]+)?$" 11 | }, 12 | "serverTarget": { 13 | "type": "string", 14 | "description": "A server builder target use for rendering the application shell in the format of `project:target[:configuration]`. You can also pass in more than one configuration name as a comma-separated list. Example: `project:target:production,staging`.", 15 | "pattern": "^[^:\\s]+:[^:\\s]+(:[^\\s]+)?$" 16 | }, 17 | "appModuleBundle": { 18 | "type": "string", 19 | "description": "Script that exports the Server AppModule to render. This should be the main JavaScript outputted by the server target. By default we will resolve the outputPath of the serverTarget and find a bundle named 'main' in it (whether or not there's a hash tag)." 20 | }, 21 | "route": { 22 | "type": "string", 23 | "description": "The route to render.", 24 | "default": "/" 25 | }, 26 | "inputIndexPath": { 27 | "type": "string", 28 | "description": "The input path for the index.html file. By default uses the output index.html of the browser target." 29 | }, 30 | "outputIndexPath": { 31 | "type": "string", 32 | "description": "The output path of the index.html file. By default will overwrite the input file." 33 | } 34 | }, 35 | "additionalProperties": false, 36 | "required": ["browserTarget", "serverTarget"] 37 | } 38 | --------------------------------------------------------------------------------