Skip to content

Commit

Permalink
Fix: add missing dependencies (react-native-community#1020)
Browse files Browse the repository at this point in the history
* fix: missing dependencies

Fix react-native-community#1017

* chore: make `build-clean(-all)` work cross-platform
  • Loading branch information
molant authored Feb 26, 2020
1 parent 5c7a793 commit ad49a0a
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 27 deletions.
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"build": "node ./scripts/build.js && yarn build:debugger",
"build:ts": "node ./scripts/buildTs.js",
"build:debugger": "yarn workspace @react-native-community/cli-debugger-ui build",
"build-clean": "rm -rf ./packages/*/build",
"build-clean-all": "rm -rf ./packages/*/build ./packages/*/tsconfig.tsbuildinfo",
"build-clean": "rimraf ./packages/*/build",
"build-clean-all": "rimraf ./packages/*/build ./packages/*/tsconfig.tsbuildinfo",
"watch": "node ./scripts/watch.js",
"test": "jest",
"test:ci:unit": "jest packages --ci --coverage",
Expand All @@ -30,7 +30,9 @@
"@babel/preset-env": "^7.0.0",
"@babel/preset-typescript": "^7.3.3",
"@react-native-community/eslint-config": "^0.0.5",
"@types/glob": "^7.1.1",
"@types/jest": "^24.0.11",
"@types/mkdirp": "^0.5.2",
"@types/node": "8",
"@types/node-fetch": "^2.3.7",
"babel-jest": "^24.6.0",
Expand All @@ -48,6 +50,7 @@
"metro-memory-fs": "^0.57.0",
"micromatch": "^3.1.10",
"mkdirp": "^0.5.1",
"rimraf": "^3.0.2",
"string-length": "^2.0.0",
"typescript": "^3.8.0"
}
Expand Down
10 changes: 6 additions & 4 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@
"errorhandler": "^1.5.0",
"execa": "^1.0.0",
"find-up": "^4.1.0",
"fs-extra": "^7.0.1",
"glob": "^7.1.1",
"fs-extra": "^8.1.0",
"glob": "^7.1.3",
"graceful-fs": "^4.1.3",
"inquirer": "^3.0.6",
"leven": "^3.1.0",
"lodash": "^4.17.5",
"lodash": "^4.17.15",
"metro": "^0.58.0",
"metro-config": "^0.58.0",
"metro-core": "^0.58.0",
Expand All @@ -57,7 +57,6 @@
"mkdirp": "^0.5.1",
"open": "^6.2.0",
"ora": "^3.4.0",
"plist": "^3.0.0",
"pretty-format": "^25.1.0",
"semver": "^6.3.0",
"serve-static": "^1.13.1",
Expand All @@ -75,8 +74,11 @@
"@types/compression": "^1.0.1",
"@types/cosmiconfig": "^5.0.3",
"@types/errorhandler": "^0.0.32",
"@types/fs-extra": "^8.1.0",
"@types/glob": "^7.1.1",
"@types/graceful-fs": "^4.1.3",
"@types/hapi__joi": "^15.0.4",
"@types/lodash": "^4.14.149",
"@types/minimist": "^1.2.0",
"@types/mkdirp": "^0.5.2",
"@types/pretty-format": "^24.3.0",
Expand Down
6 changes: 5 additions & 1 deletion packages/platform-android/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@
"@react-native-community/cli-tools": "^4.2.1",
"chalk": "^3.0.0",
"execa": "^1.0.0",
"fs-extra": "^8.1.0",
"glob": "^7.1.3",
"jetifier": "^1.6.2",
"lodash": "^4.17.15",
"logkitty": "^0.6.0",
"slash": "^3.0.0",
"xmldoc": "^1.1.2"
Expand All @@ -24,8 +27,9 @@
"devDependencies": {
"@react-native-community/cli-types": "^4.2.1",
"@types/execa": "^0.9.0",
"@types/fs-extra": "^8.0.0",
"@types/fs-extra": "^8.1.0",
"@types/glob": "^7.1.1",
"@types/lodash": "^4.14.149",
"@types/xmldoc": "^1.1.4"
}
}
5 changes: 5 additions & 0 deletions packages/platform-ios/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,16 @@
"@react-native-community/cli-tools": "^4.2.1",
"chalk": "^3.0.0",
"js-yaml": "^3.13.1",
"glob": "^7.1.3",
"lodash": "^4.17.15",
"plist": "^3.0.1",
"xcode": "^2.0.0"
},
"devDependencies": {
"@react-native-community/cli-types": "^4.2.1",
"@types/glob": "^7.1.1",
"@types/js-yaml": "^3.12.1",
"@types/lodash": "^4.14.149",
"@types/plist": "^3.0.2"
},
"files": [
Expand Down
4 changes: 2 additions & 2 deletions packages/tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
},
"dependencies": {
"chalk": "^3.0.0",
"lodash": "^4.17.5",
"lodash": "^4.17.15",
"mime": "^2.4.1",
"node-fetch": "^2.5.0"
},
"devDependencies": {
"@types/lodash": "^4.14.123",
"@types/lodash": "^4.14.149",
"@types/mime": "^2.0.1",
"@types/node-fetch": "^2.3.3"
},
Expand Down
35 changes: 17 additions & 18 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2772,10 +2772,10 @@
"@types/express-serve-static-core" "*"
"@types/serve-static" "*"

