Skip to content

Commit 1559c3b

Browse files
authored
chore: migrate to @rc-component namespace (#779)
* chore: migrate to @rc-component namespace * chore: adjust script * chore: adjust script
1 parent 9e74910 commit 1559c3b

File tree

3 files changed

+12
-9
lines changed

3 files changed

+12
-9
lines changed
File renamed without changes.

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "rc-tabs",
3-
"version": "15.5.1",
2+
"name": "@rc-component/tabs",
3+
"version": "1.0.0",
44
"description": "tabs ui component for react",
55
"keywords": [
66
"react",
@@ -32,21 +32,22 @@
3232
"docs:deploy": "gh-pages -d .doc",
3333
"lint": "eslint src/ docs/examples/ --ext .tsx,.ts,.jsx,.js",
3434
"now-build": "npm run build",
35-
"prepublishOnly": "npm run lint && npm run test && npm run compile && np --yolo --no-publish",
35+
"prepublishOnly": "npm run lint && npm run test && npm run compile && rc-np",
3636
"start": "dumi dev",
3737
"test": "rc-test"
3838
},
3939
"dependencies": {
40-
"@babel/runtime": "^7.11.2",
40+
"@rc-component/resize-observer": "^1.0.0",
41+
"@rc-component/util": "^1.2.0",
42+
"@rc-component/motion": "^1.1.3",
4143
"classnames": "2.x",
4244
"rc-dropdown": "~4.2.0",
4345
"rc-menu": "~9.16.0",
44-
"rc-motion": "^2.6.2",
45-
"rc-resize-observer": "^1.0.0",
46-
"rc-util": "^5.34.1"
46+
"rc-motion": "^2.6.2"
4747
},
4848
"devDependencies": {
49-
"@rc-component/father-plugin": "^1.0.0",
49+
"@rc-component/father-plugin": "^2.0.0",
50+
"@rc-component/np": "^1.0.3",
5051
"@rc-component/trigger": "^2.0.0",
5152
"@testing-library/jest-dom": "^6.1.4",
5253
"@testing-library/react": "^16.0.1",
@@ -70,7 +71,6 @@
7071
"history": "^5.3.0",
7172
"immutability-helper": "^3.0.1",
7273
"less": "^4.1.3",
73-
"np": "^10.0.2",
7474
"preact-compat": "^3.16.0",
7575
"rc-test": "^7.0.14",
7676
"react": "^18.0.0",

tsconfig.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
],
2121
"rc-tabs": [
2222
"src/"
23+
],
24+
"@rc-component/tabs": [
25+
"src/"
2326
]
2427
}
2528
},

0 commit comments

Comments
 (0)