zapdev 0.5.0 → 0.6.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.
Files changed (4) hide show
  1. package/README.md +16 -19
  2. package/dist/cli.js +2786 -0
  3. package/dist/index.js +4 -3762
  4. package/package.json +12 -13
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zapdev",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "Fast, performant and lightweight git chores and dev tools using your terminal and your own local LLM.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -10,7 +10,7 @@
10
10
  "dist"
11
11
  ],
12
12
  "engines": {
13
- "bun": ">=1.0.0"
13
+ "node": ">=20"
14
14
  },
15
15
  "keywords": [
16
16
  "git",
@@ -19,8 +19,7 @@
19
19
  "conventional-commits",
20
20
  "ollama",
21
21
  "llm",
22
- "ai",
23
- "bun"
22
+ "ai"
24
23
  ],
25
24
  "author": "Matthieu Vagnon <hi@mvagnon.dev>",
26
25
  "license": "MIT",
@@ -36,25 +35,25 @@
36
35
  "access": "public"
37
36
  },
38
37
  "scripts": {
39
- "zapdev": "bun run src/index.ts",
40
- "build": "bun build src/index.ts --target=bun --outdir dist",
38
+ "zapdev": "npm run build && node dist/index.js",
39
+ "build": "esbuild src/cli.ts --bundle --platform=node --format=esm --target=node20 --loader:.md=text --outfile=dist/cli.js && esbuild src/index.ts --platform=node --format=esm --target=node20 --outfile=dist/index.js",
41
40
  "lint": "eslint .",
42
41
  "typecheck": "tsc --noEmit",
43
42
  "test": "vitest run",
44
- "prepack": "bun run build"
45
- },
46
- "dependencies": {
47
- "@clack/prompts": "^1.6.0",
48
- "citty": "^0.2.2",
49
- "ollama": "^0.6.3"
43
+ "prepack": "npm run build"
50
44
  },
51
45
  "devDependencies": {
46
+ "@clack/prompts": "^1.6.0",
52
47
  "@eslint/js": "^10.0.1",
53
48
  "@eslint/json": "^2.0.0",
54
49
  "@eslint/markdown": "^8.0.2",
55
- "@types/bun": "^1.3.14",
50
+ "@types/node": "^26.1.1",
51
+ "citty": "^0.2.2",
52
+ "esbuild": "^0.28.1",
56
53
  "eslint": "^10.6.0",
57
54
  "jiti": "^2.7.0",
55
+ "tinyexec": "^1.2.4",
56
+ "typescript": "^6.0.3",
58
57
  "typescript-eslint": "^8.62.1",
59
58
  "vitest": "^4.1.9"
60
59
  }