@angular/cli 22.2.0 → 22.3.0-next.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/bin/ng.js +7 -10
- package/bin/version.js +98 -0
- package/index.d.ts +19 -0
- package/lib/chunk-5AASRQKS.js +85 -0
- package/lib/chunk-A2VIYA2E.js +165 -0
- package/lib/chunk-CAZUOCTC.js +225 -0
- package/lib/chunk-DHWVZMLH.js +206 -0
- package/lib/chunk-FZ5GFCWU.js +483 -0
- package/lib/chunk-G7TRU43D.js +42 -0
- package/lib/chunk-GHUUJYOY.js +40 -0
- package/lib/chunk-JBLF2TH3.js +267 -0
- package/lib/chunk-Q67GOPL7.js +380 -0
- package/lib/chunk-SN4KY4Z3.js +24 -0
- package/lib/chunk-XFL2J3CJ.js +24 -0
- package/lib/chunk-XG3HVNIL.js +59 -0
- package/lib/chunk-YM7ILCS5.js +2573 -0
- package/lib/cli/index.js +353 -105
- package/lib/cli-4CMZ6KMR.js +48 -0
- package/lib/cli-4Q7DGTBA.js +33 -0
- package/lib/cli-6AHY7ADW.js +96 -0
- package/lib/cli-A5UAJDO6.js +135 -0
- package/lib/cli-ACLGUIBI.js +2531 -0
- package/lib/cli-BQRFWIMG.js +35 -0
- package/lib/cli-CWICUPZW.js +42 -0
- package/lib/cli-DWQUM3M2.js +29 -0
- package/lib/cli-L4TM4JH3.js +88 -0
- package/lib/cli-LYBZEMDR.js +96 -0
- package/lib/cli-PDCEX7HQ.js +605 -0
- package/lib/cli-PJVTDBQM.js +51 -0
- package/lib/cli-PRIRL3WP.js +185 -0
- package/lib/cli-PU5VH7JB.js +189 -0
- package/lib/cli-QUH44NUB.js +68 -0
- package/lib/cli-VVITNTBC.js +50 -0
- package/lib/cli-XM4L4PP4.js +1651 -0
- package/lib/cli-Y2ECUR33.js +33 -0
- package/lib/cli-YDSMJOSO.js +182 -0
- package/lib/color-SJPGXZVA.js +8 -0
- package/lib/config/schema.json +210 -6
- package/lib/config-QXK7SSVG.js +22 -0
- package/lib/init.js +91 -180
- package/package.json +20 -15
- package/lib/cli/index.d.ts +0 -11
- package/lib/cli/index.js.map +0 -1
- package/lib/config/workspace-schema.d.ts +0 -1025
- package/lib/config/workspace-schema.js +0 -131
- package/lib/config/workspace-schema.js.map +0 -1
- package/lib/init.d.ts +0 -8
- package/lib/init.js.map +0 -1
- package/src/analytics/analytics-collector.d.ts +0 -35
- package/src/analytics/analytics-collector.js +0 -195
- package/src/analytics/analytics-collector.js.map +0 -1
- package/src/analytics/analytics-parameters.d.ts +0 -101
- package/src/analytics/analytics-parameters.js +0 -107
- package/src/analytics/analytics-parameters.js.map +0 -1
- package/src/analytics/analytics.d.ts +0 -27
- package/src/analytics/analytics.js +0 -183
- package/src/analytics/analytics.js.map +0 -1
- package/src/command-builder/architect-base-command-module.d.ts +0 -30
- package/src/command-builder/architect-base-command-module.js +0 -244
- package/src/command-builder/architect-base-command-module.js.map +0 -1
- package/src/command-builder/architect-command-module.d.ts +0 -28
- package/src/command-builder/architect-command-module.js +0 -218
- package/src/command-builder/architect-command-module.js.map +0 -1
- package/src/command-builder/command-module.d.ts +0 -73
- package/src/command-builder/command-module.js +0 -260
- package/src/command-builder/command-module.js.map +0 -1
- package/src/command-builder/command-runner.d.ts +0 -9
- package/src/command-builder/command-runner.js +0 -202
- package/src/command-builder/command-runner.js.map +0 -1
- package/src/command-builder/definitions.d.ts +0 -41
- package/src/command-builder/definitions.js +0 -20
- package/src/command-builder/definitions.js.map +0 -1
- package/src/command-builder/schematics-command-module.d.ts +0 -41
- package/src/command-builder/schematics-command-module.js +0 -408
- package/src/command-builder/schematics-command-module.js.map +0 -1
- package/src/command-builder/utilities/command.d.ts +0 -13
- package/src/command-builder/utilities/command.js +0 -39
- package/src/command-builder/utilities/command.js.map +0 -1
- package/src/command-builder/utilities/json-help.d.ts +0 -37
- package/src/command-builder/utilities/json-help.js +0 -92
- package/src/command-builder/utilities/json-help.js.map +0 -1
- package/src/command-builder/utilities/json-schema.d.ts +0 -64
- package/src/command-builder/utilities/json-schema.js +0 -349
- package/src/command-builder/utilities/json-schema.js.map +0 -1
- package/src/command-builder/utilities/normalize-options-middleware.d.ts +0 -18
- package/src/command-builder/utilities/normalize-options-middleware.js +0 -37
- package/src/command-builder/utilities/normalize-options-middleware.js.map +0 -1
- package/src/command-builder/utilities/schematic-engine-host.d.ts +0 -15
- package/src/command-builder/utilities/schematic-engine-host.js +0 -179
- package/src/command-builder/utilities/schematic-engine-host.js.map +0 -1
- package/src/command-builder/utilities/schematic-workflow.d.ts +0 -14
- package/src/command-builder/utilities/schematic-workflow.js +0 -70
- package/src/command-builder/utilities/schematic-workflow.js.map +0 -1
- package/src/commands/add/cli.d.ts +0 -41
- package/src/commands/add/cli.js +0 -705
- package/src/commands/add/cli.js.map +0 -1
- package/src/commands/add/long-description.md +0 -7
- package/src/commands/analytics/cli.d.ts +0 -16
- package/src/commands/analytics/cli.js +0 -34
- package/src/commands/analytics/cli.js.map +0 -1
- package/src/commands/analytics/info/cli.d.ts +0 -16
- package/src/commands/analytics/info/cli.js +0 -25
- package/src/commands/analytics/info/cli.js.map +0 -1
- package/src/commands/analytics/long-description.md +0 -20
- package/src/commands/analytics/settings/cli.d.ts +0 -35
- package/src/commands/analytics/settings/cli.js +0 -54
- package/src/commands/analytics/settings/cli.js.map +0 -1
- package/src/commands/build/cli.d.ts +0 -16
- package/src/commands/build/cli.js +0 -21
- package/src/commands/build/cli.js.map +0 -1
- package/src/commands/build/long-description.md +0 -18
- package/src/commands/cache/clean/cli.d.ts +0 -17
- package/src/commands/cache/clean/cli.js +0 -32
- package/src/commands/cache/clean/cli.js.map +0 -1
- package/src/commands/cache/cli.d.ts +0 -17
- package/src/commands/cache/cli.js +0 -36
- package/src/commands/cache/cli.js.map +0 -1
- package/src/commands/cache/info/cli.d.ts +0 -20
- package/src/commands/cache/info/cli.js +0 -139
- package/src/commands/cache/info/cli.js.map +0 -1
- package/src/commands/cache/long-description.md +0 -53
- package/src/commands/cache/settings/cli.d.ts +0 -27
- package/src/commands/cache/settings/cli.js +0 -41
- package/src/commands/cache/settings/cli.js.map +0 -1
- package/src/commands/cache/utilities.d.ts +0 -11
- package/src/commands/cache/utilities.js +0 -85
- package/src/commands/cache/utilities.js.map +0 -1
- package/src/commands/command-config.d.ts +0 -17
- package/src/commands/command-config.js +0 -116
- package/src/commands/command-config.js.map +0 -1
- package/src/commands/completion/cli.d.ts +0 -16
- package/src/commands/completion/cli.js +0 -61
- package/src/commands/completion/cli.js.map +0 -1
- package/src/commands/completion/long-description.md +0 -67
- package/src/commands/config/cli.d.ts +0 -24
- package/src/commands/config/cli.js +0 -150
- package/src/commands/config/cli.js.map +0 -1
- package/src/commands/config/long-description.md +0 -13
- package/src/commands/deploy/cli.d.ts +0 -17
- package/src/commands/deploy/cli.js +0 -38
- package/src/commands/deploy/cli.js.map +0 -1
- package/src/commands/deploy/long-description.md +0 -22
- package/src/commands/e2e/cli.d.ts +0 -18
- package/src/commands/e2e/cli.js +0 -42
- package/src/commands/e2e/cli.js.map +0 -1
- package/src/commands/extract-i18n/cli.d.ts +0 -17
- package/src/commands/extract-i18n/cli.js +0 -48
- package/src/commands/extract-i18n/cli.js.map +0 -1
- package/src/commands/generate/cli.d.ts +0 -47
- package/src/commands/generate/cli.js +0 -189
- package/src/commands/generate/cli.js.map +0 -1
- package/src/commands/lint/cli.d.ts +0 -17
- package/src/commands/lint/cli.js +0 -25
- package/src/commands/lint/cli.js.map +0 -1
- package/src/commands/lint/long-description.md +0 -20
- package/src/commands/make-this-awesome/cli.d.ts +0 -17
- package/src/commands/make-this-awesome/cli.js +0 -36
- package/src/commands/make-this-awesome/cli.js.map +0 -1
- package/src/commands/mcp/cli.d.ts +0 -21
- package/src/commands/mcp/cli.js +0 -74
- package/src/commands/mcp/cli.js.map +0 -1
- package/src/commands/mcp/constants.d.ts +0 -10
- package/src/commands/mcp/constants.js +0 -16
- package/src/commands/mcp/constants.js.map +0 -1
- package/src/commands/mcp/devserver.d.ts +0 -85
- package/src/commands/mcp/devserver.js +0 -109
- package/src/commands/mcp/devserver.js.map +0 -1
- package/src/commands/mcp/host.d.ts +0 -103
- package/src/commands/mcp/host.js +0 -270
- package/src/commands/mcp/host.js.map +0 -1
- package/src/commands/mcp/mcp-server.d.ts +0 -38
- package/src/commands/mcp/mcp-server.js +0 -176
- package/src/commands/mcp/mcp-server.js.map +0 -1
- package/src/commands/mcp/resources/ai-tutor.md +0 -822
- package/src/commands/mcp/resources/best-practices.md +0 -59
- package/src/commands/mcp/resources/instructions.d.ts +0 -9
- package/src/commands/mcp/resources/instructions.js +0 -26
- package/src/commands/mcp/resources/instructions.js.map +0 -1
- package/src/commands/mcp/shared-options.d.ts +0 -12
- package/src/commands/mcp/shared-options.js +0 -22
- package/src/commands/mcp/shared-options.js.map +0 -1
- package/src/commands/mcp/tools/ai-tutor.d.ts +0 -12
- package/src/commands/mcp/tools/ai-tutor.js +0 -59
- package/src/commands/mcp/tools/ai-tutor.js.map +0 -1
- package/src/commands/mcp/tools/best-practices.d.ts +0 -13
- package/src/commands/mcp/tools/best-practices.js +0 -196
- package/src/commands/mcp/tools/best-practices.js.map +0 -1
- package/src/commands/mcp/tools/devserver/devserver-start.d.ts +0 -32
- package/src/commands/mcp/tools/devserver/devserver-start.js +0 -110
- package/src/commands/mcp/tools/devserver/devserver-start.js.map +0 -1
- package/src/commands/mcp/tools/devserver/devserver-stop.d.ts +0 -31
- package/src/commands/mcp/tools/devserver/devserver-stop.js +0 -69
- package/src/commands/mcp/tools/devserver/devserver-stop.js.map +0 -1
- package/src/commands/mcp/tools/devserver/devserver-wait-for-build.d.ts +0 -41
- package/src/commands/mcp/tools/devserver/devserver-wait-for-build.js +0 -105
- package/src/commands/mcp/tools/devserver/devserver-wait-for-build.js.map +0 -1
- package/src/commands/mcp/tools/doc-search.d.ts +0 -21
- package/src/commands/mcp/tools/doc-search.js +0 -307
- package/src/commands/mcp/tools/doc-search.js.map +0 -1
- package/src/commands/mcp/tools/onpush-zoneless-migration/analyze-for-unsupported-zone-uses.d.ts +0 -17
- package/src/commands/mcp/tools/onpush-zoneless-migration/analyze-for-unsupported-zone-uses.js +0 -62
- package/src/commands/mcp/tools/onpush-zoneless-migration/analyze-for-unsupported-zone-uses.js.map +0 -1
- package/src/commands/mcp/tools/onpush-zoneless-migration/migrate-single-file.d.ts +0 -12
- package/src/commands/mcp/tools/onpush-zoneless-migration/migrate-single-file.js +0 -70
- package/src/commands/mcp/tools/onpush-zoneless-migration/migrate-single-file.js.map +0 -1
- package/src/commands/mcp/tools/onpush-zoneless-migration/migrate-test-file.d.ts +0 -12
- package/src/commands/mcp/tools/onpush-zoneless-migration/migrate-test-file.js +0 -60
- package/src/commands/mcp/tools/onpush-zoneless-migration/migrate-test-file.js.map +0 -1
- package/src/commands/mcp/tools/onpush-zoneless-migration/prompts.d.ts +0 -15
- package/src/commands/mcp/tools/onpush-zoneless-migration/prompts.js +0 -238
- package/src/commands/mcp/tools/onpush-zoneless-migration/prompts.js.map +0 -1
- package/src/commands/mcp/tools/onpush-zoneless-migration/send-debug-message.d.ts +0 -9
- package/src/commands/mcp/tools/onpush-zoneless-migration/send-debug-message.js +0 -14
- package/src/commands/mcp/tools/onpush-zoneless-migration/send-debug-message.js.map +0 -1
- package/src/commands/mcp/tools/onpush-zoneless-migration/ts-utils.d.ts +0 -36
- package/src/commands/mcp/tools/onpush-zoneless-migration/ts-utils.js +0 -135
- package/src/commands/mcp/tools/onpush-zoneless-migration/ts-utils.js.map +0 -1
- package/src/commands/mcp/tools/onpush-zoneless-migration/types.d.ts +0 -13
- package/src/commands/mcp/tools/onpush-zoneless-migration/types.js +0 -10
- package/src/commands/mcp/tools/onpush-zoneless-migration/types.js.map +0 -1
- package/src/commands/mcp/tools/onpush-zoneless-migration/zoneless-migration.d.ts +0 -16
- package/src/commands/mcp/tools/onpush-zoneless-migration/zoneless-migration.js +0 -211
- package/src/commands/mcp/tools/onpush-zoneless-migration/zoneless-migration.js.map +0 -1
- package/src/commands/mcp/tools/projects.d.ts +0 -48
- package/src/commands/mcp/tools/projects.js +0 -541
- package/src/commands/mcp/tools/projects.js.map +0 -1
- package/src/commands/mcp/tools/run-target/build-target-strategy.d.ts +0 -14
- package/src/commands/mcp/tools/run-target/build-target-strategy.js +0 -53
- package/src/commands/mcp/tools/run-target/build-target-strategy.js.map +0 -1
- package/src/commands/mcp/tools/run-target/generic-target-strategy.d.ts +0 -14
- package/src/commands/mcp/tools/run-target/generic-target-strategy.js +0 -63
- package/src/commands/mcp/tools/run-target/generic-target-strategy.js.map +0 -1
- package/src/commands/mcp/tools/run-target/options-serializer.d.ts +0 -13
- package/src/commands/mcp/tools/run-target/options-serializer.js +0 -41
- package/src/commands/mcp/tools/run-target/options-serializer.js.map +0 -1
- package/src/commands/mcp/tools/run-target/run-target.d.ts +0 -34
- package/src/commands/mcp/tools/run-target/run-target.js +0 -69
- package/src/commands/mcp/tools/run-target/run-target.js.map +0 -1
- package/src/commands/mcp/tools/run-target/strategy.d.ts +0 -15
- package/src/commands/mcp/tools/run-target/strategy.js +0 -10
- package/src/commands/mcp/tools/run-target/strategy.js.map +0 -1
- package/src/commands/mcp/tools/run-target/types.d.ts +0 -39
- package/src/commands/mcp/tools/run-target/types.js +0 -41
- package/src/commands/mcp/tools/run-target/types.js.map +0 -1
- package/src/commands/mcp/tools/run-target/unit-test-strategy.d.ts +0 -14
- package/src/commands/mcp/tools/run-target/unit-test-strategy.js +0 -56
- package/src/commands/mcp/tools/run-target/unit-test-strategy.js.map +0 -1
- package/src/commands/mcp/tools/tool-registry.d.ts +0 -40
- package/src/commands/mcp/tools/tool-registry.js +0 -40
- package/src/commands/mcp/tools/tool-registry.js.map +0 -1
- package/src/commands/mcp/utils.d.ts +0 -25
- package/src/commands/mcp/utils.js +0 -44
- package/src/commands/mcp/utils.js.map +0 -1
- package/src/commands/mcp/workspace-utils.d.ts +0 -55
- package/src/commands/mcp/workspace-utils.js +0 -181
- package/src/commands/mcp/workspace-utils.js.map +0 -1
- package/src/commands/new/cli.d.ts +0 -27
- package/src/commands/new/cli.js +0 -76
- package/src/commands/new/cli.js.map +0 -1
- package/src/commands/new/long-description.md +0 -15
- package/src/commands/run/cli.d.ts +0 -25
- package/src/commands/run/cli.js +0 -89
- package/src/commands/run/cli.js.map +0 -1
- package/src/commands/run/long-description.md +0 -10
- package/src/commands/serve/cli.d.ts +0 -16
- package/src/commands/serve/cli.js +0 -20
- package/src/commands/serve/cli.js.map +0 -1
- package/src/commands/test/cli.d.ts +0 -16
- package/src/commands/test/cli.js +0 -21
- package/src/commands/test/cli.js.map +0 -1
- package/src/commands/test/long-description.md +0 -2
- package/src/commands/update/cli.d.ts +0 -50
- package/src/commands/update/cli.js +0 -586
- package/src/commands/update/cli.js.map +0 -1
- package/src/commands/update/long-description.md +0 -22
- package/src/commands/update/update-resolver.d.ts +0 -75
- package/src/commands/update/update-resolver.js +0 -918
- package/src/commands/update/update-resolver.js.map +0 -1
- package/src/commands/update/utilities/cli-version.d.ts +0 -48
- package/src/commands/update/utilities/cli-version.js +0 -196
- package/src/commands/update/utilities/cli-version.js.map +0 -1
- package/src/commands/update/utilities/constants.d.ts +0 -12
- package/src/commands/update/utilities/constants.js +0 -16
- package/src/commands/update/utilities/constants.js.map +0 -1
- package/src/commands/update/utilities/git.d.ts +0 -36
- package/src/commands/update/utilities/git.js +0 -148
- package/src/commands/update/utilities/git.js.map +0 -1
- package/src/commands/update/utilities/migration.d.ts +0 -32
- package/src/commands/update/utilities/migration.js +0 -271
- package/src/commands/update/utilities/migration.js.map +0 -1
- package/src/commands/version/cli.d.ts +0 -36
- package/src/commands/version/cli.js +0 -117
- package/src/commands/version/cli.js.map +0 -1
- package/src/commands/version/version-info.d.ts +0 -46
- package/src/commands/version/version-info.js +0 -101
- package/src/commands/version/version-info.js.map +0 -1
- package/src/package-managers/discovery.d.ts +0 -23
- package/src/package-managers/discovery.js +0 -104
- package/src/package-managers/discovery.js.map +0 -1
- package/src/package-managers/error.d.ts +0 -43
- package/src/package-managers/error.js +0 -41
- package/src/package-managers/error.js.map +0 -1
- package/src/package-managers/factory.d.ts +0 -30
- package/src/package-managers/factory.js +0 -137
- package/src/package-managers/factory.js.map +0 -1
- package/src/package-managers/host.d.ts +0 -86
- package/src/package-managers/host.js +0 -91
- package/src/package-managers/host.js.map +0 -1
- package/src/package-managers/index.d.ts +0 -13
- package/src/package-managers/index.js +0 -17
- package/src/package-managers/index.js.map +0 -1
- package/src/package-managers/logger.d.ts +0 -27
- package/src/package-managers/logger.js +0 -10
- package/src/package-managers/logger.js.map +0 -1
- package/src/package-managers/package-manager-descriptor.d.ts +0 -269
- package/src/package-managers/package-manager-descriptor.js +0 -210
- package/src/package-managers/package-manager-descriptor.js.map +0 -1
- package/src/package-managers/package-manager.d.ts +0 -200
- package/src/package-managers/package-manager.js +0 -720
- package/src/package-managers/package-manager.js.map +0 -1
- package/src/package-managers/package-metadata.d.ts +0 -91
- package/src/package-managers/package-metadata.js +0 -10
- package/src/package-managers/package-metadata.js.map +0 -1
- package/src/package-managers/package-tree.d.ts +0 -23
- package/src/package-managers/package-tree.js +0 -10
- package/src/package-managers/package-tree.js.map +0 -1
- package/src/package-managers/parsers.d.ts +0 -167
- package/src/package-managers/parsers.js +0 -674
- package/src/package-managers/parsers.js.map +0 -1
- package/src/utilities/color.d.ts +0 -23
- package/src/utilities/color.js +0 -41
- package/src/utilities/color.js.map +0 -1
- package/src/utilities/completion.d.ts +0 -30
- package/src/utilities/completion.js +0 -270
- package/src/utilities/completion.js.map +0 -1
- package/src/utilities/config.d.ts +0 -38
- package/src/utilities/config.js +0 -368
- package/src/utilities/config.js.map +0 -1
- package/src/utilities/environment-options.d.ts +0 -25
- package/src/utilities/environment-options.js +0 -60
- package/src/utilities/environment-options.js.map +0 -1
- package/src/utilities/eol.d.ts +0 -20
- package/src/utilities/eol.js +0 -35
- package/src/utilities/eol.js.map +0 -1
- package/src/utilities/error.d.ts +0 -18
- package/src/utilities/error.js +0 -41
- package/src/utilities/error.js.map +0 -1
- package/src/utilities/find-up.d.ts +0 -21
- package/src/utilities/find-up.js +0 -67
- package/src/utilities/find-up.js.map +0 -1
- package/src/utilities/json-file.d.ts +0 -24
- package/src/utilities/json-file.js +0 -179
- package/src/utilities/json-file.js.map +0 -1
- package/src/utilities/log-file.d.ts +0 -13
- package/src/utilities/log-file.js +0 -28
- package/src/utilities/log-file.js.map +0 -1
- package/src/utilities/memoize.d.ts +0 -15
- package/src/utilities/memoize.js +0 -64
- package/src/utilities/memoize.js.map +0 -1
- package/src/utilities/node-version.d.ts +0 -21
- package/src/utilities/node-version.js +0 -65
- package/src/utilities/node-version.js.map +0 -1
- package/src/utilities/prettier.d.ts +0 -19
- package/src/utilities/prettier.js +0 -105
- package/src/utilities/prettier.js.map +0 -1
- package/src/utilities/project.d.ts +0 -8
- package/src/utilities/project.js +0 -81
- package/src/utilities/project.js.map +0 -1
- package/src/utilities/prompt.d.ts +0 -17
- package/src/utilities/prompt.js +0 -90
- package/src/utilities/prompt.js.map +0 -1
- package/src/utilities/tty.d.ts +0 -16
- package/src/utilities/tty.js +0 -23
- package/src/utilities/tty.js.map +0 -1
- package/src/utilities/version.d.ts +0 -16
- package/src/utilities/version.js +0 -26
- package/src/utilities/version.js.map +0 -1
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ArchitectCommandModule
|
|
3
|
+
} from "./chunk-CAZUOCTC.js";
|
|
4
|
+
import "./chunk-DHWVZMLH.js";
|
|
5
|
+
import {
|
|
6
|
+
RootCommands
|
|
7
|
+
} from "./chunk-5AASRQKS.js";
|
|
8
|
+
import "./chunk-YM7ILCS5.js";
|
|
9
|
+
import "./chunk-XG3HVNIL.js";
|
|
10
|
+
import "./chunk-GHUUJYOY.js";
|
|
11
|
+
import "./chunk-FZ5GFCWU.js";
|
|
12
|
+
|
|
13
|
+
// packages/angular/cli/src/commands/build/long-description.md
|
|
14
|
+
var long_description_default = 'The command can be used to build a project of type "application" or "library".\nWhen used to build a library, a different builder is invoked, and only the `ts-config`, `configuration`, `poll` and `watch` options are applied.\nAll other options apply only to building applications.\n\nThe application builder uses the [esbuild](https://esbuild.github.io/) build tool, with default configuration options specified in the workspace configuration file (`angular.json`) or with a named alternative configuration.\nA "development" configuration is created by default when you use the CLI to create the project, and you can use that configuration by specifying the `--configuration development`.\n\nThe configuration options generally correspond to the command options.\nYou can override individual configuration defaults by specifying the corresponding options on the command line.\nThe command can accept option names given in dash-case.\nNote that in the configuration file, you must specify names in camelCase.\n\nSome additional options can only be set through the configuration file,\neither by direct editing or with the `ng config` command.\nThese include `assets`, `styles`, and `scripts` objects that provide runtime-global resources to include in the project.\nResources in CSS, such as images and fonts, are automatically written and fingerprinted at the root of the output folder.\n\nFor further details, see [Workspace Configuration](reference/configs/workspace-config).\n';
|
|
15
|
+
|
|
16
|
+
// packages/angular/cli/src/commands/build/cli.js
|
|
17
|
+
var BuildCommandModule = class extends ArchitectCommandModule {
|
|
18
|
+
multiTarget = false;
|
|
19
|
+
command = "build [project]";
|
|
20
|
+
aliases = RootCommands["build"].aliases;
|
|
21
|
+
describe = "Compiles an Angular application or library into an output directory named dist/ at the given output path.";
|
|
22
|
+
longDescription = long_description_default;
|
|
23
|
+
};
|
|
24
|
+
export {
|
|
25
|
+
BuildCommandModule as default
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* @license
|
|
29
|
+
* Copyright Google LLC All Rights Reserved.
|
|
30
|
+
*
|
|
31
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
32
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
33
|
+
*/
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SchematicsCommandModule
|
|
3
|
+
} from "./chunk-Q67GOPL7.js";
|
|
4
|
+
import "./chunk-JBLF2TH3.js";
|
|
5
|
+
import {
|
|
6
|
+
RootCommands
|
|
7
|
+
} from "./chunk-5AASRQKS.js";
|
|
8
|
+
import {
|
|
9
|
+
demandCommandFailureMessage
|
|
10
|
+
} from "./chunk-G7TRU43D.js";
|
|
11
|
+
import {
|
|
12
|
+
CommandModuleError
|
|
13
|
+
} from "./chunk-YM7ILCS5.js";
|
|
14
|
+
import "./chunk-XG3HVNIL.js";
|
|
15
|
+
import "./chunk-GHUUJYOY.js";
|
|
16
|
+
import "./chunk-FZ5GFCWU.js";
|
|
17
|
+
|
|
18
|
+
// packages/angular/cli/src/commands/generate/cli.js
|
|
19
|
+
import { strings } from "@angular-devkit/core";
|
|
20
|
+
var GenerateCommandModule = class extends SchematicsCommandModule {
|
|
21
|
+
command = "generate";
|
|
22
|
+
aliases = RootCommands["generate"].aliases;
|
|
23
|
+
describe = "Generates and/or modifies files based on a schematic.";
|
|
24
|
+
async builder(argv) {
|
|
25
|
+
let localYargs = (await super.builder(argv)).command({
|
|
26
|
+
command: "$0 <schematic>",
|
|
27
|
+
describe: "Run the provided schematic.",
|
|
28
|
+
builder: (localYargs2) => localYargs2.positional("schematic", {
|
|
29
|
+
describe: "The [collection:schematic] to run.",
|
|
30
|
+
type: "string",
|
|
31
|
+
demandOption: true
|
|
32
|
+
}).strict(),
|
|
33
|
+
handler: (options) => this.handler(options)
|
|
34
|
+
});
|
|
35
|
+
for (const [schematicName, collectionName] of await this.getSchematicsToRegister()) {
|
|
36
|
+
const workflow = this.getOrCreateWorkflowForBuilder(collectionName);
|
|
37
|
+
const collection = workflow.engine.createCollection(collectionName);
|
|
38
|
+
const { description: { schemaJson, aliases: schematicAliases, hidden: schematicHidden, description: schematicDescription } } = collection.createSchematic(schematicName, true);
|
|
39
|
+
if (!schemaJson) {
|
|
40
|
+
continue;
|
|
41
|
+
}
|
|
42
|
+
const { "x-deprecated": xDeprecated, description = schematicDescription, hidden = schematicHidden } = schemaJson;
|
|
43
|
+
const options = await this.getSchematicOptions(collection, schematicName, workflow);
|
|
44
|
+
localYargs = localYargs.command({
|
|
45
|
+
command: await this.generateCommandString(collectionName, schematicName, options),
|
|
46
|
+
// When 'describe' is set to false, it results in a hidden command.
|
|
47
|
+
describe: hidden === true ? false : typeof description === "string" ? description : "",
|
|
48
|
+
deprecated: xDeprecated === true || typeof xDeprecated === "string" ? xDeprecated : false,
|
|
49
|
+
aliases: Array.isArray(schematicAliases) ? await this.generateCommandAliasesStrings(collectionName, schematicAliases) : void 0,
|
|
50
|
+
builder: (localYargs2) => this.addSchemaOptionsToCommand(localYargs2, options).strict(),
|
|
51
|
+
handler: (options2) => this.handler({
|
|
52
|
+
...options2,
|
|
53
|
+
schematic: `${collectionName}:${schematicName}`
|
|
54
|
+
})
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
return localYargs.demandCommand(1, demandCommandFailureMessage);
|
|
58
|
+
}
|
|
59
|
+
async run(options) {
|
|
60
|
+
const { dryRun, schematic, defaults, force, interactive, ...schematicOptions } = options;
|
|
61
|
+
const [collectionName, schematicName] = this.parseSchematicInfo(schematic);
|
|
62
|
+
if (!collectionName || !schematicName) {
|
|
63
|
+
throw new CommandModuleError("A collection and schematic is required during execution.");
|
|
64
|
+
}
|
|
65
|
+
return this.runSchematic({
|
|
66
|
+
collectionName,
|
|
67
|
+
schematicName,
|
|
68
|
+
schematicOptions,
|
|
69
|
+
executionOptions: {
|
|
70
|
+
dryRun,
|
|
71
|
+
defaults,
|
|
72
|
+
force,
|
|
73
|
+
interactive
|
|
74
|
+
}
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
async getCollectionNames() {
|
|
78
|
+
const [collectionName] = this.parseSchematicInfo(
|
|
79
|
+
// positional = [generate, component] or [generate]
|
|
80
|
+
this.context.args.positional[1]
|
|
81
|
+
);
|
|
82
|
+
return collectionName ? [collectionName] : [...await this.getSchematicCollections()];
|
|
83
|
+
}
|
|
84
|
+
async shouldAddCollectionNameAsPartOfCommand() {
|
|
85
|
+
const [collectionNameFromArgs] = this.parseSchematicInfo(
|
|
86
|
+
// positional = [generate, component] or [generate]
|
|
87
|
+
this.context.args.positional[1]
|
|
88
|
+
);
|
|
89
|
+
const schematicCollectionsFromConfig = await this.getSchematicCollections();
|
|
90
|
+
const collectionNames = await this.getCollectionNames();
|
|
91
|
+
return !!collectionNameFromArgs || !collectionNames.some((c) => schematicCollectionsFromConfig.has(c));
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Generate an aliases string array to be passed to the command builder.
|
|
95
|
+
*
|
|
96
|
+
* @example `[component]` or `[@schematics/angular:component]`.
|
|
97
|
+
*/
|
|
98
|
+
async generateCommandAliasesStrings(collectionName, schematicAliases) {
|
|
99
|
+
return await this.shouldAddCollectionNameAsPartOfCommand() ? schematicAliases.map((alias) => `${collectionName}:${alias}`) : schematicAliases;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Generate a command string to be passed to the command builder.
|
|
103
|
+
*
|
|
104
|
+
* @example `component [name]` or `@schematics/angular:component [name]`.
|
|
105
|
+
*/
|
|
106
|
+
async generateCommandString(collectionName, schematicName, options) {
|
|
107
|
+
const dasherizedSchematicName = strings.dasherize(schematicName);
|
|
108
|
+
const commandName = await this.shouldAddCollectionNameAsPartOfCommand() ? collectionName + ":" + dasherizedSchematicName : dasherizedSchematicName;
|
|
109
|
+
const positionalArgs = options.filter((o) => o.positional !== void 0).map((o) => {
|
|
110
|
+
const label = `${strings.dasherize(o.name)}${o.type === "array" ? " .." : ""}`;
|
|
111
|
+
return o.required ? `<${label}>` : `[${label}]`;
|
|
112
|
+
}).join(" ");
|
|
113
|
+
return `${commandName}${positionalArgs ? " " + positionalArgs : ""}`;
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Get schematics that can to be registered as subcommands.
|
|
117
|
+
*/
|
|
118
|
+
async *getSchematics() {
|
|
119
|
+
const seenNames = /* @__PURE__ */ new Set();
|
|
120
|
+
for (const collectionName of await this.getCollectionNames()) {
|
|
121
|
+
const workflow = this.getOrCreateWorkflowForBuilder(collectionName);
|
|
122
|
+
const collection = workflow.engine.createCollection(collectionName);
|
|
123
|
+
for (const schematicName of collection.listSchematicNames(
|
|
124
|
+
true
|
|
125
|
+
/** includeHidden */
|
|
126
|
+
)) {
|
|
127
|
+
if (!seenNames.has(schematicName)) {
|
|
128
|
+
seenNames.add(schematicName);
|
|
129
|
+
yield {
|
|
130
|
+
schematicName,
|
|
131
|
+
collectionName,
|
|
132
|
+
schematicAliases: this.listSchematicAliases(collection, schematicName)
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
listSchematicAliases(collection, schematicName) {
|
|
139
|
+
const description = collection.description.schematics[schematicName];
|
|
140
|
+
if (description) {
|
|
141
|
+
return description.aliases && new Set(description.aliases);
|
|
142
|
+
}
|
|
143
|
+
if (collection.baseDescriptions) {
|
|
144
|
+
for (const base of collection.baseDescriptions) {
|
|
145
|
+
const description2 = base.schematics[schematicName];
|
|
146
|
+
if (description2) {
|
|
147
|
+
return description2.aliases && new Set(description2.aliases);
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
return void 0;
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* Get schematics that should to be registered as subcommands.
|
|
155
|
+
*
|
|
156
|
+
* @returns a sorted list of schematic that needs to be registered as subcommands.
|
|
157
|
+
*/
|
|
158
|
+
async getSchematicsToRegister() {
|
|
159
|
+
const schematicsToRegister = [];
|
|
160
|
+
const [, schematicNameFromArgs] = this.parseSchematicInfo(
|
|
161
|
+
// positional = [generate, component] or [generate]
|
|
162
|
+
this.context.args.positional[1]
|
|
163
|
+
);
|
|
164
|
+
for await (const { schematicName, collectionName, schematicAliases } of this.getSchematics()) {
|
|
165
|
+
if (schematicNameFromArgs && (schematicName === schematicNameFromArgs || schematicAliases?.has(schematicNameFromArgs))) {
|
|
166
|
+
return [[schematicName, collectionName]];
|
|
167
|
+
}
|
|
168
|
+
schematicsToRegister.push([schematicName, collectionName]);
|
|
169
|
+
}
|
|
170
|
+
return schematicsToRegister.sort(([nameA], [nameB]) => nameA.localeCompare(nameB, void 0, { sensitivity: "accent" }));
|
|
171
|
+
}
|
|
172
|
+
};
|
|
173
|
+
export {
|
|
174
|
+
GenerateCommandModule as default
|
|
175
|
+
};
|
|
176
|
+
/**
|
|
177
|
+
* @license
|
|
178
|
+
* Copyright Google LLC All Rights Reserved.
|
|
179
|
+
*
|
|
180
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
181
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
182
|
+
*/
|
package/lib/config/schema.json
CHANGED
|
@@ -464,6 +464,7 @@
|
|
|
464
464
|
"not": {
|
|
465
465
|
"enum": [
|
|
466
466
|
"@angular/build:application",
|
|
467
|
+
"@angular/build:library",
|
|
467
468
|
"@angular/build:dev-server",
|
|
468
469
|
"@angular/build:extract-i18n",
|
|
469
470
|
"@angular/build:karma",
|
|
@@ -547,6 +548,28 @@
|
|
|
547
548
|
}
|
|
548
549
|
}
|
|
549
550
|
},
|
|
551
|
+
{
|
|
552
|
+
"type": "object",
|
|
553
|
+
"additionalProperties": false,
|
|
554
|
+
"properties": {
|
|
555
|
+
"builder": {
|
|
556
|
+
"const": "@angular/build:library"
|
|
557
|
+
},
|
|
558
|
+
"defaultConfiguration": {
|
|
559
|
+
"type": "string",
|
|
560
|
+
"description": "A default named configuration to use when a target configuration is not provided."
|
|
561
|
+
},
|
|
562
|
+
"options": {
|
|
563
|
+
"$ref": "#/definitions/AngularBuildBuildersLibrarySchema"
|
|
564
|
+
},
|
|
565
|
+
"configurations": {
|
|
566
|
+
"type": "object",
|
|
567
|
+
"additionalProperties": {
|
|
568
|
+
"$ref": "#/definitions/AngularBuildBuildersLibrarySchema"
|
|
569
|
+
}
|
|
570
|
+
}
|
|
571
|
+
}
|
|
572
|
+
},
|
|
550
573
|
{
|
|
551
574
|
"type": "object",
|
|
552
575
|
"additionalProperties": false,
|
|
@@ -2752,6 +2775,179 @@
|
|
|
2752
2775
|
}
|
|
2753
2776
|
}
|
|
2754
2777
|
},
|
|
2778
|
+
"AngularBuildBuildersLibrarySchema": {
|
|
2779
|
+
"title": "Library builder target options",
|
|
2780
|
+
"description": "Library builder target options for Build Architect. Builds an Angular library package conforming to the Angular Package Format (APF).",
|
|
2781
|
+
"type": "object",
|
|
2782
|
+
"properties": {
|
|
2783
|
+
"tsConfig": {
|
|
2784
|
+
"type": "string",
|
|
2785
|
+
"description": "The full path for the TypeScript configuration file, relative to the current workspace root."
|
|
2786
|
+
},
|
|
2787
|
+
"outputPath": {
|
|
2788
|
+
"type": "string",
|
|
2789
|
+
"description": "Specify the output directory for the built package, relative to the workspace root."
|
|
2790
|
+
},
|
|
2791
|
+
"assets": {
|
|
2792
|
+
"type": "array",
|
|
2793
|
+
"description": "Define the assets to be copied to the output directory. These assets are copied as-is without any further processing or hashing.",
|
|
2794
|
+
"default": [],
|
|
2795
|
+
"items": {
|
|
2796
|
+
"$ref": "#/definitions/AngularBuildBuildersLibrarySchema/definitions/assetPattern"
|
|
2797
|
+
}
|
|
2798
|
+
},
|
|
2799
|
+
"inlineStyleLanguage": {
|
|
2800
|
+
"description": "The stylesheet language to use for the library's inline component styles.",
|
|
2801
|
+
"type": "string",
|
|
2802
|
+
"default": "css",
|
|
2803
|
+
"enum": [
|
|
2804
|
+
"css",
|
|
2805
|
+
"less",
|
|
2806
|
+
"sass",
|
|
2807
|
+
"scss"
|
|
2808
|
+
]
|
|
2809
|
+
},
|
|
2810
|
+
"stylePreprocessorOptions": {
|
|
2811
|
+
"description": "Options to pass to style preprocessors.",
|
|
2812
|
+
"type": "object",
|
|
2813
|
+
"properties": {
|
|
2814
|
+
"includePaths": {
|
|
2815
|
+
"description": "Paths to include. Paths will be resolved to workspace root.",
|
|
2816
|
+
"type": "array",
|
|
2817
|
+
"items": {
|
|
2818
|
+
"type": "string"
|
|
2819
|
+
},
|
|
2820
|
+
"default": []
|
|
2821
|
+
},
|
|
2822
|
+
"sass": {
|
|
2823
|
+
"description": "Options to pass to the sass preprocessor.",
|
|
2824
|
+
"type": "object",
|
|
2825
|
+
"properties": {
|
|
2826
|
+
"fatalDeprecations": {
|
|
2827
|
+
"description": "A set of deprecations to treat as fatal. If a deprecation warning of any provided type is encountered during compilation, the compiler will error instead. If a Version is provided, then all deprecations that were active in that compiler version will be treated as fatal.",
|
|
2828
|
+
"type": "array",
|
|
2829
|
+
"items": {
|
|
2830
|
+
"type": "string"
|
|
2831
|
+
}
|
|
2832
|
+
},
|
|
2833
|
+
"silenceDeprecations": {
|
|
2834
|
+
"description": " A set of active deprecations to ignore. If a deprecation warning of any provided type is encountered during compilation, the compiler will ignore it instead.",
|
|
2835
|
+
"type": "array",
|
|
2836
|
+
"items": {
|
|
2837
|
+
"type": "string"
|
|
2838
|
+
}
|
|
2839
|
+
},
|
|
2840
|
+
"futureDeprecations": {
|
|
2841
|
+
"description": "A set of future deprecations to opt into early. Future deprecations passed here will be treated as active by the compiler, emitting warnings as necessary.",
|
|
2842
|
+
"type": "array",
|
|
2843
|
+
"items": {
|
|
2844
|
+
"type": "string"
|
|
2845
|
+
}
|
|
2846
|
+
}
|
|
2847
|
+
},
|
|
2848
|
+
"additionalProperties": false
|
|
2849
|
+
}
|
|
2850
|
+
},
|
|
2851
|
+
"additionalProperties": false
|
|
2852
|
+
},
|
|
2853
|
+
"declarationMap": {
|
|
2854
|
+
"type": "boolean",
|
|
2855
|
+
"description": "Generates a sourcemap for each corresponding '.d.ts' file.",
|
|
2856
|
+
"default": false
|
|
2857
|
+
},
|
|
2858
|
+
"compilationMode": {
|
|
2859
|
+
"type": "string",
|
|
2860
|
+
"description": "Angular compilation mode. Use 'partial' when publishing to npm (APF requirement). Use 'full' only during development or for private, internal monorepo packages that are never published.",
|
|
2861
|
+
"enum": [
|
|
2862
|
+
"partial",
|
|
2863
|
+
"full"
|
|
2864
|
+
],
|
|
2865
|
+
"default": "partial"
|
|
2866
|
+
},
|
|
2867
|
+
"allowedNonPeerDependencies": {
|
|
2868
|
+
"description": "A list of package names allowed in the 'dependencies' and 'optionalDependencies' sections of package.json. Values can be regular expression patterns.",
|
|
2869
|
+
"type": "array",
|
|
2870
|
+
"items": {
|
|
2871
|
+
"type": "string"
|
|
2872
|
+
},
|
|
2873
|
+
"default": []
|
|
2874
|
+
},
|
|
2875
|
+
"keepLifecycleScripts": {
|
|
2876
|
+
"description": "Enable this to keep the 'scripts' section in the published package.json.",
|
|
2877
|
+
"type": "boolean",
|
|
2878
|
+
"default": false
|
|
2879
|
+
},
|
|
2880
|
+
"deleteOutputPath": {
|
|
2881
|
+
"type": "boolean",
|
|
2882
|
+
"description": "Delete the output path before building.",
|
|
2883
|
+
"default": true
|
|
2884
|
+
},
|
|
2885
|
+
"watch": {
|
|
2886
|
+
"type": "boolean",
|
|
2887
|
+
"description": "Run build when files change.",
|
|
2888
|
+
"default": false
|
|
2889
|
+
},
|
|
2890
|
+
"poll": {
|
|
2891
|
+
"type": "number",
|
|
2892
|
+
"description": "Enable and define the file watching poll time period in milliseconds."
|
|
2893
|
+
},
|
|
2894
|
+
"preserveSymlinks": {
|
|
2895
|
+
"type": "boolean",
|
|
2896
|
+
"description": "Do not use the real path when resolving modules. If unset then will default to `true` if NodeJS option --preserve-symlinks is set."
|
|
2897
|
+
},
|
|
2898
|
+
"progress": {
|
|
2899
|
+
"type": "boolean",
|
|
2900
|
+
"description": "Log progress to the console while building.",
|
|
2901
|
+
"default": true
|
|
2902
|
+
},
|
|
2903
|
+
"clearScreen": {
|
|
2904
|
+
"type": "boolean",
|
|
2905
|
+
"default": false,
|
|
2906
|
+
"description": "Automatically clear the terminal screen during rebuilds."
|
|
2907
|
+
}
|
|
2908
|
+
},
|
|
2909
|
+
"additionalProperties": false,
|
|
2910
|
+
"definitions": {
|
|
2911
|
+
"assetPattern": {
|
|
2912
|
+
"oneOf": [
|
|
2913
|
+
{
|
|
2914
|
+
"type": "object",
|
|
2915
|
+
"properties": {
|
|
2916
|
+
"followSymlinks": {
|
|
2917
|
+
"type": "boolean",
|
|
2918
|
+
"default": false,
|
|
2919
|
+
"description": "Allow glob patterns to follow symlink directories. This allows subdirectories of the symlink to be searched."
|
|
2920
|
+
},
|
|
2921
|
+
"glob": {
|
|
2922
|
+
"type": "string",
|
|
2923
|
+
"description": "The pattern to match."
|
|
2924
|
+
},
|
|
2925
|
+
"input": {
|
|
2926
|
+
"type": "string",
|
|
2927
|
+
"description": "The input directory path in which to apply 'glob'. Defaults to the project root."
|
|
2928
|
+
},
|
|
2929
|
+
"ignore": {
|
|
2930
|
+
"description": "An array of globs to ignore.",
|
|
2931
|
+
"type": "array",
|
|
2932
|
+
"items": {
|
|
2933
|
+
"type": "string"
|
|
2934
|
+
}
|
|
2935
|
+
},
|
|
2936
|
+
"output": {
|
|
2937
|
+
"type": "string",
|
|
2938
|
+
"default": "",
|
|
2939
|
+
"description": "Absolute path within the output."
|
|
2940
|
+
}
|
|
2941
|
+
},
|
|
2942
|
+
"additionalProperties": false
|
|
2943
|
+
},
|
|
2944
|
+
{
|
|
2945
|
+
"type": "string"
|
|
2946
|
+
}
|
|
2947
|
+
]
|
|
2948
|
+
}
|
|
2949
|
+
}
|
|
2950
|
+
},
|
|
2755
2951
|
"AngularDevkitBuildAngularBuildersAppShellSchema": {
|
|
2756
2952
|
"title": "App Shell Target",
|
|
2757
2953
|
"description": "App Shell target options for Build Facade.",
|
|
@@ -4349,14 +4545,14 @@
|
|
|
4349
4545
|
"**/*.spec.ts",
|
|
4350
4546
|
"**/*.test.ts"
|
|
4351
4547
|
],
|
|
4352
|
-
"description": "Specifies glob patterns of files to include for testing, relative to the project root. This option also has special handling for directory paths (includes all test files within) and file paths (includes the corresponding test file if one exists)."
|
|
4548
|
+
"description": "Specifies glob patterns of files to include for testing, relative to the project source root. This option also has special handling for directory paths (includes all test files within) and file paths (includes the corresponding test file if one exists)."
|
|
4353
4549
|
},
|
|
4354
4550
|
"exclude": {
|
|
4355
4551
|
"type": "array",
|
|
4356
4552
|
"items": {
|
|
4357
4553
|
"type": "string"
|
|
4358
4554
|
},
|
|
4359
|
-
"description": "Specifies glob patterns of files to exclude from testing, relative to the project root."
|
|
4555
|
+
"description": "Specifies glob patterns of files to exclude from testing, relative to the project source root."
|
|
4360
4556
|
},
|
|
4361
4557
|
"filter": {
|
|
4362
4558
|
"type": "string",
|
|
@@ -4588,6 +4784,14 @@
|
|
|
4588
4784
|
"description": "Specifies the path to a TypeScript file that provides an array of Angular providers for the test environment. The file must contain a default export of the provider array.",
|
|
4589
4785
|
"minLength": 1
|
|
4590
4786
|
},
|
|
4787
|
+
"polyfills": {
|
|
4788
|
+
"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'. If not specified, polyfills will be inherited from the build target.",
|
|
4789
|
+
"type": "array",
|
|
4790
|
+
"items": {
|
|
4791
|
+
"type": "string",
|
|
4792
|
+
"uniqueItems": true
|
|
4793
|
+
}
|
|
4794
|
+
},
|
|
4591
4795
|
"setupFiles": {
|
|
4592
4796
|
"type": "array",
|
|
4593
4797
|
"items": {
|
|
@@ -4810,7 +5014,7 @@
|
|
|
4810
5014
|
"default": [
|
|
4811
5015
|
"**/*.spec.ts"
|
|
4812
5016
|
],
|
|
4813
|
-
"description": "Globs of files to include, relative to project root. \nThere are 2 special cases:\n - when a path to directory is provided, all spec files ending \".spec.@(ts|tsx)\" will be included\n - when a path to a file is provided, and a matching spec file exists it will be included instead."
|
|
5017
|
+
"description": "Globs of files to include, relative to the project source root. \nThere are 2 special cases:\n - when a path to a directory is provided, all spec files ending \".spec.@(ts|tsx)\" will be included\n - when a path to a file is provided, and a matching spec file exists, it will be included instead."
|
|
4814
5018
|
},
|
|
4815
5019
|
"exclude": {
|
|
4816
5020
|
"type": "array",
|
|
@@ -4818,7 +5022,7 @@
|
|
|
4818
5022
|
"type": "string"
|
|
4819
5023
|
},
|
|
4820
5024
|
"default": [],
|
|
4821
|
-
"description": "Globs of files to exclude, relative to the project root."
|
|
5025
|
+
"description": "Globs of files to exclude, relative to the project source root."
|
|
4822
5026
|
},
|
|
4823
5027
|
"sourceMap": {
|
|
4824
5028
|
"description": "Output source maps for scripts and styles. For more information, see https://angular.dev/reference/configs/workspace-config#source-map-configuration.",
|
|
@@ -5118,7 +5322,7 @@
|
|
|
5118
5322
|
"default": [
|
|
5119
5323
|
"**/*.spec.ts"
|
|
5120
5324
|
],
|
|
5121
|
-
"description": "Globs of files to include, relative to project root. \nThere are 2 special cases:\n - when a path to directory is provided, all spec files ending \".spec.@(ts|tsx)\" will be included\n - when a path to a file is provided, and a matching spec file exists it will be included instead."
|
|
5325
|
+
"description": "Globs of files to include, relative to the project source root. \nThere are 2 special cases:\n - when a path to a directory is provided, all spec files ending \".spec.@(ts|tsx)\" will be included\n - when a path to a file is provided, and a matching spec file exists, it will be included instead."
|
|
5122
5326
|
},
|
|
5123
5327
|
"exclude": {
|
|
5124
5328
|
"type": "array",
|
|
@@ -5126,7 +5330,7 @@
|
|
|
5126
5330
|
"type": "string"
|
|
5127
5331
|
},
|
|
5128
5332
|
"default": [],
|
|
5129
|
-
"description": "Globs of files to exclude, relative to the project root."
|
|
5333
|
+
"description": "Globs of files to exclude, relative to the project source root."
|
|
5130
5334
|
},
|
|
5131
5335
|
"sourceMap": {
|
|
5132
5336
|
"description": "Output source maps for scripts and styles. For more information, see https://angular.dev/reference/configs/workspace-config#source-map-configuration.",
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AngularWorkspace,
|
|
3
|
+
getConfiguredPackageManager,
|
|
4
|
+
getProjectByCwd,
|
|
5
|
+
getSchematicDefaults,
|
|
6
|
+
getWorkspace,
|
|
7
|
+
getWorkspaceRaw,
|
|
8
|
+
isWarningEnabled,
|
|
9
|
+
validateWorkspace,
|
|
10
|
+
workspaceSchemaPath
|
|
11
|
+
} from "./chunk-FZ5GFCWU.js";
|
|
12
|
+
export {
|
|
13
|
+
AngularWorkspace,
|
|
14
|
+
getConfiguredPackageManager,
|
|
15
|
+
getProjectByCwd,
|
|
16
|
+
getSchematicDefaults,
|
|
17
|
+
getWorkspace,
|
|
18
|
+
getWorkspaceRaw,
|
|
19
|
+
isWarningEnabled,
|
|
20
|
+
validateWorkspace,
|
|
21
|
+
workspaceSchemaPath
|
|
22
|
+
};
|