-
Notifications
You must be signed in to change notification settings - Fork 238
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
[RRFC] workspace-tag-version-prefix
config
#570
Comments
Would |
I'd expect a single commit with multiple tags. |
in case we use a template system, it should probably also contain a value for version e.g: |
this is a prefix so it's assumed version is the end so |
good point @wraithgar I believe you're right, in case it's a prefix, it should just end at the v |
Multiple commits |
I would like to see that as a default behavior which can be overwritten with a specific flag (like Possible usecase: In case of our company project we have a monorepo which deploys an API and releases a npm package (for connecting to this api and several more) at the same time, because they will be no cases where only one of both should be updated - we bundle it in one pipeline with tests and everything related triggered by tags. |
in case additional prior art is useful, semantic-release-monorepo uses a pattern of example: |
(doesn't work with workspaces: npm/rfcs#570)
I would like to suggest the tried-and-true
Also, this may be out of scope (slightly within scope, since
None of my suggestions have to be taken in the final form, but I thought I would just brain dump my ideas here to see if anything sticks 😊 |
Motivation ("The Why")
See npm/cli#4017 (comment) -
npm version
should be able to work inside workspaces.Example
See the OP in npm/cli#4017.
I think adding an npm config of
workspace-tag-version-prefix
, which defaults to[$workspaceName]
- which would result in a tag of[foo] v1.2.3
, for example - should address the need.The text was updated successfully, but these errors were encountered: