Skip to content

Commit d741e24

Browse files
deps: upgrade ink from 6.2.0 to 6.8.0
Upgrade the Ink terminal UI framework to the latest version. Code changes required for compatibility: - Pass concurrent: true to inkRender() (new default behavior in 6.8.0) - Defer unmountInk() calls with setImmediate() so React 19 can flush batched state updates before the component tree is torn down - Adapt waitUntilExit() return type change (.then(() => {})) Co-authored-by: Claude Code <claude-code@anthropic.com>
1 parent e36b6ab commit d741e24

3 files changed

Lines changed: 60 additions & 32 deletions

File tree

packages/cli-kit/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
139139
"graphql": "16.10.0",
140140
"graphql-request": "6.1.0",
141141
"ignore": "6.0.2",
142-
"ink": "6.2.0",
142+
"ink": "6.8.0",
143143
"is-executable": "2.0.1",
144144
"is-interactive": "2.0.0",
145145
"is-wsl": "3.1.0",

packages/cli-kit/src/private/node/testing/ui.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export const render = (tree: ReactElement, options: RenderOptions = {}): Instanc
8181
rerender: instance.rerender,
8282
unmount: instance.unmount,
8383
cleanup: instance.cleanup,
84-
waitUntilExit: () => trackPromise(instance.waitUntilExit()),
84+
waitUntilExit: () => trackPromise(instance.waitUntilExit().then(() => {})),
8585
stdout,
8686
stderr,
8787
stdin,

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)