Show HN: Workspace-updater can now hoist common deps

  • Posted 4 hours ago by smashah
  • 2 points
Hi HN,

For anyone using pnpm-workspace.yaml to manage your deps, you can now use the following command to automatically find duplicate dependencies that can be hoisted into `pnpm-workspace.yaml` file with

npx workspace-updater dupes

and in order to commit just add the -y flag, and you can resolve the conflicts to use the latest version using --resolve-latest.

Any feedback, ideas appreciated!

https://github.com/smashah/workspace-updater?tab=readme-ov-f...

0 comments