"@types/fs-extra@^8.0.0":
version "8.0.0"
resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-8.0.0.tgz#d3e2c313ca29f95059f198dd60d1f774642d4b25"
integrity sha512-bCtL5v9zdbQW86yexOlXWTEGvLNqWxMFyi7gQA7Gcthbezr2cPSOb8SkESVKA937QD5cIwOFLDFt0MQoXOEr9Q==
"@types/fs-extra@^8.1.0":
version "8.1.0"
resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-8.1.0.tgz#1114834b53c3914806cd03b3304b37b3bd221a4d"
integrity sha512-UoOfVEzAUpeSPmjm7h1uk5MH6KZma2z2O7a75onTGjnNvAvMVrPzPL/vBbT65iIGHWj6rokwfmYcmxmlSf2uwg==
dependencies:
"@types/node" "*"

Expand Down Expand Up @@ -2849,10 +2849,10 @@
resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee"
integrity sha1-7ihweulOEdK4J7y+UnC86n8+ce4=

"@types/lodash@^4.14.123":
version "4.14.123"
resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.123.tgz#39be5d211478c8dd3bdae98ee75bb7efe4abfe4d"
integrity sha512-pQvPkc4Nltyx7G1Ww45OjVqUsJP4UsZm+GWJpigXgkikZqJgRm4c48g027o6tdgubWHwFRF15iFd+Y4Pmqv6+Q==
"@types/lodash@^4.14.149":
version "4.14.149"
resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.149.tgz#1342d63d948c6062838fbf961012f74d4e638440"
integrity sha512-ijGqzZt/b7BfzcK9vTrS6MFljQRPn5BFWOx8oE0GYxribu6uV+aA9zZuXI1zc/etK9E8nrgdoF2+LgUw7+9tJQ==

"@types/mime@*", "@types/mime@^2.0.1":
version "2.0.1"
Expand Down Expand Up @@ -5951,15 +5951,6 @@ fs-extra@^1.0.0:
jsonfile "^2.1.0"
klaw "^1.0.0"

fs-extra@^7.0.1:
version "7.0.1"
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-7.0.1.tgz#4f189c44aa123b895f722804f55ea23eadc348e9"
integrity sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==
dependencies:
graceful-fs "^4.1.2"
jsonfile "^4.0.0"
universalify "^0.1.0"

fs-extra@^8.1.0:
version "8.1.0"
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-8.1.0.tgz#49d43c45a88cd9677668cb7be1b46efdb8d2e1c0"
Expand Down Expand Up @@ -9534,9 +9525,10 @@ [email protected]:
version "0.4.1"
resolved "https://registry.yarnpkg.com/pkginfo/-/pkginfo-0.4.1.tgz#b5418ef0439de5425fc4995042dced14fb2a84ff"

plist@^3.0.0, plist@^3.0.1:
plist@^3.0.1:
version "3.0.1"
resolved "https://registry.yarnpkg.com/plist/-/plist-3.0.1.tgz#a9b931d17c304e8912ef0ba3bdd6182baf2e1f8c"
integrity sha512-GpgvHHocGRyQm74b6FWEZZVRroHKE1I0/BTjAmySaohK+cUn+hZpbqXkc3KWgW3gQYkqcQej35FohcT0FRlkRQ==
dependencies:
base64-js "^1.2.3"
xmlbuilder "^9.0.7"
Expand Down Expand Up @@ -10648,6 +10640,13 @@ rimraf@^2.6.3:
dependencies:
glob "^7.1.3"

rimraf@^3.0.2:
version "3.0.2"
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a"
integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==
dependencies:
glob "^7.1.3"

rimraf@~2.2.6:
version "2.2.8"
resolved "https://registry.npmjs.org/rimraf/-/rimraf-2.2.8.tgz#e439be2aaee327321952730f99a8929e4fc50582"
Expand Down

0 comments on commit ad49a0a

Please sign in to comment.