Skip to content

Commit

Permalink
Drop colors in favor of @colors/colors
Browse files Browse the repository at this point in the history
The `colors` package is no longer maintained and a weird background
story.

Previous maintainers created a new fork of the package.
Marak/colors.js#340
  • Loading branch information
codegaze committed Mar 18, 2022
1 parent 26b2231 commit 3ea5c26
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"dependencies": {
"@babel/parser": "^7.13.10",
"@babel/traverse": "^7.13.0",
"@colors/colors": "^1.5.0",
"@oclif/command": "^1.8.0",
"@oclif/config": "^1.17.0",
"@oclif/errors": "^1.3.4",
Expand All @@ -31,7 +32,6 @@
"angular-html-parser": "^1.7.1",
"axios": "^0.24.0",
"cli-ux": "^5.5.1",
"colors": "1.4.0",
"ejs": "^3.1.6",
"glob": "^7.1.6",
"lodash": "^4.17.21",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/commands/invalidate.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint no-shadow: 0 */

require('colors');
require('@colors/colors');
const { Command, flags } = require('@oclif/command');
const { cli } = require('cli-ux');
const { invalidateCDS } = require('../api/invalidate');
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/commands/push.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable no-await-in-loop */
/* eslint no-shadow: 0 */

require('colors');
require('@colors/colors');
const fs = require('fs');
const path = require('path');
const _ = require('lodash');
Expand Down

0 comments on commit 3ea5c26

Please sign in to comment.