Permalink
Browse files

Default to version 1.0.0

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 363a17bc31bf653bb9575105eea62fb4664ad04b
Showing with 1 addition and 1 deletion.
  1. +1 −1 default-input.js
View
@@ -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')
}

1 comment on commit 363a17b

@hurrymaplelad

This comment has been minimized.

Show comment
Hide comment

hurrymaplelad commented on 363a17b Oct 27, 2014

Please sign in to comment.