Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(core): register transpiler should setup loading for node code #19454

Merged
merged 2 commits into from
Oct 5, 2023

Conversation

AgentEnder
Copy link
Member

Current Behavior

We register ts-node with settings based on various tsconfigs that may or may not be configured for node code

Expected Behavior

We override a few tsconfig settings to ensure code will run on node

Related Issue(s)

Fixes #

@AgentEnder AgentEnder requested a review from a team as a code owner October 4, 2023 22:05
@AgentEnder AgentEnder requested a review from Cammisuli October 4, 2023 22:05
@vercel
Copy link

vercel bot commented Oct 4, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Oct 5, 2023 11:00am

@Coly010 Coly010 force-pushed the fix/force-common-js branch from 8c32191 to 23d52f7 Compare October 5, 2023 10:59
@@ -395,11 +395,6 @@ export function registerPluginTSTranspiler() {
experimentalDecorators: true,
emitDecoratorMetadata: true,
...tsConfig.options,
lib: ['es2021'],
module: ts.ModuleKind.CommonJS,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove the ts definition in a followup

@FrozenPandaz FrozenPandaz merged commit 7214791 into nrwl:master Oct 5, 2023
@github-actions
Copy link

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants