Skip to content

Commit

Permalink
Replace colors with @colors/colors
Browse files Browse the repository at this point in the history
I was running into the documented issue with colors when trying to run this tool: tnicola#165
  • Loading branch information
rebeccaalpert committed Apr 18, 2023
1 parent 4a9f804 commit de089cb
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 29 deletions.
2 changes: 1 addition & 1 deletion lib/cli.js
@@ -1,7 +1,7 @@
#!/usr/bin/env node

const Table = require('cli-table3');
const colors = require('colors/safe');
const colors = require('@colors/colors/safe');
const path = require('path');
const fs = require('fs-extra');
const { settings } = require('./settings');
Expand Down
4 changes: 2 additions & 2 deletions lib/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/package.json
Expand Up @@ -24,7 +24,7 @@
},
"dependencies": {
"cli-table3": "^0.6.0",
"colors": "^1.4.0",
"@colors/colors": "^1.5.0",
"cross-spawn": "^7.0.3",
"fs-extra": "^10.0.0",
"glob-escape": "^0.0.2",
Expand Down
46 changes: 21 additions & 25 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit de089cb

Please sign in to comment.