0
Fork 0
mirror of https://github.com/TanStack/query.git synced 2026-11-16 22:50:20 +00:00
Commit graph

24 commits

Author SHA1 Message Date
Dominik Dorfmeister 🔮
f2a5da27fb
chore: update knip (#11262)
* chore: update knip

* ref: move cli options to config options

* fix package lock somehow

* pnpm dedupe
2026-08-23 19:24:11 +02:00
Wonsuk Choi
64a8035303
fix(lit-query): migrate to standard tsdown build so 'build' output is cached by nx and 'test:build' passes (#10943)
* fix(lit-query): migrate to standard tsup build so 'build' output is cached by nx and 'test:build' passes

* chore(lit-query): align 'package.json' and rename 'vitest.config.ts' to 'vite.config.ts' to match react-query, drop obsolete knip 'src/tests' ignore

* fix(lit-query): migrate build from 'tsup' to 'tsdown' to match other adapters

* docs(.changeset): update 'lit-query' changeset to reference 'tsdown' instead of 'tsup'
2026-08-20 09:34:13 +09:00
Wonsuk Choi
ecc321f1a1
chore(knip): update '$schema' to 'knip@6' to match the installed major version (#10945) 2026-06-14 22:35:28 +09:00
Gaurav
4082894509
feat: lit query adapter
* feat lit-query: add initial lit-query package

* remove internal docs from initial PR

* fix review issues

* align scripts with monorepo Nx targets and use workspace:* for query-core

* feat(lit-query): fix type inference and monorepo integration

  - Fix createQueriesController tuple type inference with recursive types
  - Add DataTag support to queryOptions
  - Fix build config and vitest custom-condition resolution
  - Fix example install scripts for standalone bootstrap

* fix(lit-query): polish package validation and examples

* ci: apply automated fixes

* lit-query: preserve provider handshake ordering in BaseController

* Update .changeset/lemon-memes-divide.md

Co-authored-by: Dominik Dorfmeister 🔮 <office@dorfmeister.cc>

* removing prettier config from adapter, so that global config from the monorepo is used

* removed the package local format scripts so formatting stays centralized at the monorepo root

* removing like other adapters keep build and test:build as separate targets

* Compared against the other adapters and removed the lit-query-only aliases/gates, keeping the standard Nx target names so root CI can pick them up consistently

* package:check has been removed. The CJS smoke check is still needed because lit-query publishes custom CJS output/types

* fix(lit-query): align lit examples and integration with monorepo conventions

* chore(lit-query): clean up stale package checks

* fix(lit-query): address review feedback for lit examples and lifecycle tests

* chore: fix lockfile

* fix: add customCondition

* docs(lit-query): add Lit docs and generated reference

* docs(lit-query): fix Lit docs review comment and align examples

---------

Co-authored-by: gauravchugh <gauravchugh@servicenow.com>
Co-authored-by: Dominik Dorfmeister 🔮 <office@dorfmeister.cc>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-08 15:18:50 +02:00
TkDodo
b1188fee93 ref: knip v6 2026-03-23 08:54:47 +01:00
Lachlan Collins
aba3260e4d
ci(changesets): disable auto-merging (#9918)
* ci(changesets): disable auto-merging

* Fix knip
2025-11-27 11:10:12 +11:00
Arnoud
e75a5f9d55
feat(angular-query): move devtools to conditional sub-paths (#9270)
* feat(angular-query-devtools): move devtools to conditional sub-paths, improves tree shaking and dependency injection

* Fix compatibility with moduleResolution node

* ci: apply automated fixes

* fix preview release for angular-query

* Fix angular-query preview release

* Revert some changes made obsolete by better Vite based alternative

* Update export paths

* Fix production exports and publishconfig

* knip config

* remove postpack

* Generate API reference docs

* type declarations in correct directory

* Update documentation

* knip config

* Optional core devtools dependency

* ci: apply automated fixes

* regenerate api reference docs

* ci: apply automated fixes

* ci: apply automated fixes (attempt 2/3)

* regenerate api reference docs

* formatting

* apply coderabbit suggestions

* Improve unit tests

* docs

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-16 00:07:53 +02:00
Arnoud
ca56514d39
refactor(angular-query): move injectQueries to sub-path export (#9655) 2025-09-15 02:33:04 +02:00
Arnoud
422f2ecbd6
refactor(angular-query): build package using vite (#9517) 2025-07-31 14:38:33 +02:00
Arnoud
48f116c72b
chore(angular-query): revert to tsup to build package (#9298) 2025-06-22 00:15:55 +02:00
Arnoud
5b0d320b35
fix(angular-query): fix package publishing (#9297) 2025-06-21 16:02:03 +02:00
Jonghyeon Ko
cdab6e2b2b
ci: add link verification step to PR workflow (#9267) 2025-06-19 01:28:16 +09:00
Dominik Dorfmeister
1b9837f969
chore: remove baseUrl from tsConfig, as it's deprecated (#9178)
* chore: remove baseUrl from tsConfig, as it's deprecated

* ci: apply automated fixes

* test: fix import

* chore: Unused item in ignoreDependencies

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-05-23 11:21:19 +02:00
Eliya Cohen
993e838d5f
feat(eslint-plugin): no-void-queryFn (#8925)
* feat(eslint-plugin-query): implement no-void-query-fn rule

* add docs

* ci: apply automated fixes

* build(eslint-plugin-query): switch from vite to tsup for building

* update lockfile

* revert lockfile

* fix

* fix publint

* chore: add script to patch missing export equals

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-04-07 11:17:45 +02:00
Dominik Dorfmeister
97f55448b8
chore: composite monorepo (#8560)
* chore: query-query, react-query and persist-core to composite setup

* fix: self contain packages by having shared configs as symlinks

* fix: add tsConfigPaths to vite config

so that tests can pick up the path aliases

* chore: set outDir, rootDir and baseUrl for all packages

* chore: make legacy tsconfig extend regular tsconfig

* fix: tsc --build

* feat: setup project references

* fix: legacy configs also need references

* fix: oops

* fix: tsup related builds

we need to turn off composite builds for tsup

* fix: set rootDir for tsup builds

so that it can include all files it needs

* fix: remove dependencies on ^build

we no longer need builds to run tests / type checks

* fix: add separate out dir for tsc

* fix: include root eslint config in globals

* refactor: create compile task to depend on

* fix: typo

* fix: dynamic alisases for vitest

* chore: try to fix knip

* fix: make compile a cacheable task

* chore: temporary disable tests against older TS versions

* fix: ts doesn't like string return types

* fix(vue-query-devtools): fix build

* fix: test types

* Revert "chore: temporary disable tests against older TS versions"

This reverts commit 10ef560eb5.

* fix: make legacy ts builds output to their own directory

* chore: remove test:types from examples as they need a build step

* chore: fix knip

* chore: remove test:types from all examples

* Revert "Revert "chore: temporary disable tests against older TS versions""

This reverts commit d6daded7da.

* fix: outputs for compile task

* chore: remove test:types from integrations

* Revert "Revert "Revert "chore: temporary disable tests against older TS versions"""

This reverts commit 79b4844785.

---------

Co-authored-by: Damian Osipiuk <osipiukd+git@gmail.com>
2025-01-27 15:58:10 +01:00
Lachlan Collins
5cd9611387
chore(deps): move some deps from root to sub-packages (#8341) 2024-11-24 14:58:38 +11:00
Lachlan Collins
d02e610ff3
docs(typedoc): Add frontmatter (#7753)
* docs(typedoc): Add frontmatter

* Update knip.json
2024-07-18 15:42:53 +10:00
Lachlan Collins
13817e9537
docs(svelte-query): Auto-generate reference docs (#7751)
* docs(svelte-query): Auto-generate reference docs

* Fix knip, update exclude
2024-07-18 12:40:19 +10:00
김석진(poki)
23b9a196c4
chore: update knip schema to v5 (#7740) 2024-07-16 22:13:11 +10:00
Lachlan Collins
5c9efe80b3
ci(pnpm): Add .pnpmfile.cjs to remove indirect dependencies (#7667)
* ci(pnpm): Add .pnpmfile.cjs to remove unused dependencies

* Fix build
2024-07-11 15:26:25 +10:00
Anton Jeppsson
2aca521a88
fix(codemods): Use .cjs extension for CommonJS files (#7333)
* bug(codemods): rename CommonJS files to .cjs

Rename CommonJS files in codemods to distinguish them from ES module
files otherwise used in this project.
Resolve an issue occuring since package.json in codemods is removed when
publishing causing module type data to be lost.

Fix issue #7154

* Fix knip errors

* Add file extension to tests

* Update migration doc

---------

Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
2024-04-25 17:06:14 +10:00
Jonghyeon Ko
137233b7a8
chore(query-codemods): unify directory name as name field of package.json (#6913)
* refactor(query-codemods): unify directory name as name field of package.json

* chore: update
2024-02-17 10:56:12 +01:00
Lachlan Collins
426bcd63b9
chore: Enable @typescript-eslint/stylistic config (#6914)
* Add @typescript-eslint/stylistic

* Remove knip ignore
2024-02-17 13:27:05 +11:00
Lachlan Collins
7a51c2a24a
chore: Update dependencies (#6871)
* Update knip to v4

* Update sherif

* Update jsdom

* Update types

* Update solid deps

* Dedupe dependencies

* Update expo to v50

* Update @vitejs/plugin-vue

* Update testing-library

* Update svelte dependencies

* Update vite and vitest

* Update solid and vinxi

* Update some example deps

* Update tanstack dependencies

* Update Nx to v18

* Remove @types/react-native

* pnpm dedupe

* Downgrade Nx

* Update jscodeshift
2024-02-11 10:16:49 +11:00