Skip to content

Conversation

sukvvon
Copy link
Contributor

@sukvvon sukvvon commented Aug 10, 2025

Summary by CodeRabbit

  • Chores
    • Standardized TypeScript project includes across packages by consolidating config file patterns to a single, broader glob.
    • Simplified includes for source and test directories in select frameworks to improve consistency.
    • Enhances editor/type-checking coverage for various config file types without altering runtime behavior.
    • No user-facing features or API changes.

Copy link

nx-cloud bot commented Aug 10, 2025

View your CI Pipeline Execution ↗ for commit b75efe3

Command Status Duration Result
nx affected --targets=test:sherif,test:knip,tes... ✅ Succeeded 1m 1s View ↗
nx run-many --target=build --exclude=examples/*... ✅ Succeeded 1s View ↗

☁️ Nx Cloud last updated this comment at 2025-09-03 07:56:19 UTC

@sukvvon sukvvon force-pushed the chore/tsconfig-json-simplify-include-patterns-consolidate-file-extensions-directory-paths branch from 85055f5 to bd8476c Compare August 10, 2025 02:34
Copy link

pkg-pr-new bot commented Aug 10, 2025

More templates

@tanstack/angular-query-devtools-experimental

npm i https://pkg.pr.new/@tanstack/angular-query-devtools-experimental@9547

@tanstack/angular-query-experimental

npm i https://pkg.pr.new/@tanstack/angular-query-experimental@9547

@tanstack/eslint-plugin-query

npm i https://pkg.pr.new/@tanstack/eslint-plugin-query@9547

@tanstack/query-async-storage-persister

npm i https://pkg.pr.new/@tanstack/query-async-storage-persister@9547

@tanstack/query-broadcast-client-experimental

npm i https://pkg.pr.new/@tanstack/query-broadcast-client-experimental@9547

@tanstack/query-core

npm i https://pkg.pr.new/@tanstack/query-core@9547

@tanstack/query-devtools

npm i https://pkg.pr.new/@tanstack/query-devtools@9547

@tanstack/query-persist-client-core

npm i https://pkg.pr.new/@tanstack/query-persist-client-core@9547

@tanstack/query-sync-storage-persister

npm i https://pkg.pr.new/@tanstack/query-sync-storage-persister@9547

@tanstack/react-query

npm i https://pkg.pr.new/@tanstack/react-query@9547

@tanstack/react-query-devtools

npm i https://pkg.pr.new/@tanstack/react-query-devtools@9547

@tanstack/react-query-next-experimental

npm i https://pkg.pr.new/@tanstack/react-query-next-experimental@9547

@tanstack/react-query-persist-client

npm i https://pkg.pr.new/@tanstack/react-query-persist-client@9547

@tanstack/solid-query

npm i https://pkg.pr.new/@tanstack/solid-query@9547

@tanstack/solid-query-devtools

npm i https://pkg.pr.new/@tanstack/solid-query-devtools@9547

@tanstack/solid-query-persist-client

npm i https://pkg.pr.new/@tanstack/solid-query-persist-client@9547

@tanstack/svelte-query

npm i https://pkg.pr.new/@tanstack/svelte-query@9547

@tanstack/svelte-query-devtools

npm i https://pkg.pr.new/@tanstack/svelte-query-devtools@9547

@tanstack/svelte-query-persist-client

npm i https://pkg.pr.new/@tanstack/svelte-query-persist-client@9547

@tanstack/vue-query

npm i https://pkg.pr.new/@tanstack/vue-query@9547

@tanstack/vue-query-devtools

npm i https://pkg.pr.new/@tanstack/vue-query-devtools@9547

commit: b75efe3

Copy link

codecov bot commented Aug 10, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 45.26%. Comparing base (c75a994) to head (b75efe3).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #9547   +/-   ##
=======================================
  Coverage   45.26%   45.26%           
=======================================
  Files         208      208           
  Lines        8340     8340           
  Branches     1895     1890    -5     
=======================================
  Hits         3775     3775           
  Misses       4118     4118           
  Partials      447      447           
Components Coverage Δ
@tanstack/angular-query-devtools-experimental ∅ <ø> (∅)
@tanstack/angular-query-experimental 87.00% <ø> (ø)
@tanstack/eslint-plugin-query 83.24% <ø> (ø)
@tanstack/query-async-storage-persister 43.85% <ø> (ø)
@tanstack/query-broadcast-client-experimental 24.39% <ø> (ø)
@tanstack/query-codemods 0.00% <ø> (ø)
@tanstack/query-core 97.42% <ø> (ø)
@tanstack/query-devtools 3.48% <ø> (ø)
@tanstack/query-persist-client-core 79.47% <ø> (ø)
@tanstack/query-sync-storage-persister 84.61% <ø> (ø)
@tanstack/query-test-utils 77.77% <ø> (ø)
@tanstack/react-query 96.00% <ø> (ø)
@tanstack/react-query-devtools 10.00% <ø> (ø)
@tanstack/react-query-next-experimental ∅ <ø> (∅)
@tanstack/react-query-persist-client 100.00% <ø> (ø)
@tanstack/solid-query 78.13% <ø> (ø)
@tanstack/solid-query-devtools ∅ <ø> (∅)
@tanstack/solid-query-persist-client 100.00% <ø> (ø)
@tanstack/svelte-query 87.58% <ø> (ø)
@tanstack/svelte-query-devtools ∅ <ø> (∅)
@tanstack/svelte-query-persist-client 100.00% <ø> (ø)
@tanstack/vue-query 71.10% <ø> (ø)
@tanstack/vue-query-devtools ∅ <ø> (∅)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@sukvvon sukvvon marked this pull request as draft August 10, 2025 02:48
@sukvvon sukvvon force-pushed the chore/tsconfig-json-simplify-include-patterns-consolidate-file-extensions-directory-paths branch from b4e2a78 to b4707be Compare August 10, 2025 02:53
…s-consolidate-file-extensions-directory-paths
@sukvvon sukvvon marked this pull request as ready for review August 10, 2025 02:55
@sukvvon sukvvon marked this pull request as draft August 10, 2025 02:58
@sukvvon sukvvon marked this pull request as ready for review August 10, 2025 03:02
sukvvon and others added 3 commits August 12, 2025 11:54
…s-consolidate-file-extensions-directory-paths
…s-consolidate-file-extensions-directory-paths
…s-consolidate-file-extensions-directory-paths
Copy link
Contributor

coderabbitai bot commented Sep 3, 2025

Walkthrough

Broadened TypeScript include globs across root and multiple package tsconfig.json files from explicit *.config.js/ts (and granular file-type globs in some) to a unified pattern .config.. Several packages also simplified includes to directory-level entries (src, tests). No compilerOptions, references, or public API declarations were changed.

Changes

Cohort / File(s) Summary of changes
Root tsconfig
tsconfig.json
Include changed from ["eslint.config.js", "prettier.config.js"] to ["*.config.*"].
Standard packages: broaden config glob
packages/eslint-plugin-query/tsconfig.json, packages/query-async-storage-persister/tsconfig.json, packages/query-codemods/tsconfig.json, packages/query-core/tsconfig.json, packages/query-devtools/tsconfig.json, packages/query-persist-client-core/tsconfig.json, packages/query-sync-storage-persister/tsconfig.json, packages/query-test-utils/tsconfig.json, packages/react-query-next-experimental/tsconfig.json, packages/solid-query-devtools/tsconfig.json, packages/angular-query-devtools-experimental/tsconfig.json
Replaced *.config.js and *.config.ts with *.config.*; retained existing entries (e.g., src, package.json).
Packages retaining test-setup.ts
packages/query-broadcast-client-experimental/tsconfig.json, packages/react-query-devtools/tsconfig.json, packages/react-query-persist-client/tsconfig.json, packages/react-query/tsconfig.json, packages/solid-query/tsconfig.json, packages/solid-query-persist-client/tsconfig.json
Consolidated config globs to *.config.*; kept src, test-setup.ts, and package.json unchanged.
Angular (with scripts + test setup)
packages/angular-query-experimental/tsconfig.json
Simplified includes; broadened config files to *.config.*; preserved src, scripts, test-setup.ts, package.json.
Angular persist client (with test setup)
packages/angular-query-persist-client/tsconfig.json
Switched to *.config.*; retained src, test-setup.ts, package.json.
Svelte packages: switch to directory-level includes
packages/svelte-query-devtools/tsconfig.json, packages/svelte-query-persist-client/tsconfig.json, packages/svelte-query/tsconfig.json
Replaced detailed src/** and tests/** file globs with directory entries ("src", "tests" where applicable) and *.config.*; kept package.json.
Vue devtools: directory-level includes
packages/vue-query-devtools/tsconfig.json
Replaced explicit src/**/*.ts/.vue and config globs with ["src", "*.config.*", "package.json"].
Vue (with test setup)
packages/vue-query/tsconfig.json
Consolidated to *.config.* while keeping src, test-setup.ts, package.json.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

