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