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(js): Update typescript plugin check for buildable projects #29431

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ndcunningham
Copy link
Contributor

@ndcunningham ndcunningham commented Dec 19, 2024

Current Behavior

Currently, we use rootDir to check if the project is buildable. This might not be correct in the case where the transpiled files are inside source.

Expected Behavior

It should work the for projects as long as the main / exports files are not source files.

Related Issue(s)

Fixes #

@ndcunningham ndcunningham requested a review from a team as a code owner December 19, 2024 18:13
Copy link

vercel bot commented Dec 19, 2024

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 Dec 20, 2024 6:25pm

@ndcunningham ndcunningham self-assigned this Dec 19, 2024
@ndcunningham ndcunningham force-pushed the fix/js-plugin-non-buildable-libs branch from 6c54f95 to 42d8368 Compare December 19, 2024 18:14
Copy link

nx-cloud bot commented Dec 19, 2024

View your CI Pipeline Execution ↗ for commit dac5900.

Command Status Duration Result
nx affected --targets=lint,test,build,e2e,e2e-c... ✅ Succeeded 35m 55s View ↗
nx run-many -t check-imports check-commit check... ✅ Succeeded 1m 7s View ↗
nx-cloud record -- nx-cloud conformance:check ✅ Succeeded 1s View ↗
nx-cloud record -- nx format:check --base=81c66... ✅ Succeeded 25s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded 24s View ↗
nx documentation --no-dte ✅ Succeeded 47s View ↗

☁️ Nx Cloud last updated this comment at 2024-12-20 19:05:53 UTC

@ndcunningham ndcunningham force-pushed the fix/js-plugin-non-buildable-libs branch 3 times, most recently from 84f0e02 to 17e660c Compare December 19, 2024 18:31
@ndcunningham ndcunningham force-pushed the fix/js-plugin-non-buildable-libs branch from 17e660c to 832a1c9 Compare December 19, 2024 19:38
@ndcunningham ndcunningham force-pushed the fix/js-plugin-non-buildable-libs branch from 9f3b013 to 826be61 Compare December 19, 2024 20:53
@ndcunningham ndcunningham force-pushed the fix/js-plugin-non-buildable-libs branch from 826be61 to a69396b Compare December 19, 2024 22:18
@ndcunningham ndcunningham force-pushed the fix/js-plugin-non-buildable-libs branch from a69396b to 7112c2b Compare December 19, 2024 23:48
packages/js/src/plugins/typescript/plugin.ts Outdated Show resolved Hide resolved
packages/js/src/plugins/typescript/plugin.ts Outdated Show resolved Hide resolved
@ndcunningham ndcunningham force-pushed the fix/js-plugin-non-buildable-libs branch from f282f74 to dac5900 Compare December 20, 2024 18:23
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.

4 participants