-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Should not overwrite workspace:*
when release ( pnpm workspace )
#48
Comments
It looks like this is your first issue. Welcome! 👋 One of the project maintainers will be with you as soon as possible. We appreciate your patience. To safeguard the health of the project, please take a moment to read our code of conduct. |
workspace:*
when release ( pnpm workspace )
Hey @zigang93, this not really possible, the npm registry needs this version information to know how to handle npm packages dependencies. One "maybe" working way would be that you could add a new step after semantic-release that rewrites the version that was add before the "semantic-release-git" do a push to your repo back. Or you can use the pnpm overwrite in you root package.json to make this overwrite so this will work like the "workspace:*" in you packages Example: "pnpm": {
"overrides": {
"@visulima/pail": "workspace:*",
},
}, |
@prisis I don't care about npm register to publish, all my app/package is private. how can I just do some patch? can u help me which line of code to stop this behavior? I can use |
Hey :), it should be around this function semantic-release/packages/multi-semantic-release/lib/update-deps.js Lines 70 to 89 in 173e5c6
|
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Pre-Checks
Describe the bug
I wonder how to prevent overwrite
workspace:*
?example:
package-a ( v1.0.0 )
app's package.json after release
"package-a": "workspace:*"
to"package-a": "1.0.0"
Minimal reproduction code
No response
Additional Context
No response
Environment Info
Which module system do you use?
Used Package Manager
pnpm
Upvote & Fund
The text was updated successfully, but these errors were encountered: