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

templates: fix compatibility with pnpm 10 #10830

Merged
merged 1 commit into from
Jan 29, 2025
Merged

templates: fix compatibility with pnpm 10 #10830

merged 1 commit into from
Jan 29, 2025

Conversation

r1tsuu
Copy link
Member

@r1tsuu r1tsuu commented Jan 27, 2025

Fixes #10813
In pnpm 10 (which isn't "latest" yet), according to the list of breaking changes:

Lifecycle scripts of dependencies are not executed during installation by default! This is a breaking change aimed at increasing security. In order to allow lifecycle scripts of specific dependencies, they should be listed in the pnpm.onlyBuiltDependencies field of package.json

The sharp package uses a script to install native binaries and so our templates don't run out of the box with pnpm 10.

@r1tsuu r1tsuu merged commit 3094c92 into main Jan 29, 2025
22 checks passed
@r1tsuu r1tsuu deleted the fix/sharp branch January 29, 2025 13:58
Copy link
Contributor

🚀 This is included in version v3.20.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Windows] template not working
3 participants