@kiln-js/cli 0.1.5 → 0.1.6
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/doctor.d.ts +1 -0
- package/dist/errors.d.ts +1 -0
- package/dist/hints.d.ts +9 -0
- package/dist/index.js +1007 -346
- 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 +8 -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>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kiln-js/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
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.1.
|
|
18
|
-
"@kiln-js/server": "^0.1.
|
|
19
|
-
"@kiln-js/vite-plugin": "^0.1.
|
|
16
|
+
"@kiln-js/adapter-vercel": "^0.1.4",
|
|
17
|
+
"@kiln-js/core": "^0.1.5",
|
|
18
|
+
"@kiln-js/server": "^0.1.4",
|
|
19
|
+
"@kiln-js/vite-plugin": "^0.1.6",
|
|
20
20
|
"cac": "^6.7.14",
|
|
21
21
|
"inquirer": "^9.3.7",
|
|
22
22
|
"vite": "5.4.21"
|
package/dist/config.d.ts
DELETED