Skip to content

feat: unify tsdown configurations across projects#1486

Merged
Adammatthiesen merged 2 commits intomainfrom
adam/effect-to-tsdown-2
Mar 16, 2026
Merged

feat: unify tsdown configurations across projects#1486
Adammatthiesen merged 2 commits intomainfrom
adam/effect-to-tsdown-2

Conversation

@Adammatthiesen
Copy link
Member

This pull request unifies the tsdown build configuration across the repository by introducing a shared configuration file and updating all related references and usages. It also standardizes the output file extensions for builds and cleans up package dependencies.

Key changes include:

Build Configuration Unification:

  • Introduced a shared tsdown config (sharedConfig) and applied it to all package-level tsdown.config.ts files, removing redundant and package-specific config options. [1] [2] [3] [4]
  • Updated build scripts in relevant package.json files to use the unified config and the --clean flag for consistent builds. [1] [2]

Build Output and Import Path Standardization:

  • Changed all output file references and exports from .mjs/.d.mts to .js/.d.ts in package.json files and dynamic imports to ensure consistency and compatibility. [1] [2] [3] [4]

Dependency Cleanup:

  • Removed direct tsdown dependencies from individual packages now that configuration is shared, and cleaned up unnecessary devDependencies. [1] [2] [3] [4]

Changelog:

  • Added a changeset entry summarizing the above changes for affected packages.

@coderabbitai ignore

@changeset-bot
Copy link

changeset-bot bot commented Mar 15, 2026

🦋 Changeset detected

Latest commit: f1b745e

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

This PR includes changesets to release 8 packages
Name Type
@withstudiocms/api-spec Patch
@studiocms/upgrade Patch
create-studiocms Patch
effectify Patch
studiocms Patch
@withstudiocms/effect Patch
@withstudiocms/auth-kit Patch
@withstudiocms/component-registry 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

@github-actions
Copy link
Contributor

Allure Test Report for this PR:

Allure Report | History

@codecov
Copy link

codecov bot commented Mar 15, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@pkg-pr-new
Copy link

pkg-pr-new bot commented Mar 15, 2026

create-studiocms

npm i https://pkg.pr.new/create-studiocms@1486

effectify

npm i https://pkg.pr.new/effectify@1486

studiocms

npm i https://pkg.pr.new/studiocms@1486

@studiocms/upgrade

npm i https://pkg.pr.new/@studiocms/upgrade@1486

@studiocms/wysiwyg

npm i https://pkg.pr.new/@studiocms/wysiwyg@1486

@withstudiocms/api-spec

npm i https://pkg.pr.new/@withstudiocms/api-spec@1486

@withstudiocms/component-registry

npm i https://pkg.pr.new/@withstudiocms/component-registry@1486

@withstudiocms/config-utils

npm i https://pkg.pr.new/@withstudiocms/config-utils@1486

commit: f1b745e

@Adammatthiesen Adammatthiesen marked this pull request as ready for review March 15, 2026 22:49
@Adammatthiesen Adammatthiesen requested a review from a team as a code owner March 15, 2026 22:49
@Adammatthiesen Adammatthiesen merged commit 497ec43 into main Mar 16, 2026
31 checks passed
@Adammatthiesen Adammatthiesen deleted the adam/effect-to-tsdown-2 branch March 16, 2026 04:06
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