Skip to content
This repository was archived by the owner on Nov 4, 2025. It is now read-only.

Commit 00cdf49

Browse files
committed
🆙 upgrade rc-util to 5.x
1 parent b7c90c3 commit 00cdf49

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.fatherrc.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ export default {
55
eslint: true,
66
prettier: true,
77
},
8-
};
8+
runtimeHelpers: true,
9+
};

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"start": "cross-env NODE_ENV=development father doc dev --storybook",
2929
"build": "father doc build --storybook",
3030
"compile": "father build",
31-
"prepublishOnly": "npm run compile && np --no-cleanup --yolo --no-publish",
31+
"prepublishOnly": "npm run compile && np --yolo --no-publish",
3232
"lint": "eslint src/ examples/ --ext .tsx,.ts,.jsx,.js",
3333
"test": "father test",
3434
"coverage": "father test --coverage",
@@ -39,9 +39,10 @@
3939
"react-dom": "*"
4040
},
4141
"dependencies": {
42+
"@babel/runtime": "^7.10.1",
4243
"classnames": "2.x",
4344
"dom-align": "^1.7.0",
44-
"rc-util": "^4.12.0",
45+
"rc-util": "^5.0.1",
4546
"resize-observer-polyfill": "^1.5.1"
4647
},
4748
"devDependencies": {
@@ -53,6 +54,7 @@
5354
"enzyme": "^3.3.0",
5455
"enzyme-adapter-react-16": "^1.14.0",
5556
"enzyme-to-json": "^3.4.0",
57+
"eslint": "^7.1.0",
5658
"father": "^2.13.2",
5759
"np": "^5.0.3",
5860
"typescript": "^3.5.2"

0 commit comments

Comments
 (0)