Skip to content

add support for native typescript files in node - #329

Merged
iambumblehead merged 3 commits into
iambumblehead:mainfrom
mbrevda:patch-1
May 4, 2026
Merged

iambumblehead merged 3 commits into
iambumblehead:mainfrom
mbrevda:patch-1

Conversation

@mbrevda

@mbrevda mbrevda commented May 4, 2026

Copy link
Copy Markdown
Contributor

Fixes iambumblehead#319, add support for native typescript files in node
@iambumblehead

Copy link
Copy Markdown
Owner

just now saw this without chance to look at the change in the file as a whole, but perhaps this regexp could work as well (and be slightly smaller),

/^(commonjs|module)(-typescript)?$/

@mbrevda

mbrevda commented May 4, 2026 •

Copy link
Copy Markdown
Contributor Author

That's the only change 🙂
Going to push a change shortly

Shorten `iscommonjsmoduleRe` using optional `-typescript` suffix
@mbrevda

mbrevda commented May 4, 2026

Copy link
Copy Markdown
Contributor Author

@iambumblehead, I pushed the change. Would you please rerun the checks? Thank you!

@iambumblehead

Copy link
Copy Markdown
Owner

I would configure it to run every time a push is made but not sure how to do that

@iambumblehead

Copy link
Copy Markdown
Owner

there is probably a problem in the main branch, since things haven't been touched for a while. I'll try looking for an resolving any issues in a separate branch and when they pass, we can merge them into master and rebase here

@iambumblehead

Copy link
Copy Markdown
Owner

looks like there is a change in the way newest "swc" is imported/required, causing those tests to fail. and there is another issue in one of the other tests

@iambumblehead

Copy link
Copy Markdown
Owner

this PR fixed the swc tests and disabled some failing windows tests #330

@iambumblehead

Copy link
Copy Markdown
Owner

eh going to merge this

@iambumblehead
iambumblehead merged commit 33ce1b1 into iambumblehead:main May 4, 2026
3 of 11 checks passed
@iambumblehead

Copy link
Copy Markdown
Owner

its published at 2.7.4, thanks

@mbrevda
mbrevda deleted the patch-1 branch May 5, 2026 03:42
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.

Mocking globals with Node's new native TypeScript support doesn't work

3 participants