Skip to content

Commit 4f4d462

Browse files
committed
chore: 切换pkg manager为pnpm并更新依赖版本
1 parent e21d5ca commit 4f4d462

File tree

7 files changed

+15269
-14978
lines changed

7 files changed

+15269
-14978
lines changed

.umirc.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ export default defineConfig({
1616
exportStatic: {},
1717
dynamicImport: {},
1818
webpack5: {},
19-
mfsu: {},
2019
base,
2120
publicPath,
2221
});

.yarnrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

package.json

Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,12 @@
7070
}
7171
},
7272
"peerDependencies": {
73-
"react": ">=16.8.0",
74-
"react-dom": ">=16.8.0"
73+
"react": "^16.8.0",
74+
"react-dom": "^16.8.0"
75+
},
76+
"dependencies": {
77+
"@babel/runtime": "^7",
78+
"prop-types": "^15.7.2"
7579
},
7680
"devDependencies": {
7781
"@babel/core": "^7.7.7",
@@ -83,12 +87,13 @@
8387
"@babel/preset-typescript": "^7.7.7",
8488
"@commitlint/cli": "^8.2.0",
8589
"@commitlint/config-conventional": "^8.2.0",
86-
"@testing-library/jest-dom": "^4.2.4",
87-
"@testing-library/react": "^9.4.0",
88-
"@types/jest": "^24.0.25",
89-
"@types/react": "^16.8.0",
90+
"@testing-library/jest-dom": "^5.16.4",
91+
"@testing-library/react": "^12.1.4",
92+
"@testing-library/user-event": "^13.5.0",
93+
"@types/jest": "^27.4.1",
94+
"@types/node": "^16.11.26",
9095
"@types/react-dom": "^16.8.0",
91-
"@types/testing-library__react": "^9.1.2",
96+
"@types/react": "^16.8.0",
9297
"@typescript-eslint/parser": "^1.9.0",
9398
"@umijs/fabric": "^1.2.12",
9499
"babel-plugin-import": "^1.13.3",
@@ -99,35 +104,27 @@
99104
"doctoc": "^1.4.0",
100105
"dumi": "^1.0.13",
101106
"gh-pages": "^3.2.3",
102-
"gulp": "^4.0.2",
103107
"gulp-autoprefixer": "^7.0.1",
104108
"gulp-babel": "^8.0.0",
105109
"gulp-cssnano": "^2.1.3",
106110
"gulp-less": "^4.0.1",
111+
"gulp": "^4.0.2",
107112
"husky": "^3.1.0",
108113
"identity-obj-proxy": "^3.0.0",
109114
"jest": "^24.9.0",
110115
"less": "^3.10.3",
111116
"lint-staged": "^9.5.0",
112117
"np": "^7.5.0",
113118
"plop": "^2.6.0",
114-
"prettier": "^1.19.1",
115-
"react": "^16.8.0",
119+
"prettier": "^2",
116120
"react-dom": "^16.8.0",
121+
"react": "^16.8.0",
117122
"rimraf": "^3.0.0",
118-
"serve": "^12.0.0",
123+
"serve": "^13",
119124
"snapshot-diff": "^0.6.1",
120125
"through2": "^3.0.1",
121126
"ts-jest": "^24.2.0",
122127
"ts-node": "^8.10.1",
123-
"typescript": "^3.7.3"
124-
},
125-
"dependencies": {
126-
"@babel/runtime": "^7.7.7",
127-
"prop-types": "^15.7.2"
128-
},
129-
"resolutions": {
130-
"@types/react": "16.14.10",
131-
"@types/react-dom": "16.9.13"
128+
"typescript": "^4"
132129
}
133130
}

0 commit comments

Comments
 (0)