I twitched my ears at configs’ glow,
One star to match them all in tow— .config. across the burrow!
From src to tests, we hop just so,
Fewer crumbs for paths to sow.
Thump-thump! The garden’s neat in rows—
Now onward, faster builds we go! 🥕🐇

✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment

🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbitai ignore or @coderabbit ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🧹 Nitpick comments (7)
packages/angular-query-devtools-experimental/tsconfig.json (1)

12-12: No nested config files detected; recursive glob remains optional
Current "*.config.*" covers all existing top-level configs. Switch to "**/*.config.*" only if you plan to add config files in subfolders.

Apply:

-  "include": ["src", "*.config.*", "package.json"],
+  "include": ["src", "**/*.config.*", "package.json"],
packages/solid-query-persist-client/tsconfig.json (1)

9-9: Match nested configs and keep ordering consistent

  • Use "**/.config." to catch configs under subdirs if they appear later.
  • Tiny nit: keep include order consistent with other packages (src, test-setup.ts, configs, package.json) to reduce churn.
-  "include": ["src", "test-setup.ts", "*.config.*", "package.json"],
+  "include": ["src", "test-setup.ts", "**/*.config.*", "package.json"],
packages/eslint-plugin-query/tsconfig.json (1)

7-7: Support JS/ESM config files in this package
Override your tsconfig to type-check .js/.cjs/.mjs config files by adding allowJs: true and using Node-style resolution. For example, in packages/eslint-plugin-query/tsconfig.json:

   "compilerOptions": {
+    "allowJs": true,
+    "module": "NodeNext",
+    "moduleResolution": "NodeNext",
     "outDir": "./dist-ts",
     "rootDir": "."
   },

