Convert TypeScript sources to NodeNext ESM - #9632
Closed
dibarbet wants to merge 2 commits into
Closed
Conversation
This was referenced Aug 4, 2026
Replayed-from: fc515fe Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 322f42db-e5cd-45bc-bd65-a4e6ff8652ab
dibarbet
force-pushed
the
dev/esm-nodenext-conversion
branch
from
August 4, 2026 22:56
26b5aed to
c6cd3b8
Compare
Member
Author
|
Superseded by #9635, which consolidates the complete native ESM migration into one final-state commit and removes intermediate workaround history. |
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.
Summary
Replacement for #9617, rebuilt on the
dev/esm-tooling-foundationreplacement layer (#9631) so the dev-branch stack receives the intended CI coverage.NodeNext/NodeNext,allowJs, andrewriteRelativeImportExtensions, using normaltscemittscemitstest/jestProjectNames.mjsdirectly, with no separate copy task.tsrelative source specifiers (1,448 after deleting the copy task and its sole.tsimport) plus six intentional.mjsimports, which emit as runtime.js/.mjsimportscreateRequireinterop while removing the temporary__dirname/__filenameshim and retaining targeted CommonJS compatibility fixesValidation
--fixplusnpm run compileDevout/test/jestProjectNames.mjsexists and exports values semantically identical to the source; zeroout/**/jest.config.mjs.tsimports; all four integration runners importrunIntegrationTests.jsandjestProjectNames.mjsnpm run packageDevandnode --check dist/extension.mjsnpm run test:unit(514 passed)npm run omnisharptest:unit(401 passed)npm run test:integration:untrusted(1 passed)npm run test:integration:csharp(73 passed, 3 skipped)git diff --check