@tui-sandbox/library 11.6.4 → 11.6.5
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/CHANGELOG.md +7 -0
- package/dist/browser/assets/index-BanBEC6y.js +9 -0
- package/dist/browser/index.html +1 -1
- package/dist/src/server/applications/terminal/TerminalTestApplication.d.ts +1 -2
- package/dist/src/server/applications/terminal/TerminalTestApplication.js +1 -3
- package/dist/src/server/applications/terminal/TerminalTestApplication.js.map +1 -1
- package/dist/src/server/applications/terminal/api.d.ts +1 -1
- package/dist/src/server/applications/terminal/api.js +2 -2
- package/dist/src/server/applications/terminal/api.js.map +1 -1
- package/dist/src/server/applications/terminal/terminalRouter.js +1 -1
- package/dist/src/server/applications/terminal/terminalRouter.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +6 -6
- package/src/server/applications/terminal/TerminalTestApplication.ts +1 -4
- package/src/server/applications/terminal/api.ts +2 -3
- package/src/server/applications/terminal/terminalRouter.ts +1 -1
- package/dist/browser/assets/index-BzT2odH1.js +0 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tui-sandbox/library",
|
|
3
|
-
"version": "11.6.
|
|
3
|
+
"version": "11.6.5",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/mikavilpas/tui-sandbox"
|
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"@catppuccin/palette": "1.7.1",
|
|
15
|
-
"@trpc/client": "11.
|
|
16
|
-
"@trpc/server": "11.
|
|
15
|
+
"@trpc/client": "11.5.0",
|
|
16
|
+
"@trpc/server": "11.5.0",
|
|
17
17
|
"@xterm/addon-fit": "0.10.0",
|
|
18
18
|
"@xterm/addon-unicode11": "0.8.0",
|
|
19
19
|
"@xterm/xterm": "5.5.0",
|
|
20
20
|
"concurrently": "9.2.0",
|
|
21
21
|
"cors": "2.8.5",
|
|
22
|
-
"cypress": "
|
|
22
|
+
"cypress": "15.0.0",
|
|
23
23
|
"dree": "5.1.5",
|
|
24
24
|
"express": "5.1.0",
|
|
25
25
|
"neovim": "5.3.0",
|
|
@@ -36,11 +36,11 @@
|
|
|
36
36
|
"@types/node": "24.3.0",
|
|
37
37
|
"nodemon": "3.1.10",
|
|
38
38
|
"tsx": "4.20.4",
|
|
39
|
-
"vite": "7.1.
|
|
39
|
+
"vite": "7.1.3",
|
|
40
40
|
"vitest": "3.2.4"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"cypress": "^13 || ^14",
|
|
43
|
+
"cypress": "^13 || ^14 || ^15",
|
|
44
44
|
"prettier": ">= 3.3.3",
|
|
45
45
|
"type-fest": ">= 4.27.0",
|
|
46
46
|
"typescript": ">= 5.6.3",
|
|
@@ -23,10 +23,7 @@ export default class TerminalTestApplication implements AsyncDisposable {
|
|
|
23
23
|
public state: ResettableState | undefined
|
|
24
24
|
public readonly events: EventEmitter
|
|
25
25
|
|
|
26
|
-
public constructor(
|
|
27
|
-
private readonly testEnvironmentPath: string,
|
|
28
|
-
public readonly application: DisposableSingleApplication = new DisposableSingleApplication()
|
|
29
|
-
) {
|
|
26
|
+
public constructor(public readonly application: DisposableSingleApplication = new DisposableSingleApplication()) {
|
|
30
27
|
this.events = new EventEmitter()
|
|
31
28
|
}
|
|
32
29
|
|
|
@@ -34,11 +34,10 @@ export async function start(
|
|
|
34
34
|
|
|
35
35
|
export async function initializeStdout(
|
|
36
36
|
options: { client: TabId },
|
|
37
|
-
signal: AbortSignal | undefined
|
|
38
|
-
testEnvironmentPath: string
|
|
37
|
+
signal: AbortSignal | undefined
|
|
39
38
|
): Promise<AsyncGenerator<string, void, unknown>> {
|
|
40
39
|
const tabId = options.client.tabId
|
|
41
|
-
const app = terminals.get(tabId) ?? new TerminalTestApplication(
|
|
40
|
+
const app = terminals.get(tabId) ?? new TerminalTestApplication()
|
|
42
41
|
if (terminals.get(tabId) === undefined) {
|
|
43
42
|
terminals.set(tabId, app)
|
|
44
43
|
resources.get().use(app)
|
|
@@ -23,7 +23,7 @@ export type StartTerminalInput = z.infer<typeof startTerminalInputSchema>
|
|
|
23
23
|
export function createTerminalRouter(config: DirectoriesConfig) {
|
|
24
24
|
const terminalRouter = trpc.router({
|
|
25
25
|
onStdout: trpc.procedure.input(z.object({ client: tabIdSchema })).subscription(options => {
|
|
26
|
-
return terminal.initializeStdout(options.input, options.signal
|
|
26
|
+
return terminal.initializeStdout(options.input, options.signal)
|
|
27
27
|
}),
|
|
28
28
|
|
|
29
29
|
start: trpc.procedure.input(startTerminalInputSchema).mutation(options => {
|