fix: deprecated pnpx usage migrated to pnpm exec

This commit is contained in:
Andrew Bastin
2022-05-03 12:39:56 +05:30
parent 514210e167
commit c20339d222
7 changed files with 241 additions and 257 deletions

View File

@@ -9,7 +9,7 @@
"pnpm": ">=3"
},
"scripts": {
"dev": "pnpx npm-run-all -p -l dev:*",
"dev": "pnpm exec npm-run-all -p -l dev:*",
"dev:nuxt": "nuxt",
"dev:gql-codegen": "graphql-codegen --config gql-codegen.yml --watch",
"build": "vue-tsc --noEmit && nuxt build",
@@ -25,7 +25,7 @@
"lintfix": "pnpm run lintfix:script && pnpm run lintfix:style",
"test": "jest",
"do-dev": "pnpm run dev",
"do-typecheck": "pnpx tsc --noEmit",
"do-typecheck": "pnpm exec tsc --noEmit",
"do-build-prod": "pnpm run generate",
"do-prod-start": "pnpm run start",
"do-lint": "pnpm run lint",
@@ -146,12 +146,16 @@
"@types/esprima": "^4.0.3",
"@types/har-format": "^1.2.8",
"@types/httpsnippet": "^1.23.1",
"@types/jest": "^27.4.1",
"@types/js-yaml": "^4.0.5",
"@types/lodash": "^4.14.181",
"@types/lossless-json": "^1.0.1",
"@types/paho-mqtt": "^1.0.6",
"@types/postman-collection": "^3.5.7",
"@types/qs": "^6.9.7",
"@types/splitpanes": "^2.2.1",
"@types/uuid": "^8.3.4",
"@types/yargs-parser": "^21.0.0",
"@urql/devtools": "^2.0.3",
"@vue/composition-api": "^1.4.9",
"@vue/runtime-dom": "^3.2.33",

View File

@@ -17,6 +17,7 @@
"@/*": ["./*"]
},
"types": [
"@types/jest",
"@types/node",
"@nuxt/types",
"@nuxtjs/i18n",