@jerryshell/aicommits 0.1.5 → 0.1.7

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.mjs +213 -275
  2. package/package.json +20 -12
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jerryshell/aicommits",
3
- "version": "0.1.5",
3
+ "version": "0.1.7",
4
4
  "description": "AI-powered git commit message generator",
5
5
  "license": "MIT",
6
6
  "contributors": [
@@ -19,28 +19,36 @@
19
19
  "dist"
20
20
  ],
21
21
  "type": "module",
22
+ "publishConfig": {
23
+ "access": "public"
24
+ },
22
25
  "scripts": {
23
- "build": "bun build src/cli.ts --outfile=dist/cli.mjs --format=esm --minify --target=node --banner='#!/usr/bin/env node'",
24
- "format": "bunx oxfmt",
25
- "lint": "bunx oxlint",
26
+ "build": "bun build src/cli.ts --outfile=dist/cli.mjs --format=esm --minify --target=node",
27
+ "format": "oxfmt",
28
+ "lint": "oxlint",
26
29
  "typecheck": "tsc",
27
- "test": "bun test tests/",
28
- "prepack": "bun run build"
30
+ "test": "bun run build && bun test tests/",
31
+ "prepare": "bun run build"
29
32
  },
30
33
  "devDependencies": {
31
- "@ai-sdk/openai": "^4.0.21",
32
- "@ai-sdk/openai-compatible": "^3.0.16",
33
- "@ai-sdk/provider": "^3.0.0",
34
+ "@ai-sdk/openai": "^4.0.67",
35
+ "@ai-sdk/openai-compatible": "^3.0.49",
36
+ "@ai-sdk/provider": "^4",
34
37
  "@clack/prompts": "^0.11.0",
35
- "@types/bun": "^1.4.0",
38
+ "@types/bun": "^1.4.2",
36
39
  "@types/ini": "^1.3.34",
37
- "ai": "^7.0.39",
40
+ "ai": "^7.0.102",
38
41
  "cleye": "^2.6.0",
39
42
  "execa": "^7.2.0",
40
43
  "fs-fixture": "^1.2.0",
41
44
  "ini": "^3.0.1",
42
45
  "kolorist": "^1.8.0",
46
+ "oxfmt": "0.68.0",
47
+ "oxlint": "1.83.0",
43
48
  "typescript": "^5.9.3",
44
- "zod": "^4.4.3"
49
+ "zod": "^4.6.5"
50
+ },
51
+ "engines": {
52
+ "node": ">=22"
45
53
  }
46
54
  }