Skip to content

fix: Support .cjs and .mjs extensions in pbts#2152

Merged
dcodeIO merged 1 commit intomasterfrom
patch/pbts-cjs-mjs
Apr 24, 2026
Merged

fix: Support .cjs and .mjs extensions in pbts#2152
dcodeIO merged 1 commit intomasterfrom
patch/pbts-cjs-mjs

Conversation

@dcodeIO
Copy link
Copy Markdown
Member

@dcodeIO dcodeIO commented Apr 24, 2026

Updates the JSDoc include pattern used by pbts to accept .cjs and .mjs files.

Narrower alternative to #2089, where it turned out that we are already relying on/supporting running pbts on directories (in our CI), which would otherwise try to parse non-JS files in the given directory.

Fixes #2088

@dcodeIO dcodeIO merged commit aef016a into master Apr 24, 2026
6 checks passed
@github-actions github-actions Bot mentioned this pull request Apr 24, 2026
@dcodeIO dcodeIO deleted the patch/pbts-cjs-mjs branch April 29, 2026 15:21
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.

Running pbts on non-.js extensions fails

2 participants