castle-web-cli 0.4.116 → 0.4.118
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/ide.d.ts +5 -3
- package/dist/ide.js +161 -175
- package/dist/importBrowse.d.ts +3 -3
- package/dist/importBrowse.js +42 -34
- package/dist/init.js +7 -3
- package/dist/serve.js +21 -5
- package/dist/shell/assets/{index-DiPlPGyg.js → index-DsOo_SWO.js} +1 -1
- package/dist/shell/index.html +1 -1
- package/package.json +1 -1
package/dist/ide.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as http from
|
|
2
|
-
import { Duplex } from
|
|
3
|
-
import { type RawData } from
|
|
1
|
+
import * as http from 'http';
|
|
2
|
+
import { Duplex } from 'stream';
|
|
3
|
+
import { type RawData } from 'ws';
|
|
4
4
|
export declare const IDE_ASSET_PREFIX = "/__castle/ide/";
|
|
5
5
|
export declare const PTY_WS_PATH = "/__castle/pty";
|
|
6
6
|
export declare const FAVICON_FILES: string[];
|
|
@@ -17,4 +17,6 @@ export interface IdeServer {
|
|
|
17
17
|
export declare function createIdeServer(opts: {
|
|
18
18
|
deckDir: string;
|
|
19
19
|
deckLabel: string;
|
|
20
|
+
/** Drop transform caches and reload every open tab. */
|
|
21
|
+
restart?: () => void;
|
|
20
22
|
}): IdeServer;
|