Skip to content

Commit a6c5f48

Browse files
authored
perf: uninstall classnames, install clsx (#223)
* perf: uninstall classnames, install clsx * perf: uninstall classnames, install clsx * update
1 parent f2b327f commit a6c5f48

3 files changed

Lines changed: 12 additions & 14 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ lib
2626
es
2727
yarn.lock
2828
package-lock.json
29+
pnpm-lock.yaml
2930
coverage/
3031
.doc
3132
# dumi

package.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,18 @@
4141
"now-build": "npm run build"
4242
},
4343
"dependencies": {
44-
"classnames": "^2.2.1",
4544
"@rc-component/util": "^1.2.0"
4645
},
4746
"devDependencies": {
4847
"@rc-component/father-plugin": "^2.0.2",
48+
"@rc-component/np": "^1.0.0",
4949
"@testing-library/react": "^12.1.5",
5050
"@types/jest": "^29.5.10",
51-
"@types/react-dom": "^18.0.11",
51+
"@types/node": "^24.5.2",
5252
"@types/react": "^18.0.28",
53+
"@types/react-dom": "^18.0.11",
5354
"@umijs/fabric": "^2.0.9",
55+
"cheerio": "1.0.0-rc.12",
5456
"coveralls": "^3.0.6",
5557
"cross-env": "^7.0.2",
5658
"dumi": "^2.0.0",
@@ -61,19 +63,20 @@
6163
"gh-pages": "^6.1.0",
6264
"glob": "^7.1.6",
6365
"less": "^4.1.3",
64-
"@rc-component/np": "^1.0.0",
6566
"prettier": "^3.2.5",
6667
"pretty-quick": "^4.0.0",
6768
"rc-test": "^7.0.15",
6869
"react": "^16.0.0",
6970
"react-dom": "^16.0.0",
70-
"cheerio": "1.0.0-rc.12",
7171
"regenerator-runtime": "^0.14.0"
7272
},
7373
"peerDependencies": {
7474
"react": ">=16.9.0",
7575
"react-dom": ">=16.9.0"
7676
},
77+
"resolutions": {
78+
"@types/minimatch": "5.1.2"
79+
},
7780
"cnpm": {
7881
"mode": "npm"
7982
},

tsconfig.json

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,9 @@
88
"skipLibCheck": true,
99
"esModuleInterop": true,
1010
"paths": {
11-
"@/*": [
12-
"src/*"
13-
],
14-
"@@/*": [
15-
".dumi/tmp/*"
16-
],
17-
"rc-resize-observer": [
18-
"src/index.tsx"
19-
]
11+
"@/*": ["src/*"],
12+
"@@/*": [".dumi/tmp/*"],
13+
"rc-resize-observer": ["src/index.tsx"]
2014
}
2115
}
22-
}
16+
}

0 commit comments

Comments
 (0)