Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search schematics #22287

Closed
1 task done
dgp1130 opened this issue Dec 2, 2021 · 2 comments
Closed
1 task done

Search schematics #22287

dgp1130 opened this issue Dec 2, 2021 · 2 comments
Labels
area: @angular-devkit/schematics-cli feature Issue that requests a new feature
Milestone

Comments

@dgp1130
Copy link
Collaborator

dgp1130 commented Dec 2, 2021

🚀 Feature request

Command (mark with an x)

  • generate

Description

In an Angular Nation discussion today, it came up that it can be difficult to discover schematics due to the lack of a centralized registry. The closest things that exists are probably NPM and GitHub, which tend to be tagged "schematics" by convention, which is not intuitive to look for. The lack of discoverability makes it harder for user schematics to find their users beyond simple word of mouth.

Describe the solution you'd like

We should consider some kind of search functionality (either within the Angular CLI ng add --search or something in schematics directly) which looks for compatible packages on NPM. "Compatible" packages could be identified by inspecting the contents for the relevant JSON files or just looking for a "schematics" tag. Using a specific tag in the CLI could also help the community standardize on a particular convention to improve consistency. This could help improve discoverability of schematics.

Describe alternatives you've considered

The most obvious workaround is to search for schematics via your favorite search engine or directly on NPM. These are reasonable approaches, but will vary wildly in quality and may not be obvious to many devs who may not know what tags to search for.

@dgp1130 dgp1130 added feature Issue that requests a new feature area: @angular-devkit/schematics-cli labels Dec 2, 2021
@ngbot ngbot bot modified the milestone: Backlog Dec 2, 2021
@dgp1130
Copy link
Collaborator Author

dgp1130 commented Dec 2, 2021

I just realized #10000 discusses this same topic and put a lot more thought into it than I have.

Duplicate of #10000.

@dgp1130 dgp1130 closed this as completed Dec 2, 2021
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Jan 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: @angular-devkit/schematics-cli feature Issue that requests a new feature
Projects
None yet
Development

No branches or pull requests

1 participant