pgsandstrom / package-json-upgrade

MIT License
49 stars 10 forks source link

Request: support workspaces. #43

Open sanderkooger opened 1 year ago

sanderkooger commented 1 year ago

Our project is configured ad a monorepo using Pnpm workspaces.

in our projects we import local packages like so

image

We would like to see these resolve to the version in our local package.

alexbit-codemod commented 3 months ago

+1 i love this project. hope this gets prioritized. and also the brand new feature in pnpm: catalog!

Screenshot 2024-07-10 at 7 31 17 PM

pgsandstrom commented 3 months ago

This seems like a great feature. I might get around to it eventually, but I'm quite busy. I would be very appreciate of a PR.

adamalfredsson commented 2 months ago

I'm also interested in pnpm workspace catalog support and opened a PR #54 which is somewhat related. I'm curious about what is requested with this issue though. What is the desired outcome exactly? Should the "Dependency not found" or "Failed to parse version" warnings be removed? Should it validate if there is a local dependency that satisfies the constraint?