Skip to content

fix(misc): generate module and moduleResolution in base tsconfig based on cnw preset#29633

Merged
jaysoo merged 1 commit intomasterfrom
js/cnw-module-resolution
Jan 15, 2025
Merged

fix(misc): generate module and moduleResolution in base tsconfig based on cnw preset#29633
jaysoo merged 1 commit intomasterfrom
js/cnw-module-resolution

Conversation

@leosvelperez
Copy link
Copy Markdown
Member

@leosvelperez leosvelperez commented Jan 15, 2025

Current Behavior

Creating a new workspace using the TS solution setup always generates a tsconfig.base.json with module: nodenext and moduleResolution: nodenext.

Expected Behavior

Creating a new workspace using the TS solution setup should generate a tsconfig.base.json with module: nodenext/moduleResolution: nodenext for Node stacks and module: esnext/moduleResolution: bundler for Web stacks (React, Vue).

Related Issue(s)

Fixes #

@leosvelperez leosvelperez self-assigned this Jan 15, 2025
@leosvelperez leosvelperez requested review from a team and Coly010 as code owners January 15, 2025 16:38
@vercel
Copy link
Copy Markdown

vercel Bot commented Jan 15, 2025

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

1 Skipped Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Jan 15, 2025 4:39pm

@leosvelperez leosvelperez requested a review from jaysoo January 15, 2025 16:38
@nx-cloud
Copy link
Copy Markdown
Contributor

nx-cloud Bot commented Jan 15, 2025

View your CI Pipeline Execution ↗ for commit 666816e.

Command Status Duration Result
nx affected --targets=lint,test,build,e2e,e2e-c... ✅ Succeeded 40m 50s View ↗
nx run-many -t check-imports check-commit check... ✅ Succeeded 56s View ↗
nx-cloud record -- nx-cloud conformance:check ✅ Succeeded 2s View ↗
nx-cloud record -- nx format:check --base=32a2c... ✅ Succeeded 22s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded 19s View ↗
nx documentation --no-dte ✅ Succeeded 40s View ↗
nx affected -t e2e-macos-local --parallel=1 --b... ✅ Succeeded 21m 59s View ↗

☁️ Nx Cloud last updated this comment at 2025-01-15 17:23:57 UTC

@jaysoo jaysoo merged commit a127177 into master Jan 15, 2025
@jaysoo jaysoo deleted the js/cnw-module-resolution branch January 15, 2025 21:21
@github-actions
Copy link
Copy Markdown
Contributor

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 Jan 21, 2025
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.

2 participants