Skip to content

Commit b5fee9b

Browse files
kripodfeiqitian
authored andcommitted
Fix default package version added by global CLI (facebook#491)
According to the official SemVer FAQ, versioning should start at 0.1.0 (http://semver.org/#how-should-i-deal-with-revisions-in-the-0yz-initial-development-phase)
1 parent 00f0625 commit b5fee9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

global-cli/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ function createApp(name, verbose, version) {
8484

8585
var packageJson = {
8686
name: appName,
87-
version: '0.0.1',
87+
version: '0.1.0',
8888
private: true,
8989
};
9090
fs.writeFileSync(

0 commit comments

Comments
 (0)