feat: release with tsdown#106
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR migrates the package build/release pipeline from tsc + tsc-alias to tsdown, updating packaging metadata (ESM exports) and refreshing related dependencies to support the new build tool.
Changes:
- Add
tsdown.config.tsand switchnpm run buildtotsdown. - Update
package.jsonpackaging fields (exports,files, ESM metadata) and bump dependencies/devDependencies. - Remove
tsconfigemit-related options now handled bytsdownand updatepnpm-lock.yamlaccordingly.
Reviewed changes
Copilot reviewed 2 out of 4 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| tsdown.config.ts | Introduces tsdown build configuration including entrypoint and path aliases. |
| tsconfig.json | Removes outDir/declaration/rootDir settings previously used for tsc builds. |
| package.json | Switches build script to tsdown, adds exports, bumps versions/deps, and updates package metadata. |
| pnpm-lock.yaml | Updates lockfile for tsdown adoption and dependency version bumps. |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| }, | ||
| "version": "1.7.2", | ||
| "type": "module", | ||
| "description": "A framework for simplify the creation of discord bots", |
| "description": "A framework for simplify the creation of discord bots", | ||
| "author": "Tweenty_", | ||
| "license": "ISC", | ||
| "packageManager": "pnpm@10.33.2", |
| "@managers": "./src/managers", | ||
| "@structures": "./src/structures", | ||
| "@typescript": "./src/typescript", | ||
| "@utils": "./src/utils", |
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



No description provided.