npm run release -- --first-release, what does -- mean?
zzzgit opened this issue · 2 comments
zzzgit commented
npm run release -- --first-release
What does -- mean here?
creativemind1 commented
I just did this.. It will print the first log without bumping your given version in package.json
jasonmobley commented
What does
--
mean here?
It is how you tell the npm
command to pass all subsequent arguments script you're running, i.e. standard-version. Otherwise the --first-release
flag would be interpreted by npm itself rather than being passed along to standard-version.