@react-native-community/cli-tools
Advanced tools
Comparing version 13.2.0 to 13.3.0
@@ -27,2 +27,5 @@ "use strict"; | ||
} | ||
if (_os().default.platform() === 'win32') { | ||
return 'cmd.exe'; | ||
} | ||
return TERM; | ||
@@ -29,0 +32,0 @@ }; |
@@ -43,3 +43,3 @@ "use strict"; | ||
const packagerEnvFilename = isWindows ? '.packager.bat' : '.packager.env'; | ||
const packagerEnvFileExportContent = isWindows ? `set RCT_METRO_PORT=${port}\nset PROJECT_ROOT=${projectRoot}\nset REACT_NATIVE_PATH=${reactNativePath}` : `export RCT_METRO_PORT=${port}\nexport PROJECT_ROOT=${projectRoot}\nexport REACT_NATIVE_PATH=${reactNativePath}`; | ||
const packagerEnvFileExportContent = isWindows ? `set RCT_METRO_PORT=${port}\nset PROJECT_ROOT=${projectRoot}\nset REACT_NATIVE_PATH=${reactNativePath}` : `export RCT_METRO_PORT=${port}\nexport PROJECT_ROOT="${projectRoot}"\nexport REACT_NATIVE_PATH="${reactNativePath}"`; | ||
const nodeModulesPath = (0, _resolveNodeModuleDir.default)(projectRoot, '.bin'); | ||
@@ -103,3 +103,3 @@ const cliPluginMetroPath = _path().default.join(_path().default.dirname(require.resolve('@react-native-community/cli-tools/package.json')), 'build'); | ||
// Awaiting this causes the CLI to hang indefinitely, so this must execute without await. | ||
return (0, _execa().default)('cmd.exe', ['/C', launchPackagerScript], { | ||
return (0, _execa().default)(terminal, ['/C', launchPackagerScript], { | ||
...procConfig, | ||
@@ -106,0 +106,0 @@ detached: true, |
{ | ||
"name": "@react-native-community/cli-tools", | ||
"version": "13.2.0", | ||
"version": "13.3.0", | ||
"license": "MIT", | ||
@@ -22,3 +22,3 @@ "main": "build/index.js", | ||
"devDependencies": { | ||
"@react-native-community/cli-types": "13.2.0", | ||
"@react-native-community/cli-types": "13.3.0", | ||
"@types/lodash": "^4.14.149", | ||
@@ -41,3 +41,3 @@ "@types/mime": "^2.0.1", | ||
}, | ||
"gitHead": "acdcb2bbd7b1fa6a50e771e04b36604834330da4" | ||
"gitHead": "148f4d7220fba7a55e1f0b7def417c6c96ea6d9c" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
196301
2184