Skip to content

Commit ed0b40c

Browse files
cjhinesOlimpiaZurek
authored andcommitted
Move yargs to a dependency to avoid script failures (facebook#35912)
Summary: yargs depdendency is unavailable on npm ci breaking certain CI builds. Fixes facebook#35893 (comment) Changelog: [Internal] Prevent script failures on certain npm CI setups Pull Request resolved: facebook#35912 Test Plan: waitforsandcastle Reviewed By: hoxyq Differential Revision: D43730837 Pulled By: cortinico fbshipit-source-id: 926182ee8482cd0c7fd183ea3e993a9322680567
1 parent 2041548 commit ed0b40c

File tree

3 files changed

+26
-4
lines changed

3 files changed

+26
-4
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,8 @@
147147
"stacktrace-parser": "^0.1.3",
148148
"use-sync-external-store": "^1.0.0",
149149
"whatwg-fetch": "^3.0.0",
150-
"ws": "^6.2.2"
150+
"ws": "^6.2.2",
151+
"yargs": "^17.6.2"
151152
},
152153
"devDependencies": {
153154
"flow-bin": "^0.200.0",

repo-config/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@
5252
"shelljs": "^0.8.5",
5353
"signedsource": "^1.0.0",
5454
"typescript": "4.1.3",
55-
"ws": "^6.2.2",
56-
"yargs": "^17.5.1"
55+
"ws": "^6.2.2"
5756
}
5857
}

yarn.lock

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3440,6 +3440,15 @@ cliui@^7.0.2:
34403440
strip-ansi "^6.0.0"
34413441
wrap-ansi "^7.0.0"
34423442

3443+
cliui@^8.0.1:
3444+
version "8.0.1"
3445+
resolved "https://registry.yarnpkg.com/cliui/-/cliui-8.0.1.tgz#0c04b075db02cbfe60dc8e6cf2f5486b1a3608aa"
3446+
integrity sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==
3447+
dependencies:
3448+
string-width "^4.2.0"
3449+
strip-ansi "^6.0.1"
3450+
wrap-ansi "^7.0.0"
3451+
34433452
clone-deep@^4.0.1:
34443453
version "4.0.1"
34453454
resolved "https://registry.yarnpkg.com/clone-deep/-/clone-deep-4.0.1.tgz#c19fd9bdbbf85942b4fd979c84dcf7d5f07c2387"
@@ -8684,7 +8693,7 @@ yargs-parser@^20.2.2:
86848693
resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.9.tgz#2eb7dc3b0289718fc295f362753845c41a0c94ee"
86858694
integrity sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==
86868695

8687-
yargs-parser@^21.0.0:
8696+
yargs-parser@^21.0.0, yargs-parser@^21.1.1:
86888697
version "21.1.1"
86898698
resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-21.1.1.tgz#9096bceebf990d21bb31fa9516e0ede294a77d35"
86908699
integrity sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==
@@ -8732,6 +8741,19 @@ yargs@^17.3.1, yargs@^17.5.1:
87328741
y18n "^5.0.5"
87338742
yargs-parser "^21.0.0"
87348743

8744+
yargs@^17.6.2:
8745+
version "17.6.2"
8746+
resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.6.2.tgz#2e23f2944e976339a1ee00f18c77fedee8332541"
8747+
integrity sha512-1/9UrdHjDZc0eOU0HxOHoS78C69UD3JRMvzlJ7S79S2nTaWRA/whGCTV8o9e/N/1Va9YIV7Q4sOxD8VV4pCWOw==
8748+
dependencies:
8749+
cliui "^8.0.1"
8750+
escalade "^3.1.1"
8751+
get-caller-file "^2.0.5"
8752+
require-directory "^2.1.1"
8753+
string-width "^4.2.3"
8754+
y18n "^5.0.5"
8755+
yargs-parser "^21.1.1"
8756+
87358757
yocto-queue@^0.1.0:
87368758
version "0.1.0"
87378759
resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b"

0 commit comments

Comments
 (0)