intuit / auto

Generate releases based on semantic version labels on pull requests.
https://intuit.github.io/auto/
MIT License
2.25k stars 203 forks source link

workspace protocol in `peerDependencies` isn't replaced with `shipit` #2462

Open jjenzz opened 4 months ago

jjenzz commented 4 months ago

Describe the bug

i am using the workspace:* protocol to manage deps in my monorepo. it gets replaced correctly in dependencies and devDependencies when i run auto shipit but not in peerDependencies.

here is an example package.json from when i was using changesets, and here is an example of a package.json shipped with auto.

To Reproduce

Expected behavior

i expected the workspace protocol to be replaced for all dependencies

Screenshots

https://www.npmjs.com/package/@tokenami/css/v/0.0.45?activeTab=code

Environment information:

"auto" version: v11.1.6
"git"  version: v2.39.3 (Apple Git-146)
"node" version: v21.7.3

Project Information:

✔ Repository:      tokenami/tokenami
✔ Author Name:     Jenna Smith
✔ Author Email:    175330+jjenzz@users.noreply.github.com
✔ Current Version: v0.0.47
✔ Latest Release:  v0.0.47

✔ Labels configured on GitHub project 

GitHub Token Information:

✔ Token:            [Token starting with ghp_]
✔ Repo Permission:  admin
✔ User:             jjenzz
✔ API:              
✔ Enabled Scopes:   repo, write:packages
✔ Rate Limit:       4954/5000
jjenzz commented 4 months ago

looks like a lerna issue, and i see there are attempts to move the lerna peerDependency to the all-contributors plugin only so this might not be relevant then.