[packages/eslint-plugin-query/tsconfig.json]

packages/angular-query-persist-client/tsconfig.json (1)

10-10: Make config glob recursive
Replace "*.config.*" with "**/*.config.*" in the include of tsconfig.json to ensure any moved or nested config files are picked up.

packages/query-devtools/tsconfig.json (1)

9-9: Consider making tsconfig’s include pattern recursive for config files
Change the "*.config.*" matcher to "**/*.config.*" so any nested config files are picked up:

-  "include": ["src", "*.config.*", "package.json"],
+  "include": ["src", "**/*.config.*", "package.json"],
tsconfig.json (1)

31-31: Heads-up: TS-config files may need Node types.
If any .ts config here imports Node built-ins, consider adding Node types at the root to avoid type errors.

Optional:

   "compilerOptions": {
+    "types": ["node"],
     ...
   },
packages/react-query-devtools/tsconfig.json (1)

8-8: Disable allowJs or tighten include glob

Root tsconfig.json enables "allowJs": true, so the pattern *.config.* will also pull in JS-based configs (.config.js, .config.cjs, .config.mjs). To avoid unintended JS inclusion (and improve TS discovery performance), either add "allowJs": false under compilerOptions in packages/react-query-devtools/tsconfig.json or change the include to ["src", "test-setup.ts", "*.config.ts", "package.json"].

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 0a35234 and 633ca6a.

📒 Files selected for processing (25)
  • packages/angular-query-devtools-experimental/tsconfig.json (1 hunks)
  • packages/angular-query-experimental/tsconfig.json (1 hunks)
  • packages/angular-query-persist-client/tsconfig.json (1 hunks)
  • packages/eslint-plugin-query/tsconfig.json (1 hunks)
  • packages/query-async-storage-persister/tsconfig.json (1 hunks)
  • packages/query-broadcast-client-experimental/tsconfig.json (1 hunks)
  • packages/query-codemods/tsconfig.json (1 hunks)
  • packages/query-core/tsconfig.json (1 hunks)
  • packages/query-devtools/tsconfig.json (1 hunks)
  • packages/query-persist-client-core/tsconfig.json (1 hunks)
  • packages/query-sync-storage-persister/tsconfig.json (1 hunks)
  • packages/query-test-utils/tsconfig.json (1 hunks)
  • packages/react-query-devtools/tsconfig.json (1 hunks)
  • packages/react-query-next-experimental/tsconfig.json (1 hunks)
  • packages/react-query-persist-client/tsconfig.json (1 hunks)
  • packages/react-query/tsconfig.json (1 hunks)
  • packages/solid-query-devtools/tsconfig.json (1 hunks)
  • packages/solid-query-persist-client/tsconfig.json (1 hunks)
  • packages/solid-query/tsconfig.json (1 hunks)
  • packages/svelte-query-devtools/tsconfig.json (1 hunks)
  • packages/svelte-query-persist-client/tsconfig.json (1 hunks)
  • packages/svelte-query/tsconfig.json (1 hunks)
  • packages/vue-query-devtools/tsconfig.json (1 hunks)
  • packages/vue-query/tsconfig.json (1 hunks)
  • tsconfig.json (1 hunks)
