-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
feat: set pkgJson.packageManager
on init?
#1538
Labels
🌟 enhancement
New feature or request
👨👦👦free for all
Anyone is free to take on this issue and file a PR
Comments
sounds good, open to PRs on this |
xonx4l
added a commit
to xonx4l/create-t3-app
that referenced
this issue
Aug 19, 2023
an solution to pr -:t3-oss#1538
3 tasks
Waiting for your thoughts on this @juliusmarminge . |
Submit a PR! |
3 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
🌟 enhancement
New feature or request
👨👦👦free for all
Anyone is free to take on this issue and file a PR
Is your feature request related to a problem? Please describe.
the
packageManager
field inpackage.json
is used by things like corepack and github actions. it's very annoying when that field isn't setDescribe the solution you'd like to see
automatically add the field on project init. probably use the current version of the package manager that the user is using (simple parse on
npm -v
,pnpm -v
oryarn -v
depending on the user agent)Describe alternate solutions
not doing it, shifting the responsibility to the user
Additional information
No response
The text was updated successfully, but these errors were encountered: