@blinkk/root 1.0.0-beta.6 → 1.0.0-beta.61

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/dist/cli.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { S as Server } from './types-47b9b530.js';
1
+ import { S as Server } from './types-ca13e626.js';
2
2
  import 'express';
3
3
  import 'preact';
4
4
  import 'vite';
@@ -8,21 +8,31 @@ import 'js-beautify';
8
8
  interface BuildOptions {
9
9
  ssrOnly?: boolean;
10
10
  mode?: string;
11
+ concurrency?: number;
11
12
  }
12
13
  declare function build(rootProjectDir?: string, options?: BuildOptions): Promise<void>;
13
14
 
14
- declare function dev(rootProjectDir?: string): Promise<void>;
15
+ interface DevOptions {
16
+ host?: string;
17
+ }
18
+ declare function dev(rootProjectDir?: string, options?: DevOptions): Promise<void>;
15
19
  declare function createDevServer(options?: {
16
20
  rootDir?: string;
17
21
  port?: number;
18
22
  }): Promise<Server>;
19
23
 
20
- declare function preview(rootProjectDir?: string): Promise<void>;
24
+ interface PreviewOptions {
25
+ host?: string;
26
+ }
27
+ declare function preview(rootProjectDir?: string, options?: PreviewOptions): Promise<void>;
21
28
  declare function createPreviewServer(options: {
22
29
  rootDir: string;
23
30
  }): Promise<Server>;
24
31
 
25
- declare function start(rootProjectDir?: string): Promise<void>;
32
+ interface StartOptions {
33
+ host?: string;
34
+ }
35
+ declare function start(rootProjectDir?: string, options?: StartOptions): Promise<void>;
26
36
  declare function createProdServer(options: {
27
37
  rootDir: string;
28
38
  }): Promise<Server>;