Chore: use yarn v3

This commit is contained in:
Dreamacro 2021-08-15 21:44:47 +08:00
parent 98d1e4e3a2
commit 3ac77e35bc
5 changed files with 6894 additions and 4286 deletions

8
.gitignore vendored
View File

@ -4,3 +4,11 @@ node_modules/
src/**/*.jsx src/**/*.jsx
tests/__coverage__/ tests/__coverage__/
tests/**/*.jsx tests/**/*.jsx
.yarn/*
!.yarn/patches
!.yarn/releases
!.yarn/plugins
!.yarn/sdks
!.yarn/versions
.pnp.*

631
.yarn/releases/yarn-3.0.1.cjs vendored Executable file

File diff suppressed because one or more lines are too long

2
.yarnrc.yml Normal file
View File

@ -0,0 +1,2 @@
nodeLinker: node-modules
yarnPath: .yarn/releases/yarn-3.0.1.cjs

View File

@ -25,24 +25,24 @@
"contributors:generate": "all-contributors generate" "contributors:generate": "all-contributors generate"
}, },
"devDependencies": { "devDependencies": {
"@babel/eslint-parser": "^7.15.0",
"@types/lodash-es": "^4.17.4", "@types/lodash-es": "^4.17.4",
"@types/node": "^16.4.13", "@types/node": "^16.6.1",
"@types/react": "^17.0.16", "@types/react": "^17.0.18",
"@types/react-dom": "^17.0.9", "@types/react-dom": "^17.0.9",
"@types/react-router-dom": "^5.1.8", "@types/react-router-dom": "^5.1.8",
"@types/react-table": "^7.7.2", "@types/react-table": "^7.7.2",
"@types/react-virtualized-auto-sizer": "^1.0.1", "@types/react-virtualized-auto-sizer": "^1.0.1",
"@types/react-window": "^1.8.5", "@types/react-window": "^1.8.5",
"@typescript-eslint/eslint-plugin": "^4.29.0", "@typescript-eslint/eslint-plugin": "^4.29.1",
"@typescript-eslint/parser": "^4.29.0", "@typescript-eslint/parser": "^4.29.1",
"@vitejs/plugin-react-refresh": "^1.3.6", "@vitejs/plugin-react-refresh": "^1.3.6",
"babel-eslint": "^10.1.0",
"eslint": "^7.32.0", "eslint": "^7.32.0",
"eslint-config-react-app": "^6.0.0", "eslint-config-react-app": "^6.0.0",
"eslint-config-standard-with-typescript": "^20.0.0", "eslint-config-standard-with-typescript": "^20.0.0",
"eslint-import-resolver-typescript": "^2.4.0", "eslint-import-resolver-typescript": "^2.4.0",
"eslint-plugin-flowtype": "^5.9.0", "eslint-plugin-flowtype": "^5.9.0",
"eslint-plugin-import": "^2.23.4", "eslint-plugin-import": "^2.24.0",
"eslint-plugin-jsx-a11y": "^6.4.1", "eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-node": "^11.1.0", "eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.1.0", "eslint-plugin-promise": "^5.1.0",
@ -52,10 +52,10 @@
"type-fest": "^2.0.0", "type-fest": "^2.0.0",
"typescript": "^4.3.5", "typescript": "^4.3.5",
"vite": "^2.4.4", "vite": "^2.4.4",
"vite-plugin-pwa": "^0.9.3", "vite-plugin-pwa": "^0.10.0",
"vite-plugin-windicss": "^1.2.7", "vite-plugin-windicss": "^1.2.7",
"vite-tsconfig-paths": "^3.3.13", "vite-tsconfig-paths": "^3.3.13",
"windicss": "^3.1.6" "windicss": "^3.1.7"
}, },
"dependencies": { "dependencies": {
"axios": "^0.21.1", "axios": "^0.21.1",
@ -63,7 +63,7 @@
"dayjs": "^1.10.6", "dayjs": "^1.10.6",
"eventemitter3": "^4.0.7", "eventemitter3": "^4.0.7",
"immer": "^9.0.5", "immer": "^9.0.5",
"jotai": "^1.2.2", "jotai": "^1.3.0",
"lodash-es": "^4.17.21", "lodash-es": "^4.17.21",
"neverthrow": "^4.2.2", "neverthrow": "^4.2.2",
"react": "^17.0.2", "react": "^17.0.2",
@ -71,7 +71,7 @@
"react-router-dom": "^5.2.0", "react-router-dom": "^5.2.0",
"react-table": "^7.7.0", "react-table": "^7.7.0",
"react-use": "^17.2.4", "react-use": "^17.2.4",
"react-virtualized-auto-sizer": "^1.0.5", "react-virtualized-auto-sizer": "^1.0.6",
"react-window": "^1.8.6", "react-window": "^1.8.6",
"swr": "^0.5.6", "swr": "^0.5.6",
"use-immer": "^0.6.0" "use-immer": "^0.6.0"

10519
yarn.lock

File diff suppressed because it is too large Load Diff