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

Remove packageManager property from the template's package.json if it differs from the selected package manager. #101

Open
beeman opened this issue Jan 10, 2025 · 0 comments

Comments

@beeman
Copy link
Collaborator

beeman commented Jan 10, 2025

The task that installs the dependencies should remove the packageManager from package.json if it exists and it's not the same as the selected package manager. If the script decides to remove it, it should print a message to the console to warn about potential incompatibilities.

This prevents issues like #100 and will make the tool compatible with more templates as currently, package managers like yarn and pnpm will error if they find this property and are incompatible with it.

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

No branches or pull requests

1 participant