Bump package version only on build outputs and not in source #4866
SebastienGllmt
started this conversation in
Ideas
Replies: 1 comment
-
I guess, you tried You could try creating a middleware plugin that intercepts the publish request which contains |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem?
To work properly with package manages (npm/pnpm/yarn), new code for a package should always be accompanies with a new version number
However, I use Verdaccio to quickly iterate on my package locally and therefore I do NOT want a new version number for my package every single time I want to do integration tests of my work. Notably, solutions that
new Date().getTime()
to my package version every build also are very annoying as they cause a bunch of git diffs which I have to remember to undo when I publish my to avoid creating a bunch of git conflicts with the rest of my team.Describe the solution you'd like
A way to bump the version number of my package (ex: appending
new Date().getTime()
) but ONLY in Verdaccio's view of the package and not actually on diskDescribe alternatives you've considered
Changes could be made in the package managers to alleviate this instead of making a code change in Verdaccio. See pnpm/pnpm#8578
Beta Was this translation helpful? Give feedback.
All reactions