fix(cli): export types & switch to tsdown #1994
Triggered via pull request
September 18, 2025 19:55
Status
Failure
Total duration
5m 27s
Artifacts
–
Annotations
17 errors and 1 notice
check
Cannot find module '../dist/index.js' or its corresponding type declarations.
|
check
Type 'Addon<{ usages: { readonly question: "What do you want to use vitest for?"; readonly type: "multiselect"; readonly default: ["unit", "component"]; readonly options: [{ readonly value: "unit"; readonly label: "unit testing"; }, { ...; }]; readonly required: true; }; }>' is not assignable to type 'Addon<any>'.
|
check
Type 'Addon<{ plugins: { readonly type: "multiselect"; readonly question: "Which plugins would you like to add?"; readonly options: { value: "typography" | "forms"; label: "typography" | "forms"; hint: "@tailwindcss/typography" | "@tailwindcss/forms"; }[]; readonly default: ("typography" | "forms")[]; readonly required: f...' is not assignable to type 'Addon<any>'.
|
check
Argument of type '{ [addonId]: Addon<{ adapter: { readonly type: "select"; readonly question: "Which SvelteKit adapter would you like to use?"; readonly default: "auto"; readonly options: { value: "auto" | "node" | "static" | "vercel" | "cloudflare" | "netlify"; label: "auto" | ... 4 more ... | "netlify"; hint: "@sveltejs/adapter-aut...' is not assignable to parameter of type 'AddonMap'.
|
check
Type 'Addon<{ languageTags: { readonly question: `Which languages would you like to support? ${string}`; readonly type: "string"; readonly default: "en, es"; readonly validate: (input: string | undefined) => string | undefined; }; demo: { ...; }; }>' is not assignable to type 'Addon<any>'.
|
check
Type 'Addon<{ demo: { readonly type: "boolean"; readonly default: true; readonly question: `Do you want to include a demo? ${string}`; }; }>' is not assignable to type 'Addon<any>'.
|
check
Type 'Addon<{ database: { readonly question: "Which database would you like to use?"; readonly type: "select"; readonly default: "sqlite"; readonly options: [{ readonly value: "postgresql"; readonly label: "PostgreSQL"; }, { ...; }, { ...; }]; }; postgresql: { ...; }; mysql: { ...; }; sqlite: { ...; }; docker: { ...; }; }>' is not assignable to type 'Addon<any>'.
|
check
Type 'Addon<{ database: { readonly question: "Which database would you like to use?"; readonly type: "select"; readonly default: "sqlite"; readonly options: [{ readonly value: "postgresql"; readonly label: "PostgreSQL"; }, { ...; }, { ...; }]; }; postgresql: { ...; }; mysql: { ...; }; sqlite: { ...; }; docker: { ...; }; }>' is not assignable to type 'Addon<any>'.
|
check
Type 'AddonWithoutExplicitArgs' is not assignable to type 'Addon<any>'.
|
check
Argument of type '{ [id]: Addon<{ demo: { readonly question: "Do you want to use a demo?"; readonly type: "boolean"; readonly default: false; }; }>; }' is not assignable to parameter of type 'AddonMap'.
|
test (macOS-latest)
Process completed with exit code 1.
|
test/playground.ts:
packages/create/index.ts#L43
Error: ENOENT: no such file or directory, open '/Users/runner/work/cli/cli/packages/create/dist/templates/minimal/meta.json'
❯ index.ts:43:47
❯ index.ts:41:60
❯ test/playground.ts:10:1
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'open', path: '/Users/runner/work/cli/cli/packages/create/dist/templates/minimal/meta.json' }
|
test/check.ts:
packages/create/index.ts#L43
Error: ENOENT: no such file or directory, open '/Users/runner/work/cli/cli/packages/create/dist/templates/minimal/meta.json'
❯ index.ts:43:47
❯ index.ts:41:60
❯ test/check.ts:7:1
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'open', path: '/Users/runner/work/cli/cli/packages/create/dist/templates/minimal/meta.json' }
|
test (ubuntu-latest)
The operation was canceled.
|
test (ubuntu-latest)
The strategy configuration was canceled because "test.macOS-latest" failed
|
test (windows-latest)
The operation was canceled.
|
test (windows-latest)
The strategy configuration was canceled because "test.macOS-latest" failed
|
test (windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
|