pushai 0.0.3 → 0.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.
package/dist/pai.d.ts ADDED
@@ -0,0 +1 @@
1
+ #!/usr/bin/env node
package/dist/pai.js ADDED
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+ console.log("PushAI CLI is ready!");
3
+ //# sourceMappingURL=pai.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/pai.ts"],"sourcesContent":["#!/usr/bin/env node\nconsole.log(\"PushAI CLI is ready!\");\n"],"mappings":";AACA,QAAQ,IAAI,sBAAsB","names":[]}
package/package.json CHANGED
@@ -1,16 +1,24 @@
1
1
  {
2
2
  "name": "pushai",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "Push AI - AI-powered git commit messages",
5
+ "type": "module",
5
6
  "bin": {
6
- "pai": "./cli.js"
7
+ "pai": "./bin/pai.js"
7
8
  },
9
+ "exports": "./dist/pai.js",
8
10
  "files": [
9
- "cli.js"
11
+ "dist",
12
+ "bin",
13
+ "package.json"
10
14
  ],
11
15
  "scripts": {
16
+ "dev": "tsx watch src/pai.ts",
17
+ "build": "tsup",
18
+ "start": "node dist/pai.js",
12
19
  "pushout": "npm publish --access public",
13
- "pushout:inc": "npm version patch --no-git-tag-version && pnpm run pushout"
20
+ "pushout:patch": "npm version patch --no-git-tag-version",
21
+ "pushout:inc": "pnpm build && pnpm run pushout:patch && pnpm run pushout"
14
22
  },
15
23
  "author": {
16
24
  "name": "Holiday",
@@ -22,5 +30,10 @@
22
30
  "chalk": "^5.6.2",
23
31
  "commander": "^14.0.3",
24
32
  "execa": "^9.6.1"
33
+ },
34
+ "devDependencies": {
35
+ "tsup": "^8.5.1",
36
+ "tsx": "^4.21.0",
37
+ "typescript": "^6.0.3"
25
38
  }
26
39
  }