Skip to content

Conversation

@Rel1cx
Copy link
Owner

@Rel1cx Rel1cx commented Aug 25, 2025

This commit migrates the entire project from using tsup to tsdown for building packages. tsdown is a faster and more efficient bundler that should improve build times.

Key changes include:

Replaced all instances of tsup with tsdown in package.json scripts. Removed tsup.config.ts files and added tsdown.config.ts with the appropriate configuration. Updated pnpm-lock.yaml to reflect the new dependencies. Removed esbuild from the root package.json as it's no longer a direct dependency. Regenerated build outputs for local packages.
Minor cleanups in documentation and scripts.

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Docs
  • Test
  • New Binding issue #___
  • Code style update
  • Refactor
  • Build-related changes
  • Other, please describe:

Does this PR introduce a breaking change?

  • Yes, and the changes were approved in issue #___
  • No

Checklist

  • When resolving issues, they are referenced in the PR's title (e.g fix: remove a typo, closes #___, #___)
  • I have added a convincing reason for adding this feature, if necessary

Other information

This commit migrates the entire project from using tsup to tsdown for building packages. tsdown is a faster and more efficient bundler that should improve build times.

Key changes include:

Replaced all instances of tsup with tsdown in package.json scripts.
Removed tsup.config.ts files and added tsdown.config.ts with the appropriate configuration.
Updated pnpm-lock.yaml to reflect the new dependencies.
Removed esbuild from the root package.json as it's no longer a direct dependency.
Regenerated build outputs for local packages.
Minor cleanups in documentation and scripts.
@Rel1cx Rel1cx requested a review from Copilot August 25, 2025 13:43
@vercel
Copy link

vercel bot commented Aug 25, 2025

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

Project Deployment Preview Comments Updated (UTC)
eslint-react Building Building Preview Comment Aug 25, 2025 1:43pm

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR migrates the entire project from using tsup to tsdown for bundling packages to improve build times and efficiency.

  • Replaced all tsup references with tsdown across configuration files and package.json scripts
  • Removed tsup.config.ts files and created corresponding tsdown.config.ts files with updated configurations
  • Updated package dependencies from tsup to tsdown version 0.14.2

Reviewed Changes

Copilot reviewed 50 out of 54 changed files in this pull request and generated no comments.

Show a summary per file
File Description
scripts/update-website.ts Refactored code to move helper functions to module level and simplify array operations
packages/*/tsup.config.ts Removed tsup configuration files
packages/*/tsdown.config.ts Added new tsdown configuration files with updated import statements
packages/*/package.json Updated build scripts and dependencies from tsup to tsdown
package.json Replaced tsup with tsdown in root dependencies and removed esbuild
.pkgs/*/package.json Updated build scripts and dependencies for local packages
.pkgs/*/.gitignore Removed .tsup directory from gitignore
/docs/.md Updated documentation heading capitalization from "Type declaration" to "Type Declaration"
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@socket-security
Copy link

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License

View full report

@Rel1cx Rel1cx marked this pull request as ready for review August 25, 2025 13:44
@Rel1cx Rel1cx merged commit bf96c43 into 2.0.0 Aug 25, 2025
9 of 10 checks passed
@Rel1cx Rel1cx deleted the build/migrate-to-tsdown branch August 25, 2025 13:45
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.

2 participants