Skip to content

feat(issues): Support cjs, mts, and cts code mappings - #123083

Draft
scttcper wants to merge 1 commit into
masterfrom
scttcper/js-module-extensions
Draft

feat(issues): Support cjs, mts, and cts code mappings#123083
scttcper wants to merge 1 commit into
masterfrom
scttcper/js-module-extensions

Conversation

@scttcper

Copy link
Copy Markdown
Member

Adds modern module extensions to automatic code mapping for JavaScript and Node:

  • .cjs: JavaScript explicitly treated as CommonJS
  • .mts: TypeScript explicitly treated as an ES module
  • .cts: TypeScript explicitly treated as CommonJS

Repository filtering and mapping creation are covered for both platforms.

Automatic code mapping skipped explicit CommonJS JavaScript and TypeScript module files because their extensions were filtered out of repository trees.

Include cjs, mts, and cts for JavaScript and Node, with coverage for tree filtering and mapping creation.

Co-Authored-By: OpenAI Codex <noreply@openai.com>
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Aug 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant