Add more support to yarn create
See original GitHub issueYarn 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
Issue Analytics
- State:
- Created 5 years ago
- Reactions:4
- Comments:7 (2 by maintainers)
Top Results From Across the Web
yarn create
Creates new projects from any create-* starter kits. yarn create <starter-kit-package> [<args>]. This command is a shorthand that helps you do two things...
Read more >How To Install and Use the Yarn Package Manager for Node.js
First you install the yarn command globally, then you use the global yarn command to install a specific local version of Yarn into...
Read more >Create a custom YARN service | CDP Public Cloud
On the Services page of the YARN Web User Interface, click New Service. · Click the Custom tab. · In the User name...
Read more >Running Spark on YARN - Spark 3.3.1 Documentation
Support for running on YARN (Hadoop NextGen) was added to Spark in version 0.6.0, and improved ... See the configuration page for more...
Read more >How to Install Yarn on Ubuntu {With Screenshots} - phoenixNAP
Create a New Yarn Project · Add a Dependency to Your Project · Upgrade a Yarn Dependency · Remove a Yarn Dependency ·...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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:
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.We were able to take ownership of the
create-angular
package, which is howyarn create angular
would actually be implemented. Currently this package is empty, so we’ll need to push a new version that just runsng new
. Hopefully we can do a simple one-off publish, but we might need to include this in our usual release cycle (sadlynpx
is not installed by default withyarn
, so we can’t justnpx @angular/cli@latest new
).