node: dist-tag not recorded in package.json
See original GitHub issueI’ve been using prerelease
s recently and versioning works great, but I noticed that when I set that property the publishConfig
tag
property does not get set. I imagine the --tag
flag is maybe getting used in a release workflow, but if you’re not using workflows, it would be nice for the supplied dist-tag to be tracked in the package.json.
Edit: I had prerelease
in my head, but what I really meant was the npmDistTag
option. prerelease
specifically handles version suffix, so I did not expect it to set the dist-tag. It is my expectation that npmDistTag
should, however, set the dist tag in a way that leads to a release being tagged with that dist-tag.
Is there a good reason it’s not being tracked in the package.json?
Issue Analytics
- State:
- Created a year ago
- Comments:10 (7 by maintainers)
Top Results From Across the Web
npm dist add not working · Issue #21 - GitHub
this is my command i keep trying to run and it won't work. npm dist-tag add test@1.0.1 latest here is the log: 0...
Read more >package.json - npm Docs
This document is all you need to know about what's required in your package.json file. It must be actual JSON, not just a...
Read more >How to point "latest" dist-tag to a previous version in npm?
I have a published project with a few dist-tags: "latest", "dev", and "beta". I know how to bump the version by doing npm...
Read more >Ubuntu Manpage: npm-install - Install a package
npm -install - Install a package Synopsis npm install (with no args, in package ... will install all modules listed as dependencies in...
Read more >npm packages in the Package Registry - GitLab Docs
Package JSON file is too large. Make sure that your package.json file does not exceed 20,000 characters. npm publish returns npm ERR!
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@mrgrain I’m not saying, that we cannot start and finalize the release process “in the Cloud”. I am going to find this out literally now with my team 😃
My sincere expectation is that once the Merge Request is merged into the
main
branch, the CI will take care of the release process 🤞Even if that configuration is not built by
projen
, having a straightforward action plan would be already a huge gain.Yes that certainly is a trade-off. I could see a
projen add <package>
happen in future, but it’s blocked by #356