-
Notifications
You must be signed in to change notification settings - Fork 107
Closed
Description
it should be possible to run a dedupe instead of a lockfile delete with most package managers. The topic came up in the office-hours 2 weeks ago. I thought I would put together here how and whether this could be implemented
Package manager support
npm
npm should have build in dedupe https://docs.npmjs.com/cli/v10/commands/npm-dedupe
pnpm
yarn
https://yarnpkg.com/cli/dedupe
bun
planned: oven-sh/bun#8594 (comment)
nuxi upgrade
nuxi upgradeshould prompt if user wants to dedupe lockfile, recreate lockfile or just updatenuxtnuxi upgrade --dedupeshould skip prompt and dedupe lockfile if supported. Should fallback tonuxi upgradeif not supported and warn user--forceshould have higher priority than--dedupe- (
--forcecould inform the user if--dedupeis supported)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels