chore(deps): update dependency typescript to v6#43
Merged
Conversation
- Purpose: keep declaration builds working after the PR upgrades TypeScript from v5 to v6. - Before: \tsconfig.json(8,25): error TS6046: Argument for '--moduleResolution' option must be: 'node', 'classic', 'node16', 'nodenext'. tsconfig.json(9,5): error TS5023: Unknown compiler option 'allowImportingTsExtensions'. tsconfig.json(10,5): error TS5070: Option '--resolveJsonModule' cannot be specified without 'node' module resolution strategy. inferred the common source directory and CI failed with TS5011 under TypeScript 6. - Why that was a problem: the PR branch looked green locally with stale dependencies, but the actual CI environment installs the new compiler and the build stopped before publish. - What this change accomplishes: it makes the source layout explicit so declaration emit remains stable on TypeScript 6. - How it works: set \rootDir\: \src\ in \ to match the package entrypoints and output structure.
c2ab165 to
d936c90
Compare
Contributor
Author
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #43 +/- ##
===========================================
- Coverage 100.00% 99.08% -0.92%
===========================================
Files 3 3
Lines 109 109
Branches 30 30
===========================================
- Hits 109 108 -1
- Misses 0 1 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
Manual follow-up
rootDir: "src"intsconfig.jsonto fix the TypeScript 6TS5011declaration build failure.dist/types.d.tsto match TypeScript 6 declaration output.pnpm install --frozen-lockfile,pnpm build, andpnpm testlocally.This PR contains the following updates:
^5.3.3→^6.0.0Release Notes
microsoft/TypeScript (typescript)
v6.0.2Compare Source
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.