Skip to content

fix(ci): declare unrun as devDependency where tsdown uses it#368

Merged
antfu merged 2 commits into
mainfrom
antfu/stuttgart
May 28, 2026
Merged

fix(ci): declare unrun as devDependency where tsdown uses it#368
antfu merged 2 commits into
mainfrom
antfu/stuttgart

Conversation

@antfu
Copy link
Copy Markdown
Member

@antfu antfu commented May 28, 2026

Description

Restore green CI. packages/core and three example plugins build with tsdown --config-loader=unrun, but unrun is only an optional peer dep of tsdown@0.22.0 and was previously satisfied transitively via the npm-published @vitejs/devtools@0.1.24. The recent chore: update deps (f444ccd) replaced that resolution with @vitejs/devtools@0.2.0, which no longer pulls unrun in — the optional peer dropped out of the lockfile and the next clean install on CI failed every build job with Failed to import module "unrun". Declaring unrun explicitly in the build catalog and in each consuming package makes the dependency resolution self-contained instead of relying on a transitive accident.

Linked Issues

Fixes the failing run https://github.com/vitejs/devtools/actions/runs/26556373838.

Additional context

The lockfile shrinks substantially because the stale @vitejs/devtools@0.2.0 transitive resolution (and its @pnpm/* graph) is no longer needed once unrun is a direct dep.


This PR was created with the help of an agent.

`tsdown --config-loader=unrun` relies on an optional peer of tsdown
that was previously satisfied transitively via `@vitejs/devtools@0.1.24`.
The latest deps update replaced that resolution and dropped unrun from
the lockfile, breaking the build.
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented May 28, 2026

Open in StackBlitz

npm i https://pkg.pr.new/@vitejs/devtools@368
npm i https://pkg.pr.new/@vitejs/devtools-kit@368
npm i https://pkg.pr.new/@vitejs/devtools-rolldown@368
npm i https://pkg.pr.new/@vitejs/devtools-self-inspect@368

commit: d8645b7

splitpanes 4.1.2 tightened the resize payload type so `prevPane` is
now possibly undefined. Accept the full payload in the handler and
narrow before reading `prevPane.size`.
@antfu antfu merged commit 73e7008 into main May 28, 2026
10 checks passed
@antfu antfu deleted the antfu/stuttgart branch May 28, 2026 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant