hookdeck-cli 0.6.6 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -196,6 +196,29 @@ Configure auto-completion for Hookdeck CLI. It is run on install when using Home
196
196
  hookdeck completion
197
197
  ```
198
198
 
199
+ ### Running in CI
200
+
201
+ If you want to use Hookdeck in CI for tests or any other purposes, you can use your HOOKDECK_API_KEY to authenticate and start forwarding events.
202
+
203
+ ```sh-session
204
+ $ hookdeck ci --api-key $HOOKDECK_API_KEY
205
+ Done! The Hookdeck CLI is configured in workspace MyWorkspace
206
+
207
+ $ hookdeck listen 3000 shopify orders
208
+
209
+ 👉 Inspect and replay webhooks: https://dashboard.hookdeck.com/cli/events
210
+
211
+ Shopify Source
212
+ 🔌 Webhook URL: https://events.hookdeck.com/e/src_DAjaFWyyZXsFdZrTOKpuHnOH
213
+
214
+ Connections
215
+ Inventory Service forwarding to /webhooks/shopify/inventory
216
+
217
+
218
+ ⣾ Getting ready...
219
+
220
+ ```
221
+
199
222
  ## Developing
200
223
 
201
224
  Build from source by running:
package/bin/hookdeck CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hookdeck-cli",
3
- "version": "0.6.6",
3
+ "version": "0.7.0",
4
4
  "description": "Hookdeck CLI",
5
5
  "repository": {
6
6
  "type": "git",
@@ -20,7 +20,8 @@
20
20
  },
21
21
  "files": [],
22
22
  "scripts": {
23
- "preinstall": "go-npm install"
23
+ "postinstall": "go-npm install",
24
+ "preuninstall": "go-npm uninstall"
24
25
  },
25
26
  "goBinary": {
26
27
  "name": "hookdeck",