Skip to content

Commit bd11cf1

Browse files
authored
Add @lithium-ai/kit package scaffold (#58) (#66)
1 parent dba2574 commit bd11cf1

5 files changed

Lines changed: 141 additions & 0 deletions

File tree

packages/kit/package.json

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
{
2+
"name": "@lithium-ai/kit",
3+
"version": "0.0.1",
4+
"description": "CLI toolbox for Lithium. Scaffold, serve, and manage hierarchical versioned storage.",
5+
"keywords": [
6+
"lithium",
7+
"cli",
8+
"mcp",
9+
"model-context-protocol",
10+
"hierarchical",
11+
"versioned",
12+
"storage",
13+
"ai",
14+
"ai-memory",
15+
"ai-infrastructure",
16+
"context-engine",
17+
"developer-tools",
18+
"typescript",
19+
"postgres",
20+
"ltree"
21+
],
22+
"type": "module",
23+
"license": "MIT",
24+
"bin": {
25+
"lithium-kit": "./dist/index.js"
26+
},
27+
"files": [
28+
"dist"
29+
],
30+
"scripts": {
31+
"build": "tsup",
32+
"typecheck": "tsc --noEmit"
33+
},
34+
"dependencies": {
35+
"@lithium-ai/core": "workspace:*",
36+
"@lithium-ai/postgres": "workspace:*",
37+
"@lithium-ai/mcp": "workspace:*",
38+
"@clack/prompts": "^0.11.0",
39+
"postgres": "^3.4.9",
40+
"dotenv": "^16.5.0"
41+
},
42+
"devDependencies": {
43+
"@types/node": "^22.0.0",
44+
"tsup": "^8.5.1",
45+
"typescript": "6.0.3"
46+
},
47+
"engines": {
48+
"node": ">=20"
49+
}
50+
}

packages/kit/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
console.log("@lithium-ai/kit");

packages/kit/tsconfig.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"compilerOptions": {
3+
"target": "ES2022",
4+
"module": "ESNext",
5+
"moduleResolution": "bundler",
6+
"strict": true,
7+
"declaration": true,
8+
"declarationMap": true,
9+
"sourceMap": true,
10+
"outDir": "./dist",
11+
"rootDir": "./src",
12+
"esModuleInterop": true,
13+
"skipLibCheck": true,
14+
"forceConsistentCasingInFileNames": true,
15+
"isolatedModules": true
16+
},
17+
"include": ["src"],
18+
"exclude": ["node_modules", "dist"]
19+
}

packages/kit/tsup.config.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import { defineConfig } from "tsup";
2+
3+
export default defineConfig({
4+
entry: ["src/index.ts"],
5+
format: ["esm"],
6+
dts: false,
7+
clean: true,
8+
outDir: "dist",
9+
banner: {
10+
js: "#!/usr/bin/env node",
11+
},
12+
});

pnpm-lock.yaml

Lines changed: 59 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)