Skip to content
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

fix: replace version number for namespaced workspace packages #6052

Conversation

dschmidt
Copy link
Contributor

@dschmidt dschmidt commented Feb 7, 2023

Without this patch workspace:@foo/bar@* is replaced by npm:@foo/bar@* on publish, i.e. the * is not replaced by the actual version number from @foo/bar's package.json.

Without this patch 'workspace:@foo/bar@*' is replaced by 'npm:@foo/bar@*' on publish,
i.e. the * is not replaced by the actual version number from @foo/bar's package.json.
@welcome
Copy link

welcome bot commented Feb 7, 2023

💖 Thanks for opening this pull request! 💖
Please be patient and we will get back to you as soon as we can.

@zkochan
Copy link
Member

zkochan commented Feb 7, 2023

add a test, please

and change sets

@zkochan zkochan enabled auto-merge (squash) February 8, 2023 02:17
@dschmidt dschmidt mentioned this pull request Feb 8, 2023
12 tasks
@zkochan zkochan disabled auto-merge February 8, 2023 12:19
@zkochan zkochan merged commit b71c6ed into pnpm:main Feb 8, 2023
@welcome
Copy link

welcome bot commented Feb 8, 2023

Congrats on merging your first pull request! 🎉🎉🎉

zkochan added a commit that referenced this pull request Feb 8, 2023
Without this patch 'workspace:@foo/bar@*' is replaced by 'npm:@foo/bar@*' on publish,
i.e. the * is not replaced by the actual version number from @foo/bar's package.json.

Co-authored-by: Zoltan Kochan <z@kochan.io>
@zkochan zkochan added this to the v7.27 milestone Feb 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants