Skip to content

Commit 363a17b

Browse files
committed
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.
1 parent fb789da commit 363a17b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

default-input.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function readDeps (test) { return function (cb) {
4040

4141

4242
exports.name = prompt('name', package.name || basename)
43-
exports.version = prompt('version', package.version || config.get('init.version') || '0.0.0')
43+
exports.version = prompt('version', package.version || config.get('init.version') || '1.0.0')
4444
if (!package.description) {
4545
exports.description = prompt('description')
4646
}

0 commit comments

Comments
 (0)