refactor: replace yarn with pnpm as package manager
This commit is contained in:
@@ -21,20 +21,20 @@
|
||||
"prepare": "ts-patch install -s",
|
||||
"dev": "vite",
|
||||
"build": "vite build",
|
||||
"types": "yarn prepare && vue-tsc --declaration --emitDeclarationOnly && shx rm -rf tmp",
|
||||
"types": "pnpm prepare && vue-tsc --declaration --emitDeclarationOnly && shx rm -rf tmp",
|
||||
"postbuild": "shx rm -rf tmp",
|
||||
"prepublishOnly": "yarn build",
|
||||
"prepublishOnly": "pnpm build",
|
||||
"test": "exit 0;",
|
||||
"lint:js": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix --ignore-path .gitignore .",
|
||||
"lint": "yarn lint:js",
|
||||
"release": "yarn np --no-release-draft"
|
||||
"lint": "pnpm lint:js",
|
||||
"release": "pnpm np --no-release-draft"
|
||||
},
|
||||
"dependencies": {
|
||||
"pathfinding": "^0.4.18",
|
||||
"perfect-arrows": "^0.3.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@braks/vue-flow": "^0.4.10",
|
||||
"@braks/vue-flow": "workspace:*",
|
||||
"@types/pathfinding": "^0.0.5",
|
||||
"@vitejs/plugin-vue": "^2.3.3",
|
||||
"np": "^7.5.0",
|
||||
@@ -46,7 +46,7 @@
|
||||
"vue-tsc": "^0.35.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@braks/vue-flow": "^0.4.0",
|
||||
"@braks/vue-flow": "^0.4.15",
|
||||
"vue": "^3.2.25"
|
||||
},
|
||||
"publishConfig": {
|
||||
@@ -55,7 +55,6 @@
|
||||
},
|
||||
"np": {
|
||||
"branch": "master",
|
||||
"yarn": true,
|
||||
"message": "v%s"
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -21,20 +21,20 @@
|
||||
"prepare": "ts-patch install -s",
|
||||
"dev": "vite",
|
||||
"build": "vite build",
|
||||
"types": "yarn prepare && vue-tsc --declaration --emitDeclarationOnly && shx rm -rf tmp",
|
||||
"types": "pnpm prepare && vue-tsc --declaration --emitDeclarationOnly && shx rm -rf tmp",
|
||||
"postbuild": "shx rm -rf tmp",
|
||||
"prepublishOnly": "yarn build",
|
||||
"prepublishOnly": "pnpm build",
|
||||
"test": "exit 0;",
|
||||
"lint:js": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix --ignore-path .gitignore .",
|
||||
"lint": "yarn lint:js",
|
||||
"release": "yarn np --no-release-draft"
|
||||
"lint": "pnpm lint:js",
|
||||
"release": "pnpm np --no-release-draft"
|
||||
},
|
||||
"dependencies": {
|
||||
"@vueuse/core": "^8.4.2",
|
||||
"vue3-moveable": "^0.4.8"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@braks/vue-flow": "^0.4.14",
|
||||
"@braks/vue-flow": "workspace:*",
|
||||
"@vitejs/plugin-vue": "^2.3.3",
|
||||
"np": "^7.5.0",
|
||||
"ts-patch": "^2.0.1",
|
||||
@@ -45,7 +45,7 @@
|
||||
"vue-tsc": "^0.35.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@braks/vue-flow": "^0.4.0",
|
||||
"@braks/vue-flow": "^0.4.15",
|
||||
"vue": "^3.2.25"
|
||||
},
|
||||
"publishConfig": {
|
||||
@@ -54,7 +54,6 @@
|
||||
},
|
||||
"np": {
|
||||
"branch": "master",
|
||||
"yarn": true,
|
||||
"message": "v%s"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -126,6 +126,7 @@ declare global {
|
||||
const useDisplayMedia: typeof import('@vueuse/core')['useDisplayMedia']
|
||||
const useDocumentVisibility: typeof import('@vueuse/core')['useDocumentVisibility']
|
||||
const useDraggable: typeof import('@vueuse/core')['useDraggable']
|
||||
const useDropZone: typeof import('@vueuse/core')['useDropZone']
|
||||
const useElementBounding: typeof import('@vueuse/core')['useElementBounding']
|
||||
const useElementByPoint: typeof import('@vueuse/core')['useElementByPoint']
|
||||
const useElementHover: typeof import('@vueuse/core')['useElementHover']
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
+1
@@ -133,6 +133,7 @@ declare global {
|
||||
const useDisplayMedia: typeof import('@vueuse/core')['useDisplayMedia']
|
||||
const useDocumentVisibility: typeof import('@vueuse/core')['useDocumentVisibility']
|
||||
const useDraggable: typeof import('@vueuse/core')['useDraggable']
|
||||
const useDropZone: typeof import('@vueuse/core')['useDropZone']
|
||||
const useElementBounding: typeof import('@vueuse/core')['useElementBounding']
|
||||
const useElementByPoint: typeof import('@vueuse/core')['useElementByPoint']
|
||||
const useElementHover: typeof import('@vueuse/core')['useElementHover']
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user