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

refactor(create): detects pkgManager for run instructions #1990

Merged
merged 1 commit into from
Feb 12, 2021

Conversation

rschristian
Copy link
Contributor

This change allows create-app to determine which package manager is used and output run instructions only for that manager. If a user runs yarn create ... then they don't really need to see NPM install / run instructions.

The regex test is for yarn so that npx @vitejs/create-app still works and gives the correct (npm) output.

@yyx990803 yyx990803 merged commit 2b39f58 into vitejs:main Feb 12, 2021
@rschristian rschristian deleted the refactor/creationPkgManager branch February 12, 2021 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants