@proofkit/cli 1.1.5 → 1.1.8

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 (4) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/index.js +140 -16378
  3. package/index.d.ts +19 -0
  4. package/package.json +20 -18
package/index.d.ts ADDED
@@ -0,0 +1,19 @@
1
+ export interface RouteLink {
2
+ label: string;
3
+ type: "link";
4
+ href: string;
5
+ icon?: React.ReactNode;
6
+ /** If true, the route will only be considered active if the path is exactly this value. */
7
+ exactMatch?: boolean;
8
+ }
9
+
10
+ export interface RouteFunction {
11
+ label: string;
12
+ type: "function";
13
+ icon?: React.ReactNode;
14
+ onClick: () => void;
15
+ /** If true, the route will only be considered active if the path is exactly this value. */
16
+ exactMatch?: boolean;
17
+ }
18
+
19
+ export type ProofKitRoute = RouteLink | RouteFunction;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proofkit/cli",
3
- "version": "1.1.5",
3
+ "version": "1.1.8",
4
4
  "description": "Create web application with the ProofKit stack",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -19,8 +19,8 @@
19
19
  "type": "module",
20
20
  "exports": {
21
21
  ".": {
22
- "import": "./dist/index.js",
23
- "types": "./dist/index.d.ts"
22
+ "types": "./index.d.ts",
23
+ "import": "./dist/index.js"
24
24
  }
25
25
  },
26
26
  "bin": {
@@ -30,6 +30,7 @@
30
30
  "dist",
31
31
  "template",
32
32
  "README.md",
33
+ "index.d.ts",
33
34
  "LICENSE",
34
35
  "CHANGELOG.md",
35
36
  "package.json"
@@ -45,24 +46,24 @@
45
46
  "axios": "^1.7.3",
46
47
  "chalk": "5.4.1",
47
48
  "commander": "^14.0.0",
48
- "dotenv": "^16.4.7",
49
+ "dotenv": "^16.5.0",
49
50
  "es-toolkit": "^1.15.1",
50
51
  "execa": "^9.5.1",
51
52
  "fs-extra": "^11.3.0",
52
53
  "glob": "^11.0.1",
53
54
  "gradient-string": "^2.0.2",
54
- "jiti": "^1.21.6",
55
+ "jiti": "^1.21.7",
55
56
  "jsonc-parser": "^3.3.1",
56
57
  "open": "^10.1.0",
57
58
  "ora": "6.3.1",
58
59
  "prettier": "^3.5.3",
59
60
  "prettier-plugin-tailwindcss": "^0.6.5",
60
61
  "randomstring": "^1.3.0",
61
- "semver": "^7.6.3",
62
+ "semver": "^7.7.2",
62
63
  "sort-package-json": "^2.10.0",
63
64
  "ts-morph": "^26.0.0",
64
- "@proofkit/fmdapi": "5.0.0",
65
- "@proofkit/typegen": "1.0.6"
65
+ "@proofkit/fmdapi": "5.0.2",
66
+ "@proofkit/typegen": "1.0.10"
66
67
  },
67
68
  "devDependencies": {
68
69
  "@auth/drizzle-adapter": "^1.1.0",
@@ -80,31 +81,32 @@
80
81
  "@types/axios": "^0.14.0",
81
82
  "@types/fs-extra": "^11.0.4",
82
83
  "@types/gradient-string": "^1.1.6",
83
- "@types/node": "^22.15.32",
84
+ "@types/node": "^22.17.1",
84
85
  "@types/randomstring": "^1.3.0",
85
- "@types/react": "^19.1.8",
86
- "@types/semver": "^7.5.8",
86
+ "@types/react": "^19.1.10",
87
+ "@types/semver": "^7.7.0",
87
88
  "@vitest/coverage-v8": "^1.4.0",
88
89
  "drizzle-kit": "^0.21.4",
89
90
  "drizzle-orm": "^0.30.10",
90
91
  "mysql2": "^3.9.7",
91
- "next": "^15.3.4",
92
+ "next": "^15.4.6",
92
93
  "next-auth": "^4.24.7",
93
94
  "postgres": "^3.4.4",
94
95
  "prisma": "^5.14.0",
95
- "react": "^19.1.0",
96
- "react-dom": "^19.1.0",
96
+ "publint": "^0.3.12",
97
+ "react": "^19.1.1",
98
+ "react-dom": "^19.1.1",
97
99
  "superjson": "^2.2.1",
98
- "tailwindcss": "^4.1.10",
100
+ "tailwindcss": "^4.1.11",
99
101
  "tsup": "^6.7.0",
100
102
  "type-fest": "^3.13.1",
101
- "typescript": "^5.8.3",
102
- "vitest": "^3.2.3",
103
+ "typescript": "^5.9.2",
104
+ "vitest": "^3.2.4",
103
105
  "zod": "3.25.64"
104
106
  },
105
107
  "scripts": {
106
108
  "typecheck": "tsc",
107
- "build": "tsup",
109
+ "build": "tsup && publint --strict",
108
110
  "dev": "tsup --watch",
109
111
  "clean": "rm -rf dist .turbo node_modules",
110
112
  "start": "node dist/index.js",