From 363a17bc31bf653bb9575105eea62fb4664ad04b Mon Sep 17 00:00:00 2001 From: isaacs Date: Wed, 30 Jul 2014 15:39:14 -0700 Subject: [PATCH] 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. --- default-input.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/default-input.js b/default-input.js index 9e69f65..8b335f9 100644 --- a/default-input.js +++ b/default-input.js @@ -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') }