@react-native-windows/cli
Advanced tools
Comparing version 0.0.0-canary.47 to 0.0.0-canary.48
@@ -5,3 +5,18 @@ { | ||
{ | ||
"date": "Sat, 19 Dec 2020 05:06:15 GMT", | ||
"date": "Wed, 23 Dec 2020 05:07:00 GMT", | ||
"tag": "@react-native-windows/cli_v0.0.0-canary.48", | ||
"version": "0.0.0-canary.48", | ||
"comments": { | ||
"prerelease": [ | ||
{ | ||
"comment": "Check whether dependencies have been installed", | ||
"author": "asklar@winse.microsoft.com", | ||
"commit": "6426dbcfaadf0ceacc3e21c83a9aecc1ae17ac4b", | ||
"package": "@react-native-windows/cli" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"date": "Sat, 19 Dec 2020 05:06:39 GMT", | ||
"tag": "@react-native-windows/cli_v0.0.0-canary.47", | ||
@@ -8,0 +23,0 @@ "version": "0.0.0-canary.47", |
# Change Log - @react-native-windows/cli | ||
This log was last generated on Sat, 19 Dec 2020 05:06:15 GMT and should not be manually modified. | ||
This log was last generated on Wed, 23 Dec 2020 05:07:00 GMT and should not be manually modified. | ||
<!-- Start content --> | ||
## 0.0.0-canary.48 | ||
Wed, 23 Dec 2020 05:07:00 GMT | ||
### Changes | ||
- Check whether dependencies have been installed (asklar@winse.microsoft.com) | ||
## 0.0.0-canary.47 | ||
Sat, 19 Dec 2020 05:06:15 GMT | ||
Sat, 19 Dec 2020 05:06:39 GMT | ||
@@ -11,0 +19,0 @@ ### Changes |
@@ -71,2 +71,4 @@ "use strict"; | ||
delete process.env.NPM_CONFIG_PREFIX; | ||
const hasRunRnwDependencies = process.env.LocalAppData && | ||
fs.existsSync(path.join(process.env.LocalAppData, 'rnw-dependencies.txt')); // CODESYNC \vnext\scripts\rnw-dependencies.ps1 | ||
if (options.info) { | ||
@@ -94,2 +96,9 @@ try { | ||
runWindowsError = e; | ||
if (!hasRunRnwDependencies) { | ||
const rnwPkgJsonPath = require.resolve('react-native-windows/package.json', { | ||
paths: [process.cwd(), __dirname], | ||
}); | ||
const rnwDependenciesPath = path.join(path.dirname(rnwPkgJsonPath), 'scripts/rnw-dependencies.ps1'); | ||
commandWithProgress_1.newError(`Please install the necessary dependencies by running ${rnwDependenciesPath} from an elevated PowerShell prompt.\nFor more information, go to http://aka.ms/rnw-deps`); | ||
} | ||
return setExitProcessWithError(options.logging); | ||
@@ -133,2 +142,3 @@ } | ||
project: await getAnonymizedProjectName(config.root), | ||
hasRunRnwDependencies: hasRunRnwDependencies, | ||
}, | ||
@@ -135,0 +145,0 @@ }); |
{ | ||
"name": "@react-native-windows/cli", | ||
"version": "0.0.0-canary.47", | ||
"version": "0.0.0-canary.48", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "main": "lib-commonjs/index.js", |
Sorry, the diff of this file is not supported yet
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
337449
4648
33