@depup/angular__cli 21.2.1-depup.1
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 +36 -0
- package/bin/bootstrap.js +33 -0
- package/bin/ng.js +71 -0
- package/bin/package.json +3 -0
- package/changes.json +30 -0
- package/lib/cli/index.d.ts +11 -0
- package/lib/cli/index.js +109 -0
- package/lib/cli/index.js.map +1 -0
- package/lib/code-examples.db +0 -0
- package/lib/config/schema.json +6150 -0
- package/lib/config/workspace-schema.d.ts +1025 -0
- package/lib/config/workspace-schema.js +133 -0
- package/lib/config/workspace-schema.js.map +1 -0
- package/lib/init.d.ts +8 -0
- package/lib/init.js +162 -0
- package/lib/init.js.map +1 -0
- package/package.json +103 -0
- package/src/analytics/analytics-collector.d.ts +35 -0
- package/src/analytics/analytics-collector.js +195 -0
- package/src/analytics/analytics-collector.js.map +1 -0
- package/src/analytics/analytics-parameters.d.ts +101 -0
- package/src/analytics/analytics-parameters.js +107 -0
- package/src/analytics/analytics-parameters.js.map +1 -0
- package/src/analytics/analytics.d.ts +27 -0
- package/src/analytics/analytics.js +183 -0
- package/src/analytics/analytics.js.map +1 -0
- package/src/command-builder/architect-base-command-module.d.ts +30 -0
- package/src/command-builder/architect-base-command-module.js +244 -0
- package/src/command-builder/architect-base-command-module.js.map +1 -0
- package/src/command-builder/architect-command-module.d.ts +28 -0
- package/src/command-builder/architect-command-module.js +218 -0
- package/src/command-builder/architect-command-module.js.map +1 -0
- package/src/command-builder/command-module.d.ts +73 -0
- package/src/command-builder/command-module.js +245 -0
- package/src/command-builder/command-module.js.map +1 -0
- package/src/command-builder/command-runner.d.ts +9 -0
- package/src/command-builder/command-runner.js +195 -0
- package/src/command-builder/command-runner.js.map +1 -0
- package/src/command-builder/definitions.d.ts +41 -0
- package/src/command-builder/definitions.js +20 -0
- package/src/command-builder/definitions.js.map +1 -0
- package/src/command-builder/schematics-command-module.d.ts +41 -0
- package/src/command-builder/schematics-command-module.js +408 -0
- package/src/command-builder/schematics-command-module.js.map +1 -0
- package/src/command-builder/utilities/command.d.ts +13 -0
- package/src/command-builder/utilities/command.js +39 -0
- package/src/command-builder/utilities/command.js.map +1 -0
- package/src/command-builder/utilities/json-help.d.ts +37 -0
- package/src/command-builder/utilities/json-help.js +92 -0
- package/src/command-builder/utilities/json-help.js.map +1 -0
- package/src/command-builder/utilities/json-schema.d.ts +64 -0
- package/src/command-builder/utilities/json-schema.js +349 -0
- package/src/command-builder/utilities/json-schema.js.map +1 -0
- package/src/command-builder/utilities/normalize-options-middleware.d.ts +18 -0
- package/src/command-builder/utilities/normalize-options-middleware.js +37 -0
- package/src/command-builder/utilities/normalize-options-middleware.js.map +1 -0
- package/src/command-builder/utilities/schematic-engine-host.d.ts +15 -0
- package/src/command-builder/utilities/schematic-engine-host.js +179 -0
- package/src/command-builder/utilities/schematic-engine-host.js.map +1 -0
- package/src/command-builder/utilities/schematic-workflow.d.ts +14 -0
- package/src/command-builder/utilities/schematic-workflow.js +70 -0
- package/src/command-builder/utilities/schematic-workflow.js.map +1 -0
- package/src/commands/add/cli.d.ts +38 -0
- package/src/commands/add/cli.js +623 -0
- package/src/commands/add/cli.js.map +1 -0
- package/src/commands/add/long-description.md +7 -0
- package/src/commands/analytics/cli.d.ts +16 -0
- package/src/commands/analytics/cli.js +34 -0
- package/src/commands/analytics/cli.js.map +1 -0
- package/src/commands/analytics/info/cli.d.ts +16 -0
- package/src/commands/analytics/info/cli.js +25 -0
- package/src/commands/analytics/info/cli.js.map +1 -0
- package/src/commands/analytics/long-description.md +20 -0
- package/src/commands/analytics/settings/cli.d.ts +35 -0
- package/src/commands/analytics/settings/cli.js +54 -0
- package/src/commands/analytics/settings/cli.js.map +1 -0
- package/src/commands/build/cli.d.ts +16 -0
- package/src/commands/build/cli.js +21 -0
- package/src/commands/build/cli.js.map +1 -0
- package/src/commands/build/long-description.md +18 -0
- package/src/commands/cache/clean/cli.d.ts +17 -0
- package/src/commands/cache/clean/cli.js +32 -0
- package/src/commands/cache/clean/cli.js.map +1 -0
- package/src/commands/cache/cli.d.ts +17 -0
- package/src/commands/cache/cli.js +36 -0
- package/src/commands/cache/cli.js.map +1 -0
- package/src/commands/cache/info/cli.d.ts +20 -0
- package/src/commands/cache/info/cli.js +139 -0
- package/src/commands/cache/info/cli.js.map +1 -0
- package/src/commands/cache/long-description.md +53 -0
- package/src/commands/cache/settings/cli.d.ts +27 -0
- package/src/commands/cache/settings/cli.js +41 -0
- package/src/commands/cache/settings/cli.js.map +1 -0
- package/src/commands/cache/utilities.d.ts +11 -0
- package/src/commands/cache/utilities.js +47 -0
- package/src/commands/cache/utilities.js.map +1 -0
- package/src/commands/command-config.d.ts +17 -0
- package/src/commands/command-config.js +116 -0
- package/src/commands/command-config.js.map +1 -0
- package/src/commands/completion/cli.d.ts +16 -0
- package/src/commands/completion/cli.js +61 -0
- package/src/commands/completion/cli.js.map +1 -0
- package/src/commands/completion/long-description.md +67 -0
- package/src/commands/config/cli.d.ts +24 -0
- package/src/commands/config/cli.js +150 -0
- package/src/commands/config/cli.js.map +1 -0
- package/src/commands/config/long-description.md +13 -0
- package/src/commands/deploy/cli.d.ts +17 -0
- package/src/commands/deploy/cli.js +38 -0
- package/src/commands/deploy/cli.js.map +1 -0
- package/src/commands/deploy/long-description.md +22 -0
- package/src/commands/e2e/cli.d.ts +18 -0
- package/src/commands/e2e/cli.js +42 -0
- package/src/commands/e2e/cli.js.map +1 -0
- package/src/commands/extract-i18n/cli.d.ts +17 -0
- package/src/commands/extract-i18n/cli.js +48 -0
- package/src/commands/extract-i18n/cli.js.map +1 -0
- package/src/commands/generate/cli.d.ts +47 -0
- package/src/commands/generate/cli.js +189 -0
- package/src/commands/generate/cli.js.map +1 -0
- package/src/commands/lint/cli.d.ts +17 -0
- package/src/commands/lint/cli.js +25 -0
- package/src/commands/lint/cli.js.map +1 -0
- package/src/commands/lint/long-description.md +20 -0
- package/src/commands/make-this-awesome/cli.d.ts +17 -0
- package/src/commands/make-this-awesome/cli.js +36 -0
- package/src/commands/make-this-awesome/cli.js.map +1 -0
- package/src/commands/mcp/cli.d.ts +20 -0
- package/src/commands/mcp/cli.js +74 -0
- package/src/commands/mcp/cli.js.map +1 -0
- package/src/commands/mcp/constants.d.ts +10 -0
- package/src/commands/mcp/constants.js +16 -0
- package/src/commands/mcp/constants.js.map +1 -0
- package/src/commands/mcp/devserver.d.ts +85 -0
- package/src/commands/mcp/devserver.js +112 -0
- package/src/commands/mcp/devserver.js.map +1 -0
- package/src/commands/mcp/host.d.ts +97 -0
- package/src/commands/mcp/host.js +118 -0
- package/src/commands/mcp/host.js.map +1 -0
- package/src/commands/mcp/mcp-server.d.ts +192 -0
- package/src/commands/mcp/mcp-server.js +155 -0
- package/src/commands/mcp/mcp-server.js.map +1 -0
- package/src/commands/mcp/resources/ai-tutor.md +824 -0
- package/src/commands/mcp/resources/best-practices.md +54 -0
- package/src/commands/mcp/resources/instructions.d.ts +9 -0
- package/src/commands/mcp/resources/instructions.js +26 -0
- package/src/commands/mcp/resources/instructions.js.map +1 -0
- package/src/commands/mcp/shared-options.d.ts +12 -0
- package/src/commands/mcp/shared-options.js +22 -0
- package/src/commands/mcp/shared-options.js.map +1 -0
- package/src/commands/mcp/tools/ai-tutor.d.ts +12 -0
- package/src/commands/mcp/tools/ai-tutor.js +59 -0
- package/src/commands/mcp/tools/ai-tutor.js.map +1 -0
- package/src/commands/mcp/tools/best-practices.d.ts +13 -0
- package/src/commands/mcp/tools/best-practices.js +187 -0
- package/src/commands/mcp/tools/best-practices.js.map +1 -0
- package/src/commands/mcp/tools/build.d.ts +37 -0
- package/src/commands/mcp/tools/build.js +89 -0
- package/src/commands/mcp/tools/build.js.map +1 -0
- package/src/commands/mcp/tools/devserver/devserver-start.d.ts +31 -0
- package/src/commands/mcp/tools/devserver/devserver-start.js +91 -0
- package/src/commands/mcp/tools/devserver/devserver-start.js.map +1 -0
- package/src/commands/mcp/tools/devserver/devserver-stop.d.ts +31 -0
- package/src/commands/mcp/tools/devserver/devserver-stop.js +68 -0
- package/src/commands/mcp/tools/devserver/devserver-stop.js.map +1 -0
- package/src/commands/mcp/tools/devserver/devserver-wait-for-build.d.ts +41 -0
- package/src/commands/mcp/tools/devserver/devserver-wait-for-build.js +104 -0
- package/src/commands/mcp/tools/devserver/devserver-wait-for-build.js.map +1 -0
- package/src/commands/mcp/tools/doc-search.d.ts +21 -0
- package/src/commands/mcp/tools/doc-search.js +324 -0
- package/src/commands/mcp/tools/doc-search.js.map +1 -0
- package/src/commands/mcp/tools/e2e.d.ts +44 -0
- package/src/commands/mcp/tools/e2e.js +87 -0
- package/src/commands/mcp/tools/e2e.js.map +1 -0
- package/src/commands/mcp/tools/examples/database-discovery.d.ts +34 -0
- package/src/commands/mcp/tools/examples/database-discovery.js +87 -0
- package/src/commands/mcp/tools/examples/database-discovery.js.map +1 -0
- package/src/commands/mcp/tools/examples/database.d.ts +35 -0
- package/src/commands/mcp/tools/examples/database.js +125 -0
- package/src/commands/mcp/tools/examples/database.js.map +1 -0
- package/src/commands/mcp/tools/examples/index.d.ts +26 -0
- package/src/commands/mcp/tools/examples/index.js +149 -0
- package/src/commands/mcp/tools/examples/index.js.map +1 -0
- package/src/commands/mcp/tools/examples/query-escaper.d.ts +20 -0
- package/src/commands/mcp/tools/examples/query-escaper.js +68 -0
- package/src/commands/mcp/tools/examples/query-escaper.js.map +1 -0
- package/src/commands/mcp/tools/examples/runtime-database.d.ts +10 -0
- package/src/commands/mcp/tools/examples/runtime-database.js +192 -0
- package/src/commands/mcp/tools/examples/runtime-database.js.map +1 -0
- package/src/commands/mcp/tools/examples/schemas.d.ts +29 -0
- package/src/commands/mcp/tools/examples/schemas.js +101 -0
- package/src/commands/mcp/tools/examples/schemas.js.map +1 -0
- package/src/commands/mcp/tools/examples/utils.d.ts +14 -0
- package/src/commands/mcp/tools/examples/utils.js +31 -0
- package/src/commands/mcp/tools/examples/utils.js.map +1 -0
- package/src/commands/mcp/tools/modernize.d.ts +43 -0
- package/src/commands/mcp/tools/modernize.js +165 -0
- package/src/commands/mcp/tools/modernize.js.map +1 -0
- package/src/commands/mcp/tools/onpush-zoneless-migration/analyze-for-unsupported-zone-uses.d.ts +17 -0
- package/src/commands/mcp/tools/onpush-zoneless-migration/analyze-for-unsupported-zone-uses.js +62 -0
- package/src/commands/mcp/tools/onpush-zoneless-migration/analyze-for-unsupported-zone-uses.js.map +1 -0
- package/src/commands/mcp/tools/onpush-zoneless-migration/migrate-single-file.d.ts +12 -0
- package/src/commands/mcp/tools/onpush-zoneless-migration/migrate-single-file.js +73 -0
- package/src/commands/mcp/tools/onpush-zoneless-migration/migrate-single-file.js.map +1 -0
- package/src/commands/mcp/tools/onpush-zoneless-migration/migrate-test-file.d.ts +11 -0
- package/src/commands/mcp/tools/onpush-zoneless-migration/migrate-test-file.js +60 -0
- package/src/commands/mcp/tools/onpush-zoneless-migration/migrate-test-file.js.map +1 -0
- package/src/commands/mcp/tools/onpush-zoneless-migration/prompts.d.ts +15 -0
- package/src/commands/mcp/tools/onpush-zoneless-migration/prompts.js +238 -0
- package/src/commands/mcp/tools/onpush-zoneless-migration/prompts.js.map +1 -0
- package/src/commands/mcp/tools/onpush-zoneless-migration/send-debug-message.d.ts +10 -0
- package/src/commands/mcp/tools/onpush-zoneless-migration/send-debug-message.js +20 -0
- package/src/commands/mcp/tools/onpush-zoneless-migration/send-debug-message.js.map +1 -0
- package/src/commands/mcp/tools/onpush-zoneless-migration/ts-utils.d.ts +35 -0
- package/src/commands/mcp/tools/onpush-zoneless-migration/ts-utils.js +136 -0
- package/src/commands/mcp/tools/onpush-zoneless-migration/ts-utils.js.map +1 -0
- package/src/commands/mcp/tools/onpush-zoneless-migration/types.d.ts +13 -0
- package/src/commands/mcp/tools/onpush-zoneless-migration/types.js +10 -0
- package/src/commands/mcp/tools/onpush-zoneless-migration/types.js.map +1 -0
- package/src/commands/mcp/tools/onpush-zoneless-migration/zoneless-migration.d.ts +16 -0
- package/src/commands/mcp/tools/onpush-zoneless-migration/zoneless-migration.js +224 -0
- package/src/commands/mcp/tools/onpush-zoneless-migration/zoneless-migration.js.map +1 -0
- package/src/commands/mcp/tools/projects.d.ts +47 -0
- package/src/commands/mcp/tools/projects.js +523 -0
- package/src/commands/mcp/tools/projects.js.map +1 -0
- package/src/commands/mcp/tools/test.d.ts +35 -0
- package/src/commands/mcp/tools/test.js +79 -0
- package/src/commands/mcp/tools/test.js.map +1 -0
- package/src/commands/mcp/tools/tool-registry.d.ts +39 -0
- package/src/commands/mcp/tools/tool-registry.js +35 -0
- package/src/commands/mcp/tools/tool-registry.js.map +1 -0
- package/src/commands/mcp/utils.d.ts +25 -0
- package/src/commands/mcp/utils.js +44 -0
- package/src/commands/mcp/utils.js.map +1 -0
- package/src/commands/mcp/workspace-utils.d.ts +53 -0
- package/src/commands/mcp/workspace-utils.js +138 -0
- package/src/commands/mcp/workspace-utils.js.map +1 -0
- package/src/commands/new/cli.d.ts +27 -0
- package/src/commands/new/cli.js +76 -0
- package/src/commands/new/cli.js.map +1 -0
- package/src/commands/new/long-description.md +15 -0
- package/src/commands/run/cli.d.ts +25 -0
- package/src/commands/run/cli.js +89 -0
- package/src/commands/run/cli.js.map +1 -0
- package/src/commands/run/long-description.md +10 -0
- package/src/commands/serve/cli.d.ts +16 -0
- package/src/commands/serve/cli.js +20 -0
- package/src/commands/serve/cli.js.map +1 -0
- package/src/commands/test/cli.d.ts +16 -0
- package/src/commands/test/cli.js +21 -0
- package/src/commands/test/cli.js.map +1 -0
- package/src/commands/test/long-description.md +2 -0
- package/src/commands/update/cli.d.ts +34 -0
- package/src/commands/update/cli.js +531 -0
- package/src/commands/update/cli.js.map +1 -0
- package/src/commands/update/long-description.md +22 -0
- package/src/commands/update/schematic/collection.json +9 -0
- package/src/commands/update/schematic/index.d.ts +11 -0
- package/src/commands/update/schematic/index.js +715 -0
- package/src/commands/update/schematic/index.js.map +1 -0
- package/src/commands/update/schematic/schema.d.ts +51 -0
- package/src/commands/update/schematic/schema.js +16 -0
- package/src/commands/update/schematic/schema.js.map +1 -0
- package/src/commands/update/schematic/schema.json +64 -0
- package/src/commands/update/utilities/cli-version.d.ts +48 -0
- package/src/commands/update/utilities/cli-version.js +196 -0
- package/src/commands/update/utilities/cli-version.js.map +1 -0
- package/src/commands/update/utilities/constants.d.ts +12 -0
- package/src/commands/update/utilities/constants.js +16 -0
- package/src/commands/update/utilities/constants.js.map +1 -0
- package/src/commands/update/utilities/git.d.ts +36 -0
- package/src/commands/update/utilities/git.js +148 -0
- package/src/commands/update/utilities/git.js.map +1 -0
- package/src/commands/update/utilities/migration.d.ts +32 -0
- package/src/commands/update/utilities/migration.js +267 -0
- package/src/commands/update/utilities/migration.js.map +1 -0
- package/src/commands/version/cli.d.ts +36 -0
- package/src/commands/version/cli.js +117 -0
- package/src/commands/version/cli.js.map +1 -0
- package/src/commands/version/version-info.d.ts +46 -0
- package/src/commands/version/version-info.js +107 -0
- package/src/commands/version/version-info.js.map +1 -0
- package/src/package-managers/discovery.d.ts +23 -0
- package/src/package-managers/discovery.js +104 -0
- package/src/package-managers/discovery.js.map +1 -0
- package/src/package-managers/error.d.ts +43 -0
- package/src/package-managers/error.js +41 -0
- package/src/package-managers/error.js.map +1 -0
- package/src/package-managers/factory.d.ts +30 -0
- package/src/package-managers/factory.js +137 -0
- package/src/package-managers/factory.js.map +1 -0
- package/src/package-managers/host.d.ts +86 -0
- package/src/package-managers/host.js +80 -0
- package/src/package-managers/host.js.map +1 -0
- package/src/package-managers/index.d.ts +13 -0
- package/src/package-managers/index.js +17 -0
- package/src/package-managers/index.js.map +1 -0
- package/src/package-managers/logger.d.ts +27 -0
- package/src/package-managers/logger.js +10 -0
- package/src/package-managers/logger.js.map +1 -0
- package/src/package-managers/package-manager-descriptor.d.ts +245 -0
- package/src/package-managers/package-manager-descriptor.js +175 -0
- package/src/package-managers/package-manager-descriptor.js.map +1 -0
- package/src/package-managers/package-manager.d.ts +191 -0
- package/src/package-managers/package-manager.js +496 -0
- package/src/package-managers/package-manager.js.map +1 -0
- package/src/package-managers/package-metadata.d.ts +91 -0
- package/src/package-managers/package-metadata.js +10 -0
- package/src/package-managers/package-metadata.js.map +1 -0
- package/src/package-managers/package-tree.d.ts +23 -0
- package/src/package-managers/package-tree.js +10 -0
- package/src/package-managers/package-tree.js.map +1 -0
- package/src/package-managers/parsers.d.ts +170 -0
- package/src/package-managers/parsers.js +467 -0
- package/src/package-managers/parsers.js.map +1 -0
- package/src/utilities/color.d.ts +9 -0
- package/src/utilities/color.js +28 -0
- package/src/utilities/color.js.map +1 -0
- package/src/utilities/completion.d.ts +30 -0
- package/src/utilities/completion.js +270 -0
- package/src/utilities/completion.js.map +1 -0
- package/src/utilities/config.d.ts +38 -0
- package/src/utilities/config.js +369 -0
- package/src/utilities/config.js.map +1 -0
- package/src/utilities/environment-options.d.ts +25 -0
- package/src/utilities/environment-options.js +60 -0
- package/src/utilities/environment-options.js.map +1 -0
- package/src/utilities/eol.d.ts +20 -0
- package/src/utilities/eol.js +35 -0
- package/src/utilities/eol.js.map +1 -0
- package/src/utilities/error.d.ts +18 -0
- package/src/utilities/error.js +41 -0
- package/src/utilities/error.js.map +1 -0
- package/src/utilities/find-up.d.ts +21 -0
- package/src/utilities/find-up.js +67 -0
- package/src/utilities/find-up.js.map +1 -0
- package/src/utilities/json-file.d.ts +24 -0
- package/src/utilities/json-file.js +179 -0
- package/src/utilities/json-file.js.map +1 -0
- package/src/utilities/log-file.d.ts +13 -0
- package/src/utilities/log-file.js +28 -0
- package/src/utilities/log-file.js.map +1 -0
- package/src/utilities/memoize.d.ts +15 -0
- package/src/utilities/memoize.js +64 -0
- package/src/utilities/memoize.js.map +1 -0
- package/src/utilities/package-metadata.d.ts +58 -0
- package/src/utilities/package-metadata.js +265 -0
- package/src/utilities/package-metadata.js.map +1 -0
- package/src/utilities/prettier.d.ts +13 -0
- package/src/utilities/prettier.js +46 -0
- package/src/utilities/prettier.js.map +1 -0
- package/src/utilities/project.d.ts +8 -0
- package/src/utilities/project.js +81 -0
- package/src/utilities/project.js.map +1 -0
- package/src/utilities/prompt.d.ts +17 -0
- package/src/utilities/prompt.js +90 -0
- package/src/utilities/prompt.js.map +1 -0
- package/src/utilities/tty.d.ts +16 -0
- package/src/utilities/tty.js +23 -0
- package/src/utilities/tty.js.map +1 -0
- package/src/utilities/version.d.ts +16 -0
- package/src/utilities/version.js +26 -0
- package/src/utilities/version.js.map +1 -0
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// THIS FILE IS AUTOMATICALLY GENERATED. TO UPDATE THIS FILE YOU NEED TO CHANGE THE
|
|
3
|
+
// CORRESPONDING JSON SCHEMA FILE, THEN RUN devkit-admin build (or bazel build ...).
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.AiConfig = exports.TypeSeparator = exports.Implement = exports.SchematicsAngularComponentStyle = exports.ChangeDetection = exports.ViewEncapsulation = exports.TestRunner = exports.SchematicsAngularApplicationStyle = exports.FileNameStyleGuide = exports.PackageManager = exports.Environment = void 0;
|
|
6
|
+
/**
|
|
7
|
+
* Configure in which environment disk cache is enabled.
|
|
8
|
+
*/
|
|
9
|
+
var Environment;
|
|
10
|
+
(function (Environment) {
|
|
11
|
+
Environment["All"] = "all";
|
|
12
|
+
Environment["Ci"] = "ci";
|
|
13
|
+
Environment["Local"] = "local";
|
|
14
|
+
})(Environment || (exports.Environment = Environment = {}));
|
|
15
|
+
/**
|
|
16
|
+
* Specify which package manager tool to use.
|
|
17
|
+
*
|
|
18
|
+
* The package manager used to install dependencies.
|
|
19
|
+
*/
|
|
20
|
+
var PackageManager;
|
|
21
|
+
(function (PackageManager) {
|
|
22
|
+
PackageManager["Bun"] = "bun";
|
|
23
|
+
PackageManager["Npm"] = "npm";
|
|
24
|
+
PackageManager["Pnpm"] = "pnpm";
|
|
25
|
+
PackageManager["Yarn"] = "yarn";
|
|
26
|
+
})(PackageManager || (exports.PackageManager = PackageManager = {}));
|
|
27
|
+
/**
|
|
28
|
+
* The file naming convention to use for generated files. The '2025' style guide (default)
|
|
29
|
+
* uses a concise format (e.g., `app.ts` for the root component), while the '2016' style
|
|
30
|
+
* guide includes the type in the file name (e.g., `app.component.ts`). For more
|
|
31
|
+
* information, see the Angular Style Guide (https://angular.dev/style-guide).
|
|
32
|
+
*/
|
|
33
|
+
var FileNameStyleGuide;
|
|
34
|
+
(function (FileNameStyleGuide) {
|
|
35
|
+
FileNameStyleGuide["The2016"] = "2016";
|
|
36
|
+
FileNameStyleGuide["The2025"] = "2025";
|
|
37
|
+
})(FileNameStyleGuide || (exports.FileNameStyleGuide = FileNameStyleGuide = {}));
|
|
38
|
+
/**
|
|
39
|
+
* The type of stylesheet files to be created for components in the application.
|
|
40
|
+
*
|
|
41
|
+
* The type of stylesheet files to be created for components in the initial project.
|
|
42
|
+
*/
|
|
43
|
+
var SchematicsAngularApplicationStyle;
|
|
44
|
+
(function (SchematicsAngularApplicationStyle) {
|
|
45
|
+
SchematicsAngularApplicationStyle["Css"] = "css";
|
|
46
|
+
SchematicsAngularApplicationStyle["Less"] = "less";
|
|
47
|
+
SchematicsAngularApplicationStyle["Sass"] = "sass";
|
|
48
|
+
SchematicsAngularApplicationStyle["Scss"] = "scss";
|
|
49
|
+
SchematicsAngularApplicationStyle["Tailwind"] = "tailwind";
|
|
50
|
+
})(SchematicsAngularApplicationStyle || (exports.SchematicsAngularApplicationStyle = SchematicsAngularApplicationStyle = {}));
|
|
51
|
+
/**
|
|
52
|
+
* The unit testing runner to use.
|
|
53
|
+
*/
|
|
54
|
+
var TestRunner;
|
|
55
|
+
(function (TestRunner) {
|
|
56
|
+
TestRunner["Karma"] = "karma";
|
|
57
|
+
TestRunner["Vitest"] = "vitest";
|
|
58
|
+
})(TestRunner || (exports.TestRunner = TestRunner = {}));
|
|
59
|
+
/**
|
|
60
|
+
* Sets the view encapsulation mode for the application's components. This determines how
|
|
61
|
+
* component styles are scoped and applied.
|
|
62
|
+
*
|
|
63
|
+
* Sets the view encapsulation mode for the component. This determines how the component's
|
|
64
|
+
* styles are scoped and applied.
|
|
65
|
+
*
|
|
66
|
+
* Sets the view encapsulation mode for components in the initial project. This determines
|
|
67
|
+
* how component styles are scoped and applied. Options include: `Emulated` (default, styles
|
|
68
|
+
* are scoped to the component), `None` (styles are global), and `ShadowDom` (styles are
|
|
69
|
+
* encapsulated using Shadow DOM).
|
|
70
|
+
*/
|
|
71
|
+
var ViewEncapsulation;
|
|
72
|
+
(function (ViewEncapsulation) {
|
|
73
|
+
ViewEncapsulation["Emulated"] = "Emulated";
|
|
74
|
+
ViewEncapsulation["None"] = "None";
|
|
75
|
+
ViewEncapsulation["ShadowDom"] = "ShadowDom";
|
|
76
|
+
})(ViewEncapsulation || (exports.ViewEncapsulation = ViewEncapsulation = {}));
|
|
77
|
+
/**
|
|
78
|
+
* Configures the change detection strategy for the component.
|
|
79
|
+
*/
|
|
80
|
+
var ChangeDetection;
|
|
81
|
+
(function (ChangeDetection) {
|
|
82
|
+
ChangeDetection["Default"] = "Default";
|
|
83
|
+
ChangeDetection["OnPush"] = "OnPush";
|
|
84
|
+
})(ChangeDetection || (exports.ChangeDetection = ChangeDetection = {}));
|
|
85
|
+
/**
|
|
86
|
+
* Specify the type of stylesheet to be created for the component, or `none` to skip
|
|
87
|
+
* creating a stylesheet.
|
|
88
|
+
*/
|
|
89
|
+
var SchematicsAngularComponentStyle;
|
|
90
|
+
(function (SchematicsAngularComponentStyle) {
|
|
91
|
+
SchematicsAngularComponentStyle["Css"] = "css";
|
|
92
|
+
SchematicsAngularComponentStyle["Less"] = "less";
|
|
93
|
+
SchematicsAngularComponentStyle["None"] = "none";
|
|
94
|
+
SchematicsAngularComponentStyle["Sass"] = "sass";
|
|
95
|
+
SchematicsAngularComponentStyle["Scss"] = "scss";
|
|
96
|
+
})(SchematicsAngularComponentStyle || (exports.SchematicsAngularComponentStyle = SchematicsAngularComponentStyle = {}));
|
|
97
|
+
var Implement;
|
|
98
|
+
(function (Implement) {
|
|
99
|
+
Implement["CanActivate"] = "CanActivate";
|
|
100
|
+
Implement["CanActivateChild"] = "CanActivateChild";
|
|
101
|
+
Implement["CanDeactivate"] = "CanDeactivate";
|
|
102
|
+
Implement["CanMatch"] = "CanMatch";
|
|
103
|
+
})(Implement || (exports.Implement = Implement = {}));
|
|
104
|
+
/**
|
|
105
|
+
* The separator character to use before the type within the generated file's name. For
|
|
106
|
+
* example, if you set the option to `.`, the file will be named `example.guard.ts`.
|
|
107
|
+
*
|
|
108
|
+
* The separator character to use before the type within the generated file's name. For
|
|
109
|
+
* example, if you set the option to `.`, the file will be named `example.interceptor.ts`.
|
|
110
|
+
*
|
|
111
|
+
* The separator character to use before the type within the generated file's name. For
|
|
112
|
+
* example, if you set the option to `.`, the file will be named `example.pipe.ts`.
|
|
113
|
+
*
|
|
114
|
+
* The separator character to use before the type within the generated file's name. For
|
|
115
|
+
* example, if you set the option to `.`, the file will be named `example.resolver.ts`.
|
|
116
|
+
*/
|
|
117
|
+
var TypeSeparator;
|
|
118
|
+
(function (TypeSeparator) {
|
|
119
|
+
TypeSeparator["Empty"] = "-";
|
|
120
|
+
TypeSeparator["TypeSeparator"] = ".";
|
|
121
|
+
})(TypeSeparator || (exports.TypeSeparator = TypeSeparator = {}));
|
|
122
|
+
var AiConfig;
|
|
123
|
+
(function (AiConfig) {
|
|
124
|
+
AiConfig["Agents"] = "agents";
|
|
125
|
+
AiConfig["Claude"] = "claude";
|
|
126
|
+
AiConfig["Copilot"] = "copilot";
|
|
127
|
+
AiConfig["Cursor"] = "cursor";
|
|
128
|
+
AiConfig["Gemini"] = "gemini";
|
|
129
|
+
AiConfig["Jetbrains"] = "jetbrains";
|
|
130
|
+
AiConfig["None"] = "none";
|
|
131
|
+
AiConfig["Windsurf"] = "windsurf";
|
|
132
|
+
})(AiConfig || (exports.AiConfig = AiConfig = {}));
|
|
133
|
+
//# sourceMappingURL=workspace-schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workspace-schema.js","sourceRoot":"","sources":["workspace-schema.ts"],"names":[],"mappings":";AACA,mFAAmF;AACnF,oFAAoF;;;AA4DpF;;GAEG;AACH,IAAY,WAIX;AAJD,WAAY,WAAW;IACnB,0BAAW,CAAA;IACX,wBAAS,CAAA;IACT,8BAAe,CAAA;AACnB,CAAC,EAJW,WAAW,2BAAX,WAAW,QAItB;AAED;;;;GAIG;AACH,IAAY,cAKX;AALD,WAAY,cAAc;IACtB,6BAAW,CAAA;IACX,6BAAW,CAAA;IACX,+BAAa,CAAA;IACb,+BAAa,CAAA;AACjB,CAAC,EALW,cAAc,8BAAd,cAAc,QAKzB;AAqID;;;;;GAKG;AACH,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC1B,sCAAgB,CAAA;IAChB,sCAAgB,CAAA;AACpB,CAAC,EAHW,kBAAkB,kCAAlB,kBAAkB,QAG7B;AAED;;;;GAIG;AACH,IAAY,iCAMX;AAND,WAAY,iCAAiC;IACzC,gDAAW,CAAA;IACX,kDAAa,CAAA;IACb,kDAAa,CAAA;IACb,kDAAa,CAAA;IACb,0DAAqB,CAAA;AACzB,CAAC,EANW,iCAAiC,iDAAjC,iCAAiC,QAM5C;AAED;;GAEG;AACH,IAAY,UAGX;AAHD,WAAY,UAAU;IAClB,6BAAe,CAAA;IACf,+BAAiB,CAAA;AACrB,CAAC,EAHW,UAAU,0BAAV,UAAU,QAGrB;AAED;;;;;;;;;;;GAWG;AACH,IAAY,iBAIX;AAJD,WAAY,iBAAiB;IACzB,0CAAqB,CAAA;IACrB,kCAAa,CAAA;IACb,4CAAuB,CAAA;AAC3B,CAAC,EAJW,iBAAiB,iCAAjB,iBAAiB,QAI5B;AAsJD;;GAEG;AACH,IAAY,eAGX;AAHD,WAAY,eAAe;IACvB,sCAAmB,CAAA;IACnB,oCAAiB,CAAA;AACrB,CAAC,EAHW,eAAe,+BAAf,eAAe,QAG1B;AAED;;;GAGG;AACH,IAAY,+BAMX;AAND,WAAY,+BAA+B;IACvC,8CAAW,CAAA;IACX,gDAAa,CAAA;IACb,gDAAa,CAAA;IACb,gDAAa,CAAA;IACb,gDAAa,CAAA;AACjB,CAAC,EANW,+BAA+B,+CAA/B,+BAA+B,QAM1C;AAwJD,IAAY,SAKX;AALD,WAAY,SAAS;IACjB,wCAA2B,CAAA;IAC3B,kDAAqC,CAAA;IACrC,4CAA+B,CAAA;IAC/B,kCAAqB,CAAA;AACzB,CAAC,EALW,SAAS,yBAAT,SAAS,QAKpB;AAED;;;;;;;;;;;;GAYG;AACH,IAAY,aAGX;AAHD,WAAY,aAAa;IACrB,4BAAW,CAAA;IACX,oCAAmB,CAAA;AACvB,CAAC,EAHW,aAAa,6BAAb,aAAa,QAGxB;AAyQD,IAAY,QASX;AATD,WAAY,QAAQ;IAChB,6BAAiB,CAAA;IACjB,6BAAiB,CAAA;IACjB,+BAAmB,CAAA;IACnB,6BAAiB,CAAA;IACjB,6BAAiB,CAAA;IACjB,mCAAuB,CAAA;IACvB,yBAAa,CAAA;IACb,iCAAqB,CAAA;AACzB,CAAC,EATW,QAAQ,wBAAR,QAAQ,QASnB"}
|
package/lib/init.d.ts
ADDED
package/lib/init.js
ADDED
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* @license
|
|
4
|
+
* Copyright Google LLC All Rights Reserved.
|
|
5
|
+
*
|
|
6
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
7
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
8
|
+
*/
|
|
9
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
12
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
13
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
14
|
+
}
|
|
15
|
+
Object.defineProperty(o, k2, desc);
|
|
16
|
+
}) : (function(o, m, k, k2) {
|
|
17
|
+
if (k2 === undefined) k2 = k;
|
|
18
|
+
o[k2] = m[k];
|
|
19
|
+
}));
|
|
20
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
21
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
22
|
+
}) : function(o, v) {
|
|
23
|
+
o["default"] = v;
|
|
24
|
+
});
|
|
25
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
26
|
+
var ownKeys = function(o) {
|
|
27
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
28
|
+
var ar = [];
|
|
29
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
30
|
+
return ar;
|
|
31
|
+
};
|
|
32
|
+
return ownKeys(o);
|
|
33
|
+
};
|
|
34
|
+
return function (mod) {
|
|
35
|
+
if (mod && mod.__esModule) return mod;
|
|
36
|
+
var result = {};
|
|
37
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
38
|
+
__setModuleDefault(result, mod);
|
|
39
|
+
return result;
|
|
40
|
+
};
|
|
41
|
+
})();
|
|
42
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
43
|
+
const promises_1 = require("node:fs/promises");
|
|
44
|
+
const node_module_1 = require("node:module");
|
|
45
|
+
const path = __importStar(require("node:path"));
|
|
46
|
+
const semver_1 = require("semver");
|
|
47
|
+
const color_1 = require("../src/utilities/color");
|
|
48
|
+
const config_1 = require("../src/utilities/config");
|
|
49
|
+
const environment_options_1 = require("../src/utilities/environment-options");
|
|
50
|
+
const version_1 = require("../src/utilities/version");
|
|
51
|
+
/**
|
|
52
|
+
* Angular CLI versions prior to v14 may not exit correctly if not forcibly exited
|
|
53
|
+
* via `process.exit()`. When bootstrapping, `forceExit` will be set to `true`
|
|
54
|
+
* if the local CLI version is less than v14 to prevent the CLI from hanging on
|
|
55
|
+
* exit in those cases.
|
|
56
|
+
*/
|
|
57
|
+
let forceExit = false;
|
|
58
|
+
(async () => {
|
|
59
|
+
/**
|
|
60
|
+
* Disable Browserslist old data warning as otherwise with every release we'd need to update this dependency
|
|
61
|
+
* which is cumbersome considering we pin versions and the warning is not user actionable.
|
|
62
|
+
* `Browserslist: caniuse-lite is outdated. Please run next command `npm update`
|
|
63
|
+
* See: https://github.com/browserslist/browserslist/blob/819c4337456996d19db6ba953014579329e9c6e1/node.js#L324
|
|
64
|
+
*/
|
|
65
|
+
process.env.BROWSERSLIST_IGNORE_OLD_DATA = '1';
|
|
66
|
+
const rawCommandName = process.argv[2];
|
|
67
|
+
/**
|
|
68
|
+
* Disable CLI version mismatch checks and forces usage of the invoked CLI
|
|
69
|
+
* instead of invoking the local installed version.
|
|
70
|
+
*
|
|
71
|
+
* When running `ng new` always favor the global version. As in some
|
|
72
|
+
* cases orphan `node_modules` would cause the non global CLI to be used.
|
|
73
|
+
* @see: https://github.com/angular/angular-cli/issues/14603
|
|
74
|
+
*/
|
|
75
|
+
if (environment_options_1.disableVersionCheck || rawCommandName === 'new') {
|
|
76
|
+
return (await Promise.resolve().then(() => __importStar(require('./cli')))).default;
|
|
77
|
+
}
|
|
78
|
+
let cli;
|
|
79
|
+
try {
|
|
80
|
+
// No error implies a projectLocalCli, which will load whatever
|
|
81
|
+
// version of ng-cli you have installed in a local package.json
|
|
82
|
+
const cwdRequire = (0, node_module_1.createRequire)(process.cwd() + '/');
|
|
83
|
+
const projectLocalCli = cwdRequire.resolve('@angular/cli');
|
|
84
|
+
cli = await Promise.resolve(`${projectLocalCli}`).then(s => __importStar(require(s)));
|
|
85
|
+
const globalVersion = new semver_1.SemVer(version_1.VERSION.full);
|
|
86
|
+
// Older versions might not have the VERSION export
|
|
87
|
+
let localVersion = cli.VERSION?.full;
|
|
88
|
+
if (!localVersion) {
|
|
89
|
+
try {
|
|
90
|
+
const localPackageJson = await (0, promises_1.readFile)(path.join(path.dirname(projectLocalCli), '../../package.json'), 'utf-8');
|
|
91
|
+
localVersion = JSON.parse(localPackageJson).version;
|
|
92
|
+
}
|
|
93
|
+
catch (error) {
|
|
94
|
+
// eslint-disable-next-line no-console
|
|
95
|
+
console.error('Version mismatch check skipped. Unable to retrieve local version: ' + error);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
// Ensure older versions of the CLI fully exit
|
|
99
|
+
const localMajorVersion = (0, semver_1.major)(localVersion);
|
|
100
|
+
if (localMajorVersion > 0 && localMajorVersion < 14) {
|
|
101
|
+
forceExit = true;
|
|
102
|
+
// Versions prior to 14 didn't implement completion command.
|
|
103
|
+
if (rawCommandName === 'completion') {
|
|
104
|
+
return null;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
let isGlobalGreater = false;
|
|
108
|
+
try {
|
|
109
|
+
isGlobalGreater = localVersion > 0 && globalVersion.compare(localVersion) > 0;
|
|
110
|
+
}
|
|
111
|
+
catch (error) {
|
|
112
|
+
// eslint-disable-next-line no-console
|
|
113
|
+
console.error('Version mismatch check skipped. Unable to compare local version: ' + error);
|
|
114
|
+
}
|
|
115
|
+
// When using the completion command, don't show the warning as otherwise this will break completion.
|
|
116
|
+
if (isGlobalGreater &&
|
|
117
|
+
rawCommandName !== '--get-yargs-completions' &&
|
|
118
|
+
rawCommandName !== 'completion') {
|
|
119
|
+
// If using the update command and the global version is greater, use the newer update command
|
|
120
|
+
// This allows improvements in update to be used in older versions that do not have bootstrapping
|
|
121
|
+
if (rawCommandName === 'update' &&
|
|
122
|
+
cli.VERSION &&
|
|
123
|
+
cli.VERSION.major - globalVersion.major <= 1) {
|
|
124
|
+
cli = await Promise.resolve().then(() => __importStar(require('./cli')));
|
|
125
|
+
}
|
|
126
|
+
else if (await (0, config_1.isWarningEnabled)('versionMismatch')) {
|
|
127
|
+
// Otherwise, use local version and warn if global is newer than local
|
|
128
|
+
const warning = `Your global Angular CLI version (${globalVersion}) is greater than your local ` +
|
|
129
|
+
`version (${localVersion}). The local Angular CLI version is used.\n\n` +
|
|
130
|
+
'To disable this warning use "ng config -g cli.warnings.versionMismatch false".';
|
|
131
|
+
// eslint-disable-next-line no-console
|
|
132
|
+
console.error(color_1.colors.yellow(warning));
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
catch {
|
|
137
|
+
// If there is an error, resolve could not find the ng-cli
|
|
138
|
+
// library from a package.json. Instead, include it from a relative
|
|
139
|
+
// path to this script file (which is likely a globally installed
|
|
140
|
+
// npm package). Most common cause for hitting this is `ng new`
|
|
141
|
+
cli = await Promise.resolve().then(() => __importStar(require('./cli')));
|
|
142
|
+
}
|
|
143
|
+
if ('default' in cli) {
|
|
144
|
+
cli = cli['default'];
|
|
145
|
+
}
|
|
146
|
+
return cli;
|
|
147
|
+
})()
|
|
148
|
+
.then((cli) => cli?.({
|
|
149
|
+
cliArgs: process.argv.slice(2),
|
|
150
|
+
}))
|
|
151
|
+
.then((exitCode = 0) => {
|
|
152
|
+
if (forceExit) {
|
|
153
|
+
process.exit(exitCode);
|
|
154
|
+
}
|
|
155
|
+
process.exitCode = exitCode;
|
|
156
|
+
})
|
|
157
|
+
.catch((err) => {
|
|
158
|
+
// eslint-disable-next-line no-console
|
|
159
|
+
console.error('Unknown error: ' + err.toString());
|
|
160
|
+
process.exit(127);
|
|
161
|
+
});
|
|
162
|
+
//# sourceMappingURL=init.js.map
|
package/lib/init.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"init.js","sourceRoot":"","sources":["init.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,+CAA4C;AAC5C,6CAA4C;AAC5C,gDAAkC;AAClC,mCAAuC;AACvC,kDAAgD;AAChD,oDAA2D;AAC3D,8EAA2E;AAC3E,sDAAmD;AAEnD;;;;;GAKG;AACH,IAAI,SAAS,GAAG,KAAK,CAAC;AA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G,wDAAa,OAAO,GAAC,CAAC;IAC9B,CAAC;IAED,IAAI,SAAS,IAAI,GAAG,EAAE,CAAC;QACrB,GAAG,GAAG,GAAG,CAAC,SAAS,CAAC,CAAC;IACvB,CAAC;IAED,OAAO,GAAG,CAAC;AACb,CAAC,CAAC,EAAE;KACD,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CACZ,GAAG,EAAE,CAAC;IACJ,OAAO,EAAE,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;CAC/B,CAAC,CACH;KACA,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,EAAE,EAAE;IACrB,IAAI,SAAS,EAAE,CAAC;QACd,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IACzB,CAAC;IACD,OAAO,CAAC,QAAQ,GAAG,QAAQ,CAAC;AAC9B,CAAC,CAAC;KACD,KAAK,CAAC,CAAC,GAAU,EAAE,EAAE;IACpB,uCAAuC;IACvC,OAAO,CAAC,KAAK,CAAC,iBAAiB,GAAG,GAAG,CAAC,QAAQ,EAAE,CAAC,CAAC;IAClD,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AACpB,CAAC,CAAC,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@depup/angular__cli",
|
|
3
|
+
"version": "21.2.1-depup.1",
|
|
4
|
+
"description": "[DepUp] CLI tool for Angular",
|
|
5
|
+
"main": "lib/cli/index.js",
|
|
6
|
+
"bin": {
|
|
7
|
+
"ng": "./bin/ng.js"
|
|
8
|
+
},
|
|
9
|
+
"keywords": [
|
|
10
|
+
"depup",
|
|
11
|
+
"dependency-bumped",
|
|
12
|
+
"updated-deps",
|
|
13
|
+
"@angular/cli",
|
|
14
|
+
"Angular CLI",
|
|
15
|
+
"Angular DevKit",
|
|
16
|
+
"angular",
|
|
17
|
+
"angular-cli",
|
|
18
|
+
"devkit",
|
|
19
|
+
"sdk"
|
|
20
|
+
],
|
|
21
|
+
"repository": {
|
|
22
|
+
"type": "git",
|
|
23
|
+
"url": "https://github.com/angular/angular-cli.git"
|
|
24
|
+
},
|
|
25
|
+
"author": "Angular Authors",
|
|
26
|
+
"license": "MIT",
|
|
27
|
+
"bugs": {
|
|
28
|
+
"url": "https://github.com/angular/angular-cli/issues"
|
|
29
|
+
},
|
|
30
|
+
"homepage": "https://github.com/angular/angular-cli",
|
|
31
|
+
"dependencies": {
|
|
32
|
+
"@angular-devkit/architect": "0.2102.1",
|
|
33
|
+
"@angular-devkit/core": "21.2.1",
|
|
34
|
+
"@angular-devkit/schematics": "21.2.1",
|
|
35
|
+
"@inquirer/prompts": "^8.3.0",
|
|
36
|
+
"@listr2/prompt-adapter-inquirer": "^4.2.1",
|
|
37
|
+
"@modelcontextprotocol/sdk": "^1.27.1",
|
|
38
|
+
"@schematics/angular": "21.2.1",
|
|
39
|
+
"@yarnpkg/lockfile": "1.1.0",
|
|
40
|
+
"algoliasearch": "^5.49.2",
|
|
41
|
+
"ini": "6.0.0",
|
|
42
|
+
"jsonc-parser": "3.3.1",
|
|
43
|
+
"listr2": "^10.2.1",
|
|
44
|
+
"npm-package-arg": "13.0.2",
|
|
45
|
+
"pacote": "^21.5.0",
|
|
46
|
+
"parse5-html-rewriting-stream": "8.0.0",
|
|
47
|
+
"semver": "7.7.4",
|
|
48
|
+
"yargs": "18.0.0",
|
|
49
|
+
"zod": "4.3.6"
|
|
50
|
+
},
|
|
51
|
+
"ng-update": {
|
|
52
|
+
"migrations": "@schematics/angular/migrations/migration-collection.json",
|
|
53
|
+
"packageGroup": {
|
|
54
|
+
"@angular/cli": "21.2.1",
|
|
55
|
+
"@angular/build": "21.2.1",
|
|
56
|
+
"@angular/ssr": "21.2.1",
|
|
57
|
+
"@angular-devkit/architect": "0.2102.1",
|
|
58
|
+
"@angular-devkit/build-angular": "21.2.1",
|
|
59
|
+
"@angular-devkit/build-webpack": "0.2102.1",
|
|
60
|
+
"@angular-devkit/core": "21.2.1",
|
|
61
|
+
"@angular-devkit/schematics": "21.2.1"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"packageManager": "pnpm@10.30.3",
|
|
65
|
+
"engines": {
|
|
66
|
+
"node": "^20.19.0 || ^22.12.0 || >=24.0.0",
|
|
67
|
+
"npm": "^6.11.0 || ^7.5.6 || >=8.0.0",
|
|
68
|
+
"yarn": ">= 1.13.0"
|
|
69
|
+
},
|
|
70
|
+
"depup": {
|
|
71
|
+
"changes": {
|
|
72
|
+
"@inquirer/prompts": {
|
|
73
|
+
"from": "7.10.1",
|
|
74
|
+
"to": "^8.3.0"
|
|
75
|
+
},
|
|
76
|
+
"@listr2/prompt-adapter-inquirer": {
|
|
77
|
+
"from": "3.0.5",
|
|
78
|
+
"to": "^4.2.1"
|
|
79
|
+
},
|
|
80
|
+
"@modelcontextprotocol/sdk": {
|
|
81
|
+
"from": "1.26.0",
|
|
82
|
+
"to": "^1.27.1"
|
|
83
|
+
},
|
|
84
|
+
"algoliasearch": {
|
|
85
|
+
"from": "5.48.1",
|
|
86
|
+
"to": "^5.49.2"
|
|
87
|
+
},
|
|
88
|
+
"listr2": {
|
|
89
|
+
"from": "9.0.5",
|
|
90
|
+
"to": "^10.2.1"
|
|
91
|
+
},
|
|
92
|
+
"pacote": {
|
|
93
|
+
"from": "21.3.1",
|
|
94
|
+
"to": "^21.5.0"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"depsUpdated": 6,
|
|
98
|
+
"originalPackage": "@angular/cli",
|
|
99
|
+
"originalVersion": "21.2.1",
|
|
100
|
+
"processedAt": "2026-03-10T20:17:46.285Z",
|
|
101
|
+
"smokeTest": "passed"
|
|
102
|
+
}
|
|
103
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright Google LLC All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
|
+
*/
|
|
8
|
+
import { logging } from '@angular-devkit/core';
|
|
9
|
+
import { EventCustomDimension, EventCustomMetric, PrimitiveTypes } from './analytics-parameters';
|
|
10
|
+
export declare class AnalyticsCollector {
|
|
11
|
+
private logger;
|
|
12
|
+
private trackingEventsQueue;
|
|
13
|
+
private readonly requestParameterStringified;
|
|
14
|
+
private readonly userParameters;
|
|
15
|
+
constructor(logger: logging.Logger, userId: string, packageManagerInfo: {
|
|
16
|
+
name: string;
|
|
17
|
+
version: string | undefined;
|
|
18
|
+
});
|
|
19
|
+
reportWorkspaceInfoEvent(parameters: Partial<Record<EventCustomMetric, string | boolean | number | undefined>>): void;
|
|
20
|
+
reportRebuildRunEvent(parameters: Partial<Record<EventCustomMetric & EventCustomDimension, string | boolean | number | undefined>>): void;
|
|
21
|
+
reportBuildRunEvent(parameters: Partial<Record<EventCustomMetric & EventCustomDimension, string | boolean | number | undefined>>): void;
|
|
22
|
+
reportArchitectRunEvent(parameters: Partial<Record<EventCustomDimension, PrimitiveTypes>>): void;
|
|
23
|
+
reportSchematicRunEvent(parameters: Partial<Record<EventCustomDimension, PrimitiveTypes>>): void;
|
|
24
|
+
reportCommandRunEvent(command: string): void;
|
|
25
|
+
private event;
|
|
26
|
+
/**
|
|
27
|
+
* Flush on an interval (if the event loop is waiting).
|
|
28
|
+
*
|
|
29
|
+
* @returns a method that when called will terminate the periodic
|
|
30
|
+
* flush and call flush one last time.
|
|
31
|
+
*/
|
|
32
|
+
periodFlush(): () => Promise<void>;
|
|
33
|
+
flush(): Promise<void>;
|
|
34
|
+
private send;
|
|
35
|
+
}
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* @license
|
|
4
|
+
* Copyright Google LLC All Rights Reserved.
|
|
5
|
+
*
|
|
6
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
7
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
8
|
+
*/
|
|
9
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
12
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
13
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
14
|
+
}
|
|
15
|
+
Object.defineProperty(o, k2, desc);
|
|
16
|
+
}) : (function(o, m, k, k2) {
|
|
17
|
+
if (k2 === undefined) k2 = k;
|
|
18
|
+
o[k2] = m[k];
|
|
19
|
+
}));
|
|
20
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
21
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
22
|
+
}) : function(o, v) {
|
|
23
|
+
o["default"] = v;
|
|
24
|
+
});
|
|
25
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
26
|
+
var ownKeys = function(o) {
|
|
27
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
28
|
+
var ar = [];
|
|
29
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
30
|
+
return ar;
|
|
31
|
+
};
|
|
32
|
+
return ownKeys(o);
|
|
33
|
+
};
|
|
34
|
+
return function (mod) {
|
|
35
|
+
if (mod && mod.__esModule) return mod;
|
|
36
|
+
var result = {};
|
|
37
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
38
|
+
__setModuleDefault(result, mod);
|
|
39
|
+
return result;
|
|
40
|
+
};
|
|
41
|
+
})();
|
|
42
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
43
|
+
exports.AnalyticsCollector = void 0;
|
|
44
|
+
const node_crypto_1 = require("node:crypto");
|
|
45
|
+
const https = __importStar(require("node:https"));
|
|
46
|
+
const os = __importStar(require("node:os"));
|
|
47
|
+
const querystring = __importStar(require("node:querystring"));
|
|
48
|
+
const semver = __importStar(require("semver"));
|
|
49
|
+
const environment_options_1 = require("../utilities/environment-options");
|
|
50
|
+
const error_1 = require("../utilities/error");
|
|
51
|
+
const version_1 = require("../utilities/version");
|
|
52
|
+
const analytics_parameters_1 = require("./analytics-parameters");
|
|
53
|
+
const TRACKING_ID_PROD = 'G-VETNJBW8L4';
|
|
54
|
+
const TRACKING_ID_STAGING = 'G-TBMPRL1BTM';
|
|
55
|
+
class AnalyticsCollector {
|
|
56
|
+
logger;
|
|
57
|
+
trackingEventsQueue;
|
|
58
|
+
requestParameterStringified;
|
|
59
|
+
userParameters;
|
|
60
|
+
constructor(logger, userId, packageManagerInfo) {
|
|
61
|
+
this.logger = logger;
|
|
62
|
+
const requestParameters = {
|
|
63
|
+
[analytics_parameters_1.RequestParameter.ProtocolVersion]: 2,
|
|
64
|
+
[analytics_parameters_1.RequestParameter.ClientId]: userId,
|
|
65
|
+
[analytics_parameters_1.RequestParameter.UserId]: userId,
|
|
66
|
+
[analytics_parameters_1.RequestParameter.TrackingId]: /^\d+\.\d+\.\d+$/.test(version_1.VERSION.full) && version_1.VERSION.full !== '0.0.0'
|
|
67
|
+
? TRACKING_ID_PROD
|
|
68
|
+
: TRACKING_ID_STAGING,
|
|
69
|
+
// Built-in user properties
|
|
70
|
+
[analytics_parameters_1.RequestParameter.SessionId]: (0, node_crypto_1.randomUUID)(),
|
|
71
|
+
[analytics_parameters_1.RequestParameter.UserAgentArchitecture]: os.arch(),
|
|
72
|
+
[analytics_parameters_1.RequestParameter.UserAgentPlatform]: os.platform(),
|
|
73
|
+
[analytics_parameters_1.RequestParameter.UserAgentPlatformVersion]: os.release(),
|
|
74
|
+
[analytics_parameters_1.RequestParameter.UserAgentMobile]: 0,
|
|
75
|
+
[analytics_parameters_1.RequestParameter.SessionEngaged]: 1,
|
|
76
|
+
// The below is needed for tech details to be collected.
|
|
77
|
+
[analytics_parameters_1.RequestParameter.UserAgentFullVersionList]: 'Google%20Chrome;111.0.5563.64|Not(A%3ABrand;8.0.0.0|Chromium;111.0.5563.64',
|
|
78
|
+
};
|
|
79
|
+
if (environment_options_1.ngDebug) {
|
|
80
|
+
requestParameters[analytics_parameters_1.RequestParameter.DebugView] = 1;
|
|
81
|
+
}
|
|
82
|
+
this.requestParameterStringified = querystring.stringify(requestParameters);
|
|
83
|
+
const parsedVersion = semver.parse(process.version);
|
|
84
|
+
const packageManagerVersion = packageManagerInfo.version;
|
|
85
|
+
this.userParameters = {
|
|
86
|
+
// While architecture is being collect by GA as UserAgentArchitecture.
|
|
87
|
+
// It doesn't look like there is a way to query this. Therefore we collect this as a custom user dimension too.
|
|
88
|
+
[analytics_parameters_1.UserCustomDimension.OsArchitecture]: os.arch(),
|
|
89
|
+
// While User ID is being collected by GA, this is not visible in reports/for filtering.
|
|
90
|
+
[analytics_parameters_1.UserCustomDimension.UserId]: userId,
|
|
91
|
+
[analytics_parameters_1.UserCustomDimension.NodeVersion]: parsedVersion
|
|
92
|
+
? `${parsedVersion.major}.${parsedVersion.minor}.${parsedVersion.patch}`
|
|
93
|
+
: 'other',
|
|
94
|
+
[analytics_parameters_1.UserCustomDimension.NodeMajorVersion]: parsedVersion?.major,
|
|
95
|
+
[analytics_parameters_1.UserCustomDimension.PackageManager]: packageManagerInfo.name,
|
|
96
|
+
[analytics_parameters_1.UserCustomDimension.PackageManagerVersion]: packageManagerVersion,
|
|
97
|
+
[analytics_parameters_1.UserCustomDimension.PackageManagerMajorVersion]: packageManagerVersion
|
|
98
|
+
? +packageManagerVersion.split('.', 1)[0]
|
|
99
|
+
: undefined,
|
|
100
|
+
[analytics_parameters_1.UserCustomDimension.AngularCLIVersion]: version_1.VERSION.full,
|
|
101
|
+
[analytics_parameters_1.UserCustomDimension.AngularCLIMajorVersion]: version_1.VERSION.major,
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
reportWorkspaceInfoEvent(parameters) {
|
|
105
|
+
this.event('workspace_info', parameters);
|
|
106
|
+
}
|
|
107
|
+
reportRebuildRunEvent(parameters) {
|
|
108
|
+
this.event('run_rebuild', parameters);
|
|
109
|
+
}
|
|
110
|
+
reportBuildRunEvent(parameters) {
|
|
111
|
+
this.event('run_build', parameters);
|
|
112
|
+
}
|
|
113
|
+
reportArchitectRunEvent(parameters) {
|
|
114
|
+
this.event('run_architect', parameters);
|
|
115
|
+
}
|
|
116
|
+
reportSchematicRunEvent(parameters) {
|
|
117
|
+
this.event('run_schematic', parameters);
|
|
118
|
+
}
|
|
119
|
+
reportCommandRunEvent(command) {
|
|
120
|
+
this.event('run_command', { [analytics_parameters_1.EventCustomDimension.Command]: command });
|
|
121
|
+
}
|
|
122
|
+
event(eventName, parameters) {
|
|
123
|
+
this.trackingEventsQueue ??= [];
|
|
124
|
+
this.trackingEventsQueue.push({
|
|
125
|
+
...this.userParameters,
|
|
126
|
+
...parameters,
|
|
127
|
+
'en': eventName,
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* Flush on an interval (if the event loop is waiting).
|
|
132
|
+
*
|
|
133
|
+
* @returns a method that when called will terminate the periodic
|
|
134
|
+
* flush and call flush one last time.
|
|
135
|
+
*/
|
|
136
|
+
periodFlush() {
|
|
137
|
+
let analyticsFlushPromise = Promise.resolve();
|
|
138
|
+
const analyticsFlushInterval = setInterval(() => {
|
|
139
|
+
if (this.trackingEventsQueue?.length) {
|
|
140
|
+
analyticsFlushPromise = analyticsFlushPromise.then(() => this.flush());
|
|
141
|
+
}
|
|
142
|
+
}, 4000);
|
|
143
|
+
return () => {
|
|
144
|
+
clearInterval(analyticsFlushInterval);
|
|
145
|
+
// Flush one last time.
|
|
146
|
+
return analyticsFlushPromise.then(() => this.flush());
|
|
147
|
+
};
|
|
148
|
+
}
|
|
149
|
+
async flush() {
|
|
150
|
+
const pendingTrackingEvents = this.trackingEventsQueue;
|
|
151
|
+
this.logger.debug(`Analytics flush size. ${pendingTrackingEvents?.length}.`);
|
|
152
|
+
if (!pendingTrackingEvents?.length) {
|
|
153
|
+
return;
|
|
154
|
+
}
|
|
155
|
+
// The below is needed so that if flush is called multiple times,
|
|
156
|
+
// we don't report the same event multiple times.
|
|
157
|
+
this.trackingEventsQueue = undefined;
|
|
158
|
+
try {
|
|
159
|
+
await this.send(pendingTrackingEvents);
|
|
160
|
+
}
|
|
161
|
+
catch (error) {
|
|
162
|
+
// Failure to report analytics shouldn't crash the CLI.
|
|
163
|
+
(0, error_1.assertIsError)(error);
|
|
164
|
+
this.logger.debug(`Send analytics error. ${error.message}.`);
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
async send(data) {
|
|
168
|
+
return new Promise((resolve, reject) => {
|
|
169
|
+
const request = https.request({
|
|
170
|
+
host: 'www.google-analytics.com',
|
|
171
|
+
method: 'POST',
|
|
172
|
+
path: '/g/collect?' + this.requestParameterStringified,
|
|
173
|
+
headers: {
|
|
174
|
+
// The below is needed for tech details to be collected even though we provide our own information from the OS Node.js module
|
|
175
|
+
'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36',
|
|
176
|
+
},
|
|
177
|
+
}, (response) => {
|
|
178
|
+
// The below is needed as otherwise the response will never close which will cause the CLI not to terminate.
|
|
179
|
+
response.on('data', () => { });
|
|
180
|
+
if (response.statusCode !== 200 && response.statusCode !== 204) {
|
|
181
|
+
reject(new Error(`Analytics reporting failed with status code: ${response.statusCode}.`));
|
|
182
|
+
}
|
|
183
|
+
else {
|
|
184
|
+
resolve();
|
|
185
|
+
}
|
|
186
|
+
});
|
|
187
|
+
request.on('error', reject);
|
|
188
|
+
const queryParameters = data.map((p) => querystring.stringify(p)).join('\n');
|
|
189
|
+
request.write(queryParameters);
|
|
190
|
+
request.end();
|
|
191
|
+
});
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
exports.AnalyticsCollector = AnalyticsCollector;
|
|
195
|
+
//# sourceMappingURL=analytics-collector.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"analytics-collector.js","sourceRoot":"","sources":["analytics-collector.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGH,6CAAyC;AACzC,kDAAoC;AACpC,4CAA8B;AAC9B,8DAAgD;AAChD,+CAAiC;AACjC,0EAA2D;AAC3D,8CAAmD;AACnD,kDAA+C;AAC/C,iEAMgC;AAEhC,MAAM,gBAAgB,GAAG,cAAc,CAAC;AACxC,MAAM,mBAAmB,GAAG,cAAc,CAAC;AAE3C,MAAa,kBAAkB;IAMnB;IALF,mBAAmB,CAA2D;IACrE,2BAA2B,CAAS;IACpC,cAAc,CAA0D;IAEzF,YACU,MAAsB,EAC9B,MAAc,EACd,kBAAiE;QAFzD,WAAM,GAAN,MAAM,CAAgB;QAI9B,MAAM,iBAAiB,GAAsD;YAC3E,CAAC,uCAAgB,CAAC,eAAe,CAAC,EAAE,CAAC;YACrC,CAAC,uCAAgB,CAAC,QAAQ,CAAC,EAAE,MAAM;YACnC,CAAC,uCAAgB,CAAC,MAAM,CAAC,EAAE,MAAM;YACjC,CAAC,uCAAgB,CAAC,UAAU,CAAC,EAC3B,iBAAiB,CAAC,IAAI,CAAC,iBAAO,CAAC,IAAI,CAAC,IAAI,iBAAO,CAAC,IAAI,KAAK,OAAO;gBAC9D,CAAC,CAAC,gBAAgB;gBAClB,CAAC,CAAC,mBAAmB;YAEzB,2BAA2B;YAC3B,CAAC,uCAAgB,CAAC,SAAS,CAAC,EAAE,IAAA,wBAAU,GAAE;YAC1C,CAAC,uCAAgB,CAAC,qBAAqB,CAAC,EAAE,EAAE,CAAC,IAAI,EAAE;YACnD,CAAC,uCAAgB,CAAC,iBAAiB,CAAC,EAAE,EAAE,CAAC,QAAQ,EAAE;YACnD,CAAC,uCAAgB,CAAC,wBAAwB,CAAC,E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