@openpolicy/cli 0.0.3 → 0.0.4

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.
Files changed (2) hide show
  1. package/dist/cli +0 -0
  2. package/package.json +4 -4
package/dist/cli ADDED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openpolicy/cli",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "type": "module",
5
5
  "description": "CLI for generating and validating OpenPolicy privacy policy documents",
6
6
  "license": "MIT",
@@ -15,7 +15,7 @@
15
15
  "README.md"
16
16
  ],
17
17
  "bin": {
18
- "openpolicy": "./src/cli.ts"
18
+ "openpolicy": "./dist/cli"
19
19
  },
20
20
  "exports": {
21
21
  ".": "./src/index.ts"
@@ -32,8 +32,8 @@
32
32
  }
33
33
  },
34
34
  "scripts": {
35
- "build": "bun build ./src/cli.ts --outdir dist --target bun --banner '#!/usr/bin/env bun' && bun build ./src/index.ts --outdir dist --external citty --external consola && tsc --emitDeclarationOnly",
36
- "postbuild": "chmod +x dist/cli.js",
35
+ "build": "bun build ./src/cli.ts --compile --outfile dist/cli",
36
+ "postbuild": "chmod +x dist/cli",
37
37
  "check-types": "tsc --noEmit",
38
38
  "test": "bun test"
39
39
  },