Skip to content

Commit bdd4b45

Browse files
authored
chore: bump father plugin (#72)
1 parent 7d25144 commit bdd4b45

File tree

2 files changed

+8
-12
lines changed

2 files changed

+8
-12
lines changed

.fatherrc.js

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
import { defineConfig } from 'father';
22

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

package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@rc-component/tour",
3-
"version": "1.15.1",
3+
"version": "2.0.0-0",
44
"description": "React tour Component",
55
"keywords": [
66
"react",
@@ -33,7 +33,7 @@
3333
"lint:tsc": "tsc -p tsconfig.json --noEmit",
3434
"now-build": "npm run docs:build",
3535
"prepare": "dumi setup",
36-
"prepublishOnly": "npm run compile && np --no-cleanup --yolo --no-publish",
36+
"prepublishOnly": "npm run compile && rc-np",
3737
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
3838
"start": "dumi dev",
3939
"test": "umi-test",
@@ -47,22 +47,23 @@
4747
"rc-util": "^5.24.4"
4848
},
4949
"devDependencies": {
50+
"@rc-component/father-plugin": "^2.0.3",
51+
"@rc-component/np": "^1.0.3",
5052
"@testing-library/jest-dom": "^5.16.4",
5153
"@testing-library/react": "^15.0.0",
5254
"@types/jest": "^29.0.0",
5355
"@types/react": "^18.0.0",
5456
"@types/react-dom": "^18.0.0",
5557
"@umijs/fabric": "^2.5.2",
58+
"cheerio": "1.0.0-rc.12",
5659
"dumi": "^2.1.2",
5760
"eslint": "^7.18.0",
58-
"father": "^4.0.0-rc.8",
61+
"father": "^4.0.0",
5962
"gh-pages": "^3.1.0",
60-
"np": "^5.0.3",
6163
"prettier": "^3.0.0",
6264
"react": "^18.3.1",
6365
"react-dom": "^18.3.1",
6466
"typescript": "^5.0.0",
65-
"cheerio": "1.0.0-rc.12",
6667
"umi-test": "^1.9.7"
6768
},
6869
"peerDependencies": {

0 commit comments

Comments
 (0)