René's URL Explorer Experiment


Title: feat(@angular/cli): add support for multiple schematics collections by alan-agius4 · Pull Request #22860 · angular/angular-cli · GitHub

Open Graph Title: feat(@angular/cli): add support for multiple schematics collections by alan-agius4 · Pull Request #22860 · angular/angular-cli

X Title: feat(@angular/cli): add support for multiple schematics collections by alan-agius4 · Pull Request #22860 · angular/angular-cli

Description: The schematicCollections can be placed under the cli option in the global .angular.json configuration, at the root or at project level in angular.json . { "$schema": "./node_modules/@angular/cli/lib/config/schema.json", "version": 1, "cli": { "schematicCollections": ["@schematics/angular", "@angular/material"] } // ... } Rationale When this option is not configured and a user would like to run a schematic which is not part of @schematics/angular, the collection name needs to be provided to ng generate command in the form of [collection-name:schematic-name]. This make the ng generate command too verbose for repeated usages. This is where schematicCollections comes handle. When adding @angular/material to the list of schematicCollections, the generate command will try to locate the schematic in the specified collections. ng generate navigation is equivalent to: ng generate @angular/material:navigation Conflicting schematic names When multiple collections have a schematic with the same name. Both ng generate and ng new will run the first schematic matched based on the ordering (as specified) of schematicCollections. DEPRECATED: The defaultCollection workspace option has been deprecated in favor of schematicCollections. Before "defaultCollection": "@angular/material" After "schematicCollections": ["@angular/material"] Closes #12157

Open Graph Description: The schematicCollections can be placed under the cli option in the global .angular.json configuration, at the root or at project level in angular.json . { "$schema": "./node_module...

X Description: The schematicCollections can be placed under the cli option in the global .angular.json configuration, at the root or at project level in angular.json . { "$schema": "....

Opengraph URL: https://github.com/angular/angular-cli/pull/22860

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:3c5aad84-fe7a-b26d-5d62-ce14f979062d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE0EE:28815B:14F50AF:1BDD958:6B0130BE
html-safe-nonce0eeb0b212ef38ef450e8f3b26325c436ad94cc27823a16d7974eb2ebbd2c8a52
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMEVFOjI4ODE1QjoxNEY1MEFGOjFCREQ5NTg6NkIwMTMwQkUiLCJ2aXNpdG9yX2lkIjoiNDI4NTU2MjQ2MTg3ODMwMDg2MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacc01bad930ab8a827b200f3012b490f505898997417b023b1ac01df608a50da48
hovercard-subject-tagpull_request:882478449
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/angular/angular-cli/pull/22860/files
twitter:imagehttps://avatars.githubusercontent.com/u/17563226?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/17563226?s=400&v=4
og:image:altThe schematicCollections can be placed under the cli option in the global .angular.json configuration, at the root or at project level in angular.json . { "$schema": "./node_module...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/angular/angular-cli git https://github.com/angular/angular-cli.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id36891867
octolytics-dimension-repository_nwoangular/angular-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id36891867
octolytics-dimension-repository_network_root_nwoangular/angular-cli
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/angular/angular-cli/pull/22860/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fpull%2F22860%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fpull%2F22860%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=angular%2Fangular-cli
Reloadhttps://github.com/angular/angular-cli/pull/22860/files
Reloadhttps://github.com/angular/angular-cli/pull/22860/files
Reloadhttps://github.com/angular/angular-cli/pull/22860/files
angularhttps://github.com/angular
angular-clihttps://github.com/angular/angular-cli
Codehttps://github.com/angular/angular-cli
Issues198 (198)https://github.com/angular/angular-cli/issues
Pull requests23 (23)https://github.com/angular/angular-cli/pulls
Actionshttps://github.com/angular/angular-cli/actions
Security and quality8 (8)https://github.com/angular/angular-cli/security
Insightshttps://github.com/angular/angular-cli/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fangular%2Fangular-cli%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fangular%2Fangular-cli%2Fissues%2Fnew%2Fchoose
dgp1130https://github.com/dgp1130
angular:masterhttps://github.com/angular/angular-cli/tree/master
Conversation 39 https://github.com/angular/angular-cli/pull/22860
Commits 2 https://github.com/angular/angular-cli/pull/22860/commits
Checks 0 https://github.com/angular/angular-cli/pull/22860/checks
Files changed https://github.com/angular/angular-cli/pull/22860/files
Please reload this pagehttps://github.com/angular/angular-cli/pull/22860/files
feat(@angular/cli): add support for multiple schematics collections https://github.com/angular/angular-cli/pull/22860/files#top
Show all changes 2 commits https://github.com/angular/angular-cli/pull/22860/files
2bda2f5 feat(@angular-devkit/schematics): add parameter to `listSchematicName… alan-agius4 Mar 18, 2022 https://github.com/angular/angular-cli/pull/22860/commits/2bda2f5909240ba03d1366cb4b21cb41faa8de9a
5d07279 feat(@angular/cli): add support for multiple schematics collections alan-agius4 Mar 22, 2022 https://github.com/angular/angular-cli/pull/22860/commits/5d0727910e29d1a006cc1a2c1ba123e4f3be5d95
Clear filters https://github.com/angular/angular-cli/pull/22860/files
Please reload this pagehttps://github.com/angular/angular-cli/pull/22860/files
Please reload this pagehttps://github.com/angular/angular-cli/pull/22860/files
schematic-collections-config.md https://github.com/angular/angular-cli/pull/22860/files#diff-fc73ac896796b0e37e4cbcadc18fc1716da1343f8bef3d6b893424a57ddbaa83
index.md https://github.com/angular/angular-cli/pull/22860/files#diff-76cbc428c9b9b7a608902a257263fabab154b9ef441205c3eceaf9bf023cdd19
index.md https://github.com/angular/angular-cli/pull/22860/files#diff-c1ce40f45affa97eb5a7fede905d4107cb8576cb3876e470b3acb22a39181789
workspace-schema.json https://github.com/angular/angular-cli/pull/22860/files#diff-eb96cc0e905d47076416b932e139a8f25be6dc92c94243e8b9fb0ac938986b70
schematics-command-module.ts https://github.com/angular/angular-cli/pull/22860/files#diff-8be78ba092f0e5bbc1107287037120c08d566d4856bfdf69188807f16151500d
cli.ts https://github.com/angular/angular-cli/pull/22860/files#diff-2196c0c0d0c3badafa233d0e2e43d633e8059652f1021f4c1605f025cccfd6e8
cli.ts https://github.com/angular/angular-cli/pull/22860/files#diff-48c50415b0bf774d5ebd436d8e23dbbdf10ee121a24b2612d2798891e84dd53b
cli.ts https://github.com/angular/angular-cli/pull/22860/files#diff-e71da5701e51933212e0bcc7260d8a02473dd928afb1b4e8d008be8df2d881d0
engine.ts https://github.com/angular/angular-cli/pull/22860/files#diff-a7dde8f13b53803830566e643ed1a14a7282a76a08c425bbf1f2184453f79f44
interface.ts https://github.com/angular/angular-cli/pull/22860/files#diff-880175e58f4d7851a8dcfffdcc830779685db071892f209633955c7cf153d887
fallback-engine-host.ts https://github.com/angular/angular-cli/pull/22860/files#diff-2bccbf4f2b6a03a97fc41ebfbdf438385b0f18538adf6893892d065421b6cc33
file-system-engine-host-base.ts https://github.com/angular/angular-cli/pull/22860/files#diff-c001c06aec3ddab55976bc0afa6978225f14f505cbbf36d5557adf6095a7eab9
file-system-engine-host_spec.ts https://github.com/angular/angular-cli/pull/22860/files#diff-fb70b6c78f09c8d818efba9589c7fca6cdf427c447fa1c21e67c333f6083797c
migration-collection.json https://github.com/angular/angular-cli/pull/22860/files#diff-b6370b7327a8c0b31b0c6736adf33d0fb671ebc4ad82ed0247c551d8ac87611d
replace-default-collection-option.ts https://github.com/angular/angular-cli/pull/22860/files#diff-488a7d9b09b1b1fc63265fb26990cfe12869bff17e085aff98997fd3394adbe2
replace-default-collection-option_spec.ts https://github.com/angular/angular-cli/pull/22860/files#diff-cdfdd301444750dc0a7b1a454fbdd05c4b0862fe147f5f37d54109df7505ddf1
workspace-models.ts https://github.com/angular/angular-cli/pull/22860/files#diff-15ae6659598d4085a6e89c51399950e056dddc736a2c78a0affd515d9feae072
help-output.ts https://github.com/angular/angular-cli/pull/22860/files#diff-1d00f8ad5741a6c3a5a0d8759f41011cc1ff640a953f5aad562a4ac6303b23db
schematics-collections.ts https://github.com/angular/angular-cli/pull/22860/files#diff-fc33c13a0b71c69d63d77cae7c14a196d455f7aaaa1069d21eb3edd30f0f0ecc
docs/specifications/schematic-collections-config.mdhttps://github.com/angular/angular-cli/pull/22860/files#diff-fc73ac896796b0e37e4cbcadc18fc1716da1343f8bef3d6b893424a57ddbaa83
View file https://github.com/angular/angular-cli/blob/5d0727910e29d1a006cc1a2c1ba123e4f3be5d95/docs/specifications/schematic-collections-config.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular-cli/pull/22860/{{ revealButtonHref }}
goldens/public-api/angular_devkit/schematics/src/index.mdhttps://github.com/angular/angular-cli/pull/22860/files#diff-76cbc428c9b9b7a608902a257263fabab154b9ef441205c3eceaf9bf023cdd19
View file https://github.com/angular/angular-cli/blob/5d0727910e29d1a006cc1a2c1ba123e4f3be5d95/goldens/public-api/angular_devkit/schematics/src/index.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular-cli/pull/22860/{{ revealButtonHref }}
https://github.com/angular/angular-cli/pull/22860/files#diff-76cbc428c9b9b7a608902a257263fabab154b9ef441205c3eceaf9bf023cdd19
https://github.com/angular/angular-cli/pull/22860/files#diff-76cbc428c9b9b7a608902a257263fabab154b9ef441205c3eceaf9bf023cdd19
https://github.com/angular/angular-cli/pull/22860/files#diff-76cbc428c9b9b7a608902a257263fabab154b9ef441205c3eceaf9bf023cdd19
https://github.com/angular/angular-cli/pull/22860/files#diff-76cbc428c9b9b7a608902a257263fabab154b9ef441205c3eceaf9bf023cdd19
https://github.com/angular/angular-cli/pull/22860/files#diff-76cbc428c9b9b7a608902a257263fabab154b9ef441205c3eceaf9bf023cdd19
https://github.com/angular/angular-cli/pull/22860/files#diff-76cbc428c9b9b7a608902a257263fabab154b9ef441205c3eceaf9bf023cdd19
https://github.com/angular/angular-cli/pull/22860/files#diff-76cbc428c9b9b7a608902a257263fabab154b9ef441205c3eceaf9bf023cdd19
goldens/public-api/angular_devkit/schematics/tools/index.mdhttps://github.com/angular/angular-cli/pull/22860/files#diff-c1ce40f45affa97eb5a7fede905d4107cb8576cb3876e470b3acb22a39181789
View file https://github.com/angular/angular-cli/blob/5d0727910e29d1a006cc1a2c1ba123e4f3be5d95/goldens/public-api/angular_devkit/schematics/tools/index.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular-cli/pull/22860/{{ revealButtonHref }}
https://github.com/angular/angular-cli/pull/22860/files#diff-c1ce40f45affa97eb5a7fede905d4107cb8576cb3876e470b3acb22a39181789
https://github.com/angular/angular-cli/pull/22860/files#diff-c1ce40f45affa97eb5a7fede905d4107cb8576cb3876e470b3acb22a39181789
packages/angular/cli/lib/config/workspace-schema.jsonhttps://github.com/angular/angular-cli/pull/22860/files#diff-eb96cc0e905d47076416b932e139a8f25be6dc92c94243e8b9fb0ac938986b70
View file https://github.com/angular/angular-cli/blob/5d0727910e29d1a006cc1a2c1ba123e4f3be5d95/packages/angular/cli/lib/config/workspace-schema.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular-cli/pull/22860/{{ revealButtonHref }}
https://github.com/angular/angular-cli/pull/22860/files#diff-eb96cc0e905d47076416b932e139a8f25be6dc92c94243e8b9fb0ac938986b70
https://github.com/angular/angular-cli/pull/22860/files#diff-eb96cc0e905d47076416b932e139a8f25be6dc92c94243e8b9fb0ac938986b70
https://github.com/angular/angular-cli/pull/22860/files#diff-eb96cc0e905d47076416b932e139a8f25be6dc92c94243e8b9fb0ac938986b70
https://github.com/angular/angular-cli/pull/22860/files#diff-eb96cc0e905d47076416b932e139a8f25be6dc92c94243e8b9fb0ac938986b70
packages/angular/cli/src/command-builder/schematics-command-module.tshttps://github.com/angular/angular-cli/pull/22860/files#diff-8be78ba092f0e5bbc1107287037120c08d566d4856bfdf69188807f16151500d
View file https://github.com/angular/angular-cli/blob/5d0727910e29d1a006cc1a2c1ba123e4f3be5d95/packages/angular/cli/src/command-builder/schematics-command-module.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular-cli/pull/22860/{{ revealButtonHref }}
https://github.com/angular/angular-cli/pull/22860/files#diff-8be78ba092f0e5bbc1107287037120c08d566d4856bfdf69188807f16151500d
https://github.com/angular/angular-cli/pull/22860/files#diff-8be78ba092f0e5bbc1107287037120c08d566d4856bfdf69188807f16151500d
https://github.com/angular/angular-cli/pull/22860/files#diff-8be78ba092f0e5bbc1107287037120c08d566d4856bfdf69188807f16151500d
https://github.com/angular/angular-cli/pull/22860/files#diff-8be78ba092f0e5bbc1107287037120c08d566d4856bfdf69188807f16151500d
https://github.com/angular/angular-cli/pull/22860/files#diff-8be78ba092f0e5bbc1107287037120c08d566d4856bfdf69188807f16151500d
https://github.com/angular/angular-cli/pull/22860/files#diff-8be78ba092f0e5bbc1107287037120c08d566d4856bfdf69188807f16151500d
packages/angular/cli/src/commands/config/cli.tshttps://github.com/angular/angular-cli/pull/22860/files#diff-2196c0c0d0c3badafa233d0e2e43d633e8059652f1021f4c1605f025cccfd6e8
View file https://github.com/angular/angular-cli/blob/5d0727910e29d1a006cc1a2c1ba123e4f3be5d95/packages/angular/cli/src/commands/config/cli.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular-cli/pull/22860/{{ revealButtonHref }}
https://github.com/angular/angular-cli/pull/22860/files#diff-2196c0c0d0c3badafa233d0e2e43d633e8059652f1021f4c1605f025cccfd6e8
https://github.com/angular/angular-cli/pull/22860/files#diff-2196c0c0d0c3badafa233d0e2e43d633e8059652f1021f4c1605f025cccfd6e8
packages/angular/cli/src/commands/generate/cli.tshttps://github.com/angular/angular-cli/pull/22860/files#diff-48c50415b0bf774d5ebd436d8e23dbbdf10ee121a24b2612d2798891e84dd53b
View file https://github.com/angular/angular-cli/blob/5d0727910e29d1a006cc1a2c1ba123e4f3be5d95/packages/angular/cli/src/commands/generate/cli.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular-cli/pull/22860/{{ revealButtonHref }}
https://github.com/angular/angular-cli/pull/22860/files#diff-48c50415b0bf774d5ebd436d8e23dbbdf10ee121a24b2612d2798891e84dd53b
https://github.com/angular/angular-cli/pull/22860/files#diff-48c50415b0bf774d5ebd436d8e23dbbdf10ee121a24b2612d2798891e84dd53b
https://github.com/angular/angular-cli/pull/22860/files#diff-48c50415b0bf774d5ebd436d8e23dbbdf10ee121a24b2612d2798891e84dd53b
https://github.com/angular/angular-cli/pull/22860/files#diff-48c50415b0bf774d5ebd436d8e23dbbdf10ee121a24b2612d2798891e84dd53b
https://github.com/angular/angular-cli/pull/22860/files#diff-48c50415b0bf774d5ebd436d8e23dbbdf10ee121a24b2612d2798891e84dd53b
https://github.com/angular/angular-cli/pull/22860/files#diff-48c50415b0bf774d5ebd436d8e23dbbdf10ee121a24b2612d2798891e84dd53b
https://github.com/angular/angular-cli/pull/22860/files#diff-48c50415b0bf774d5ebd436d8e23dbbdf10ee121a24b2612d2798891e84dd53b
Please reload this pagehttps://github.com/angular/angular-cli/pull/22860/files
https://github.com/angular/angular-cli/pull/22860/files#diff-48c50415b0bf774d5ebd436d8e23dbbdf10ee121a24b2612d2798891e84dd53b
Please reload this pagehttps://github.com/angular/angular-cli/pull/22860/files
Please reload this pagehttps://github.com/angular/angular-cli/pull/22860/files
Please reload this pagehttps://github.com/angular/angular-cli/pull/22860/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.