@ckpack/ai-commit 1.0.1 → 1.0.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/index.mjs +1 -0
  2. package/package.json +5 -5
package/dist/index.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ #!/usr/bin/env node
1
2
  import { spawnSync } from "node:child_process";
2
3
  import { EOL } from "node:os";
3
4
  import process from "node:process";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ckpack/ai-commit",
3
3
  "type": "module",
4
- "version": "1.0.1",
4
+ "version": "1.0.3",
5
5
  "private": false,
6
6
  "packageManager": "pnpm@10.12.1+sha512.f0dda8580f0ee9481c5c79a1d927b9164f2c478e90992ad268bbb2465a736984391d6333d2c327913578b2804af33474ca554ba29c04a8b13060a717675ae3ac",
7
7
  "description": "使用 Codex 根据 git diff 生成符合 Conventional Commits 的提交信息.",
@@ -9,14 +9,14 @@
9
9
  "license": "MIT",
10
10
  "repository": "https://github.com/ckpack/ai-commit",
11
11
  "exports": {
12
- ".": "./dist/index.js",
12
+ ".": "./dist/index.mjs",
13
13
  "./package.json": "./package.json"
14
14
  },
15
15
  "bin": {
16
- "ai-commit": "./dist/index.js"
16
+ "ai-commit": "./dist/index.mjs"
17
17
  },
18
- "main": "./dist/index.js",
19
- "module": "./dist/index.js",
18
+ "main": "./dist/index.mjs",
19
+ "module": "./dist/index.mjs",
20
20
  "types": "./dist/index.d.ts",
21
21
  "files": [
22
22
  "dist"