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

@@ -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:
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
pnpm link @hoppscotch/cli
// Then to use or test the CLI:
pnpx hopp
pnpm exec hopp
// After testing, to remove the package linking:
pnpm rm @hoppscotch/cli

View File

@@ -11,12 +11,12 @@
"access": "public"
},
"scripts": {
"build": "pnpx tsup",
"dev": "pnpx tsup --watch",
"build": "pnpm exec tsup",
"dev": "pnpm exec tsup --watch",
"debugger": "node debugger.js 9999",
"prepublish": "pnpx tsup",
"prepublish": "pnpm exec tsup",
"prettier-format": "prettier --config .prettierrc 'src/**/*.ts' --write",
"do-typecheck": "pnpx tsc --noEmit"
"do-typecheck": "pnpm exec tsc --noEmit"
},
"keywords": [
"cli",