🧰 Additional context used
🧠 Learnings (2)
📚 Learning: 2025-09-02T17:57:33.139Z
Learnt from: TkDodo
PR: TanStack/query#9612
File: packages/query-async-storage-persister/src/asyncThrottle.ts:0-0
Timestamp: 2025-09-02T17:57:33.139Z
Learning: When importing from tanstack/query-core in other TanStack Query packages like query-async-storage-persister, a workspace dependency "tanstack/query-core": "workspace:*" needs to be added to the package.json.

Applied to files:

  • packages/query-async-storage-persister/tsconfig.json
  • packages/query-core/tsconfig.json
📚 Learning: 2025-08-19T03:18:18.303Z
Learnt from: oscartbeaumont
PR: TanStack/query#9564
File: packages/solid-query-devtools/src/production.tsx:2-3
Timestamp: 2025-08-19T03:18:18.303Z
Learning: In the solid-query-devtools package, the codebase uses a pattern of type-only default imports combined with typeof for component type annotations (e.g., `import type SolidQueryDevtoolsComp from './devtools'` followed by `typeof SolidQueryDevtoolsComp`). This pattern is consistently used across index.tsx and production.tsx files, and the maintainers prefer consistency over changing this approach.

Applied to files:

  • packages/svelte-query/tsconfig.json
  • packages/query-devtools/tsconfig.json
  • packages/react-query-devtools/tsconfig.json
  • packages/solid-query-devtools/tsconfig.json
  • packages/react-query/tsconfig.json
  • packages/solid-query-persist-client/tsconfig.json
  • packages/svelte-query-devtools/tsconfig.json
  • packages/solid-query/tsconfig.json
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
  • GitHub Check: Test
  • GitHub Check: Preview
🔇 Additional comments (25)
packages/query-codemods/tsconfig.json (1)

7-7: Type checking for configuration files is enabled
Root tsconfig.json sets "allowJs": true and "checkJs": true and is extended by packages/query-codemods/tsconfig.json, so "*.config.*" will indeed include and type-check all .config.* files as intended.

packages/query-test-utils/tsconfig.json (1)

7-7: No config declarations are emitted; no changes required.
Search for dist-ts/**/*config*.d.ts returned no results—keeping "*.config.*" in include poses no risk.

packages/react-query-next-experimental/tsconfig.json (2)

8-8: LGTM: consolidated config glob is correct and future-proofs extensions

Expands support to .js/.ts/.cjs/.mjs/.cts/.mts while keeping scope at package root. Looks good.


8-8: Retain current include – no nested config files detected
No *.config.* files live under any subfolders in this package, so the existing "*.config.*" glob suffices.

packages/solid-query-devtools/tsconfig.json (2)

9-9: LGTM: simplified include pattern is consistent with repo direction

Broadened to .config. without touching compilerOptions/refs. All good.


9-9: No test-setup.ts file found; tsconfig.json does not require update

packages/angular-query-experimental/tsconfig.json (1)

10-10: LGTM: broadened config glob; scripts and test-setup remain explicitly included

No behavior change beyond accepting additional config extensions; root-only glob aligns with prior intent.

packages/svelte-query-persist-client/tsconfig.json (2)

7-7: LGTM: folder-level includes replace recursive file globs cleanly

"src" and "tests" coverage should still surface .svelte files to tooling that reads tsconfig includes (e.g., svelte-check).


7-7: Include patterns capture all .svelte files
The "include": ["src", "tests", "*.config.*", "package.json"] setting correctly picks up every .svelte file under src and tests, as confirmed by the fd check.

packages/query-persist-client-core/tsconfig.json (1)

7-7: LGTM: unified .config. keeps includes minimal and flexible

Matches the repo-wide pattern; no other tsconfig semantics changed.

packages/query-core/tsconfig.json (2)

7-7: LGTM: unified config glob is fine.
This picks up .js/.ts/.mjs/.cjs/.mts/.cts config files at the package root without affecting src inclusion.


7-7: No changes needed to tsconfig include The existing "*.config.*" pattern already matches all config files in packages/query-core, and there are no nested config files to warrant switching to a recursive pattern.

