sncommit 1.0.3 → 1.0.5

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 (3) hide show
  1. package/README.md +8 -0
  2. package/dist/index.js +28658 -11537
  3. package/package.json +15 -14
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sncommit",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "description": "AI-powered git commit message generator with beautiful TUI",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -19,7 +19,7 @@
19
19
  "type-check": "tsc --noEmit",
20
20
  "format": "prettier --write .",
21
21
  "format:check": "prettier --check .",
22
- "prepublishOnly": "bun run build"
22
+ "prepublishOnly": "bun run format && bun run lint && bun run type-check && bun run build"
23
23
  },
24
24
  "keywords": [
25
25
  "git",
@@ -32,25 +32,26 @@
32
32
  "author": "VSHAL",
33
33
  "license": "MIT",
34
34
  "dependencies": {
35
- "commander": "^12.0.0",
36
- "groq-sdk": "^0.37.0",
37
- "ink": "^5.0.0",
38
- "react": "^18.0.0",
39
- "simple-git": "^3.20.0"
35
+ "@ai-sdk/groq": "^1.2.9",
36
+ "ai": "^4.3.19",
37
+ "commander": "^12.1.0",
38
+ "ink": "^5.2.1",
39
+ "react": "^18.3.1",
40
+ "simple-git": "^3.30.0"
40
41
  },
41
42
  "devDependencies": {
42
43
  "@eslint/js": "^9.39.2",
43
- "@types/node": "^20.0.0",
44
- "@types/react": "^18.0.0",
45
- "bun-types": "^1.0.0",
44
+ "@types/node": "^20.19.33",
45
+ "@types/react": "^18.3.28",
46
+ "bun-types": "^1.3.9",
46
47
  "cross-env": "^7.0.3",
47
48
  "eslint": "^9.39.2",
48
49
  "eslint-plugin-react": "^7.37.5",
49
50
  "eslint-plugin-react-hooks": "^7.0.1",
50
- "globals": "^17.0.0",
51
- "prettier": "^3.8.0",
52
- "typescript": "^5.0.0",
53
- "typescript-eslint": "^8.53.0"
51
+ "globals": "^17.3.0",
52
+ "prettier": "^3.8.1",
53
+ "typescript": "^5.9.3",
54
+ "typescript-eslint": "^8.55.0"
54
55
  },
55
56
  "engines": {
56
57
  "node": ">=18.0.0",