Closed ericclemmons closed 8 years ago
Here's another reference:
Personally, I like npm version v1.2.3
for explicitness.
See: npm/npm#3059 where npm install
inexplicably runs npm preinstall
. :shrug:
If this were to "auto-version", it'd be something like this:
desc
, & pruned by those with no more open issues (e.g. https://api.github.com/repos/ericclemmons/reload-server-webpack-plugin/milestones?state=all&sort=completeness&direction=desc)$npm_config_package_version
or whatever differs from the latest tag, then the Travis runs npm version $tag
.That's about it. In the future, this could "close" the Milestone, since it's been released.
Also, should we force package.json
files
? Otherwise, it's possible for there to be a huge amount of crap unless the user is on top of it.
I'm interested in contributing to this.
As to your last comment: It might not be a bad idea to make this pluggable. That way users can install their specific plugins for their respective build tools to set the new version.
The community will be responsible for building these as the need arises.
@comamitc Interesting! Something we should discuss some more. It'll probably be a bit opinionated, as I just attempted to use https://github.com/semantic-release/semantic-release several times but didn't care for the workflow.
Regarding pluggable, I figured we'd be able to rely on:
npm
and, therefore, package.json
.npm version
for releasing a specific version.npm publish
for publishing. Remember, this doesn't necessarily have to post to NPM! It can also deploy to Tutum, for example.Re: files
- That's too opinionated. I found from experience it's useful (for me), but primarily for open-source projects only (that get published to NPM).
Either way, I definitely want to talk through action steps and we can nail down the workflow, then the pieces missing. (And I have a pretty good idea on it all, since I've been using this workflow for several projects)
CHANGELOG.md
).