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

Add pnpm.onlyBuiltDependencies field to package.json #1016

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

holazz
Copy link

@holazz holazz commented Mar 1, 2025

pnpm 10 blocks lifecycle scripts by default.

https://github.com/pnpm/pnpm/releases/tag/v10.0.0

Copy link

vercel bot commented Mar 1, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
next-learn-starter ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 3, 2025 2:31pm
next-seo-starter ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 3, 2025 2:31pm

Copy link

vercel bot commented Mar 1, 2025

@holazz is attempting to deploy a commit to the Vercel Team on Vercel.

A member of the Team first needs to authorize it.

@w0244079
Copy link

w0244079 commented Mar 3, 2025

@holazz I can confirm also that this is needed....however when i run "pnpm approve-builds" to add the onlyBuiltDependencies it also lists the 'sharp' library...I'm assuming for image manipulation...

"pnpm": {
"onlyBuiltDependencies": [
"bcrypt",
"sharp"
]
}

might be good to add sharp as well.

Thanks!

@holazz
Copy link
Author

holazz commented Mar 3, 2025

@holazz I can confirm also that this is needed....however when i run "pnpm approve-builds" to add the onlyBuiltDependencies it also lists the 'sharp' library...I'm assuming for image manipulation...

"pnpm": { "onlyBuiltDependencies": [ "bcrypt", "sharp" ] }

might be good to add sharp as well.

Thanks!

Yes!

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