githits 0.1.0

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.
@@ -0,0 +1,2 @@
1
+ import { version } from "../package.json";
2
+ export { version };
package/dist/index.js ADDED
@@ -0,0 +1,6 @@
1
+ import {
2
+ version
3
+ } from "./shared/chunk-j0vey5g3.js";
4
+ export {
5
+ version
6
+ };
@@ -0,0 +1,4 @@
1
+ // package.json
2
+ var version = "0.1.0";
3
+
4
+ export { version };
package/package.json ADDED
@@ -0,0 +1,77 @@
1
+ {
2
+ "name": "githits",
3
+ "description": "CLI companion for GitHits - code examples from global open source for developers and AI assistants",
4
+ "version": "0.1.0",
5
+ "type": "module",
6
+ "files": [
7
+ "dist",
8
+ "LICENSE"
9
+ ],
10
+ "module": "./dist/index.js",
11
+ "types": "./dist/index.d.ts",
12
+ "exports": {
13
+ ".": {
14
+ "import": {
15
+ "types": "./dist/index.d.ts",
16
+ "default": "./dist/index.js"
17
+ }
18
+ },
19
+ "./package.json": "./package.json"
20
+ },
21
+ "bin": {
22
+ "githits": "dist/cli.js"
23
+ },
24
+ "scripts": {
25
+ "build": "bunup --dts --target node --packages=external --exports && chmod +x dist/cli.js",
26
+ "dev": "bun run ./src/cli.ts",
27
+ "inspector": "npx @modelcontextprotocol/inspector bun run dev mcp",
28
+ "test": "bun test",
29
+ "typecheck": "tsc",
30
+ "format": "biome format --write .",
31
+ "format:check": "biome format .",
32
+ "lint": "biome lint .",
33
+ "prepare": "husky",
34
+ "prepublishOnly": "bun run build"
35
+ },
36
+ "keywords": [
37
+ "githits",
38
+ "code-examples",
39
+ "search",
40
+ "cli",
41
+ "mcp",
42
+ "model-context-protocol",
43
+ "ai",
44
+ "llm"
45
+ ],
46
+ "author": "GitHits",
47
+ "license": "Apache-2.0",
48
+ "homepage": "https://githits.com",
49
+ "repository": {
50
+ "type": "git",
51
+ "url": "git+https://github.com/GitHits-com/githits-cli.git"
52
+ },
53
+ "bugs": {
54
+ "url": "https://github.com/GitHits-com/githits-cli/issues"
55
+ },
56
+ "engines": {
57
+ "node": ">=20"
58
+ },
59
+ "publishConfig": {
60
+ "access": "public"
61
+ },
62
+ "dependencies": {
63
+ "@modelcontextprotocol/sdk": "^1.23.0",
64
+ "@napi-rs/keyring": "^1.2.0",
65
+ "commander": "^14.0.2",
66
+ "open": "^11.0.0",
67
+ "zod": "^4.1.13"
68
+ },
69
+ "devDependencies": {
70
+ "@biomejs/biome": "^2.3.8",
71
+ "@types/bun": "latest",
72
+ "bunup": "^0.16.10",
73
+ "husky": "^9.1.7",
74
+ "lint-staged": "^16.2.7",
75
+ "typescript": "^5.9.3"
76
+ }
77
+ }