diff --git a/.changeset/preact-integration.md b/.changeset/preact-integration.md new file mode 100644 index 0000000..a8630e8 --- /dev/null +++ b/.changeset/preact-integration.md @@ -0,0 +1,5 @@ +--- +'@clack/ui': minor +--- + +Export DOM classes and UI types for direct integration with frameworks such as Preact. diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 04f3145..5d39482 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -40,6 +40,7 @@ jobs: persist-credentials: false - uses: jdx/mise-action@c2a87611a18de5b3828c5652fe268e992400cb5c # v4.3.0 - run: pnpm install --frozen-lockfile + - run: pnpm --filter @bomb.sh/web-platform-tests build - run: pnpm test dom-wpt: diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 4330045..c7e833d 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -11,3 +11,4 @@ jobs: secrets: inherit with: publish: './packages/*' + template: './examples/*' diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b3f57c1..0a56131 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -15,15 +15,16 @@ You need the exact Node and pnpm versions listed under `devEngines` in the root Any version manager works. If you use [mise](https://mise.jdx.dev), which is what our lint, format, and test checks use, export `MISE_IDIOMATIC_VERSION_FILE_ENABLE_TOOLS=node,pnpm` and run `mise install` so it reads those versions from `package.json`. -Then install the dependencies: +Then install the dependencies and build the workspace packages, including WPT: ```sh pnpm install +pnpm build ``` ## Commands you'll use -Run these from the repo root. You don't need to build before you run the tests. +Run these from the repo root. Rebuild after changing shared WPT sources; `pnpm --filter @bomb.sh/web-platform-tests build` rebuilds just that package. Repeated test runs reuse the existing build. | Command | What it does | | ------------------------------------------ | ----------------------------------------- | diff --git a/README.md b/README.md index 9cc36f6..2c6ee63 100644 --- a/README.md +++ b/README.md @@ -15,12 +15,6 @@ UI provides web-based bindings, which allows us to support any JavaScript framew npm install @clack/ui ``` -## Bindings - -| binding | version | changelog | -| --------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------- | -| [`@clack/ui-preact`](./packages/preact) | [![npm](https://img.shields.io/npm/v/@clack/ui-preact?style=for-the-badge)](https://www.npmx.dev/package/@clack/ui-preact) | [./packages/preact/CHANGELOG.md](./packages/preact/CHANGELOG.md) | - ## Documentation Coming soon 🙈 diff --git a/examples/hello-world-preact/README.md b/examples/hello-world-preact/README.md new file mode 100644 index 0000000..0ebe4ad --- /dev/null +++ b/examples/hello-world-preact/README.md @@ -0,0 +1,16 @@ +# Hello Preact + +A Preact component mounted directly with Preact's `render()` on a nested Clack element, +without styles or a global `document`. It keeps `Hello ` on screen while erasing and +typing `World!`, `DOM!`, `Preact!`, and `Clack!` in a repeating loop. + +From the workspace root: + +```sh +pnpm install +pnpm build +pnpm --filter @examples/hello-world-preact start +``` + +Press Ctrl+C to exit. Unmounting cancels the animation timer, and disposing the UI +restores the terminal buffer and cursor. diff --git a/examples/hello-world-preact/package.json b/examples/hello-world-preact/package.json new file mode 100644 index 0000000..f9a849e --- /dev/null +++ b/examples/hello-world-preact/package.json @@ -0,0 +1,19 @@ +{ + "name": "@examples/hello-world-preact", + "version": "0.0.0", + "private": true, + "type": "module", + "scripts": { + "start": "node --import tsx src/main.tsx", + "dev": "tsx watch src/main.tsx", + "lint": "bsh lint" + }, + "dependencies": { + "@clack/ui": "workspace:*", + "preact": "11.0.1" + }, + "devDependencies": { + "@types/node": "^22.20.0", + "tsx": "^4.19.0" + } +} diff --git a/examples/hello-world-preact/src/animation.ts b/examples/hello-world-preact/src/animation.ts new file mode 100644 index 0000000..9dff559 --- /dev/null +++ b/examples/hello-world-preact/src/animation.ts @@ -0,0 +1,34 @@ +export interface GreetingFrame { + text: string; + delay: number; +} + +const prefix = 'Hello '; +const greetings = ['World!', 'DOM!', 'Preact!', 'Clack!']; +const pause = 900; +const erase = 60; +const type = 100; + +/** Each frame says what to show and how long to leave it on screen. */ +export function* greetingFrames(): Generator { + let index = 0; + const suffix = [...greetings[index]!]; + yield { text: prefix + suffix.join(''), delay: pause }; + + while (true) { + while (suffix.length > 0) { + suffix.pop(); + yield { text: prefix + suffix.join(''), delay: erase }; + } + + index = (index + 1) % greetings.length; + const next = [...greetings[index]!]; + for (const character of next) { + suffix.push(character); + yield { + text: prefix + suffix.join(''), + delay: suffix.length === next.length ? pause : type, + }; + } + } +} diff --git a/examples/hello-world-preact/src/greeting.tsx b/examples/hello-world-preact/src/greeting.tsx new file mode 100644 index 0000000..2598c53 --- /dev/null +++ b/examples/hello-world-preact/src/greeting.tsx @@ -0,0 +1,22 @@ +import { useEffect, useState } from 'preact/hooks'; +import { greetingFrames } from './animation.ts'; + +export function Greeting() { + const [text, setText] = useState('Hello World!'); + + useEffect(() => { + const animation = greetingFrames(); + let timer: ReturnType; + + function advance() { + const frame = animation.next().value; + setText(frame.text); + timer = setTimeout(advance, frame.delay); + } + + advance(); + return () => clearTimeout(timer); + }, []); + + return {text}; +} diff --git a/examples/hello-world-preact/src/main.tsx b/examples/hello-world-preact/src/main.tsx new file mode 100644 index 0000000..7095121 --- /dev/null +++ b/examples/hello-world-preact/src/main.tsx @@ -0,0 +1,30 @@ +import { createUI } from '@clack/ui'; +import { render } from 'preact'; +import { Greeting } from './greeting.tsx'; + +const shutdown = Promise.withResolvers(); +const stop = () => shutdown.resolve(); +process.once('SIGINT', stop); +process.once('SIGTERM', stop); + +try { + await using ui = await createUI({ + input: process.stdin, + output: process.stdout, + width: process.stdout.columns ?? 80, + height: process.stdout.rows ?? 24, + }); + + // A root can be mounted on any Clack element, not just the document root. + const mount = ui.document.createElement('div'); + ui.document.documentElement.appendChild(mount); + try { + render(, mount); + await Promise.race([ui.main(), shutdown.promise]); + } finally { + render(null, mount); + } +} finally { + process.off('SIGINT', stop); + process.off('SIGTERM', stop); +} diff --git a/examples/hello-world-preact/tsconfig.json b/examples/hello-world-preact/tsconfig.json new file mode 100644 index 0000000..911faf2 --- /dev/null +++ b/examples/hello-world-preact/tsconfig.json @@ -0,0 +1,9 @@ +{ + "extends": "../../tsconfig.json", + "compilerOptions": { + "types": ["node"], + "jsx": "react-jsx", + "jsxImportSource": "preact" + }, + "include": ["src"] +} diff --git a/package.json b/package.json index cf51ceb..77f4c8f 100644 --- a/package.json +++ b/package.json @@ -28,12 +28,12 @@ }, "scripts": { "dev": "bsh dev", - "build": "pnpm --filter @bomb.sh/web-platform-tests build && pnpm --filter \"@clack/*\" run build", + "build": "pnpm -r build", "bench": "vitest bench --reporter=verbose", "format": "bsh format", "format:check": "bsh format --check", - "lint": "bsh lint .", - "test": "pnpm --filter @bomb.sh/web-platform-tests build && bsh test" + "lint": "pnpm build && bsh lint && pnpm -r lint", + "test": "bsh test" }, "devDependencies": { "@bomb.sh/tools": "^0.8.0", diff --git a/packages/ui/package.json b/packages/ui/package.json index 5e696f1..3fee164 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -33,7 +33,7 @@ "build": "bsh build --dts", "format": "bsh format", "lint": "bsh lint", - "test": "pnpm --filter @bomb.sh/web-platform-tests build && bsh test" + "test": "bsh test" }, "dependencies": { "@bomb.sh/tty": "catalog:" @@ -51,6 +51,7 @@ } }, "devDependencies": { - "@bomb.sh/web-platform-tests": "workspace:*" + "@bomb.sh/web-platform-tests": "workspace:*", + "preact": "11.0.1" } } diff --git a/packages/ui/src/index.ts b/packages/ui/src/index.ts index ca4a46a..dcb739e 100644 --- a/packages/ui/src/index.ts +++ b/packages/ui/src/index.ts @@ -1 +1,2 @@ -export { createUI } from './ui.ts'; +export { createUI, type UI, type UIOptions } from './ui.ts'; +export { Document, Element, Node, Text } from './dom.ts'; diff --git a/packages/ui/test/README.md b/packages/ui/test/README.md index 2e0750d..ee2c063 100644 --- a/packages/ui/test/README.md +++ b/packages/ui/test/README.md @@ -1,12 +1,20 @@ # UI tests -Tests live alongside the implementation in `src/`; this directory contains their shared fixtures and WPT configuration. Run the UI tests from the workspace root: +Tests live alongside the implementation in `src/`; this directory contains their shared fixtures and WPT configuration. Before the first test run, or after changing the shared WPT sources, build the test package from the workspace root: + +```sh +pnpm --filter @bomb.sh/web-platform-tests build +``` + +Then run the UI tests: ```sh pnpm --filter @clack/ui test ``` -The test script builds the private `@bomb.sh/web-platform-tests` package before running Vitest. Use `pnpm test` from the workspace root to run the workspace tests. +Test runs reuse that build. Use `pnpm test` from the workspace root to run the workspace tests. + +[`preact.test.tsx`](preact.test.tsx) checks Preact's `render()` directly against the UI DOM, including updates, keyed reorders, events, portals, effect cleanup, and terminal repainting. Preact is a development dependency; the test selects its JSX runtime with a file-level pragma. ## Terminal fixtures @@ -32,8 +40,6 @@ Include the source or case in the configuration while implementing it. Vitest's pnpm --filter @clack/ui test src/dom.compatibility.test.ts -t 'Document-createElement.html.*createElement\(foo\)' ``` -If the shared package is already built, avoid rebuilding by using `pnpm --filter @clack/ui exec bsh test src/dom.compatibility.test.ts` with the same name filter. - When implementing behavior, read the source-named file under [`src/wpt`](../../web-platform-tests/src/wpt), implement its operations, and update the configuration once its cases pass. Extend the fixture when cases need document parsing, host input, or cleanup. Implementation-specific rendering, notification, and lifecycle checks remain in the UI tests. ## Host input diff --git a/packages/ui/test/preact.test.tsx b/packages/ui/test/preact.test.tsx new file mode 100644 index 0000000..18fb928 --- /dev/null +++ b/packages/ui/test/preact.test.tsx @@ -0,0 +1,328 @@ +/** @jsxImportSource preact */ +import assert from 'node:assert/strict'; +import { PassThrough, Writable } from 'node:stream'; +import { createTestTerminal } from '@termless/test'; +import { createPortal, createRef, render } from 'preact'; +import { useLayoutEffect, useState } from 'preact/hooks'; +import { act } from 'preact/test-utils'; +import { describe, expect, it, vi } from 'vitest'; +import { createUI, Document, Element, type Node, Text } from '../src/index.ts'; + +describe('Preact', () => { + it('mounts into a nested element without touching its siblings or installing a global document', () => { + expect(globalThis).not.toHaveProperty('document'); + const document = new Document(vi.fn()); + const parent = document.createElement('div'); + const before = document.createTextNode('before'); + const container = document.createElement('span'); + const after = document.createTextNode('after'); + parent.appendChild(before); + parent.appendChild(container); + parent.appendChild(after); + document.documentElement.appendChild(parent); + const ref = createRef(); + + try { + render( +
+ hello +
, + container, + ); + + const div = element(container.firstChild); + const span = element(div.firstChild); + expect(div.localName).toBe('div'); + expect(span.localName).toBe('span'); + expect(span.ownerDocument).toBe(document); + expect(ref.current).toBe(span); + expect(text(span.firstChild).data).toBe('hello'); + expect(parent.childNodes).toHaveLength(3); + expect(parent.childNodes[0]).toBe(before); + expect(parent.childNodes[1]).toBe(container); + expect(parent.childNodes[2]).toBe(after); + } finally { + render(null, container); + } + + expect(ref.current).toBeNull(); + expect(container.childNodes).toHaveLength(0); + expect(parent.childNodes).toHaveLength(3); + expect(globalThis).not.toHaveProperty('document'); + }); + + it('prepares a detached subtree and continues rendering after it is attached', () => { + const document = new Document(vi.fn()); + const container = document.createElement('div'); + + try { + render(prepared, container); + const span = element(container.firstChild); + expect(container.parentNode).toBeNull(); + expect(span.parentNode).toBe(container); + expect(text(span.firstChild).data).toBe('prepared'); + + document.documentElement.appendChild(container); + expect(container.parentNode).toBe(document.documentElement); + expect(container.firstChild).toBe(span); + expect(text(span.firstChild).data).toBe('prepared'); + + render(attached, container); + expect(container.firstChild).toBe(span); + expect(text(span.firstChild).data).toBe('attached'); + } finally { + render(null, container); + } + }); + + it('updates attributes and text without replacing unchanged elements or text nodes', () => { + const document = new Document(vi.fn()); + const container = document.documentElement; + + try { + render(hello, container); + const span = element(container.firstChild); + const content = text(span.firstChild); + + render(42, container); + + expect(container.firstChild).toBe(span); + expect(span.firstChild).toBe(content); + expect(content.data).toBe('42'); + expect(Array.from(span.attributes, ({ name, value }) => [name, value])).toEqual([ + ['data-state', 'after'], + ]); + } finally { + render(null, container); + } + }); + + it('creates nodes in the right document during asynchronous updates to independent roots', async () => { + const firstDocument = new Document(vi.fn()); + const secondDocument = new Document(vi.fn()); + const first = firstDocument.documentElement; + const second = secondDocument.documentElement; + const updates: Array<(value: number) => void> = []; + + function Counter({ index }: { index: number }) { + const [count, setCount] = useState(0); + updates[index] = setCount; + return count ?
{count}
: initial; + } + + try { + render(, first); + render(, second); + const originalSecond = second.firstChild; + + await act(() => updates[0]?.(1)); + + const firstChild = element(first.firstChild); + expect(firstChild.localName).toBe('div'); + expect(firstChild.ownerDocument).toBe(firstDocument); + expect(text(firstChild.firstChild).ownerDocument).toBe(firstDocument); + expect(text(firstChild.firstChild).data).toBe('1'); + expect(second.firstChild).toBe(originalSecond); + + await act(() => updates[1]?.(2)); + + const secondChild = element(second.firstChild); + expect(secondChild.localName).toBe('div'); + expect(secondChild.ownerDocument).toBe(secondDocument); + expect(text(secondChild.firstChild).ownerDocument).toBe(secondDocument); + expect(text(secondChild.firstChild).data).toBe('2'); + expect(text(firstChild.firstChild).data).toBe('1'); + expect(globalThis).not.toHaveProperty('document'); + } finally { + render(null, first); + render(null, second); + } + }); + + it('bubbles events and replaces or removes JSX event handlers', () => { + const document = new Document(vi.fn()); + const container = document.documentElement; + const calls: string[] = []; + + try { + render( +
calls.push('bubble')}> + calls.push(event.type)}>target +
, + container, + ); + const target = element(element(container.firstChild).firstChild); + + target.dispatchEvent(new Event('keydown', { bubbles: true })); + expect(calls).toEqual(['keydown', 'bubble']); + + render( +
+ calls.push('replacement')}>target +
, + container, + ); + expect(element(container.firstChild).firstChild).toBe(target); + target.dispatchEvent(new Event('keydown', { bubbles: true })); + expect(calls).toEqual(['keydown', 'bubble', 'replacement']); + + render( +
+ target +
, + container, + ); + target.dispatchEvent(new Event('keydown', { bubbles: true })); + expect(calls).toEqual(['keydown', 'bubble', 'replacement']); + } finally { + render(null, container); + } + }); + + it('reorders adjacent keyed siblings without replacing nodes', () => { + const document = new Document(vi.fn()); + const container = document.documentElement; + + try { + render( + ['a', 'b', 'c', 'd'].map((name) => {name}), + container, + ); + const original = [...container.childNodes]; + + render( + ['a', 'b', 'd', 'c'].map((name) => {name}), + container, + ); + + expect(container.childNodes).toHaveLength(4); + expect(container.childNodes[0]).toBe(original[0]); + expect(container.childNodes[1]).toBe(original[1]); + expect(container.childNodes[2]).toBe(original[3]); + expect(container.childNodes[3]).toBe(original[2]); + expect(container.childNodes.map((node) => text(element(node).firstChild).data)).toEqual([ + 'a', + 'b', + 'd', + 'c', + ]); + } finally { + render(null, container); + } + }); + + it('preserves keyed nodes and runs layout-effect cleanup when removed or unmounted', () => { + const document = new Document(vi.fn()); + const container = document.documentElement; + const cleanups: string[] = []; + + function Row({ name }: { name: string }) { + useLayoutEffect( + () => () => { + cleanups.push(name); + }, + [], + ); + return {name}; + } + + try { + render( + ['a', 'b', 'c'].map((name) => ), + container, + ); + const original = [...container.childNodes]; + + render( + ['c', 'a'].map((name) => ), + container, + ); + + expect(container.childNodes).toHaveLength(2); + expect(container.childNodes[0]).toBe(original[2]); + expect(container.childNodes[1]).toBe(original[0]); + expect(original[1]?.parentNode).toBeNull(); + expect(cleanups).toEqual(['b']); + } finally { + render(null, container); + } + + expect(container.childNodes).toHaveLength(0); + expect(cleanups).toEqual(['b', 'c', 'a']); + }); + + it('creates and removes portal contents in another document', () => { + const document = new Document(vi.fn()); + const destination = new Document(vi.fn()); + const container = document.documentElement; + + try { + render( +
+ local + {createPortal(remote, destination.documentElement)} +
, + container, + ); + + const remote = element(destination.documentElement.firstChild); + expect(remote.ownerDocument).toBe(destination); + expect(text(remote.firstChild).ownerDocument).toBe(destination); + expect(text(remote.firstChild).data).toBe('remote'); + expect(text(element(container.firstChild).firstChild).data).toBe('local'); + } finally { + render(null, container); + } + + expect(container.childNodes).toHaveLength(0); + expect(destination.documentElement.childNodes).toHaveLength(0); + render(null, container); + expect(destination.documentElement.childNodes).toHaveLength(0); + }); + + it('repaints the terminal when a nested root renders, updates, and unmounts', async () => { + const terminal = createTestTerminal({ cols: 20, rows: 3 }); + await using _terminal = { [Symbol.asyncDispose]: () => terminal.close() }; + await using input = new PassThrough(); + const output = new Writable({ + write(chunk: Buffer, _encoding, callback) { + terminal.feed(chunk); + callback(); + }, + }); + using _output = { + [Symbol.dispose]() { + output.destroy(); + }, + }; + await using ui = await createUI({ input, output, width: 20, height: 3 }); + void ui.main(); + const parent = ui.document.createElement('div'); + const container = ui.document.createElement('span'); + parent.appendChild(container); + ui.document.documentElement.appendChild(parent); + + try { + render(hello, container); + await expect.poll(() => terminal.screen.getLines()).toEqual(['hello', '', '']); + + render(updated, container); + await expect.poll(() => terminal.screen.getLines()).toEqual(['updated', '', '']); + } finally { + render(null, container); + } + + await expect.poll(() => terminal.screen.getLines()).toEqual(['', '', '']); + expect(container.parentNode).toBe(parent); + }); +}); + +function element(node: Node | null): Element { + assert.ok(node instanceof Element, 'Expected an element'); + return node; +} + +function text(node: Node | null): Text { + assert.ok(node instanceof Text, 'Expected a text node'); + return node; +} diff --git a/packages/ui/tsconfig.json b/packages/ui/tsconfig.json index a055ad0..ff78f6c 100644 --- a/packages/ui/tsconfig.json +++ b/packages/ui/tsconfig.json @@ -1,6 +1,8 @@ { "extends": "@bomb.sh/tools/tsconfig.json", "compilerOptions": { - "types": ["node"] - } + "types": ["node"], + "jsx": "react-jsx" + }, + "include": ["src", "test"] } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 48ad6a8..67c2ca6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -16,16 +16,16 @@ importers: devDependencies: '@bomb.sh/tools': specifier: ^0.8.0 - version: 0.8.0(@types/node@22.20.0)(oxc-resolver@11.20.0)(unrun@0.2.39)(vite@8.3.5(@types/node@22.20.0)(jiti@2.7.0)(yaml@2.9.1)) + version: 0.8.0(@types/node@22.20.0)(oxc-resolver@11.20.0)(tsx@4.23.15)(unrun@0.2.39)(vite@8.3.5(@types/node@22.20.0)(esbuild@0.28.2)(jiti@2.7.0)(tsx@4.23.15)(yaml@2.9.1)) '@codspeed/vitest-plugin': specifier: ^6.1.0 - version: 6.1.0(tinybench@6.2.2)(vite@8.3.5(@types/node@22.20.0)(jiti@2.7.0)(yaml@2.9.1))(vitest@5.0.5(@types/node@22.20.0)(vite@8.3.5(@types/node@22.20.0)(jiti@2.7.0)(yaml@2.9.1))) + version: 6.1.0(tinybench@6.2.2)(vite@8.3.5(@types/node@22.20.0)(esbuild@0.28.2)(jiti@2.7.0)(tsx@4.23.15)(yaml@2.9.1))(vitest@5.0.5(@types/node@22.20.0)(vite@8.3.5(@types/node@22.20.0)(esbuild@0.28.2)(jiti@2.7.0)(tsx@4.23.15)(yaml@2.9.1))) '@termless/core': specifier: ^0.10.2 version: 0.10.2(node-pty@1.2.0-beta.15) '@termless/test': specifier: ^0.10.2 - version: 0.10.2(@termless/core@0.10.2(node-pty@1.2.0-beta.15))(playwright@1.64.1)(vitest@5.0.5(@types/node@22.20.0)(vite@8.3.5(@types/node@22.20.0)(jiti@2.7.0)(yaml@2.9.1))) + version: 0.10.2(@termless/core@0.10.2(node-pty@1.2.0-beta.15))(playwright@1.64.1)(vitest@5.0.5(@types/node@22.20.0)(vite@8.3.5(@types/node@22.20.0)(esbuild@0.28.2)(jiti@2.7.0)(tsx@4.23.15)(yaml@2.9.1))) '@types/node': specifier: ^22.20.0 version: 22.20.0 @@ -34,7 +34,23 @@ importers: version: 1.2.0-beta.15 vitest: specifier: 5.0.5 - version: 5.0.5(@types/node@22.20.0)(vite@8.3.5(@types/node@22.20.0)(jiti@2.7.0)(yaml@2.9.1)) + version: 5.0.5(@types/node@22.20.0)(vite@8.3.5(@types/node@22.20.0)(esbuild@0.28.2)(jiti@2.7.0)(tsx@4.23.15)(yaml@2.9.1)) + + examples/hello-world-preact: + dependencies: + '@clack/ui': + specifier: workspace:* + version: link:../../packages/ui + preact: + specifier: 11.0.1 + version: 11.0.1 + devDependencies: + '@types/node': + specifier: ^22.20.0 + version: 22.20.0 + tsx: + specifier: ^4.19.0 + version: 4.23.15 packages/ui: dependencies: @@ -45,6 +61,9 @@ importers: '@bomb.sh/web-platform-tests': specifier: workspace:* version: link:../web-platform-tests + preact: + specifier: 11.0.1 + version: 11.0.1 packages/web-platform-tests: devDependencies: @@ -62,7 +81,7 @@ importers: version: 6.0.3 vite: specifier: ^8.1.0 - version: 8.3.5(@types/node@22.20.0)(jiti@2.7.0)(yaml@2.9.1) + version: 8.3.5(@types/node@22.20.0)(esbuild@0.28.2)(jiti@2.7.0)(tsx@4.23.15)(yaml@2.9.1) packages: @@ -96,6 +115,162 @@ packages: '@emnapi/wasi-threads@1.2.1': resolution: {integrity: sha512-uTII7OYF+/Mes/MrcIOYp5yOtSMLBWSIoLPpcgwipoiKbli6k322tcoFsxoIIxPDqW01SQGAgko4EzZi2BNv2w==} + '@esbuild/aix-ppc64@0.28.2': + resolution: {integrity: sha512-XExcO+dvLKvVtNTibSTBej1NCAbaGhWn9Ww1ZPx80qsahhPFe/8jgWP0IchNe0F3HwkU7n8ejhH8bjonqht8mQ==} + engines: {node: '>=18'} + cpu: [ppc64] + os: [aix] + + '@esbuild/android-arm64@0.28.2': + resolution: {integrity: sha512-5YfKeeI8qWfBZIX+u2xZC3Zlb3Os/gLS2sbEKM+I4ZOcsWmHS2WLysCcQZDAFRslDUU5Oiq44gf6PYN1vGwG5A==} + engines: {node: '>=18'} + cpu: [arm64] + os: [android] + + '@esbuild/android-arm@0.28.2': + resolution: {integrity: sha512-kXXoiPVVGQcnIYGOeaovwOURpniDBpSq4A03qkQ+BMQqtGG6HYap3xne9C1O1yo4TR3qxlCX5IqqmX6fFo2Lqg==} + engines: {node: '>=18'} + cpu: [arm] + os: [android] + + '@esbuild/android-x64@0.28.2': + resolution: {integrity: sha512-O387ite7SzUyCcy3JQX4P4bLtEA7bLLkx+esve5JHnyYfNTxcVpXZo9jhdB0lTKN44gztELTdU7nS8Nr16Fs1Q==} + engines: {node: '>=18'} + cpu: [x64] + os: [android] + + '@esbuild/darwin-arm64@0.28.2': + resolution: {integrity: sha512-n4KqkOQrraxHJcgjM1RvwbigfQKIKJVpM7xp+KsxiyUSrRdIXnt73VhrPAx0fV44hgfmIVKjxMN9J1t5jySVkw==} + engines: {node: '>=18'} + cpu: [arm64] + os: [darwin] + + '@esbuild/darwin-x64@0.28.2': + resolution: {integrity: sha512-uq6suIWYP37qzGddBKPw5QEQPi6HiLGsO7UmkpfyaYNQ3D+rN6w6WfwH+nuqcGXWvawGwxOEroO4YGnFh95azw==} + engines: {node: '>=18'} + cpu: [x64] + os: [darwin] + + '@esbuild/freebsd-arm64@0.28.2': + resolution: {integrity: sha512-n+I0BTSRIoy+d6RPKnEVwql5UwBJolytvY4mAOIEJorKlqgPII8ix6slVVrfZ5Tnj7glIZvloylbB/EJPMWEXw==} + engines: {node: '>=18'} + cpu: [arm64] + os: [freebsd] + + '@esbuild/freebsd-x64@0.28.2': + resolution: {integrity: sha512-78XJTJkvPs0kz2w61301PJjXl4g7q3JqiYMZ/M/yVI73EHBrCRTgkhu9oqG7vPqq+a/yadEW8aD+agKlk5xrmg==} + engines: {node: '>=18'} + cpu: [x64] + os: [freebsd] + + '@esbuild/linux-arm64@0.28.2': + resolution: {integrity: sha512-pW4AC0P3it8c7do9MVM4p51FzHzdM/TZrerurgRcHJ2WTa1VQ1CIq18xncfpBJw4ojkiZZrKW2yIBWBP92j6Ug==} + engines: {node: '>=18'} + cpu: [arm64] + os: [linux] + + '@esbuild/linux-arm@0.28.2': + resolution: {integrity: sha512-XlDnu2q5yoqems+xay6wSAcg9DDD7K9RLKZEBOMZm3ckNpJBvOX20tSfby8KfrrhINDyv9V2YVZKY/SpoGJI8w==} + engines: {node: '>=18'} + cpu: [arm] + os: [linux] + + '@esbuild/linux-ia32@0.28.2': + resolution: {integrity: sha512-CYbnj78HsIeA+DhgUKgFCfvNsTHFhMMrinUrMZpDXJXKN8T3XViTZ/+wtHeVxEWY8ewSzTFN+nRmSwO2tZaLUQ==} + engines: {node: '>=18'} + cpu: [ia32] + os: [linux] + + '@esbuild/linux-loong64@0.28.2': + resolution: {integrity: sha512-buwkd8nsph4R+ajRvw0qM5Hja/TXQow3ptzWO2EbG/cqcIkHloRrdlBtQlshyYGTNFvfkfJ5tpPLVkY4DtsPfQ==} + engines: {node: '>=18'} + cpu: [loong64] + os: [linux] + + '@esbuild/linux-mips64el@0.28.2': + resolution: {integrity: sha512-ZVykbDyk7519VwiNb9Lcj9m8XM6v5V9uKPvrEMkkEedVewf+0itkhahp4HDpgERXhwLRpWFypsGbG/J8s0QjJA==} + engines: {node: '>=18'} + cpu: [mips64el] + os: [linux] + + '@esbuild/linux-ppc64@0.28.2': + resolution: {integrity: sha512-CAXl+Dtd9UUuJd8pKKdwh6MLm3MUMiqMPmhZ3tTSXPqfyQ3vDl6R5hZdZ/kYojK4ofXtdfSv1tFq8XzWx3heNQ==} + engines: {node: '>=18'} + cpu: [ppc64] + os: [linux] + + '@esbuild/linux-riscv64@0.28.2': + resolution: {integrity: sha512-GeXCej4IQtU1B+QlDV8W/RRvbzI3O/Stss+/bCXv4lZls5WGRtu2a+3JkA3i4qIUlMXpcHebWpF8AkJhATowuA==} + engines: {node: '>=18'} + cpu: [riscv64] + os: [linux] + + '@esbuild/linux-s390x@0.28.2': + resolution: {integrity: sha512-3H1weTYZPxt/WOhByszQZybS9w5lKzUn1FDMsgEChbHWQwHYQQRfBxgCcZvPhjHfKyJjIievvMmEUawJrdY9Dg==} + engines: {node: '>=18'} + cpu: [s390x] + os: [linux] + + '@esbuild/linux-x64@0.28.2': + resolution: {integrity: sha512-4xTZr1FUmSoQW4XIWmit3tzQrUTZM+N3P0XV8xROKYF50XfI7xeO90+1bZvNwxIufQ9hDQVRJH5YhgPVF8A/HQ==} + engines: {node: '>=18'} + cpu: [x64] + os: [linux] + + '@esbuild/netbsd-arm64@0.28.2': + resolution: {integrity: sha512-sSATRjPeDBg3pdgHoQfoYBob11Kk1FGa9lui5RIHZCoCkJa9QKlvl3/vKz2usCmYYjs7ymJR/2Nnsqe+Hjt5nw==} + engines: {node: '>=18'} + cpu: [arm64] + os: [netbsd] + + '@esbuild/netbsd-x64@0.28.2': + resolution: {integrity: sha512-lqnzCV+mM0gIADaKihiCg6ifgfU2L3h5E33rNQBN1Y4MaVGnzryzmvvf7UHxprpQdE8hpqLolJ9Rl+SkIRDpyw==} + engines: {node: '>=18'} + cpu: [x64] + os: [netbsd] + + '@esbuild/openbsd-arm64@0.28.2': + resolution: {integrity: sha512-AL2qJILH7lNjrDmCQDvdxMfAUIv8KMNZOvrwAQ8i8//ntL9FflhOyMJ8OZSMBb8/AWXe3/5v5S20y3zCoZWKoQ==} + engines: {node: '>=18'} + cpu: [arm64] + os: [openbsd] + + '@esbuild/openbsd-x64@0.28.2': + resolution: {integrity: sha512-QtiuPytchRyC4rwUKhexJdQKvDuZ6hWloi3igqPQNUJCS1/v9EiO3UTOXR6A3FoMo4fnAKbWJdqaIwhOzh8qEw==} + engines: {node: '>=18'} + cpu: [x64] + os: [openbsd] + + '@esbuild/openharmony-arm64@0.28.2': + resolution: {integrity: sha512-WkhYDmpTjLvGlScA1rwjRUmhl4k8oXR3cIbtqWmELgU/dFeHHlEllxDvdWcNJV9rbzCexB5vz8gtNewWLgCT7Q==} + engines: {node: '>=18'} + cpu: [arm64] + os: [openharmony] + + '@esbuild/sunos-x64@0.28.2': + resolution: {integrity: sha512-GPMSkTOtMnv2U2F8gxe4Io6qmVs+YKyp832Etqqxr0hFngmXQ3rzwytelm3GIn7T4VviRUlf3sOgBOiTdvaf7g==} + engines: {node: '>=18'} + cpu: [x64] + os: [sunos] + + '@esbuild/win32-arm64@0.28.2': + resolution: {integrity: sha512-PIhhEkE9uPBleRBrQEJpUn7MBnibZzbGzYWPmY3x+YoVg/95zbjB4CxPPOQ8l5tYYM4mMaCthF8/1DIfBQQyWQ==} + engines: {node: '>=18'} + cpu: [arm64] + os: [win32] + + '@esbuild/win32-ia32@0.28.2': + resolution: {integrity: sha512-YmJbfTlvU7Sdn9BB+4PRES4oB6pxgS37MAONj+hBr/cpXS1aBPKXxNnDbu+QCWPj0o9dgyxeq79g6c5P8KeuYA==} + engines: {node: '>=18'} + cpu: [ia32] + os: [win32] + + '@esbuild/win32-x64@0.28.2': + resolution: {integrity: sha512-5ebpxr3nWMzrL/rnUI755Jkuee0bHL/Gq0WTF9lvcpv73wAp5eu8MfBUgWK9bhWvZjj7yX8etf/8tI8Ney695g==} + engines: {node: '>=18'} + cpu: [x64] + os: [win32] + '@humanfs/core@0.19.2': resolution: {integrity: sha512-UhXNm+CFMWcbChXywFwkmhqjs3PRCmcSa/hfBgLIb7oQ5HNb1wS0icWsGtSAUNgefHeI+eBrA8I1fxmbHsGdvA==} engines: {node: '>=18.18.0'} @@ -1256,6 +1431,11 @@ packages: resolution: {integrity: sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==} engines: {node: '>= 0.4'} + esbuild@0.28.2: + resolution: {integrity: sha512-HKVLS8dvII+xoKW9kmqxbRKrnWEXfJJr/FZhhJmiqIB0e053QNYFqOBouTMO/k5sID4MvCiUCvv8b9M4h32wIA==} + engines: {node: '>=18'} + hasBin: true + estree-walker@3.0.3: resolution: {integrity: sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==} @@ -1532,6 +1712,14 @@ packages: resolution: {integrity: sha512-LJlKCCAUFKOuZxipUdYw1NzIITEsPcgyOG9LkvRJvuKj/bRzbuRY0ARXvL0pWGpsZvn8jku+LMep2eU0seHp8g==} engines: {node: ^10 || ^12 || >=14} + preact@11.0.1: + resolution: {integrity: sha512-TNNwEq++jYNHy747LziCjPRVgEwnLSOIOAw/oYcjI3Tdnubx2EXtt76I0an8PATvUWtx/DX1kFIg1eFN+O/fkw==} + peerDependencies: + preact-render-to-string: '>=6.7.0' + peerDependenciesMeta: + preact-render-to-string: + optional: true + proxy-from-env@2.1.0: resolution: {integrity: sha512-cJ+oHTW1VAEa8cJslgmUZrc+sjRKgAKl3Zyse6+PV38hZe/V6Z14TbCuXcan9F9ghlz4QrFr2c92TNF82UkYHA==} engines: {node: '>=10'} @@ -1663,6 +1851,11 @@ packages: tslib@2.8.1: resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==} + tsx@4.23.15: + resolution: {integrity: sha512-Yiex1Ovn8z2xPpOWckIiysV1SSyRMY9BkLF++q0yKiDxCqRhosKfMg3janKkiLBwZ5c/YryloKwGZcrEmtwxKw==} + engines: {node: '>=18.0.0'} + hasBin: true + typescript@6.0.3: resolution: {integrity: sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==} engines: {node: '>=14.17'} @@ -1826,7 +2019,7 @@ snapshots: '@bomb.sh/args@0.3.1': {} - '@bomb.sh/tools@0.8.0(@types/node@22.20.0)(oxc-resolver@11.20.0)(unrun@0.2.39)(vite@8.3.5(@types/node@22.20.0)(jiti@2.7.0)(yaml@2.9.1))': + '@bomb.sh/tools@0.8.0(@types/node@22.20.0)(oxc-resolver@11.20.0)(tsx@4.23.15)(unrun@0.2.39)(vite@8.3.5(@types/node@22.20.0)(esbuild@0.28.2)(jiti@2.7.0)(tsx@4.23.15)(yaml@2.9.1))': dependencies: '@bomb.sh/args': 0.3.1 '@humanfs/node': 0.16.8 @@ -1836,10 +2029,10 @@ snapshots: oxlint: 1.89.0 publint: 0.3.21 tinyexec: 1.3.1 - tsdown: 0.23.1(oxc-resolver@11.20.0)(publint@0.3.21)(typescript@7.0.2)(unrun@0.2.39) + tsdown: 0.23.1(oxc-resolver@11.20.0)(publint@0.3.21)(tsx@4.23.15)(typescript@7.0.2)(unrun@0.2.39) typescript: 7.0.2 - vitest: 5.0.5(@types/node@22.20.0)(vite@8.3.5(@types/node@22.20.0)(jiti@2.7.0)(yaml@2.9.1)) - vitest-ansi-serializer: 0.3.1(vitest@5.0.5(@types/node@22.20.0)(vite@8.3.5(@types/node@22.20.0)(jiti@2.7.0)(yaml@2.9.1))) + vitest: 5.0.5(@types/node@22.20.0)(vite@8.3.5(@types/node@22.20.0)(esbuild@0.28.2)(jiti@2.7.0)(tsx@4.23.15)(yaml@2.9.1)) + vitest-ansi-serializer: 0.3.1(vitest@5.0.5(@types/node@22.20.0)(vite@8.3.5(@types/node@22.20.0)(esbuild@0.28.2)(jiti@2.7.0)(tsx@4.23.15)(yaml@2.9.1))) yaml: 2.9.1 transitivePeerDependencies: - '@arethetypeswrong/core' @@ -1884,12 +2077,12 @@ snapshots: - debug - supports-color - '@codspeed/vitest-plugin@6.1.0(tinybench@6.2.2)(vite@8.3.5(@types/node@22.20.0)(jiti@2.7.0)(yaml@2.9.1))(vitest@5.0.5(@types/node@22.20.0)(vite@8.3.5(@types/node@22.20.0)(jiti@2.7.0)(yaml@2.9.1)))': + '@codspeed/vitest-plugin@6.1.0(tinybench@6.2.2)(vite@8.3.5(@types/node@22.20.0)(esbuild@0.28.2)(jiti@2.7.0)(tsx@4.23.15)(yaml@2.9.1))(vitest@5.0.5(@types/node@22.20.0)(vite@8.3.5(@types/node@22.20.0)(esbuild@0.28.2)(jiti@2.7.0)(tsx@4.23.15)(yaml@2.9.1)))': dependencies: '@codspeed/core': 6.1.0 tinybench: 6.2.2 - vite: 8.3.5(@types/node@22.20.0)(jiti@2.7.0)(yaml@2.9.1) - vitest: 5.0.5(@types/node@22.20.0)(vite@8.3.5(@types/node@22.20.0)(jiti@2.7.0)(yaml@2.9.1)) + vite: 8.3.5(@types/node@22.20.0)(esbuild@0.28.2)(jiti@2.7.0)(tsx@4.23.15)(yaml@2.9.1) + vitest: 5.0.5(@types/node@22.20.0)(vite@8.3.5(@types/node@22.20.0)(esbuild@0.28.2)(jiti@2.7.0)(tsx@4.23.15)(yaml@2.9.1)) transitivePeerDependencies: - debug - supports-color @@ -1910,6 +2103,84 @@ snapshots: tslib: 2.8.1 optional: true + '@esbuild/aix-ppc64@0.28.2': + optional: true + + '@esbuild/android-arm64@0.28.2': + optional: true + + '@esbuild/android-arm@0.28.2': + optional: true + + '@esbuild/android-x64@0.28.2': + optional: true + + '@esbuild/darwin-arm64@0.28.2': + optional: true + + '@esbuild/darwin-x64@0.28.2': + optional: true + + '@esbuild/freebsd-arm64@0.28.2': + optional: true + + '@esbuild/freebsd-x64@0.28.2': + optional: true + + '@esbuild/linux-arm64@0.28.2': + optional: true + + '@esbuild/linux-arm@0.28.2': + optional: true + + '@esbuild/linux-ia32@0.28.2': + optional: true + + '@esbuild/linux-loong64@0.28.2': + optional: true + + '@esbuild/linux-mips64el@0.28.2': + optional: true + + '@esbuild/linux-ppc64@0.28.2': + optional: true + + '@esbuild/linux-riscv64@0.28.2': + optional: true + + '@esbuild/linux-s390x@0.28.2': + optional: true + + '@esbuild/linux-x64@0.28.2': + optional: true + + '@esbuild/netbsd-arm64@0.28.2': + optional: true + + '@esbuild/netbsd-x64@0.28.2': + optional: true + + '@esbuild/openbsd-arm64@0.28.2': + optional: true + + '@esbuild/openbsd-x64@0.28.2': + optional: true + + '@esbuild/openharmony-arm64@0.28.2': + optional: true + + '@esbuild/sunos-x64@0.28.2': + optional: true + + '@esbuild/win32-arm64@0.28.2': + optional: true + + '@esbuild/win32-ia32@0.28.2': + optional: true + + '@esbuild/win32-x64@0.28.2': + optional: true + '@humanfs/core@0.19.2': dependencies: '@humanfs/types': 0.15.0 @@ -2404,10 +2675,10 @@ snapshots: playwright: 1.64.1 upng-js: 2.1.0 - '@termless/test@0.10.2(@termless/core@0.10.2(node-pty@1.2.0-beta.15))(playwright@1.64.1)(vitest@5.0.5(@types/node@22.20.0)(vite@8.3.5(@types/node@22.20.0)(jiti@2.7.0)(yaml@2.9.1)))': + '@termless/test@0.10.2(@termless/core@0.10.2(node-pty@1.2.0-beta.15))(playwright@1.64.1)(vitest@5.0.5(@types/node@22.20.0)(vite@8.3.5(@types/node@22.20.0)(esbuild@0.28.2)(jiti@2.7.0)(tsx@4.23.15)(yaml@2.9.1)))': dependencies: '@termless/core': 0.10.2(node-pty@1.2.0-beta.15) - vitest: 5.0.5(@types/node@22.20.0)(vite@8.3.5(@types/node@22.20.0)(jiti@2.7.0)(yaml@2.9.1)) + vitest: 5.0.5(@types/node@22.20.0)(vite@8.3.5(@types/node@22.20.0)(esbuild@0.28.2)(jiti@2.7.0)(tsx@4.23.15)(yaml@2.9.1)) optionalDependencies: '@napi-rs/canvas': 1.0.11 '@resvg/resvg-js': 2.6.2 @@ -2503,14 +2774,14 @@ snapshots: chai: 6.3.0 tinyrainbow: 3.2.0 - '@vitest/mocker@5.0.5(vite@8.3.5(@types/node@22.20.0)(jiti@2.7.0)(yaml@2.9.1))': + '@vitest/mocker@5.0.5(vite@8.3.5(@types/node@22.20.0)(esbuild@0.28.2)(jiti@2.7.0)(tsx@4.23.15)(yaml@2.9.1))': dependencies: '@jridgewell/trace-mapping': 0.3.31 '@vitest/spy': 5.0.5 estree-walker: 3.0.3 magic-string: 1.4.3 optionalDependencies: - vite: 8.3.5(@types/node@22.20.0)(jiti@2.7.0)(yaml@2.9.1) + vite: 8.3.5(@types/node@22.20.0)(esbuild@0.28.2)(jiti@2.7.0)(tsx@4.23.15)(yaml@2.9.1) '@vitest/pretty-format@5.0.5': dependencies: @@ -2636,6 +2907,35 @@ snapshots: has-tostringtag: 1.0.2 hasown: 2.0.4 + esbuild@0.28.2: + optionalDependencies: + '@esbuild/aix-ppc64': 0.28.2 + '@esbuild/android-arm': 0.28.2 + '@esbuild/android-arm64': 0.28.2 + '@esbuild/android-x64': 0.28.2 + '@esbuild/darwin-arm64': 0.28.2 + '@esbuild/darwin-x64': 0.28.2 + '@esbuild/freebsd-arm64': 0.28.2 + '@esbuild/freebsd-x64': 0.28.2 + '@esbuild/linux-arm': 0.28.2 + '@esbuild/linux-arm64': 0.28.2 + '@esbuild/linux-ia32': 0.28.2 + '@esbuild/linux-loong64': 0.28.2 + '@esbuild/linux-mips64el': 0.28.2 + '@esbuild/linux-ppc64': 0.28.2 + '@esbuild/linux-riscv64': 0.28.2 + '@esbuild/linux-s390x': 0.28.2 + '@esbuild/linux-x64': 0.28.2 + '@esbuild/netbsd-arm64': 0.28.2 + '@esbuild/netbsd-x64': 0.28.2 + '@esbuild/openbsd-arm64': 0.28.2 + '@esbuild/openbsd-x64': 0.28.2 + '@esbuild/openharmony-arm64': 0.28.2 + '@esbuild/sunos-x64': 0.28.2 + '@esbuild/win32-arm64': 0.28.2 + '@esbuild/win32-ia32': 0.28.2 + '@esbuild/win32-x64': 0.28.2 + estree-walker@3.0.3: dependencies: '@types/estree': 1.0.9 @@ -2933,6 +3233,8 @@ snapshots: picocolors: 1.1.1 source-map-js: 1.2.2 + preact@11.0.1: {} + proxy-from-env@2.1.0: {} publint@0.3.21: @@ -3032,7 +3334,7 @@ snapshots: tree-kill@1.2.2: {} - tsdown@0.23.1(oxc-resolver@11.20.0)(publint@0.3.21)(typescript@7.0.2)(unrun@0.2.39): + tsdown@0.23.1(oxc-resolver@11.20.0)(publint@0.3.21)(tsx@4.23.15)(typescript@7.0.2)(unrun@0.2.39): dependencies: cac: 7.1.0 defu: 6.1.7 @@ -3050,6 +3352,7 @@ snapshots: verkit: 0.5.0 optionalDependencies: publint: 0.3.21 + tsx: 4.23.15 typescript: 7.0.2 unrun: 0.2.39 transitivePeerDependencies: @@ -3062,6 +3365,12 @@ snapshots: tslib@2.8.1: optional: true + tsx@4.23.15: + dependencies: + esbuild: 0.28.2 + optionalDependencies: + fsevents: 2.3.3 + typescript@6.0.3: {} typescript@7.0.2: @@ -3108,7 +3417,7 @@ snapshots: verkit@0.5.0: {} - vite@8.3.5(@types/node@22.20.0)(jiti@2.7.0)(yaml@2.9.1): + vite@8.3.5(@types/node@22.20.0)(esbuild@0.28.2)(jiti@2.7.0)(tsx@4.23.15)(yaml@2.9.1): dependencies: lightningcss: 1.33.0 picomatch: 4.0.7 @@ -3117,18 +3426,20 @@ snapshots: tinyglobby: 0.2.17 optionalDependencies: '@types/node': 22.20.0 + esbuild: 0.28.2 fsevents: 2.3.3 jiti: 2.7.0 + tsx: 4.23.15 yaml: 2.9.1 - vitest-ansi-serializer@0.3.1(vitest@5.0.5(@types/node@22.20.0)(vite@8.3.5(@types/node@22.20.0)(jiti@2.7.0)(yaml@2.9.1))): + vitest-ansi-serializer@0.3.1(vitest@5.0.5(@types/node@22.20.0)(vite@8.3.5(@types/node@22.20.0)(esbuild@0.28.2)(jiti@2.7.0)(tsx@4.23.15)(yaml@2.9.1))): dependencies: - vitest: 5.0.5(@types/node@22.20.0)(vite@8.3.5(@types/node@22.20.0)(jiti@2.7.0)(yaml@2.9.1)) + vitest: 5.0.5(@types/node@22.20.0)(vite@8.3.5(@types/node@22.20.0)(esbuild@0.28.2)(jiti@2.7.0)(tsx@4.23.15)(yaml@2.9.1)) - vitest@5.0.5(@types/node@22.20.0)(vite@8.3.5(@types/node@22.20.0)(jiti@2.7.0)(yaml@2.9.1)): + vitest@5.0.5(@types/node@22.20.0)(vite@8.3.5(@types/node@22.20.0)(esbuild@0.28.2)(jiti@2.7.0)(tsx@4.23.15)(yaml@2.9.1)): dependencies: '@types/chai': 5.2.3 - '@vitest/mocker': 5.0.5(vite@8.3.5(@types/node@22.20.0)(jiti@2.7.0)(yaml@2.9.1)) + '@vitest/mocker': 5.0.5(vite@8.3.5(@types/node@22.20.0)(esbuild@0.28.2)(jiti@2.7.0)(tsx@4.23.15)(yaml@2.9.1)) chai: 6.3.0 es-module-lexer: 2.3.2 expect-type: 1.4.0 @@ -3139,7 +3450,7 @@ snapshots: tinybench: 6.2.2 tinyexec: 1.3.1 tinyglobby: 0.2.17 - vite: 8.3.5(@types/node@22.20.0)(jiti@2.7.0)(yaml@2.9.1) + vite: 8.3.5(@types/node@22.20.0)(esbuild@0.28.2)(jiti@2.7.0)(tsx@4.23.15)(yaml@2.9.1) why-is-node-running: 3.2.1 optionalDependencies: '@types/node': 22.20.0 diff --git a/tsconfig.json b/tsconfig.json index 276d375..b3a5a3e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,3 +1,7 @@ { - "extends": "@bomb.sh/tools/tsconfig.json" + "extends": "@bomb.sh/tools/tsconfig.json", + "compilerOptions": { + "composite": false + }, + "include": ["*.ts", "*.mts"] }