chore: tsc v7 workflow. - #121
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the repo’s TypeScript “v7/RC” compatibility posture by adding a dedicated GitHub Actions workflow and adjusting test fixtures/dependencies to align with newer TypeScript import-attribute syntax and the updated toolchain.
Changes:
- Add a new
typescript-v7GitHub Actions workflow that installstypescript@rcand runs build + tests. - Update TypeScript fixture sources and an integration sourcemap assertion to use more specific matching and the
with { 'resolution-mode': 'import' }form. - Update dependency metadata to allow newer TypeScript versions and bump Vite to v8 (with corresponding lockfile changes).
Reviewed changes
Copilot reviewed 6 out of 7 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
test/integration.js |
Makes the sourcemap token search more specific (function greet) to stabilize tracing. |
test/__fixtures__/plain/src/index.ts |
Updates fixture import-attribute syntax and formatting used by integration output assertions. |
test/__fixtures__/compileErrors/src/cjs.cts |
Updates fixture syntax (with { ... }) and formatting for TS RC compatibility. |
test/__fixtures__/cjsProject/src/cjs.cts |
Normalizes fixture formatting and import-attribute syntax. |
package.json |
Broadens TypeScript peer range and adds optional typescript-rc; bumps Vite to v8. |
package-lock.json |
Lockfile updates reflecting the Vite v8 upgrade and dependency tree changes. |
.github/workflows/typescript-v7.yml |
Adds a CI job that installs typescript@rc and runs build/test on Node 24. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #121 +/- ##
=======================================
Coverage 93.57% 93.57%
=======================================
Files 4 4
Lines 2209 2209
=======================================
Hits 2067 2067
Misses 142 142 ☔ View full report in Codecov by Harness. 🚀 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.
No description provided.