react-native-cli
Advanced tools
Comparing version 0.2.0 to 1.0.0
@@ -216,7 +216,7 @@ #!/usr/bin/env node | ||
function run(root, projectName, rnPackage) { | ||
exec('npm install --save ' + getInstallPackage(rnPackage), function(e, stdout, stderr) { | ||
exec('npm install --save --save-exact ' + getInstallPackage(rnPackage), function(e, stdout, stderr) { | ||
if (e) { | ||
console.log(stdout); | ||
console.error(stderr); | ||
console.error('`npm install --save react-native` failed'); | ||
console.error('`npm install --save --save-exact react-native` failed'); | ||
process.exit(1); | ||
@@ -233,6 +233,6 @@ } | ||
function runVerbose(root, projectName, rnPackage) { | ||
var proc = spawn('npm', ['install', '--verbose', '--save', getInstallPackage(rnPackage)], {stdio: 'inherit'}); | ||
var proc = spawn('npm', ['install', '--verbose', '--save', '--save-exact', getInstallPackage(rnPackage)], {stdio: 'inherit'}); | ||
proc.on('close', function (code) { | ||
if (code !== 0) { | ||
console.error('`npm install --save react-native` failed'); | ||
console.error('`npm install --save --save-exact react-native` failed'); | ||
return; | ||
@@ -239,0 +239,0 @@ } |
{ | ||
"name": "react-native-cli", | ||
"version": "0.2.0", | ||
"version": "1.0.0", | ||
"license": "BSD-3-Clause", | ||
@@ -5,0 +5,0 @@ "description": "The React Native CLI tools", |
@@ -13,4 +13,8 @@ ## Running CLI with local modifications | ||
Then, open `~/.config/sinopia/config.yaml` and configure it like this (note the `max_body_size`): | ||
Now you can run sinopia by simply doing: | ||
$ sinopia | ||
Running it for the first time creates a default config file. Open `~/.config/sinopia/config.yaml` and configure it like this (note the `max_body_size`): | ||
storage: ./storage | ||
@@ -44,6 +48,4 @@ | ||
Now you can run sinopia by simply doing: | ||
Remember to restart sinopia afterwards. | ||
$ sinopia | ||
### Publishing to sinopia | ||
@@ -104,3 +106,3 @@ | ||
$ npm install -g sinopia | ||
After upgrading to Node 4 you might also need to reinstall npm. What worked for me was: | ||
@@ -110,3 +112,3 @@ | ||
$ nvm install npm | ||
See the [nvm guide](https://github.com/creationix/nvm#usage) for more info. | ||
@@ -113,0 +115,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
12645
1
123
2