sncommit 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.
- package/dist/index.js +0 -9
- package/package.json +4 -1
- package/bun.lock +0 -705
- package/eslint.config.mjs +0 -34
- package/src/components/App.tsx +0 -325
- package/src/components/CommitSuggestions.tsx +0 -157
- package/src/components/ConfigApp.tsx +0 -291
- package/src/components/CustomInputPrompt.tsx +0 -82
- package/src/components/StagedFiles.tsx +0 -52
- package/src/components/TuiDialog.tsx +0 -177
- package/src/index.tsx +0 -150
- package/src/services/git.ts +0 -128
- package/src/services/groq.ts +0 -400
- package/src/suppress-warnings.ts +0 -18
- package/src/types/index.ts +0 -36
- package/src/utils/config.ts +0 -66
- package/tsconfig.json +0 -19
package/dist/index.js
CHANGED
|
@@ -59558,15 +59558,6 @@ var ConfigApp = ({ onExit }) => {
|
|
|
59558
59558
|
backgroundColor: bgColor,
|
|
59559
59559
|
children: "••••••••"
|
|
59560
59560
|
}, undefined, false, undefined, this);
|
|
59561
|
-
if (key === "model") {
|
|
59562
|
-
const modelOption = modelOptions.find((m2) => m2.value === val);
|
|
59563
|
-
const displayValue = modelOption ? modelOption.display : val;
|
|
59564
|
-
return /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(Text, {
|
|
59565
|
-
color: textColor,
|
|
59566
|
-
backgroundColor: bgColor,
|
|
59567
|
-
children: displayValue
|
|
59568
|
-
}, undefined, false, undefined, this);
|
|
59569
|
-
}
|
|
59570
59561
|
if (key === "customPrompt")
|
|
59571
59562
|
return /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(Text, {
|
|
59572
59563
|
color: textColor,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sncommit",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "AI-powered git commit message generator with beautiful TUI",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -8,6 +8,9 @@
|
|
|
8
8
|
"better-commit": "dist/index.js",
|
|
9
9
|
"bc": "dist/index.js"
|
|
10
10
|
},
|
|
11
|
+
"files": [
|
|
12
|
+
"dist"
|
|
13
|
+
],
|
|
11
14
|
"scripts": {
|
|
12
15
|
"build": "bun build src/index.tsx --outdir dist --target node",
|
|
13
16
|
"dev": "bun run build && bun run start",
|