-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
feat(js): update vue/node app and lib generators to support TS solutions #29299
base: master
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
☁️ Nx Cloud ReportCI is running/has finished running commands for commit 2e32362. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this CI Pipeline Execution ⌛ The following target is in progress ✅ Successfully ran 5 targets
Sent with 💌 from NxCloud. |
2698fdb
to
a2521e4
Compare
074479a
to
7d89b62
Compare
3bfea15
to
24c6ea1
Compare
db02003
to
9cd4dc2
Compare
@@ -97,7 +97,12 @@ export async function configurationGeneratorInternal( | |||
if (isTsSolutionSetup) { | |||
// skip eslint from typechecking since it extends from root file that is outside rootDir | |||
if (options.linter === 'eslint') { | |||
tsconfig.exclude = ['dist', 'eslint.config.js']; | |||
tsconfig.exclude = [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I realized that PW didn't exclude the same files as our other generators, so this updates them. It'll also help once we rename eslint.config.js
to eslint.config.cjs
to resolve CJS/ESM issues.
9cd4dc2
to
514d742
Compare
514d742
to
a8b05a6
Compare
cfa26af
to
603091e
Compare
603091e
to
2e32362
Compare
@@ -0,0 +1,5 @@ | |||
declare module '*.vue' { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is needed because typecheck
never worked without Volar in VSCode. The shims here at least makes it pass even though nothing meaningful is checked. We already do the same for Vue libs.
Current Behavior
Expected Behavior
Related Issue(s)
Fixes #