Skip to content

Commit 69a4e45

Browse files
authored
chore(deps): upgrade @tui-sandbox/library to 12.0.0 (#510)
mikavilpas/tui-sandbox#862
1 parent d0e6591 commit 69a4e45

File tree

9 files changed

+35
-39
lines changed

9 files changed

+35
-39
lines changed

integration-tests/cypress/e2e/blink-ripgrep/backend_gitgrep_spec.cy.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import { flavors } from "@catppuccin/palette"
2-
import { rgbify } from "@tui-sandbox/library/dist/src/client/color-utilities"
32
import type { NeovimContext } from "../../support/tui-sandbox.js"
43
import { assertMatchVisible } from "./utils/assertMatchVisible"
54
import { createGitReposToLimitSearchScope } from "./utils/createGitReposToLimitSearchScope"
65

76
import {
7+
rgbify,
88
textIsVisibleWithBackgroundColor,
99
textIsVisibleWithColor,
10-
} from "@tui-sandbox/library/dist/src/client/cypress-assertions"
10+
} from "@tui-sandbox/library"
1111
import { textIsVisibleWithColors } from "./utils/color-utils"
1212
import { verifyCorrectBackendWasUsedInTest } from "./utils/verifyGitGrepBackendWasUsedInTest"
1313

integration-tests/cypress/e2e/blink-ripgrep/backend_ripgrep_spec.cy.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { flavors } from "@catppuccin/palette"
2-
import { rgbify } from "@tui-sandbox/library/dist/src/client/color-utilities"
32
import {
3+
rgbify,
44
textIsVisibleWithBackgroundColor,
55
textIsVisibleWithColor,
6-
} from "@tui-sandbox/library/dist/src/client/cypress-assertions"
6+
} from "@tui-sandbox/library"
77
import { z } from "zod"
88
import { assertMatchVisible } from "./utils/assertMatchVisible"
99
import { textIsVisibleWithColors } from "./utils/color-utils"

integration-tests/cypress/e2e/blink-ripgrep/searching-inside-projects.cy.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import { flavors } from "@catppuccin/palette"
2-
import { rgbify } from "@tui-sandbox/library/dist/src/client/color-utilities"
32
import {
3+
rgbify,
44
textIsVisibleWithBackgroundColor,
55
textIsVisibleWithColor,
6-
} from "@tui-sandbox/library/dist/src/client/cypress-assertions"
7-
import type { MyTestDirectoryFile } from "MyTestDirectory"
6+
} from "@tui-sandbox/library"
7+
import type { MyTestDirectoryFile } from "../../../MyTestDirectory"
88
import { createGitReposToLimitSearchScope } from "./utils/createGitReposToLimitSearchScope"
99

1010
describe("searching inside projects with the RipgrepBackend", () => {

integration-tests/cypress/e2e/blink-ripgrep/toggling.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 { textIsVisibleWithColor } from "@tui-sandbox/library/dist/src/client/cypress-assertions"
2+
import { rgbify, textIsVisibleWithColor } from "@tui-sandbox/library"
43
import { createGitReposToLimitSearchScope } from "./utils/createGitReposToLimitSearchScope"
54

65
describe("toggling features on/off", () => {

integration-tests/cypress/e2e/blink-ripgrep/utils/assertMatchVisible.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 { textIsVisibleWithColor } from "@tui-sandbox/library/dist/src/client/cypress-assertions"
2+
import { rgbify, textIsVisibleWithColor } from "@tui-sandbox/library"
43

54
export function assertMatchVisible(
65
match: string,

integration-tests/cypress/e2e/blink-ripgrep/utils/color-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {
22
textIsVisibleWithBackgroundColor,
33
textIsVisibleWithColor,
4-
} from "@tui-sandbox/library/dist/src/client/cypress-assertions"
4+
} from "@tui-sandbox/library"
55

66
export function textIsVisibleWithColors(
77
text: string,

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
@@ -13,7 +13,7 @@
1313
"devDependencies": {
1414
"@catppuccin/palette": "1.7.1",
1515
"@eslint/js": "9.39.2",
16-
"@tui-sandbox/library": "11.11.2",
16+
"@tui-sandbox/library": "12.0.0",
1717
"@types/node": "24.10.4",
1818
"concurrently": "9.2.1",
1919
"cypress": "15.8.1",

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)