@kiln-js/cli 0.1.5 → 0.2.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/README.md +47 -0
- package/dist/dashboard.d.ts +32 -0
- package/dist/doctor.d.ts +1 -0
- package/dist/engine.d.ts +7 -0
- package/dist/errors.d.ts +1 -0
- package/dist/hints.d.ts +9 -0
- package/dist/index.js +1238 -368
- package/dist/preflight.d.ts +1 -0
- package/dist/runtime.d.ts +9 -0
- package/dist/test.d.ts +2 -0
- package/dist/typecheck.d.ts +1 -0
- package/dist/versions.d.ts +11 -0
- package/package.json +6 -6
- package/dist/config.d.ts +0 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function preflightImports(): Promise<void>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const runtime: "bun" | "node";
|
|
2
|
+
export declare const nodeVersion: string;
|
|
3
|
+
export interface RunningServer {
|
|
4
|
+
port: number;
|
|
5
|
+
stop(): void;
|
|
6
|
+
}
|
|
7
|
+
type Fetch = (request: Request) => Promise<Response>;
|
|
8
|
+
export declare function serve(port: number, fetch: Fetch): RunningServer;
|
|
9
|
+
export {};
|
package/dist/test.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function runTypecheck(): Promise<number>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const KILN_PACKAGES: readonly ["@kiln-js/core", "@kiln-js/server", "@kiln-js/client", "@kiln-js/vite-plugin", "@kiln-js/md", "@kiln-js/adapter-vercel", "@kiln-js/auth"];
|
|
2
|
+
export interface InstalledPackage {
|
|
3
|
+
name: string;
|
|
4
|
+
version: string | null;
|
|
5
|
+
location: string | null;
|
|
6
|
+
linked: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare function cliVersion(): string;
|
|
9
|
+
export declare function inspectPackages(): InstalledPackage[];
|
|
10
|
+
export declare function findVersionProblems(): InstalledPackage[];
|
|
11
|
+
export declare function assertVersionsMatch(): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kiln-js/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"kiln": "./dist/index.js"
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
"dist"
|
|
10
10
|
],
|
|
11
11
|
"scripts": {
|
|
12
|
-
"build": "bun build ./src/index.ts --outdir ./dist --target
|
|
12
|
+
"build": "bun build ./src/index.ts --outdir ./dist --target node --packages external --banner \u0027#!/usr/bin/env node\u0027 \u0026\u0026 tsc -p tsconfig.json --emitDeclarationOnly",
|
|
13
13
|
"typecheck": "tsc -p tsconfig.json --noEmit"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@kiln-js/adapter-vercel": "^0.1.
|
|
17
|
-
"@kiln-js/core": "^0.
|
|
18
|
-
"@kiln-js/server": "^0.
|
|
19
|
-
"@kiln-js/vite-plugin": "^0.
|
|
16
|
+
"@kiln-js/adapter-vercel": "^0.1.4",
|
|
17
|
+
"@kiln-js/core": "^0.2.0",
|
|
18
|
+
"@kiln-js/server": "^0.2.0",
|
|
19
|
+
"@kiln-js/vite-plugin": "^0.2.0",
|
|
20
20
|
"cac": "^6.7.14",
|
|
21
21
|
"inquirer": "^9.3.7",
|
|
22
22
|
"vite": "5.4.21"
|
package/dist/config.d.ts
DELETED