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

install dependencies directly, if lockfile present (without user input) #355

Closed
manuel3108 opened this issue May 11, 2024 · 0 comments · Fixed by #361
Closed

install dependencies directly, if lockfile present (without user input) #355

manuel3108 opened this issue May 11, 2024 · 0 comments · Fixed by #361
Labels
enhancement New feature or request

Comments

@manuel3108
Copy link
Member

Topic

core

Description

As discussed in #307, if we detect that a lockfile is present (like pnpm-lock.yaml or similar), we can safely assume that's the package manager the user is using. Therefore we should skip asking the user which package manager he wants to use.

If we however cannot safely detect a lockfile, we should ask the user which package manager he would like to use. This is how it is implemented now. This will probably mainly be used after creating new projects.

Describe the solution you'd like

Don't forget to think about monorepos and recursively checking the file path for a lockfile!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant