refactor: replace yarn with pnpm as package manager
This commit is contained in:
@@ -24,13 +24,13 @@
|
||||
"scripts": {
|
||||
"prepare": "ts-patch install -s",
|
||||
"build": "vite build",
|
||||
"types": "yarn prepare && vue-tsc --declaration --emitDeclarationOnly && tsc -p tsconfig.build.json && shx rm -rf tmp && yarn lint:dist",
|
||||
"types": "pnpm prepare && vue-tsc --declaration --emitDeclarationOnly && tsc -p tsconfig.build.json && shx rm -rf tmp && pnpm lint:dist",
|
||||
"typedoc": "typedoc --tsconfig tsconfig.docs.json dist/index.d.ts --out typedocs",
|
||||
"theme": "postcss src/style.css -o dist/style.css && postcss src/theme-default.css -o dist/theme-default.css",
|
||||
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix --ignore-path ../../.gitignore .",
|
||||
"lint:dist": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix ./dist",
|
||||
"prepublishOnly": "shx cp ../../README.md .",
|
||||
"release": "yarn np",
|
||||
"release": "pnpm np",
|
||||
"postpublish": "shx rm README.md"
|
||||
},
|
||||
"peerDependencies": {
|
||||
@@ -67,7 +67,6 @@
|
||||
},
|
||||
"np": {
|
||||
"branch": "master",
|
||||
"yarn": true,
|
||||
"message": "v%s"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user