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

Add more support to yarn create #10339

Closed
sandhilt opened this issue Apr 14, 2018 · 7 comments · Fixed by #23492
Closed

Add more support to yarn create #10339

sandhilt opened this issue Apr 14, 2018 · 7 comments · Fixed by #23492
Labels
area: @angular/cli feature: insufficient votes Label to add when the not a sufficient number of votes or comments from unique authors feature Issue that requests a new feature
Milestone

Comments

@sandhilt
Copy link

sandhilt commented Apr 14, 2018

Yarn supports add "create-*" in global env and update automagically: https://yarnpkg.com/docs/cli/create/
Why don't create an alias? like yarn create angular-app ng-app

I use a command similar in npm with npx

npx @angular/cli new ng-app --minimal
@cmckni3
Copy link

cmckni3 commented Mar 27, 2019

This would be very nice. The package create-angular-app already exists on npm.

The create command supports namespaces as well though.

It could be something like:

yarn create @angular/cli my-app

This would require the cli to be published as @angular/create-cli as well.

Another option I like is yarn create @angular/app my-app which would require a @angular/create-app package to be published.

@cmckni3
Copy link

cmckni3 commented Mar 27, 2019

However, my initial thought is that yarn should have a generalized command and function like npx.

@alan-agius4 alan-agius4 added feature Issue that requests a new feature area: @angular/cli labels Oct 14, 2019
@ngbot ngbot bot added this to the Backlog milestone Oct 14, 2019
@alan-agius4
Copy link
Collaborator

Also related to #14292

@clydin clydin added needs: discussion On the agenda for team meeting to determine next steps triage #1 labels May 27, 2020
@dgp1130
Copy link
Collaborator

dgp1130 commented Jul 9, 2020

We were able to take ownership of the create-angular package, which is how yarn create angular would actually be implemented. Currently this package is empty, so we'll need to push a new version that just runs ng new. Hopefully we can do a simple one-off publish, but we might need to include this in our usual release cycle (sadly npx is not installed by default with yarn, so we can't just npx @angular/cli@latest new).

@dgp1130 dgp1130 removed the needs: discussion On the agenda for team meeting to determine next steps label Jul 9, 2020
@angular-robot angular-robot bot added the feature: votes required Feature request which is currently still in the voting phase label Feb 1, 2022
@angular-robot
Copy link
Contributor

angular-robot bot commented Feb 1, 2022

Just a heads up that we kicked off a community voting process for your feature request. There are 20 days until the voting process ends.

Find more details about Angular's feature request process in our documentation.

@ngbot ngbot bot modified the milestones: Backlog, needsTriage Feb 1, 2022
@angular-robot
Copy link
Contributor

angular-robot bot commented Feb 21, 2022

Thank you for submitting your feature request! Looks like during the polling process it didn't collect a sufficient number of votes to move to the next stage.

We want to keep Angular rich and ergonomic and at the same time be mindful about its scope and learning journey. If you think your request could live outside Angular's scope, we'd encourage you to collaborate with the community on publishing it as an open source package.

You can find more details about the feature request process in our documentation.

@angular-robot angular-robot bot added feature: insufficient votes Label to add when the not a sufficient number of votes or comments from unique authors and removed feature: votes required Feature request which is currently still in the voting phase labels Feb 21, 2022
alan-agius4 added a commit to alan-agius4/angular-cli that referenced this issue Jul 4, 2022
With this change we add support to scaffold  an Angular worksapce using `yarn create @angular` and `npm init @angular`. These shortcuts support all of the `ng-new` options.

Closes angular#10339 and closes angular#14292
alan-agius4 added a commit to alan-agius4/angular-cli that referenced this issue Jul 4, 2022
With this change we add support to scaffold  an Angular workspace using `yarn create @angular` and `npm init @angular`. These shortcuts support all of the `ng-new` options.

Closes angular#10339 and closes angular#14292
alan-agius4 added a commit to alan-agius4/angular-cli that referenced this issue Jul 4, 2022
With this change we add support to scaffold  an Angular workspace using `yarn create @angular` and `npm init @angular`. These shortcuts support all of the `ng-new` options.

Closes angular#10339 and closes angular#14292
alan-agius4 added a commit to alan-agius4/angular-cli that referenced this issue Jul 4, 2022
With this change we add support to scaffold  an Angular workspace using `yarn create @angular` and `npm init @angular`. These shortcuts support all of the `ng-new` options.

Closes angular#10339 and closes angular#14292
alan-agius4 added a commit to alan-agius4/angular-cli that referenced this issue Jul 4, 2022
With this change we add support to scaffold  an Angular workspace using `yarn create @angular` and `npm init @angular`. These shortcuts support all of the `ng-new` options.

Closes angular#10339 and closes angular#14292
alan-agius4 added a commit to alan-agius4/angular-cli that referenced this issue Jul 4, 2022
With this change we add support to scaffold  an Angular workspace using `yarn create @angular` and `npm init @angular`. These shortcuts support all of the `ng-new` options.

Closes angular#10339 and closes angular#14292
alan-agius4 added a commit to alan-agius4/angular-cli that referenced this issue Jul 12, 2022
With this change we add support to scaffold  an Angular workspace using `yarn create @angular` and `npm init @angular`. These shortcuts support all of the `ng-new` options.

Closes angular#10339 and closes angular#14292
dgp1130 pushed a commit that referenced this issue Jul 12, 2022
With this change we add support to scaffold  an Angular workspace using `yarn create @angular` and `npm init @angular`. These shortcuts support all of the `ng-new` options.

Closes #10339 and closes #14292
@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 Aug 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: @angular/cli feature: insufficient votes Label to add when the not a sufficient number of votes or comments from unique authors feature Issue that requests a new feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants