Skip to content

chore: migrating to tsdown and upgrading typescript#36

Merged
jaredwray merged 1 commit intomainfrom
chore-migrating-to-tsdown-and-upgrading-typescript
Apr 17, 2026
Merged

chore: migrating to tsdown and upgrading typescript#36
jaredwray merged 1 commit intomainfrom
chore-migrating-to-tsdown-and-upgrading-typescript

Conversation

@jaredwray
Copy link
Copy Markdown
Contributor

@jaredwray jaredwray commented Apr 17, 2026

Please check if the PR fulfills these requirements

  • Followed the Contributing guidelines and Code of Conduct
  • Tests for the changes have been added (for bug fixes/features) with 100% code coverage.

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
chore: migrating to tsdown and upgrading typescript

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request migrates the project's build system from tsup to tsdown, updates the package.json exports and entry points to use explicit .mjs and .cjs extensions, and upgrades TypeScript to version 6.0.2. Feedback was provided regarding a discrepancy in the lockfile where the TypeScript version specifier is pinned to a fixed version, which conflicts with the caret range defined in package.json and prevents automatic minor or patch updates.

Comment thread pnpm-lock.yaml
typescript:
specifier: ^5.9.3
version: 5.9.3
specifier: 6.0.2
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

The specifier for the typescript dependency is pinned to 6.0.2 in the lockfile, but package.json uses ^6.0.2. This prevents automatic patch and minor version updates for TypeScript. To ensure non-breaking updates are applied, the specifier in the lockfile should match the one in package.json.

Running pnpm install after ensuring package.json is correct should fix this.

        specifier: ^6.0.2

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e10a5dd56b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread pnpm-lock.yaml
typescript:
specifier: ^5.9.3
version: 5.9.3
specifier: 6.0.2
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Align TypeScript specifier in lockfile with manifest

pnpm-lock.yaml now records typescript with specifier 6.0.2, but package.json declares ^6.0.2; this makes the lockfile stale and pnpm install fails with ERR_PNPM_OUTDATED_LOCKFILE when frozen-lockfile is enabled (which is the default in CI). In this repo, the workflows run plain pnpm install, so this mismatch can block test/release jobs until the lockfile is regenerated (or the manifest range is made exact).

Useful? React with 👍 / 👎.

@jaredwray jaredwray merged commit e10a5dd into main Apr 17, 2026
4 of 8 checks passed
@jaredwray jaredwray deleted the chore-migrating-to-tsdown-and-upgrading-typescript branch April 17, 2026 14:03
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