@freestyle-sh/with-web-terminal 0.0.7 → 0.0.9
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/.env +1 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/examples/basic.ts +1 -1
- package/examples/binary.ts +1 -1
- package/examples/cred.ts +1 -1
- package/examples/multi.ts +1 -1
- package/examples/readonly.ts +1 -1
- package/package.json +8 -6
- package/src/index.ts +1 -1
package/.env
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
FREESTYLE_API_KEY=NYDNxdzbycbhCF2M6DUhK5-7fPaRDNM7F9cerzZtEacSBgHVgjaZhDoJ9F44kbSWqJN
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { VmWith, VmWithInstance, CreateVmOptions } from 'freestyle
|
|
1
|
+
import * as freestyle from 'freestyle';
|
|
2
|
+
import { VmWith, VmWithInstance, CreateVmOptions } from 'freestyle';
|
|
3
3
|
|
|
4
4
|
type TtydConfig = {
|
|
5
5
|
/** Port to run ttyd on (default: auto-assigned starting at 7682) */
|
|
@@ -66,7 +66,7 @@ declare class VmWebTerminalInstance<T extends WebTerminalConfig[]> extends VmWit
|
|
|
66
66
|
builder: VmWebTerminal<T>;
|
|
67
67
|
constructor(builder: VmWebTerminal<T>, resolvedTerminals: ResolvedTerminalConfig[]);
|
|
68
68
|
/** @internal */
|
|
69
|
-
get _vm():
|
|
69
|
+
get _vm(): freestyle.Vm;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
export { VmWebTerminal, VmWebTerminalInstance, WebTerminal };
|
package/dist/index.js
CHANGED
package/examples/basic.ts
CHANGED
package/examples/binary.ts
CHANGED
package/examples/cred.ts
CHANGED
package/examples/multi.ts
CHANGED
package/examples/readonly.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@freestyle-sh/with-web-terminal",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.9",
|
|
4
4
|
"description": "Web terminal for freestyle sandboxes",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -12,6 +12,10 @@
|
|
|
12
12
|
"import": "./dist/index.js"
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
|
+
"scripts": {
|
|
16
|
+
"build": "pkgroll",
|
|
17
|
+
"prepublishOnly": "pnpm run build"
|
|
18
|
+
},
|
|
15
19
|
"keywords": [
|
|
16
20
|
"ttyd",
|
|
17
21
|
"terminal",
|
|
@@ -19,14 +23,12 @@
|
|
|
19
23
|
"freestyle"
|
|
20
24
|
],
|
|
21
25
|
"author": "",
|
|
26
|
+
"packageManager": "pnpm@10.11.0",
|
|
22
27
|
"devDependencies": {
|
|
23
28
|
"pkgroll": "^2.11.2",
|
|
24
29
|
"typescript": "^5.8.3"
|
|
25
30
|
},
|
|
26
31
|
"dependencies": {
|
|
27
|
-
"freestyle
|
|
28
|
-
},
|
|
29
|
-
"scripts": {
|
|
30
|
-
"build": "pkgroll"
|
|
32
|
+
"freestyle": "^0.1.46"
|
|
31
33
|
}
|
|
32
|
-
}
|
|
34
|
+
}
|