Skip to content

Commit

Permalink
fix(core): add dependency for cliui + string-width (#9967)
Browse files Browse the repository at this point in the history
  • Loading branch information
FrozenPandaz committed Apr 22, 2022
1 parent 90f9591 commit ec47503
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
6 changes: 4 additions & 2 deletions package.json
Expand Up @@ -298,11 +298,13 @@
"send": "0.17.1",
"tailwindcss": "^3.0.13",
"tslib": "^2.3.0",
"weak-napi": "^2.0.2"
"weak-napi": "^2.0.2",
"cliui": "^7.0.2",
"string-width": "^4.2.3"
},
"resolutions": {
"ng-packagr/rxjs": "6.6.7",
"**/xmlhttprequest-ssl": "~1.6.2",
"minimist": "^1.2.6"
}
}
}
2 changes: 2 additions & 0 deletions packages/nx/package.json
Expand Up @@ -55,6 +55,8 @@
"tmp": "~0.2.1",
"yargs": "^17.4.0",
"yargs-parser": "21.0.1",
"cliui": "^7.0.2",
"string-width": "^4.2.3",
"chalk": "4.1.0",
"flat": "^5.0.2",
"minimatch": "3.0.4",
Expand Down
7 changes: 0 additions & 7 deletions scripts/depcheck/missing.ts
Expand Up @@ -100,13 +100,6 @@ const IGNORE_MATCHES = {
'@angular-devkit/core',
'@angular-devkit/architect',
'@angular/cli',
/**
* cliui is the CLI layout engine developed by yargs and we want to use the version of it
* which our currently installed yargs version brings in. It in turn depends on a specific
* version of string-width which we also leverage directly in print-help.
*/
'cliui',
'string-width',
],
web: [
// we don't want to bloat the install of @nrwl/web by including @swc/core and swc-loader as a dependency.
Expand Down

1 comment on commit ec47503

@vercel
Copy link

@vercel vercel bot commented on ec47503 Apr 22, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx.dev
nx-five.vercel.app
nx-dev-nrwl.vercel.app
nx-dev-git-master-nrwl.vercel.app

Please sign in to comment.