@kiln-js/cli 0.1.4 → 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.
@@ -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,2 @@
1
+ export declare function samplePath(pattern: string): string;
2
+ export declare function runTests(filters: string[]): Promise<number>;
@@ -0,0 +1 @@
1
+ export declare function runTypecheck(): Promise<number>;
@@ -0,0 +1,8 @@
1
+ export interface VersionProblem {
2
+ name: string;
3
+ found: string;
4
+ location: string;
5
+ }
6
+ export declare function cliVersion(): string;
7
+ export declare function findVersionProblems(): VersionProblem[];
8
+ export declare function assertVersionsMatch(): void;
package/package.json CHANGED
@@ -1,28 +1,28 @@
1
- {
2
- "name": "@kiln-js/cli",
3
- "version": "0.1.4",
4
- "type": "module",
5
- "bin": {
6
- "kiln": "./dist/index.js"
7
- },
8
- "files": [
9
- "dist"
10
- ],
11
- "scripts": {
12
- "build": "bun build ./src/index.ts --outdir ./dist --target bun --packages external --banner '#!/usr/bin/env bun' && tsc -p tsconfig.json --emitDeclarationOnly",
13
- "typecheck": "tsc -p tsconfig.json --noEmit"
14
- },
15
- "dependencies": {
16
- "@kiln-js/adapter-vercel": "*",
17
- "@kiln-js/core": "*",
18
- "@kiln-js/server": "*",
19
- "@kiln-js/vite-plugin": "*",
20
- "cac": "^6.7.14",
21
- "inquirer": "^9.3.7",
22
- "vite": "5.4.21"
23
- },
24
- "devDependencies": {
25
- "@types/inquirer": "^9.0.7",
26
- "@types/node": "^22.0.0"
27
- }
1
+ {
2
+ "name": "@kiln-js/cli",
3
+ "version": "0.1.6",
4
+ "type": "module",
5
+ "bin": {
6
+ "kiln": "./dist/index.js"
7
+ },
8
+ "files": [
9
+ "dist"
10
+ ],
11
+ "scripts": {
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
+ "typecheck": "tsc -p tsconfig.json --noEmit"
14
+ },
15
+ "dependencies": {
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
+ "cac": "^6.7.14",
21
+ "inquirer": "^9.3.7",
22
+ "vite": "5.4.21"
23
+ },
24
+ "devDependencies": {
25
+ "@types/inquirer": "^9.0.7",
26
+ "@types/node": "^22.0.0"
27
+ }
28
28
  }
package/dist/config.d.ts DELETED
@@ -1,3 +0,0 @@
1
- import { type KilnConfig } from "@kiln-js/vite-plugin";
2
- export declare function loadConfig(): Promise<KilnConfig>;
3
- export declare function kilnPlugins(): Promise<import("vite").PluginOption[]>;