chore: support yarn berry

This commit is contained in:
idranme
2024-08-04 19:48:17 +08:00
parent 74d9a083aa
commit 799593b788
3 changed files with 16 additions and 5 deletions

15
.gitignore vendored

@@ -1,6 +1,15 @@
node_modules/
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
package-lock.json
dist/
out/
yarn.lock
node_modules
dist
out
.idea/
.DS_Store

1
.yarnrc.yml Normal file

@@ -0,0 +1 @@
nodeLinker: node-modules

@@ -39,8 +39,9 @@
"eslint-plugin-n": "^15.0.0 || ^16.0.0",
"eslint-plugin-promise": "^6.0.0",
"ts-node": "^10.9.2",
"typescript": "*",
"typescript": "^5.5.4",
"vite": "^5.1.4",
"vite-plugin-cp": "^4.0.8"
}
},
"packageManager": "yarn@4.4.0"
}