fix: deprecated pnpx usage migrated to pnpm exec
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user