Skip to content

Commit

Permalink
chore: rm chalk deps
Browse files Browse the repository at this point in the history
  • Loading branch information
zombieJ committed Oct 26, 2022
1 parent e56dd65 commit a73161c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
"@umijs/fabric": "^3.0.0",
"babel-plugin-module-resolver": "^4.1.0",
"babel-preset-umi": "^1.8.4",
"chalk": "^5.1.2",
"core-js": "^3.25.5",
"fs-extra": "^10.1.0",
"jest": "^29.2.1",
Expand Down
5 changes: 1 addition & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import chalk from 'chalk';
import fs from 'fs-extra';
import { runCLI } from 'jest';
import path from 'path';
Expand All @@ -21,9 +20,7 @@ export function getConfig() {
!pkg.devDependencies['enzyme-adapter-react-16']
) {
console.log(
chalk.red(
'[rc-test] Legacy "enzyme-adapter-react-16" is not in the deps. Please install in dev deps!',
),
'[rc-test] Legacy "enzyme-adapter-react-16" is not in the deps. Please install in dev deps!',
);
}
setupFiles.push(require.resolve('./setupEnzyme.js'));
Expand Down

0 comments on commit a73161c

Please sign in to comment.