@react-native-community/cli-hermes
Advanced tools
Comparing version 5.0.1-alpha.0 to 5.0.1-alpha.1
@@ -88,3 +88,3 @@ "use strict"; | ||
try { | ||
const file = (0, _child_process().execSync)(`adb shell run-as ${packageName} ls cache/ -tp | grep -v /$ | egrep '\.cpuprofile' | head -1 | ||
const file = (0, _child_process().execSync)(`adb shell run-as ${packageName} ls cache/ -tp | grep -v /$ | egrep '.cpuprofile' | head -1 | ||
`); | ||
@@ -91,0 +91,0 @@ return file.toString().trim(); |
@@ -39,3 +39,3 @@ "use strict"; | ||
options: [{ | ||
name: '--filename [string]', | ||
name: '--filename <string>', | ||
description: 'File name of the profile to be downloaded, eg. sampling-profiler-trace8593107139682635366.cpuprofile' | ||
@@ -46,3 +46,3 @@ }, { | ||
}, { | ||
name: '--sourcemap-path [string]', | ||
name: '--sourcemap-path <string>', | ||
description: 'The local path to your source map file, eg. /tmp/sourcemap.json' | ||
@@ -53,5 +53,4 @@ }, { | ||
}, { | ||
name: '--port [number]', | ||
default: process.env.RCT_METRO_PORT || 8081, | ||
parse: val => String(val) | ||
name: '--port <number>', | ||
default: `${process.env.RCT_METRO_PORT || 8081}` | ||
}], | ||
@@ -58,0 +57,0 @@ examples: [{ |
{ | ||
"name": "@react-native-community/cli-hermes", | ||
"version": "5.0.1-alpha.0", | ||
"version": "5.0.1-alpha.1", | ||
"license": "MIT", | ||
@@ -11,4 +11,4 @@ "main": "build/index.js", | ||
"dependencies": { | ||
"@react-native-community/cli-platform-android": "^5.0.1-alpha.0", | ||
"@react-native-community/cli-tools": "^5.0.1-alpha.0", | ||
"@react-native-community/cli-platform-android": "^5.0.1-alpha.1", | ||
"@react-native-community/cli-tools": "^5.0.1-alpha.1", | ||
"chalk": "^3.0.0", | ||
@@ -24,5 +24,5 @@ "hermes-profile-transformer": "^0.0.6", | ||
"devDependencies": { | ||
"@react-native-community/cli-types": "^5.0.1-alpha.0", | ||
"@react-native-community/cli-types": "^5.0.1-alpha.1", | ||
"@types/ip": "^1.1.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
150128
23
646