packages/angular-query-persist-client/tsconfig.json (1)

10-10: LGTM: broadened glob keeps intent, reduces churn.
No behavioral change expected; only more extensions covered at the package root.

packages/query-devtools/tsconfig.json (1)

9-9: LGTM: consistent with repo-wide pattern.
Solid-specific JSX options remain untouched; only the include glob is unified.

tsconfig.json (1)

31-31: LGTM: simpler root include.
Covers eslint/prettier and similar configs without hardcoding filenames.

packages/query-async-storage-persister/tsconfig.json (2)

7-7: LGTM: matches the standardized pattern.
No impact on emitted declarations; just broader config matching at the package root.


7-7: No nested .config.* files detected; current include is sufficient.

packages/query-sync-storage-persister/tsconfig.json (1)

7-7: No ESM‐only config files present—include change is safe
This package defines no *.config.mjs or *.config.cjs at its root, so broadening to "*.config.*" won’t introduce new TS errors under the inherited ES2022/Bundler settings.

packages/query-broadcast-client-experimental/tsconfig.json (1)

7-7: No .config.mjs/.config.cjs files detected; the "*.config.*" include won’t match any ESM configs in this package, so it’s safe to keep.

packages/solid-query/tsconfig.json (1)

9-9: Verified no .config.mjs/.config.cjs files in packages/solid-query; the "*.config.*" include is safe.

packages/vue-query-devtools/tsconfig.json (1)

7-7: No .vue SFCs present; keep tsconfig include "src".

packages/react-query-persist-client/tsconfig.json (1)

8-8: LGTM; no ESM config files present

No *.config.mjs or *.config.cjs found and tsconfig.json doesn’t override module/moduleResolution (inherited from base). Changes align with repo-wide simplification.

packages/svelte-query-devtools/tsconfig.json (1)

7-7: No .svelte files in this package; "src" include is sufficient.

packages/vue-query/tsconfig.json (1)

7-7: Approve tsconfig include update
Include patterns match other packages—unified "*.config.*" alongside test-setup.ts and package.json preserves existing behavior and accommodates .mjs/.cjs when allowJs is enabled; no Vue SFC includes were altered.

packages/react-query/tsconfig.json (1)

8-8: LGTM; include pattern is consistent with other React packages.

"*.config.ts",
"package.json"
],
"include": ["src", "tests", "*.config.*", "package.json"],
Copy link
Contributor

Choose a reason for hiding this comment

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

💡 Verification agent

🧩 Analysis chain

Preserve Svelte SFC coverage under tests and src

Directory-level "src"/"tests" may omit .svelte from the TS program. Keep explicit globs to avoid regressions in editor tooling and svelte-check.

Apply:

-  "include": ["src", "tests", "*.config.*", "package.json"],
+  "include": ["src", "tests", "src/**/*.svelte", "tests/**/*.svelte", "*.config.*", "package.json"],

Quick check:


🏁 Script executed:

#!/bin/bash
fd -e svelte packages/svelte-query/{src,tests} -x echo '{}'
# If any paths print, ensure svelte-check reports them with this tsconfig.

Length of output: 487


🏁 Script executed:

#!/bin/bash
# Search for all .svelte files under src and tests directories
fd -e svelte . packages/svelte-query/src packages/svelte-query/tests -x echo {}

Length of output: 1272


Include Svelte SFC globs in tsconfig.json include
In packages/svelte-query/tsconfig.json, update the include array to explicitly include .svelte files in both src and tests so that svelte-check and editor tooling pick them up:

-  "include": ["src", "tests", "*.config.*", "package.json"],
+  "include": [
+    "src",
+    "tests",
+    "src/**/*.svelte",
+    "tests/**/*.svelte",
+    "*.config.*",
+    "package.json"
+  ],
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"include": ["src", "tests", "*.config.*", "package.json"],
"include": [
"src",
"tests",
"src/**/*.svelte",
"tests/**/*.svelte",
"*.config.*",
"package.json"
],
🤖 Prompt for AI Agents
In packages/svelte-query/tsconfig.json around line 7, the "include" array
doesn't explicitly include Svelte single-file components, so editor tooling and
svelte-check won't pick up .svelte files; update the include array to add globs
such as "src/**/*.svelte" and "tests/**/*.svelte" (or simply "**/*.svelte")
alongside the existing entries so SFCs in both src and tests are included.

…s-consolidate-file-extensions-directory-paths
@TkDodo TkDodo merged commit 7306474 into TanStack:main Sep 3, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment