Skip to content
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

Pseudo version for npm (package.json) #367

Closed
MarkusBordihn opened this issue May 13, 2016 · 2 comments
Closed

Pseudo version for npm (package.json) #367

MarkusBordihn opened this issue May 13, 2016 · 2 comments

Comments

@MarkusBordihn
Copy link
Member

MarkusBordihn commented May 13, 2016

Because NPM caching gets more aggressive, it would be needed to increase the version number in the package.json file from time to time so that NPM is downloading the latest changes.

In #366 I added the command "npm run patch", which will automatically increase the version number by x.x.1 and added the "package.json" file for git commitment.

I will take care of this from time to time, but maybe it should be automated over Travis-cl.

Please note, because we are not using the npm-js repository it would be not possible to fetch a specific version over npm even if we have pseudo numbers.

If pushing blockly to the npm-js repository automatically is needed, this is something I could work on.

@aminmarashi
Copy link

Adding semver to the npm repo helps other developers to update blockly in their project knowing what kind of change has happened. Will you officially maintain an npm repo in a near future?

@rachel-fenichel
Copy link
Collaborator

Version numbers are currently 2.yyyymmdd.x so they always increment. This is semver compliant even if it looks weird, and we are working on publishing to npm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants