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: do not write jsconfig.json on core when there is tsconfig.json #586

Merged
merged 2 commits into from
Feb 1, 2024

Conversation

rui-rayqiu
Copy link
Contributor

@rui-rayqiu rui-rayqiu commented Jan 26, 2024

What does this PR do?

Since we started to support TypeScript for LWC on core, we added tsconfig.json files on core's UI modules directory, e.g., ui-force-components/tsconfig.json. This tsconfig.json would conflict with jsconfig.json file that is automatically generated. This PR disable the generation of jsconfig.json file on core if there is an existing jsconfig.json file on core.

What issues does this PR fix or reference?

@W-14590716@

Functionality before

current.mov

Functionality after

new.mov

Copy link

Thanks for the contribution! It looks like @rui-rayqiu is an internal user so signing the CLA is not required. However, we need to confirm this.

@CristiCanizales CristiCanizales added the type:community-contrib Community Contribution Pull Request label Feb 1, 2024
Copy link
Contributor

@CristiCanizales CristiCanizales left a comment

Choose a reason for hiding this comment

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

LGTM!

🚢

@CristiCanizales CristiCanizales merged commit c9aa2f5 into forcedotcom:main Feb 1, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla:signed type:community-contrib Community Contribution Pull Request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants