Skip to content

Commit 4460652

Browse files
committed
chore: migrate to @rc-component namespace
1 parent 325f3d9 commit 4460652

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "rc-switch",
3-
"version": "4.1.0",
2+
"name": "@rc-component/switch",
3+
"version": "1.0.0",
44
"description": "switch ui component for react",
55
"keywords": [
66
"react",
@@ -32,7 +32,7 @@
3232
"lint": "eslint .",
3333
"lint-staged": "lint-staged",
3434
"prepare": "husky install && dumi setup",
35-
"prepublishOnly": "npm run compile && np --yolo --no-publish",
35+
"prepublishOnly": "npm run compile && rc-np",
3636
"postpublish": "npm run gh-pages",
3737
"start": "dumi dev",
3838
"test": "umi-test"
@@ -48,7 +48,7 @@
4848
"rc-util": "^5.30.0"
4949
},
5050
"devDependencies": {
51-
"@rc-component/father-plugin": "^1.0.0",
51+
"@rc-component/father-plugin": "^2.0.0",
5252
"@types/classnames": "^2.2.10",
5353
"@types/jest": "^29.4.0",
5454
"@umijs/fabric": "^3.0.0",

tsconfig.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@
1414
"declaration": true,
1515
"paths": {
1616
"rc-switch": ["src/index.tsx"],
17-
"@@/*": [".dumi/tmp/*"]
17+
"@@/*": [".dumi/tmp/*"],
18+
"@rc-component/switch": [
19+
"src/"
20+
]
1821
}
1922
}
2023
}

0 commit comments

Comments
 (0)