Skip to content

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

@jjenzz

Description

@jjenzz

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

  • add a workspace:* protocol to a package in peerDependencies
  • run auto shipit

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions