kysely-gen 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.
- package/LICENSE +21 -0
- package/README.md +67 -0
- package/dist/cli.js +22989 -0
- package/package.json +72 -0
package/package.json
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "kysely-gen",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Modern PostgreSQL type generator for Kysely - Built with Bun and TDD",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"author": "kysely-gen contributors",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "https://github.com/elitan/kysely-gen.git"
|
|
11
|
+
},
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/elitan/kysely-gen/issues"
|
|
14
|
+
},
|
|
15
|
+
"homepage": "https://github.com/elitan/kysely-gen#readme",
|
|
16
|
+
"keywords": [
|
|
17
|
+
"kysely",
|
|
18
|
+
"postgres",
|
|
19
|
+
"postgresql",
|
|
20
|
+
"typescript",
|
|
21
|
+
"codegen",
|
|
22
|
+
"typegen",
|
|
23
|
+
"type-generator",
|
|
24
|
+
"database",
|
|
25
|
+
"sql"
|
|
26
|
+
],
|
|
27
|
+
"engines": {
|
|
28
|
+
"node": ">=20.0.0",
|
|
29
|
+
"bun": ">=1.0.0"
|
|
30
|
+
},
|
|
31
|
+
"files": [
|
|
32
|
+
"dist",
|
|
33
|
+
"README.md",
|
|
34
|
+
"LICENSE",
|
|
35
|
+
"package.json"
|
|
36
|
+
],
|
|
37
|
+
"bin": {
|
|
38
|
+
"kysely-gen": "./dist/cli.js"
|
|
39
|
+
},
|
|
40
|
+
"publishConfig": {
|
|
41
|
+
"access": "public",
|
|
42
|
+
"provenance": true
|
|
43
|
+
},
|
|
44
|
+
"scripts": {
|
|
45
|
+
"build": "bun build ./src/cli.ts --outdir ./dist --target node",
|
|
46
|
+
"test": "bun test",
|
|
47
|
+
"test:watch": "bun test --watch",
|
|
48
|
+
"test:integration": "docker compose up -d && bun test --timeout 10000 && docker compose down",
|
|
49
|
+
"dev": "bun run src/cli.ts",
|
|
50
|
+
"db:up": "docker compose up -d",
|
|
51
|
+
"db:down": "docker compose down",
|
|
52
|
+
"db:logs": "docker compose logs -f postgres"
|
|
53
|
+
},
|
|
54
|
+
"dependencies": {
|
|
55
|
+
"chalk": "^5.6.2",
|
|
56
|
+
"commander": "^14.0.2",
|
|
57
|
+
"kysely": "^0.27.4",
|
|
58
|
+
"micromatch": "^4.0.8",
|
|
59
|
+
"ora": "^9.0.0",
|
|
60
|
+
"pg": "^8.16.3"
|
|
61
|
+
},
|
|
62
|
+
"devDependencies": {
|
|
63
|
+
"@types/bun": "^1.1.12",
|
|
64
|
+
"@types/micromatch": "^4.0.10",
|
|
65
|
+
"@types/pg": "^8.11.10",
|
|
66
|
+
"typescript": "^5.6.3"
|
|
67
|
+
},
|
|
68
|
+
"peerDependencies": {
|
|
69
|
+
"kysely": ">=0.27.0 <1.0.0",
|
|
70
|
+
"pg": ">=8.8.0 <9.0.0"
|
|
71
|
+
}
|
|
72
|
+
}
|