openwork-server 0.1.0 → 0.1.1

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
@@ -9,6 +9,8 @@ npm install -g openwork-server
9
9
  openwork-server --workspace /path/to/workspace --approval auto
10
10
  ```
11
11
 
12
+ `openwork-server` ships as a compiled binary, so Bun is not required at runtime.
13
+
12
14
  Or from source:
13
15
 
14
16
  ```bash
Binary file
package/dist/cli.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,18 +1,19 @@
1
1
  {
2
2
  "name": "openwork-server",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Filesystem-backed API for OpenWork remote clients",
5
5
  "type": "module",
6
6
  "bin": {
7
- "openwork-server": "dist/cli.js"
7
+ "openwork-server": "dist/bin/openwork-server"
8
8
  },
9
9
  "scripts": {
10
10
  "dev": "bun src/cli.ts",
11
11
  "build": "tsc -p tsconfig.json",
12
- "build:bin": "bun ./script/build.ts --outdir dist/bin",
12
+ "build:bin": "bun build --compile src/cli.ts --outfile dist/bin/openwork-server",
13
13
  "build:bin:all": "bun ./script/build.ts --outdir dist/bin --target bun-darwin-arm64 --target bun-darwin-x64 --target bun-linux-x64 --target bun-windows-x64",
14
14
  "start": "bun dist/cli.js",
15
- "typecheck": "tsc -p tsconfig.json --noEmit"
15
+ "typecheck": "tsc -p tsconfig.json --noEmit",
16
+ "prepublishOnly": "pnpm build:bin"
16
17
  },
17
18
  "files": [
18
19
  "dist",