Skip to content

update package versions#7

Merged
mast1ff merged 2 commits into
mainfrom
refactor/tsdown-build
Apr 4, 2026
Merged

update package versions#7
mast1ff merged 2 commits into
mainfrom
refactor/tsdown-build

Conversation

@mast1ff

@mast1ff mast1ff commented Apr 4, 2026

Copy link
Copy Markdown
Member

This pull request updates the build tooling and dependencies, modernizes TypeScript and test configurations, and improves compatibility with newer versions of peer dependencies. The main changes involve switching the build system from tsup to tsdown, updating dev dependencies, and making minor code adjustments for better compatibility and maintainability.

Build System & Configuration Updates:

  • Replaced tsup with tsdown as the build tool, including adding a new tsdown.config.ts file and removing the old tsup.config.ts. The build script in package.json is updated to use tsdown. [1] [2] [3]
  • Updated the biome.json schema version and improved the file inclusion/exclusion patterns for better linting and formatting.

Dependency & Peer Dependency Updates:

  • Upgraded several dev dependencies (such as @biomejs/biome, typescript, vitest, and others) to their latest major versions for improved compatibility and features.
  • Expanded the supported versions of the zod peer dependency to include both v3 and v4.

Code Compatibility Improvements:

  • Changed imports from import { z } from "zod" to import z from "zod" in test files for compatibility with zod v4. [1] [2]
  • Updated fetch mocking in test files to use globalThis.fetch instead of global.fetch, ensuring compatibility across environments. [1] [2]
  • Removed the fallback for global.fetch in the internal fetch implementation, standardizing on globalThis.fetch.

@mast1ff mast1ff self-assigned this Apr 4, 2026
@mast1ff mast1ff merged commit 9098f4d into main Apr 4, 2026
2 checks passed
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