Skip to content

Commit c71c3ce

Browse files
authored
chore(deps): upgrade @tui-sandbox/library to 12.0.0 (#1496)
mikavilpas/tui-sandbox#862
1 parent 76c61e3 commit c71c3ce

File tree

10 files changed

+34
-39
lines changed

10 files changed

+34
-39
lines changed

integration-tests/cypress/e2e/reading-events.cy.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { flavors } from "@catppuccin/palette"
2-
import { rgbify } from "@tui-sandbox/library/dist/src/client/color-utilities"
3-
import { textIsVisibleWithBackgroundColor } from "@tui-sandbox/library/dist/src/client/cypress-assertions"
2+
import { rgbify, textIsVisibleWithBackgroundColor } from "@tui-sandbox/library"
43
import { z } from "zod"
54
import type { MyTestDirectoryFile } from "../../MyTestDirectory"
65
import {

integration-tests/cypress/e2e/toggling.cy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { flavors } from "@catppuccin/palette"
2-
import { textIsVisibleWithBackgroundColor } from "@tui-sandbox/library/dist/src/client/cypress-assertions"
2+
import { textIsVisibleWithBackgroundColor } from "@tui-sandbox/library"
33
import type { MyTestDirectoryFile } from "../../MyTestDirectory"
44
import { hoverFileAndVerifyItsHovered, rgbify } from "./utils/hover-utils"
55
import { setBufferLines } from "./utils/neovim-utils"

integration-tests/cypress/e2e/utils/hover-utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { flavors } from "@catppuccin/palette"
2-
import { textIsVisibleWithBackgroundColor } from "@tui-sandbox/library/dist/src/client/cypress-assertions"
3-
import type { RunLuaCodeOutput } from "@tui-sandbox/library/src/server/types"
2+
import { textIsVisibleWithBackgroundColor } from "@tui-sandbox/library"
3+
import type { RunLuaCodeOutput } from "@tui-sandbox/library/server"
44
import type { MyTestDirectoryFile } from "../../../MyTestDirectory"
55
import type { NeovimContext } from "../../support/tui-sandbox"
66
import { assertYaziIsReady } from "./yazi-utils"

integration-tests/cypress/e2e/utils/lsp-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { RunLuaCodeOutput } from "@tui-sandbox/library/src/server/types"
1+
import type { RunLuaCodeOutput } from "@tui-sandbox/library/server"
22
import type { NeovimContext } from "../../support/tui-sandbox"
33

44
// The LSP server asks for confirmation. We have overridden the handler

integration-tests/cypress/e2e/utils/neovim-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type {
22
RunExCommandOutput,
33
RunLuaCodeOutput,
4-
} from "@tui-sandbox/library/dist/src/server/types"
4+
} from "@tui-sandbox/library/server"
55
import type { LiteralUnion } from "type-fest"
66
import * as z from "zod"
77
import type { MyTestDirectoryFile } from "../../../MyTestDirectory"

integration-tests/cypress/e2e/utils/text-utils.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import { rgbify } from "@tui-sandbox/library/dist/src/client/color-utilities"
2-
import type { CatppuccinRgb } from "./hover-utils"
1+
import { rgbify, type CatppuccinRgb } from "./hover-utils"
32

43
/** Problem: cypress provides the `contains` method, but it only checks the
54
* first match on the page.

integration-tests/cypress/e2e/utils/yazi-utils.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { flavors } from "@catppuccin/palette"
2-
import { rgbify } from "@tui-sandbox/library/dist/src/client/color-utilities"
3-
import { textIsVisibleWithBackgroundColor } from "@tui-sandbox/library/dist/src/client/cypress-assertions"
4-
import type { RunLuaCodeOutput } from "@tui-sandbox/library/src/server/types"
2+
import { rgbify, textIsVisibleWithBackgroundColor } from "@tui-sandbox/library"
3+
import type { RunLuaCodeOutput } from "@tui-sandbox/library/server"
54
import type { NeovimContext } from "../../support/tui-sandbox"
65

76
const darkTheme = flavors.macchiato.colors

integration-tests/cypress/support/tui-sandbox.ts

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,22 @@ import type {
66
BrowserTerminalSettings,
77
GenericNeovimBrowserApi,
88
GenericTerminalBrowserApi,
9-
} from "@tui-sandbox/library/dist/src/browser/neovim-client"
9+
} from "@tui-sandbox/library/browser/neovim-client.js"
10+
import type { MyNeovimConfigModification } from "@tui-sandbox/library/client"
1011
import type {
1112
AllKeys,
13+
BlockingCommandClientInput,
1214
BlockingShellCommandOutput,
13-
RunExCommandOutput,
14-
RunLuaCodeOutput,
15-
StartNeovimGenericArguments,
16-
TestDirectory,
17-
} from "@tui-sandbox/library/dist/src/server/types"
18-
import type { MyNeovimConfigModification } from "@tui-sandbox/library/src/client/MyNeovimConfigModification"
19-
import type {
2015
ExCommandClientInput,
2116
LuaCodeClientInput,
2217
PollLuaCodeClientInput,
18+
RunExCommandOutput,
19+
RunLuaCodeOutput,
2320
RunLuaFileClientInput,
24-
} from "@tui-sandbox/library/src/server/applications/neovim/neovimRouter"
25-
import type { StartTerminalGenericArguments } from "@tui-sandbox/library/src/server/applications/terminal/TerminalTestApplication"
26-
import type { BlockingCommandClientInput } from "@tui-sandbox/library/src/server/blockingCommandInputSchema"
21+
StartNeovimGenericArguments,
22+
StartTerminalGenericArguments,
23+
TestDirectory,
24+
} from "@tui-sandbox/library/server"
2725
import type { OverrideProperties } from "type-fest"
2826
import type {
2927
MyNeovimAppName,

integration-tests/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
},
1717
"devDependencies": {
1818
"@eslint/js": "9.39.2",
19-
"@tui-sandbox/library": "11.11.2",
19+
"@tui-sandbox/library": "12.0.0",
2020
"@types/node": "24.10.4",
2121
"@types/tinycolor2": "1.4.6",
2222
"assert": "2.1.0",

pnpm-lock.yaml

Lines changed: 15 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)