nbound 1.0.4 → 1.0.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nbound",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "Forward webhooks to localhost for development",
5
5
  "type": "module",
6
6
  "bin": {
@@ -10,7 +10,7 @@
10
10
  "dist"
11
11
  ],
12
12
  "scripts": {
13
- "build": "bun build ./src/index.ts --outdir ./dist --target node --sourcemap && bun build ./bin/nbound.ts --outdir ./dist/bin --target node",
13
+ "build": "bun build ./src/index.ts --outdir ./dist --target node --sourcemap && bun build ./bin/nbound.ts --outdir ./dist/bin --target node && node -e \"const fs=require('fs');const f='./dist/bin/nbound.js';fs.writeFileSync(f,fs.readFileSync(f,'utf8').replace(/^#!.*\\n/,'#!/usr/bin/env node\\n'))\"",
14
14
  "dev": "bun run --watch src/index.ts",
15
15
  "typecheck": "tsc --noEmit"
16
16
  },