fix: deprecated pnpx usage migrated to pnpm exec
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
"pnpm": ">=3"
|
"pnpm": ">=3"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "pnpx npm-run-all -p -l dev:*",
|
"dev": "pnpm exec npm-run-all -p -l dev:*",
|
||||||
"dev:nuxt": "nuxt",
|
"dev:nuxt": "nuxt",
|
||||||
"dev:gql-codegen": "graphql-codegen --config gql-codegen.yml --watch",
|
"dev:gql-codegen": "graphql-codegen --config gql-codegen.yml --watch",
|
||||||
"build": "vue-tsc --noEmit && nuxt build",
|
"build": "vue-tsc --noEmit && nuxt build",
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
"lintfix": "pnpm run lintfix:script && pnpm run lintfix:style",
|
"lintfix": "pnpm run lintfix:script && pnpm run lintfix:style",
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
"do-dev": "pnpm run dev",
|
"do-dev": "pnpm run dev",
|
||||||
"do-typecheck": "pnpx tsc --noEmit",
|
"do-typecheck": "pnpm exec tsc --noEmit",
|
||||||
"do-build-prod": "pnpm run generate",
|
"do-build-prod": "pnpm run generate",
|
||||||
"do-prod-start": "pnpm run start",
|
"do-prod-start": "pnpm run start",
|
||||||
"do-lint": "pnpm run lint",
|
"do-lint": "pnpm run lint",
|
||||||
@@ -146,12 +146,16 @@
|
|||||||
"@types/esprima": "^4.0.3",
|
"@types/esprima": "^4.0.3",
|
||||||
"@types/har-format": "^1.2.8",
|
"@types/har-format": "^1.2.8",
|
||||||
"@types/httpsnippet": "^1.23.1",
|
"@types/httpsnippet": "^1.23.1",
|
||||||
|
"@types/jest": "^27.4.1",
|
||||||
|
"@types/js-yaml": "^4.0.5",
|
||||||
"@types/lodash": "^4.14.181",
|
"@types/lodash": "^4.14.181",
|
||||||
"@types/lossless-json": "^1.0.1",
|
"@types/lossless-json": "^1.0.1",
|
||||||
"@types/paho-mqtt": "^1.0.6",
|
"@types/paho-mqtt": "^1.0.6",
|
||||||
"@types/postman-collection": "^3.5.7",
|
"@types/postman-collection": "^3.5.7",
|
||||||
|
"@types/qs": "^6.9.7",
|
||||||
"@types/splitpanes": "^2.2.1",
|
"@types/splitpanes": "^2.2.1",
|
||||||
"@types/uuid": "^8.3.4",
|
"@types/uuid": "^8.3.4",
|
||||||
|
"@types/yargs-parser": "^21.0.0",
|
||||||
"@urql/devtools": "^2.0.3",
|
"@urql/devtools": "^2.0.3",
|
||||||
"@vue/composition-api": "^1.4.9",
|
"@vue/composition-api": "^1.4.9",
|
||||||
"@vue/runtime-dom": "^3.2.33",
|
"@vue/runtime-dom": "^3.2.33",
|
||||||
|
|||||||
@@ -17,6 +17,7 @@
|
|||||||
"@/*": ["./*"]
|
"@/*": ["./*"]
|
||||||
},
|
},
|
||||||
"types": [
|
"types": [
|
||||||
|
"@types/jest",
|
||||||
"@types/node",
|
"@types/node",
|
||||||
"@nuxt/types",
|
"@nuxt/types",
|
||||||
"@nuxtjs/i18n",
|
"@nuxtjs/i18n",
|
||||||
|
|||||||
@@ -27,13 +27,13 @@ Please note we have a code of conduct, please follow it in all your interactions
|
|||||||
|
|
||||||
2. In order to test locally, you can use two types of package linking:
|
2. In order to test locally, you can use two types of package linking:
|
||||||
|
|
||||||
1. The 'pnpx' way (preferred since it does not hamper your original installation of the CLI):
|
1. The 'pnpm exec' way (preferred since it does not hamper your original installation of the CLI):
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
pnpm link @hoppscotch/cli
|
pnpm link @hoppscotch/cli
|
||||||
|
|
||||||
// Then to use or test the CLI:
|
// Then to use or test the CLI:
|
||||||
pnpx hopp
|
pnpm exec hopp
|
||||||
|
|
||||||
// After testing, to remove the package linking:
|
// After testing, to remove the package linking:
|
||||||
pnpm rm @hoppscotch/cli
|
pnpm rm @hoppscotch/cli
|
||||||
|
|||||||
@@ -11,12 +11,12 @@
|
|||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "pnpx tsup",
|
"build": "pnpm exec tsup",
|
||||||
"dev": "pnpx tsup --watch",
|
"dev": "pnpm exec tsup --watch",
|
||||||
"debugger": "node debugger.js 9999",
|
"debugger": "node debugger.js 9999",
|
||||||
"prepublish": "pnpx tsup",
|
"prepublish": "pnpm exec tsup",
|
||||||
"prettier-format": "prettier --config .prettierrc 'src/**/*.ts' --write",
|
"prettier-format": "prettier --config .prettierrc 'src/**/*.ts' --write",
|
||||||
"do-typecheck": "pnpx tsc --noEmit"
|
"do-typecheck": "pnpm exec tsc --noEmit"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"cli",
|
"cli",
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsup src --dts",
|
"build": "tsup src --dts",
|
||||||
"prepare": "tsup src --dts",
|
"prepare": "tsup src --dts",
|
||||||
"do-typecheck": "pnpx tsc --noEmit"
|
"do-typecheck": "pnpm exec tsc --noEmit"
|
||||||
},
|
},
|
||||||
"exports": {
|
"exports": {
|
||||||
".": "./dist/index.js",
|
".": "./dist/index.js",
|
||||||
@@ -32,7 +32,8 @@
|
|||||||
"homepage": "https://github.com/hoppscotch/hoppscotch#readme",
|
"homepage": "https://github.com/hoppscotch/hoppscotch#readme",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/lodash": "^4.14.181",
|
"@types/lodash": "^4.14.181",
|
||||||
"tsup": "^5.12.5"
|
"tsup": "^5.12.5",
|
||||||
|
"typescript": "^4.6.3"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"fp-ts": "^2.11.10",
|
"fp-ts": "^2.11.10",
|
||||||
|
|||||||
@@ -19,14 +19,14 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "eslint --ext .ts,.js --ignore-path .gitignore .",
|
"lint": "eslint --ext .ts,.js --ignore-path .gitignore .",
|
||||||
"lintfix": "eslint --fix --ext .ts,.js --ignore-path .gitignore .",
|
"lintfix": "eslint --fix --ext .ts,.js --ignore-path .gitignore .",
|
||||||
"test": "pnpx jest",
|
"test": "pnpm exec jest",
|
||||||
"build": "pnpx tsup",
|
"build": "pnpm exec tsup",
|
||||||
"clean": "pnpx tsc --build --clean",
|
"clean": "pnpm tsc --build --clean",
|
||||||
"postinstall": "pnpm run build",
|
"postinstall": "pnpm run build",
|
||||||
"prepublish": "pnpm run build",
|
"prepublish": "pnpm run build",
|
||||||
"do-lint": "pnpm run lint",
|
"do-lint": "pnpm run lint",
|
||||||
"do-lintfix": "pnpm run lintfix",
|
"do-lintfix": "pnpm run lintfix",
|
||||||
"do-typecheck": "pnpx tsc --noEmit",
|
"do-typecheck": "pnpm exec tsc --noEmit",
|
||||||
"do-build-prod": "pnpm run build",
|
"do-build-prod": "pnpm run build",
|
||||||
"do-test": "pnpm run test"
|
"do-test": "pnpm run test"
|
||||||
},
|
},
|
||||||
|
|||||||
464
pnpm-lock.yaml
generated
464
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user