René's URL Explorer Experiment


Title: Specify multiple default collections · Issue #12157 · angular/angular-cli · GitHub

Open Graph Title: Specify multiple default collections · Issue #12157 · angular/angular-cli

X Title: Specify multiple default collections · Issue #12157 · angular/angular-cli

Description: From @jeffbcross on October 31, 2017 22:4 Bug Report or Feature Request (mark with an x) - [ ] bug report -> please search issues before submitting - [x] feature request Area - [] devkit - [x] schematics Desired functionality It'd be nic...

Open Graph Description: From @jeffbcross on October 31, 2017 22:4 Bug Report or Feature Request (mark with an x) - [ ] bug report -> please search issues before submitting - [x] feature request Area - [] devkit - [x] sche...

X Description: From @jeffbcross on October 31, 2017 22:4 Bug Report or Feature Request (mark with an x) - [ ] bug report -> please search issues before submitting - [x] feature request Area - [] devkit - [x] s...

Opengraph URL: https://github.com/angular/angular-cli/issues/12157

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Specify multiple default collections","articleBody":"_From @jeffbcross on October 31, 2017 22:4_\n\n\u003c!--\r\nIF YOU DON'T FILL OUT THE FOLLOWING INFORMATION YOUR ISSUE MIGHT BE CLOSED WITHOUT INVESTIGATING\r\n-->\r\n### Bug Report or Feature Request (mark with an `x`)\r\n```\r\n- [ ] bug report -> please search issues before submitting\r\n- [x] feature request\r\n```\r\n\r\n### Area\r\n```\r\n- [] devkit\r\n- [x] schematics\r\n```\r\n\r\n### Desired functionality\r\nIt'd be nice to have multiple collections configured in my CLI project instead of a single default collection. I.e. I'd like to have a project that gives preference to `nrwl/schematics` but will fall back to `angular/schematics` if I try to generate something not provided by `nrwl/schematics`. This would make it easier to publish many focused schematics without requiring the user to specify the collection each time they're generating something new. My naive suggestion is to change the `.angular-cli.json` schema from a single `collection` value to a cascading array of `collections` like so:\r\n\r\n```json\r\n\"defaults\": {\r\n  \"collection\": \"nrwl/schematics\"\r\n}\r\n```\r\n\r\n```json\r\n\"defaults\": {\r\n  \"collections\": [\r\n    \"nrwl/schematics\",\r\n    \"angular/schematics\"\r\n  ]\r\n}\r\n```\r\n\r\nThen when calling `ng generate`, schematics would use the first collection that provides a matching schematic.\r\n\r\nThis issue seems cross-cutting between CLI and Schematics, so I thought this repository was the most appropriate place to open it, but lmk if I should open it on angular/angular-cli.\r\n\r\n(This may seem similar to #34, but it's more focused on end user experience than schematics author experience).\r\n\n\n_Copied from original issue: angular/devkit#249_","author":{"url":"https://github.com/alexeagle","@type":"Person","name":"alexeagle"},"datePublished":"2018-09-05T00:21:39Z","url":"https://github.com/angular/angular-cli/issues/12157"}

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/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:d3824349-1ec2-ad01-b54b-709b4bf11730
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD66E:1D8AA1:14CBB69:1B5AB7A:6B011F65
html-safe-nonce7631417f499e86900d0e4cb3954bafad57bf0b489f81ea8bb45fe0e2d5803d9f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENjZFOjFEOEFBMToxNENCQjY5OjFCNUFCN0E6NkIwMTFGNjUiLCJ2aXNpdG9yX2lkIjoiMjIyMjcyMDM3MDAzNTcyODIyOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacad88db7aa4bc7e4475df878807b20c32129a3a88f85d0c803687394c7a79f7a9
hovercard-subject-tagissue:357021436
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular-cli/12157/issue_layout
twitter:imagehttps://opengraph.githubassets.com/9f229728f85acff1e8b44f2991d06fda986189e75e62b672a1551190b12c83ec/angular/angular-cli/issues/12157
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9f229728f85acff1e8b44f2991d06fda986189e75e62b672a1551190b12c83ec/angular/angular-cli/issues/12157
og:image:altFrom @jeffbcross on October 31, 2017 22:4 Bug Report or Feature Request (mark with an x) - [ ] bug report -> please search issues before submitting - [x] feature request Area - [] devkit - [x] sche...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamealexeagle
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
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
disable-turbofalse
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
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/angular-cli/issues/12157#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fissues%2F12157
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%2Fissues%2F12157
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=angular%2Fangular-cli
Reloadhttps://github.com/angular/angular-cli/issues/12157
Reloadhttps://github.com/angular/angular-cli/issues/12157
Reloadhttps://github.com/angular/angular-cli/issues/12157
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
https://github.com/angular/angular-cli
New issuehttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/12157
New issuehttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/12157
#22860https://github.com/angular/angular-cli/pull/22860
Specify multiple default collectionshttps://github.com/angular/angular-cli/issues/12157#top
#22860https://github.com/angular/angular-cli/pull/22860
https://github.com/alan-agius4
area: @angular/clihttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22area%3A%20%40angular%2Fcli%22
featureLabel used to distinguish feature request from other issueshttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22feature%22
feature: under considerationFeature request for which voting has completed and the request is now under considerationhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22feature%3A%20under%20consideration%22
needsTriagehttps://github.com/angular/angular-cli/milestone/11
https://github.com/alexeagle
alexeaglehttps://github.com/alexeagle
on Sep 5, 2018https://github.com/angular/angular-cli/issues/12157#issue-357021436
@jeffbcrosshttps://github.com/jeffbcross
#34https://github.com/angular/angular-cli/issues/34
angular/devkit#249https://github.com/angular/devkit/issues/249
alexeaglehttps://github.com/alexeagle
hanslhttps://github.com/hansl
on Sep 5, 2018https://github.com/angular/angular-cli/issues/12157#event-1826613132
alexeaglehttps://github.com/alexeagle
featureLabel used to distinguish feature request from other issueshttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22feature%22
on Sep 5, 2018https://github.com/angular/angular-cli/issues/12157#event-1826613135
https://github.com/alexeagle
alexeaglehttps://github.com/alexeagle
on Sep 5, 2018https://github.com/angular/angular-cli/issues/12157#issuecomment-418558863
@tomastrajanhttps://github.com/tomastrajan
https://user-images.githubusercontent.com/3764868/33513048-737f5742-d78f-11e7-9f3f-23cbe069464f.png
https://user-images.githubusercontent.com/3764868/33513049-73e5c234-d78f-11e7-9a2d-b621b9308b25.png
https://user-images.githubusercontent.com/3764868/33513050-74175704-d78f-11e7-8ac0-08f3897fdcac.png
https://github.com/alexeagle
alexeaglehttps://github.com/alexeagle
on Sep 5, 2018https://github.com/angular/angular-cli/issues/12157#issuecomment-418558865
@tomastrajanhttps://github.com/tomastrajan
@jeffbcrosshttps://github.com/jeffbcross
@hanslhttps://github.com/hansl
https://github.com/alexeagle
alexeaglehttps://github.com/alexeagle
on Sep 5, 2018https://github.com/angular/angular-cli/issues/12157#issuecomment-418558868
@myspiveyhttps://github.com/myspivey
https://github.com/alexeagle
alexeaglehttps://github.com/alexeagle
on Sep 5, 2018https://github.com/angular/angular-cli/issues/12157#issuecomment-418558871
@Hotellhttps://github.com/Hotell
https://github.com/alexeagle
alexeaglehttps://github.com/alexeagle
on Sep 5, 2018https://github.com/angular/angular-cli/issues/12157#issuecomment-418558874
@tomastrajanhttps://github.com/tomastrajan
https://github.com/alexeagle
alexeaglehttps://github.com/alexeagle
on Sep 5, 2018https://github.com/angular/angular-cli/issues/12157#issuecomment-418558877
@Hotellhttps://github.com/Hotell
@tomastrajanhttps://github.com/tomastrajan
https://github.com/alexeagle
alexeaglehttps://github.com/alexeagle
on Sep 5, 2018https://github.com/angular/angular-cli/issues/12157#issuecomment-418558878
@clydinhttps://github.com/clydin
https://github.com/alexeagle
alexeaglehttps://github.com/alexeagle
on Sep 5, 2018https://github.com/angular/angular-cli/issues/12157#issuecomment-418558879
@clydinhttps://github.com/clydin
angular/devkit#398https://github.com/angular/devkit/pull/398
https://github.com/alexeagle
alexeaglehttps://github.com/alexeagle
on Sep 5, 2018https://github.com/angular/angular-cli/issues/12157#issuecomment-418558883
@james-schwartzkopfhttps://github.com/james-schwartzkopf
https://github.com/alexeagle
alexeaglehttps://github.com/alexeagle
on Sep 5, 2018https://github.com/angular/angular-cli/issues/12157#issuecomment-418558884
@hanslhttps://github.com/hansl
https://github.com/alexeagle
alexeaglehttps://github.com/alexeagle
on Sep 5, 2018https://github.com/angular/angular-cli/issues/12157#issuecomment-418558890
@james-schwartzkopfhttps://github.com/james-schwartzkopf
https://github.com/leon
leonhttps://github.com/leon
on Sep 26, 2019https://github.com/angular/angular-cli/issues/12157#issuecomment-535418003
leonhttps://github.com/leon
hanslhttps://github.com/hansl
on Sep 26, 2019https://github.com/angular/angular-cli/issues/12157#event-2664539780
https://github.com/Splaktar
Splaktarhttps://github.com/Splaktar
on Sep 26, 2019https://github.com/angular/angular-cli/issues/12157#issuecomment-535438627
https://github.com/greetclock
greetclockhttps://github.com/greetclock
on Mar 6, 2020https://github.com/angular/angular-cli/issues/12157#issuecomment-595773753
https://github.com/G-Cyrille
G-Cyrillehttps://github.com/G-Cyrille
on Apr 19, 2020https://github.com/angular/angular-cli/issues/12157#issuecomment-616165850
https://github.com/konradst
konradsthttps://github.com/konradst
on Sep 5, 2020https://github.com/angular/angular-cli/issues/12157#issuecomment-687587473
angular-robothttps://github.com/apps/angular-robot
feature: under considerationFeature request for which voting has completed and the request is now under considerationhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22feature%3A%20under%20consideration%22
on Feb 1, 2022https://github.com/angular/angular-cli/issues/12157#event-5990213520
alan-agius4https://github.com/alan-agius4
area: @angular/clihttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22area%3A%20%40angular%2Fcli%22
on Mar 3, 2022https://github.com/angular/angular-cli/issues/12157#event-6178947858
ngbothttps://github.com/apps/ngbot
needsTriagehttps://github.com/angular/angular-cli/milestone/11
on Mar 3, 2022https://github.com/angular/angular-cli/issues/12157#event-6178948103
alan-agius4https://github.com/alan-agius4
on Mar 3, 2022https://github.com/angular/angular-cli/issues/12157#event-6178948964
dgp1130https://github.com/dgp1130
alan-agius4https://github.com/alan-agius4
on Mar 10, 2022https://github.com/angular/angular-cli/issues/12157#event-6220011314
dgp1130https://github.com/dgp1130
completedhttps://github.com/angular/angular-cli/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#22860https://github.com/angular/angular-cli/pull/22860
on Mar 22, 2022https://github.com/angular/angular-cli/issues/12157#event-6285073865
dgp1130https://github.com/dgp1130
on Mar 22, 2022https://github.com/angular/angular-cli/issues/12157#event-6285075629
feat(@angular/cli): add support for multiple schematics collectionshttps://github.com/angular/angular-cli/commit/366cabc66c3dd836e2fdfea8dad6c4c7c2096b1d
https://docs.github.com/articles/closing-issues-via-commit-messages
366cabchttps://github.com/angular/angular-cli/commit/366cabc66c3dd836e2fdfea8dad6c4c7c2096b1d
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Apr 22, 2022https://github.com/angular/angular-cli/issues/12157#issuecomment-1106140191
automatic conversation locking policyhttps://github.com/angular/angular/blob/8f24bc9443b3872fe095d9f7f77b308a361a13b4/docs/GITHUB_PROCESS.md#conversation-locking
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Apr 22, 2022https://github.com/angular/angular-cli/issues/12157#event-6476472332
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular-cli/issues/12157
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/12157
alan-agius4https://github.com/alan-agius4
area: @angular/clihttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22area%3A%20%40angular%2Fcli%22
featureLabel used to distinguish feature request from other issueshttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22feature%22
feature: under considerationFeature request for which voting has completed and the request is now under considerationhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22feature%3A%20under%20consideration%22
needsTriageNo due datehttps://github.com/angular/angular-cli/milestone/11
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.