code-craft-cli 1.0.2 → 1.0.4

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/README.md +2 -2
  2. package/package.json +10 -2
package/README.md CHANGED
@@ -22,7 +22,7 @@ GOOGLE_GENERATIVE_AI_API_KEY=your_api_key_here
22
22
 
23
23
  Run the tool by describing the code you want to generate. By default, it saves to output.ts.
24
24
 
25
- ```shell
25
+ ```text
26
26
  gen "Create a function to calculate the area of a circle"
27
27
  ```
28
28
 
@@ -30,7 +30,7 @@ gen "Create a function to calculate the area of a circle"
30
30
 
31
31
  The tool is context-aware. If you use a .ts extension, it will automatically provide explicit TypeScript types and interfaces. For .js, it will provide clean JavaScript.
32
32
 
33
- ```shell
33
+ ```text
34
34
  # Generate a JavaScript file
35
35
  gen "fetch bitcoin price from a public API" --name crypto.js
36
36
 
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "code-craft-cli",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "A high-performance CLI tool to generate runnable code files using Gemini AI",
5
5
  "type": "module",
6
6
  "author": "Syed Affan Ali",
7
7
  "bin": {
8
- "gen": "./bin/index.js"
8
+ "gen": "bin/index.js"
9
9
  },
10
10
  "keywords": [
11
11
  "ai",
@@ -14,6 +14,14 @@
14
14
  "cli",
15
15
  "typescript"
16
16
  ],
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "git+https://github.com/MrAfoo/code-craft-cli.git"
20
+ },
21
+ "bugs": {
22
+ "url": "https://github.com/MrAfoo/code-craft-cli/issues"
23
+ },
24
+ "homepage": "https://github.com/MrAfoo/code-craft-cli#readme",
17
25
  "license": "MIT",
18
26
  "dependencies": {
19
27
  "@ai-sdk/google": "^3.0.71",