Skip to content

chore(deps): update dependency tsdown to v0.21.7#3688

Merged
mrlubos merged 4 commits into
mainfrom
renovate/tsdown-0.x
Apr 6, 2026
Merged

chore(deps): update dependency tsdown to v0.21.7#3688
mrlubos merged 4 commits into
mainfrom
renovate/tsdown-0.x

Conversation

@renovate

@renovate renovate Bot commented Apr 5, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
tsdown (source) 0.21.40.21.7 age confidence

Release Notes

rolldown/tsdown (tsdown)

v0.21.7

Compare Source

   🚀 Features
  • Add module option for attw and publint to allow passing imported modules directly  -  by @​sxzz (31e90)
   🐞 Bug Fixes
  • deps: Add skipNodeModulesBundle dep subpath e2e tests and fix docs  -  by @​sxzz (deff7)
    View changes on GitHub

v0.21.6

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.21.5

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

Configuration

📅 Schedule: Branch creation - "before 3am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@vercel

vercel Bot commented Apr 5, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
hey-api-docs Ready Ready Preview, Comment Apr 6, 2026 1:08am

Request Review

@bolt-new-by-stackblitz

Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@changeset-bot

changeset-bot Bot commented Apr 5, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 1bf75fe

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@hey-api/vite-plugin Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pkg-pr-new

pkg-pr-new Bot commented Apr 5, 2026

Copy link
Copy Markdown

Open in StackBlitz

@hey-api/codegen-core

npm i https://pkg.pr.new/@hey-api/codegen-core@3688

@hey-api/json-schema-ref-parser

npm i https://pkg.pr.new/@hey-api/json-schema-ref-parser@3688

@hey-api/nuxt

npm i https://pkg.pr.new/@hey-api/nuxt@3688

@hey-api/openapi-ts

npm i https://pkg.pr.new/@hey-api/openapi-ts@3688

@hey-api/shared

npm i https://pkg.pr.new/@hey-api/shared@3688

@hey-api/spec-types

npm i https://pkg.pr.new/@hey-api/spec-types@3688

@hey-api/types

npm i https://pkg.pr.new/@hey-api/types@3688

@hey-api/vite-plugin

npm i https://pkg.pr.new/@hey-api/vite-plugin@3688

commit: 1bf75fe

@codecov

codecov Bot commented Apr 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 39.39%. Comparing base (e19a49f) to head (1bf75fe).
⚠️ Report is 5 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3688   +/-   ##
=======================================
  Coverage   39.39%   39.39%           
=======================================
  Files         520      520           
  Lines       19278    19278           
  Branches     5708     5708           
=======================================
  Hits         7594     7594           
  Misses       9445     9445           
  Partials     2239     2239           
Flag Coverage Δ
unittests 39.39% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@dosubot dosubot Bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Apr 6, 2026
@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label Apr 6, 2026
@pullfrog

pullfrog Bot commented Apr 6, 2026

Copy link
Copy Markdown
Contributor

TL;DR — Bumps tsdown from 0.21.4 to 0.21.7 and adopts its new built-in attw and publint integrations, replacing the separate check-exports build step across all packages. The @hey-api/vite-plugin package drops CJS output, becomes ESM-only (breaking change), and gets a full README overhaul.

Key changes

  • Upgrade tsdown to v0.21.7 — Updates the build tool and replaces @arethetypeswrong/cli with @arethetypeswrong/core and adds publint as root devDependencies for tsdown's new built-in integrations.
  • Migrate attw and publint checks into tsdown.config.ts — Removes the standalone check-exports script from every package's package.json and configures attw / publint declaratively inside each tsdown config.
  • Remove redundant tsdown config options — Drops clean, dts, entry, format, minify, shims, and treeshake options that are now handled by tsdown defaults.
  • Make @hey-api/vite-plugin ESM-only — Removes CJS export map entries, drops the createRequire banner hack, and adds a changeset marking this as a breaking minor release.
  • Rewrite @hey-api/vite-plugin README — Replaces the minimal stub with a full-featured README including badges, an About section, features list, installation instructions, usage examples, and license.

Summary | 18 files | 4 commits | base: mainrenovate/tsdown-0.x


Built-in attw and publint via tsdown config

Before: Each package ran attw --pack . as a separate check-exports npm script after tsdown.
After: attw and publint are configured declaratively in each tsdown.config.ts and run as part of the build automatically.

This takes advantage of tsdown v0.21.7's native support for attw and publint fields in defineConfig. The check-exports scripts are removed from all seven packages. At the root, @arethetypeswrong/cli is replaced with @arethetypeswrong/core (the library tsdown uses internally) and publint is added.

packages/openapi-ts/tsdown.config.ts · packages/codegen-core/tsdown.config.ts · packages/shared/tsdown.config.ts · package.json


Simplified tsdown config defaults

Before: Every config explicitly set clean, dts, entry, format, minify, and treeshake.
After: These options are removed — tsdown v0.21.7 defaults cover them.

The configs are now minimal, keeping only package-specific settings like entry (when non-standard), deps.neverBundle, onSuccess, and sourcemap.

packages/custom-client/tsdown.config.ts · packages/vite-plugin/tsdown.config.ts


@hey-api/vite-plugin becomes ESM-only

Before: The vite plugin shipped both CJS and ESM bundles with a createRequire banner hack for ESM compatibility.
After: CJS exports and the banner workaround are removed; the package is ESM-only.

The exports map is flattened to a single import condition, main now points to .mjs, and a typecheck script is added. A changeset marks this as a breaking minor for @hey-api/vite-plugin.

packages/vite-plugin/package.json · packages/vite-plugin/tsdown.config.ts · .changeset/polite-wombats-taste.md


Vite plugin README overhaul

Before: The README was a minimal stub with a Dashboard link, a brief usage snippet, and a Documentation section.
After: Full-featured README with badges, About/Features sections, installation instructions for all package managers, improved usage examples with inline config, and a License section.

The new README follows the same structure as other packages in the monorepo — hero image, badge row, quick links, features list, sponsor table, and per-manager install commands.

packages/vite-plugin/README.md · packages/vite-plugin/package.json

Pullfrog  | View workflow run | Triggered by Pullfrog𝕏

@mrlubos mrlubos merged commit e1a7471 into main Apr 6, 2026
12 checks passed
@mrlubos mrlubos deleted the renovate/tsdown-0.x branch April 6, 2026 01:11
@hey-api hey-api Bot mentioned this pull request Apr 5, 2026
@hey-api hey-api Bot mentioned this pull request Apr 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm This PR has been approved by a maintainer size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant