Skip to content

Commit 681318f

Browse files
authored
fix: add chalk as dependency of cli-platform-android (#517)
1 parent a82902d commit 681318f

File tree

5 files changed

+8
-4
lines changed

5 files changed

+8
-4
lines changed

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"@react-native-community/cli-platform-android": "^2.1.1",
2828
"@react-native-community/cli-platform-ios": "^2.2.0",
2929
"@react-native-community/cli-tools": "^2.0.2",
30-
"chalk": "^1.1.1",
30+
"chalk": "^2.4.2",
3131
"commander": "^2.19.0",
3232
"compression": "^1.7.1",
3333
"connect": "^3.6.5",

packages/platform-android/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
{
22
"name": "@react-native-community/cli-platform-android",
33
"version": "2.1.1",
4+
"license": "MIT",
45
"main": "build/index.js",
56
"dependencies": {
67
"@react-native-community/cli-tools": "^2.0.2",
8+
"chalk": "^2.4.2",
79
"logkitty": "^0.5.0",
810
"slash": "^2.0.0",
911
"xmldoc": "^0.4.0"

packages/platform-ios/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
{
22
"name": "@react-native-community/cli-platform-ios",
33
"version": "2.2.0",
4+
"license": "MIT",
45
"main": "build/index.js",
56
"dependencies": {
67
"@react-native-community/cli-tools": "^2.0.2",
7-
"chalk": "^1.1.1",
8+
"chalk": "^2.4.2",
89
"xcode": "^2.0.0"
910
},
1011
"files": [

packages/platform-ios/src/commands/runIOS/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ function runIOS(_: Array<string>, ctx: ConfigT, args: FlagsT) {
9191
if (device) {
9292
return logger.error(
9393
`Could not find a device named: "${chalk.bold(
94-
device,
94+
String(device),
9595
)}". ${printFoundDevices(devices)}`,
9696
);
9797
}

packages/tools/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
{
22
"name": "@react-native-community/cli-tools",
33
"version": "2.0.2",
4+
"license": "MIT",
45
"main": "build/index.js",
56
"dependencies": {
6-
"chalk": "^1.1.1",
7+
"chalk": "^2.4.2",
78
"lodash": "^4.17.5",
89
"mime": "^2.4.1",
910
"node-fetch": "^2.5.0"

0 commit comments

Comments
 (0)