Comparing version 7.0.0-1 to 7.0.0-2
10
hops.js
@@ -36,2 +36,7 @@ #!/usr/bin/env node | ||
}) | ||
.option('hops-version', { | ||
type: 'string', | ||
describe: 'Which version (or npm dist-tag) of hops-local-cli to use', | ||
default: 'latest' | ||
}) | ||
.option('verbose', { | ||
@@ -183,2 +188,5 @@ type: 'boolean', | ||
var root = process.cwd(); | ||
var versionedPackages = PACKAGES_TO_INSTALL.map(function (name) { | ||
return name + '@' + options.hopsVersion; | ||
}); | ||
@@ -189,4 +197,4 @@ validateName(name); | ||
process.chdir(path.resolve(root, name)); | ||
installPackages(PACKAGES_TO_INSTALL, options); | ||
installPackages(versionedPackages, options); | ||
require(getLocalCliPath()).init(root, name, options); | ||
} |
{ | ||
"name": "hops-cli", | ||
"version": "7.0.0-1", | ||
"version": "7.0.0-2", | ||
"description": "Global CLI module to initialize new hops projects", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
6891
181