-
Notifications
You must be signed in to change notification settings - Fork 7
Adding changes to push package to npm #35
base: gh-pages
Are you sure you want to change the base?
Changes from 3 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "displaysystem", | ||
"version": "1.0.0", | ||
"name": "@first-lego-league/display", | ||
"version": "0.0.5", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Backing up versions is never a good idea. What is the rationale behind it? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I have backtrack it. because i didn't want to upload a beta version of the code as version 1. I believe it's ok since the I was the first to upload it to npm under this name. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The way to do that is to create a beta version like 1.0.0-beta.1, see http://semver.org/ Also, I am not really happy to have beta versions in npm anyway, this is very confusing to end users. If you want to test stuff locally, use npm link, do not publish stuff that is not ready (i.e. not reviewed) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes the beta might be a better way to go. But the link can't be used because I need the npm package to be download when I'm building the installer. Anyway I would change the version to 1.0.0-beta.1 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would propose the same as in clock:
And then
That way, the versions are increasing always. Note that 1.1.0-beta.1 is a lower version than 1.1.0 automatically The rationale is that I rather not publish beta versions anyway (for such a small project), but I Also, if you want, just publish the main branch (gh-pages) as version 1.0.x in npm. I don't really see the need for having a beta there in this case. |
||
"description": "Display Systems", | ||
"main": "config.js", | ||
"scripts": { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd rather call it displaysystem, to be consistent with the already established name
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no problem changing it to
displaysystem
i just thought it's clearer onlydisplay
.