Skip to content

Commit

Permalink
Default to version 1.0.0
Browse files Browse the repository at this point in the history
Since the SemVer spec is weirdly magical about 0.x.y versions, and we
cannot ever hope to get everyone to believe what the correct
interpretation of 0.x versions are, let's just skip them entirely.
  • Loading branch information
isaacs committed Jul 30, 2014
1 parent fb789da commit 363a17b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion default-input.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function readDeps (test) { return function (cb) {


exports.name = prompt('name', package.name || basename)
exports.version = prompt('version', package.version || config.get('init.version') || '0.0.0')
exports.version = prompt('version', package.version || config.get('init.version') || '1.0.0')
if (!package.description) {
exports.description = prompt('description')
}
Expand Down

1 comment on commit 363a17b

@hurrymaplelad
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.