-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with resolving pnpm
's workspace:*
references
#130
Comments
a "hack" for those that also stumble upon this: I am using the following step for GitHub Actions to publish without the workspace being apart of the upstream dependency by removing it in each of the packages with
|
As you point out, this has to do with Feel free to reopen if you have any ideas. In the meantime, @platojh's workaround should be sufficient? |
Looks like there's an idea here: #132 |
Hello there. I have an issue managing packages in pnpm monorepo if they have some references to the other workspace packages through aliases.
Let's say, there's a package called
package2
, and it has its workspace-peer in the dependencies:After the publishing via
semantic-release-monorepo
, I receive following error trying to installpackage2
in some other project, as a result:As I understand, the problem is that
pnpm
converts such "cross-dependency" references into regular deps within itspublish
command, butsemantic-release
doesn't.Now, after the very first release, I replace these "workspace:*" references with actual freshly-released versions, and it works ofc... But it doesn't seem right.
Any advice?
The text was updated successfully, but these errors were encountered: