diff --git a/app/angular/package.json b/app/angular/package.json index 4f5cc40ffab0..d3219b12545b 100644 --- a/app/angular/package.json +++ b/app/angular/package.json @@ -73,6 +73,7 @@ "@angular/forms": "^11.0.0", "@angular/platform-browser": "^11.0.0", "@angular/platform-browser-dynamic": "^11.0.0", + "@nrwl/workspace": "^11.1.4", "@types/autoprefixer": "^9.4.0", "@types/jest": "^25.1.1", "jest": "^26.0.0", @@ -90,10 +91,16 @@ "@angular/platform-browser": ">=6.0.0", "@angular/platform-browser-dynamic": ">=6.0.0", "@babel/core": "*", + "@nrwl/workspace": ">=11.1.0", "rxjs": "^6.0.0", "typescript": "^3.4.0 || >=4.0.0", "zone.js": "^0.8.29 || ^0.9.0 || ^0.10.0 || ^0.11.0" }, + "peerDependenciesMeta": { + "@nrwl/workspace": { + "optional": true + } + }, "engines": { "node": ">=8.0.0" }, diff --git a/app/angular/src/server/angular-cli_config.ts b/app/angular/src/server/angular-cli_config.ts index 8f37ad93bdbb..c6e3f46dc427 100644 --- a/app/angular/src/server/angular-cli_config.ts +++ b/app/angular/src/server/angular-cli_config.ts @@ -47,17 +47,32 @@ function getTsConfigOptions(tsConfigPath: Path) { } export function getAngularCliConfig(dirToSearch: string) { - const possibleConfigNames = ['angular.json', 'workspace.json']; - const possibleConfigPaths = possibleConfigNames.map((name) => path.join(dirToSearch, name)); - - const validIndex = possibleConfigPaths.findIndex((configPath) => fs.existsSync(configPath)); - - if (validIndex === -1) { - logger.error(`Could not find angular.json using ${possibleConfigPaths[0]}`); - return undefined; + let angularCliConfig; + try { + /** + * Apologies for the following line + * If there's a better way to do it, let's do it + */ + /* eslint-disable global-require */ + angularCliConfig = require('@nrwl/workspace').readWorkspaceConfig({ + format: 'angularCli', + }); + } catch (e) { + const possibleConfigNames = ['angular.json', 'workspace.json']; + const possibleConfigPaths = possibleConfigNames.map((name) => path.join(dirToSearch, name)); + + const validIndex = possibleConfigPaths.findIndex((configPath) => fs.existsSync(configPath)); + + if (validIndex === -1) { + logger.error(`Could not find angular.json using ${possibleConfigPaths[0]}`); + return undefined; + } + + angularCliConfig = JSON.parse( + stripJsonComments(fs.readFileSync(possibleConfigPaths[validIndex], 'utf8')) + ); } - - return JSON.parse(stripJsonComments(fs.readFileSync(possibleConfigPaths[validIndex], 'utf8'))); + return angularCliConfig; } export function getLeadingAngularCliProject(ngCliConfig: any) { diff --git a/yarn.lock b/yarn.lock index a4e1d899c141..99f791cfcfca 100644 --- a/yarn.lock +++ b/yarn.lock @@ -60,6 +60,14 @@ "@angular-devkit/core" "11.0.2" rxjs "6.6.3" +"@angular-devkit/architect@~0.1100.1": + version "0.1100.6" + resolved "https://registry.yarnpkg.com/@angular-devkit/architect/-/architect-0.1100.6.tgz#ce90ffb78d1d945cafc339d4cfc63b3582cb8e6a" + integrity sha512-4O+cg3AimI2bNAxxdu5NrqSf4Oa8r8xL0+G2Ycd3jLoFv0h0ecJiNKEG5F6IpTprb4aexZD6pcxBJCqQ8MmzWQ== + dependencies: + "@angular-devkit/core" "11.0.6" + rxjs "6.6.3" + "@angular-devkit/build-angular@~0.1100.1": version "0.1100.2" resolved "https://registry.yarnpkg.com/@angular-devkit/build-angular/-/build-angular-0.1100.2.tgz#afbeef979df4dbafeed3ff3de438dc9f35e2d148" @@ -166,6 +174,17 @@ rxjs "6.6.3" source-map "0.7.3" +"@angular-devkit/core@11.0.6", "@angular-devkit/core@~11.0.1": + version "11.0.6" + resolved "https://registry.yarnpkg.com/@angular-devkit/core/-/core-11.0.6.tgz#b3ea815ecdea5f77dae58f3f410b268453d7eb8b" + integrity sha512-nhvU5hH01r9qcexAqvIFU233treWWeW3ncs9UFYjD9Hys9sDSvqC3+bvGvl9vCG5FsyY7oDsjaVAipyUc+SFAg== + dependencies: + ajv "6.12.6" + fast-json-stable-stringify "2.1.0" + magic-string "0.25.7" + rxjs "6.6.3" + source-map "0.7.3" + "@angular-devkit/schematics@11.0.2": version "11.0.2" resolved "https://registry.yarnpkg.com/@angular-devkit/schematics/-/schematics-11.0.2.tgz#b5aa914d7e91d92b4eeadb7aed3b5228497abbf3" @@ -175,6 +194,15 @@ ora "5.1.0" rxjs "6.6.3" +"@angular-devkit/schematics@~11.0.1": + version "11.0.6" + resolved "https://registry.yarnpkg.com/@angular-devkit/schematics/-/schematics-11.0.6.tgz#06631190cb22609462597cd6659080fc3313582a" + integrity sha512-hCyu/SSSiC6dKl/NxdWctknIrBqKR6pRe7DMArWowrZX6P9oi36LpKEFnKutE8+tXjsOqQj8XMBq9L64sXZWqg== + dependencies: + "@angular-devkit/core" "11.0.6" + ora "5.1.0" + rxjs "6.6.3" + "@angular/cli@^11.0.1": version "11.0.2" resolved "https://registry.yarnpkg.com/@angular/cli/-/cli-11.0.2.tgz#15ee1732258deec8ecb93f6ccac52d95230074d8" @@ -3745,6 +3773,78 @@ dependencies: mkdirp "^1.0.4" +"@nrwl/cli@11.1.4": + version "11.1.4" + resolved "https://registry.yarnpkg.com/@nrwl/cli/-/cli-11.1.4.tgz#683d20c7bd62e41ad76907783b199a4c65e82de3" + integrity sha512-/Ht6xuTgMsQPeCAYVgkOhQ/OHokx2BGRmQSzaeDXqiFbRRyhgKCZjXuXUcmFto4l6DnE4YCZOm/b52r2oLo++g== + dependencies: + "@nrwl/tao" "11.1.4" + chalk "4.1.0" + tmp "0.0.33" + yargs "15.4.1" + yargs-parser "20.0.0" + +"@nrwl/devkit@11.1.4": + version "11.1.4" + resolved "https://registry.yarnpkg.com/@nrwl/devkit/-/devkit-11.1.4.tgz#f85c4006fe6915b5d196844f807864c978d92692" + integrity sha512-loIF9GJ70/s/ohQup9zuxvhnsd4VVlgg8MJacx7BgZr0yxnUMB7z4Ul/wrSG6Yl9wJIVysFPP7/8zANFJrxbXw== + dependencies: + "@nrwl/tao" "11.1.4" + ejs "^3.1.5" + semver "6.3.0" + strip-json-comments "2.0.1" + tslib "^2.0.0" + +"@nrwl/tao@11.1.4": + version "11.1.4" + resolved "https://registry.yarnpkg.com/@nrwl/tao/-/tao-11.1.4.tgz#ed3c776b91524acd999e55338cf52d0970523a96" + integrity sha512-0IS7ykO3ZnFCzwUjeuf4KR/w7bZi1dxKWuHRoQZ8oP1VCLpLTW6oUVvghDW7WTczPZSelmayOFj+/IFAUntlPw== + dependencies: + "@angular-devkit/architect" "~0.1100.1" + "@angular-devkit/core" "~11.0.1" + "@angular-devkit/schematics" "~11.0.1" + chalk "4.1.0" + fs-extra "7.0.1" + inquirer "^6.3.1" + minimist "^1.2.5" + rxjs "^6.5.4" + semver "6.3.0" + strip-json-comments "2.0.1" + tmp "0.0.33" + tslib "^2.0.0" + yargs-parser "20.0.0" + +"@nrwl/workspace@^11.1.4": + version "11.1.4" + resolved "https://registry.yarnpkg.com/@nrwl/workspace/-/workspace-11.1.4.tgz#a58f8160eb060605b03e8747163c312efe0833b9" + integrity sha512-2T+A+1XiqFp4Z/cff0ihfCRwRiuqHtISY2VdoHNPbI9UiCzBdBU/xa/mfRxOxT8Aomh1UmaqHHwKVe+/y0Tirg== + dependencies: + "@angular-devkit/architect" "~0.1100.1" + "@angular-devkit/core" "~11.0.1" + "@angular-devkit/schematics" "~11.0.1" + "@nrwl/cli" "11.1.4" + "@nrwl/devkit" "11.1.4" + axios "0.21.1" + chalk "4.1.0" + cosmiconfig "^4.0.0" + dotenv "6.2.0" + flat "^5.0.2" + fs-extra "7.0.1" + ignore "^5.0.4" + inquirer "^6.3.1" + lodash "^4.17.20" + minimatch "3.0.4" + npm-run-all "^4.1.5" + opn "^5.3.0" + resolve "1.17.0" + rxjs "^6.5.4" + semver "6.3.0" + strip-json-comments "2.0.1" + tmp "0.0.33" + tslib "^2.0.0" + yargs "15.4.1" + yargs-parser "20.0.0" + "@octokit/auth-token@^2.4.0": version "2.4.4" resolved "https://registry.yarnpkg.com/@octokit/auth-token/-/auth-token-2.4.4.tgz#ee31c69b01d0378c12fd3ffe406030f3d94d3b56" @@ -7123,6 +7223,13 @@ axios@0.19.0: follow-redirects "1.5.10" is-buffer "^2.0.2" +axios@0.21.1: + version "0.21.1" + resolved "https://registry.yarnpkg.com/axios/-/axios-0.21.1.tgz#22563481962f4d6bde9a76d516ef0e5d3c09b2b8" + integrity sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA== + dependencies: + follow-redirects "^1.10.0" + axios@^0.19.2: version "0.19.2" resolved "https://registry.yarnpkg.com/axios/-/axios-0.19.2.tgz#3ea36c5d8818d0d5f8a8a97a6d36b86cdc00cb27" @@ -10094,6 +10201,14 @@ chalk@2.4.2, chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0, chalk@^2.3.0, chalk@^2.3. escape-string-regexp "^1.0.5" supports-color "^5.3.0" +chalk@4.1.0, chalk@^4.0.0, chalk@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.0.tgz#4e14870a618d9e2edd97dd8345fd9d9dc315646a" + integrity sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A== + dependencies: + ansi-styles "^4.1.0" + supports-color "^7.1.0" + chalk@^1.0.0, chalk@^1.1.1, chalk@^1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" @@ -10113,14 +10228,6 @@ chalk@^3.0.0: ansi-styles "^4.1.0" supports-color "^7.1.0" -chalk@^4.0.0, chalk@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.0.tgz#4e14870a618d9e2edd97dd8345fd9d9dc315646a" - integrity sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A== - dependencies: - ansi-styles "^4.1.0" - supports-color "^7.1.0" - char-props@^0.1.5, char-props@~0.1.5: version "0.1.5" resolved "https://registry.yarnpkg.com/char-props/-/char-props-0.1.5.tgz#5b952f9e20ea21cd08ca7fe135a10f6fe91c109e" @@ -11355,6 +11462,16 @@ cosmiconfig@3.1.0: parse-json "^3.0.0" require-from-string "^2.0.1" +cosmiconfig@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-4.0.0.tgz#760391549580bbd2df1e562bc177b13c290972dc" + integrity sha512-6e5vDdrXZD+t5v0L8CrurPeybg4Fmf+FCSYxXKYVAqLUtyCSbuyqE059d0kDthTNRzKVjL7QMgNpEUlsoYH3iQ== + dependencies: + is-directory "^0.3.1" + js-yaml "^3.9.0" + parse-json "^4.0.0" + require-from-string "^2.0.1" + cosmiconfig@^5.0.0, cosmiconfig@^5.1.0, cosmiconfig@^5.2.1: version "5.2.1" resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-5.2.1.tgz#040f726809c591e77a17c0a3626ca45b4f168b1a" @@ -13057,7 +13174,7 @@ ejs@^2.6.1: resolved "https://registry.yarnpkg.com/ejs/-/ejs-2.7.4.tgz#48661287573dcc53e366c7a1ae52c3a120eec9ba" integrity sha512-7vmuyh5+kuUyJKePhQfRQBhXV5Ce+RnaeeQArKu1EAMpL3WbgMt5WG6uQZpEVvYSSsxMXRKOewtDk9RaTKXRlA== -ejs@^3.1.2: +ejs@^3.1.2, ejs@^3.1.5: version "3.1.5" resolved "https://registry.yarnpkg.com/ejs/-/ejs-3.1.5.tgz#aed723844dc20acb4b170cd9ab1017e476a0d93b" integrity sha512-dldq3ZfFtgVTJMLjOe+/3sROTzALlL9E34V4/sDtUd/KlBSS0s6U1/+WPE1B4sj9CXHJpL1M6rhNJnc9Wbal9w== @@ -15608,6 +15725,11 @@ flat-cache@^2.0.1: rimraf "2.6.3" write "1.0.3" +flat@^5.0.2: + version "5.0.2" + resolved "https://registry.yarnpkg.com/flat/-/flat-5.0.2.tgz#8ca6fe332069ffa9d324c327198c598259ceb241" + integrity sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ== + flatted@^2.0.0: version "2.0.2" resolved "https://registry.yarnpkg.com/flatted/-/flatted-2.0.2.tgz#4575b21e2bcee7434aa9be662f4b7b5f9c2b5138" @@ -15648,6 +15770,11 @@ follow-redirects@^1.0.0: resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.13.0.tgz#b42e8d93a2a7eea5ed88633676d6597bc8e384db" integrity sha512-aq6gF1BEKje4a9i9+5jimNFIpq4Q1WiwBToeRK5NvZBd/TRsmW8BsJfOEGkr76TbOyPVD3OVDN910EcUNtRYEA== +follow-redirects@^1.10.0: + version "1.13.1" + resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.13.1.tgz#5f69b813376cee4fd0474a3aba835df04ab763b7" + integrity sha512-SSG5xmZh1mkPGyKzjZP8zLjltIfpW32Y5QpdNJyjcfGxK3qo3NDDkZOZSFiGn1A6SclQxY9GzEwAHQ3dmYRWpg== + fontkit@^1.8.0: version "1.8.1" resolved "https://registry.yarnpkg.com/fontkit/-/fontkit-1.8.1.tgz#ae77485376f1096b45548bf6ced9a07af62a7846" @@ -17708,7 +17835,7 @@ ignore@^4.0.3, ignore@^4.0.6: resolved "https://registry.yarnpkg.com/ignore/-/ignore-4.0.6.tgz#750e3db5862087b4737ebac8207ffd1ef27b25fc" integrity sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg== -ignore@^5.0.0, ignore@^5.1.1, ignore@^5.1.4: +ignore@^5.0.0, ignore@^5.0.4, ignore@^5.1.1, ignore@^5.1.4: version "5.1.8" resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.1.8.tgz#f150a8b50a34289b33e22f5889abd4d8016f0e57" integrity sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw== @@ -17983,7 +18110,7 @@ inquirer@7.3.3, inquirer@^7.0.0, inquirer@^7.3.3: strip-ansi "^6.0.0" through "^2.3.6" -inquirer@^6, inquirer@^6.2.0, inquirer@^6.2.2: +inquirer@^6, inquirer@^6.2.0, inquirer@^6.2.2, inquirer@^6.3.1: version "6.5.2" resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-6.5.2.tgz#ad50942375d036d327ff528c08bd5fab089928ca" integrity sha512-cntlB5ghuB0iuO65Ovoi8ogLHiWGs/5yNrtUcKjFhSSiVeAIVpD7koaSU9RM8mpXw5YDi9RdYXGQMaOURB7ycQ== @@ -22431,6 +22558,11 @@ memory-streams@^0.1.3: dependencies: readable-stream "~1.0.2" +memorystream@^0.3.1: + version "0.3.1" + resolved "https://registry.yarnpkg.com/memorystream/-/memorystream-0.3.1.tgz#86d7090b30ce455d63fbae12dda51a47ddcaf9b2" + integrity sha1-htcJCzDORV1j+64S3aUaR93K+bI= + meow@^3.3.0, meow@^3.7.0: version "3.7.0" resolved "https://registry.yarnpkg.com/meow/-/meow-3.7.0.tgz#72cb668b425228290abbfa856892587308a801fb" @@ -23595,6 +23727,21 @@ npm-registry-fetch@^4.0.0: npm-package-arg "^6.1.0" safe-buffer "^5.2.0" +npm-run-all@^4.1.5: + version "4.1.5" + resolved "https://registry.yarnpkg.com/npm-run-all/-/npm-run-all-4.1.5.tgz#04476202a15ee0e2e214080861bff12a51d98fba" + integrity sha512-Oo82gJDAVcaMdi3nuoKFavkIHBRVqQ1qvMb+9LHk/cF4P6B2m8aP04hGf7oL6wZ9BuGwX1onlLhpuoofSyoQDQ== + dependencies: + ansi-styles "^3.2.1" + chalk "^2.4.1" + cross-spawn "^6.0.5" + memorystream "^0.3.1" + minimatch "^3.0.4" + pidtree "^0.3.0" + read-pkg "^3.0.0" + shell-quote "^1.6.1" + string.prototype.padend "^3.0.0" + npm-run-path@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-1.0.0.tgz#f5c32bf595fe81ae927daec52e82f8b000ac3c8f" @@ -24849,6 +24996,11 @@ picomatch@2.2.2, picomatch@^2.0.4, picomatch@^2.0.5, picomatch@^2.2.1: resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.2.2.tgz#21f333e9b6b8eaff02468f5146ea406d345f4dad" integrity sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg== +pidtree@^0.3.0: + version "0.3.1" + resolved "https://registry.yarnpkg.com/pidtree/-/pidtree-0.3.1.tgz#ef09ac2cc0533df1f3250ccf2c4d366b0d12114a" + integrity sha512-qQbW94hLHEqCg7nhby4yRC7G2+jYHY4Rguc2bjw7Uug4GIJuu1tvf2uHaZv5Q8zdt+WKJ6qK1FOI6amaWUo5FA== + pify@^2.0.0, pify@^2.2.0, pify@^2.3.0: version "2.3.0" resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" @@ -28615,6 +28767,13 @@ resolve@1.15.0: dependencies: path-parse "^1.0.6" +resolve@1.17.0: + version "1.17.0" + resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.17.0.tgz#b25941b54968231cc2d1bb76a79cb7f2c0bf8444" + integrity sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w== + dependencies: + path-parse "^1.0.6" + resolve@1.18.1: version "1.18.1" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.18.1.tgz#018fcb2c5b207d2a6424aee361c5a266da8f4130" @@ -34294,6 +34453,11 @@ yaml@^1.10.0, yaml@^1.7.2: resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.10.0.tgz#3b593add944876077d4d683fee01081bd9fff31e" integrity sha512-yr2icI4glYaNG+KWONODapy2/jDdMSDnrONSjblABjD9B4Z5LgiircSt8m8sRZFNi08kG9Sm0uSHtEmP3zaEGg== +yargs-parser@20.0.0: + version "20.0.0" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.0.0.tgz#c65a1daaa977ad63cebdd52159147b789a4e19a9" + integrity sha512-8eblPHTL7ZWRkyjIZJjnGf+TijiKJSwA24svzLRVvtgoi/RZiKa9fFQTrlx0OKLnyHSdt/enrdadji6WFfESVA== + yargs-parser@20.x, yargs-parser@^20.2.2, yargs-parser@^20.2.3: version "20.2.4" resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.4.tgz#b42890f14566796f85ae8e3a25290d205f154a54" @@ -34382,6 +34546,23 @@ yargs@12.0.5: y18n "^3.2.1 || ^4.0.0" yargs-parser "^11.1.1" +yargs@15.4.1, yargs@^15.0.0, yargs@^15.3.1, yargs@^15.4.1: + version "15.4.1" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-15.4.1.tgz#0d87a16de01aee9d8bec2bfbf74f67851730f4f8" + integrity sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A== + dependencies: + cliui "^6.0.0" + decamelize "^1.2.0" + find-up "^4.1.0" + get-caller-file "^2.0.1" + require-directory "^2.1.1" + require-main-filename "^2.0.0" + set-blocking "^2.0.0" + string-width "^4.2.0" + which-module "^2.0.0" + y18n "^4.0.0" + yargs-parser "^18.1.2" + yargs@^13.3.0, yargs@^13.3.2: version "13.3.2" resolved "https://registry.yarnpkg.com/yargs/-/yargs-13.3.2.tgz#ad7ffefec1aa59565ac915f82dccb38a9c31a2dd" @@ -34415,23 +34596,6 @@ yargs@^14.2.2: y18n "^4.0.0" yargs-parser "^15.0.1" -yargs@^15.0.0, yargs@^15.3.1, yargs@^15.4.1: - version "15.4.1" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-15.4.1.tgz#0d87a16de01aee9d8bec2bfbf74f67851730f4f8" - integrity sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A== - dependencies: - cliui "^6.0.0" - decamelize "^1.2.0" - find-up "^4.1.0" - get-caller-file "^2.0.1" - require-directory "^2.1.1" - require-main-filename "^2.0.0" - set-blocking "^2.0.0" - string-width "^4.2.0" - which-module "^2.0.0" - y18n "^4.0.0" - yargs-parser "^18.1.2" - yargs@^16.1.1: version "16.1.1" resolved "https://registry.yarnpkg.com/yargs/-/yargs-16.1.1.tgz#5a4a095bd1ca806b0a50d0c03611d38034d219a1"