Skip to content

Commit b8edd2b

Browse files
authoredMar 21, 2025··
chore: bump father version (#96)
1 parent 7dcf688 commit b8edd2b

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed
 

‎.fatherrc.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
import { defineConfig } from 'father';
22

33
export default defineConfig({
4-
platform: 'browser',
5-
esm: { output: 'es' },
6-
cjs: { output: 'lib' },
4+
plugins: ['@rc-component/father-plugin'],
75
});

‎package.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -25,22 +25,23 @@
2525
"compile": "father build",
2626
"lint": "eslint src --ext .ts",
2727
"prepare": "tsx generate-presets",
28-
"prepublishOnly": "npm run compile && np --no-cleanup --no-publish",
28+
"prepublishOnly": "npm run compile && rc-np",
2929
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
3030
"test": "jest"
3131
},
3232
"dependencies": {
33-
"@ant-design/fast-color": "^2.0.6"
33+
"@ant-design/fast-color": "^3.0.0"
3434
},
3535
"devDependencies": {
3636
"@ctrl/tinycolor": "^3.6.1",
37+
"@rc-component/father-plugin": "^2.0.4",
38+
"@rc-component/np": "^1.0.0",
3739
"@types/jest": "^26.0.24",
3840
"@types/node": "^20.14.9",
3941
"@umijs/fabric": "^3.0.0",
4042
"eslint": "^7.32.0",
4143
"father": "^4.4.4",
4244
"jest": "^26.6.3",
43-
"np": "^7.7.0",
4445
"prettier": "^2.8.8",
4546
"ts-jest": "^26.5.6",
4647
"tsx": "^4.16.1",

0 commit comments

Comments
 (0)
Please sign in to comment.