Skip to content

Conversation

gregberge
Copy link
Contributor

@gregberge gregberge commented Oct 13, 2025

  • Build all packages using tsdown to ensure they are valid packages
  • Add sideEffects: false to all packages
  • Fix auth problem of bun for publishing
  • Remove unnecessary source files in packages to make them lighter
  • Move common packages to catalog

Copy link

changeset-bot bot commented Oct 13, 2025

🦋 Changeset detected

Latest commit: 3c0c705

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

This PR includes changesets to release 13 packages
Name Type
@gitbook/emoji-codepoints Patch
@gitbook/react-contentkit Patch
@gitbook/openapi-parser Patch
@gitbook/browser-types Patch
@gitbook/react-openapi Patch
@gitbook/cache-tags Patch
@gitbook/react-math Patch
gitbook Patch
@gitbook/colors Patch
@gitbook/embed Patch
@gitbook/fonts Patch
@gitbook/icons Patch
@gitbook/expr Patch

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

Copy link
Contributor

@Copilot 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 build system from TypeScript compiler (tsc) to tsdown across all packages and fixes the npm publishing authentication setup. The migration standardizes build tooling and removes development exports from package.json files.

Key changes:

  • Replace TypeScript compiler with tsdown build tool across all packages
  • Remove development-specific exports and source files from published packages
  • Fix npm authentication in GitHub Actions workflow

Reviewed Changes

Copilot reviewed 24 out of 26 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
packages/*/tsconfig.build.json Removed build-specific TypeScript configurations
packages/*/tsdown.config.ts Added tsdown configuration files for new build system
packages/*/package.json Updated build scripts, exports, and file lists for production
packages/react-openapi/src/*.ts Consolidated import/export statements for flatted package
.github/workflows/publish.yaml Fixed npm authentication setup

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

Copy link

argos-ci bot commented Oct 13, 2025

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
customers-v2 (Inspect) 👍 Changes approved 5 changed Oct 13, 2025, 8:34 PM
v2-cloudflare (Inspect) 👍 Changes approved 9 changed Oct 13, 2025, 8:38 PM
v2-vercel (Inspect) 👍 Changes approved 8 changed Oct 13, 2025, 8:37 PM

@gregberge gregberge force-pushed the fix-build-all-packages branch from c87f517 to 3c0c705 Compare October 13, 2025 20:28
@gregberge gregberge changed the title fix build all packages Build all packages using tsdown Oct 13, 2025
@gregberge gregberge enabled auto-merge (squash) October 13, 2025 20:39
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