Implement dev mode nice UI (#17471)

Implement a nice terminal UI for dev mode using INK

<img width="1512" height="721" alt="image"
src="https://github.com/user-attachments/assets/79a71f37-1b31-4761-9e8d-718ef029ceb8"
/>
This commit is contained in:
martmull
2026-01-27 16:34:28 +01:00
committed by GitHub
parent bc7791871f
commit f4ca69a474
31 changed files with 911 additions and 258 deletions
@@ -16,7 +16,7 @@ export const runAppDev = (
return runCliCommand({
command: 'app:dev',
args: [appPath],
waitForOutput: ['[dev-mode] ✓ Synced'],
waitForOutput: ['✓ Synced'],
timeout,
});
};
@@ -36,7 +36,6 @@ export const runCliCommand = (
env: {
...process.env,
FORCE_COLOR: '0',
TWENTY_SKIP_SERVER_CHECK: 'true',
},
},
);
@@ -0,0 +1,2 @@
export const sanitizeAnsi = (output: string): string =>
output.replace(/\x1B\[[0-9;]*[a-zA-Z]/g, '');