intuit / intuit/auto

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

Open
#2,462 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
2.5k
Forks
221
PR merge metrics
No merged PRs in 30d

Description

**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](https://www.npmjs.com/package/@tokenami/css/v/0.0.44?activeTab=code) is an example `package.json` from when i was using changesets, and [here](https://www.npmjs.com/package/@tokenami/css/v/0.0.45?activeTab=code) 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:**

```txt
"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
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.