You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BREAKING CHANGES: libnpmexec no longer accepts a color
property and instead requires passing in a chalk instance.
To replicate the old behavior of `color: false` use
`chalk: new Chalk({ level: 0 })`.
Copy file name to clipboardExpand all lines: workspaces/libnpmexec/README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ await libexec({
31
31
-`call`: An alternative command to run when using `packages` option **String**, defaults to empty string.
32
32
-`cache`: The path location to where the npm cache folder is placed **String**
33
33
-`npxCache`: The path location to where the npx cache folder is placed **String**
34
-
-`color`: Output should use color? **Boolean**, defaults to `false`
34
+
-`chalk`: Chalk instance to use for colors? **Required**
35
35
-`localBin`: Location to the `node_modules/.bin` folder of the local project to start scanning for bin files **String**, defaults to `./node_modules/.bin`. **libexec** will walk up the directory structure looking for `node_modules/.bin` folders in parent folders that might satisfy the current `arg` and will use that bin if found.
36
36
-`locationMsg`: Overrides "at location" message when entering interactive mode **String**
37
37
-`globalBin`: Location to the global space bin folder, same as: `$(npm bin -g)`**String**, defaults to empty string.
0 commit comments