@joshski/dust 0.1.2 → 0.1.3

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/dust.js +2 -1
  2. package/package.json +2 -2
package/dist/dust.js CHANGED
@@ -1,3 +1,4 @@
1
+ #!/usr/bin/env node
1
2
  // lib/cli/entry.ts
2
3
  import { existsSync } from "node:fs";
3
4
  import { mkdir, readdir, readFile, writeFile } from "node:fs/promises";
@@ -551,4 +552,4 @@ var result = await main({
551
552
  fs,
552
553
  glob
553
554
  });
554
- process.exit(result.exitCode);
555
+ process.exit(result.exitCode);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@joshski/dust",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "A lightweight planning system for human-AI collaboration",
5
5
  "type": "module",
6
6
  "bin": {
@@ -23,7 +23,7 @@
23
23
  "author": "joshski",
24
24
  "license": "MIT",
25
25
  "scripts": {
26
- "build": "bun build lib/cli/entry.ts --target node --outfile dist/dust.js",
26
+ "build": "bun build lib/cli/entry.ts --target node --outfile dist/dust.js && printf '%s\\n%s' '#!/usr/bin/env node' \"$(cat dist/dust.js)\" > dist/dust.js",
27
27
  "test": "vitest run",
28
28
  "test:coverage": "vitest run --coverage"
29
29
  },