* ci(.github/workflows/autofix): run 'generate-docs' to keep reference docs current
* ci: apply automated fixes
* fix(scripts/generate-docs): build referenced packages and fail on TypeDoc conversion errors
* ci: apply automated fixes
* fix(package.json): build referenced packages as part of 'generate-docs'
* ci(.github/workflows/autofix): only generate reference docs on push
* ci(.github/workflows/autofix): skip runs started from its own commit
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* chore(scripts/generate-docs): inject 'redirect_from' into flat reference URLs
* docs(react-query, solid-query): add 'redirect_from' for URLs broken by the TypeDoc migration
* chore: tsup -> tsdown
* revert size-limit and fix the build instead
* fix angular and devtools build
* fix nextJs builds
* more solid related things
* fix: import order
'relativeLinkExists' builds the target path with 'path.resolve', which
uses the platform separator, but then matches it against '/examples/'
and rewrites it with a regex written in forward slashes.
On Windows the resolved path uses backslashes, so neither pattern
matches. Every documentation link that points at an example is looked up
as a markdown file under 'docs/framework/<name>/examples/' instead of a
directory under 'examples/<name>/', and 'pnpm test:docs' reports 27
broken links that are fine on CI.
Normalize the separators before the two comparisons. Node accepts
forward slashes on Windows, so the resolved path stays usable.
Co-authored-by: Yogesh Kumar <webdev1@futeservices.com>
Co-authored-by: Dominik Dorfmeister 🔮 <office@dorfmeister.cc>
* 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>
- Changed documentation generation script from JavaScript to TypeScript.
- Added new TypeScript script for publishing packages with configuration for different branches.
* feat(angular-query):
- Created isRestoring injection token and provider
- handled restoration phase in create-base-query.ts
- handled restoration phase in
* feat(angular-query): created package for experimental persistence support, and the withPersistQueryClient feature
* test(persistQuery): add tests for withPersistQueryClient
* docs(angular-query): add basic persister example
* fix(angular-query): synced angular versions in new package
* fix(angular-query): commit before ng update
* feat(angular-query): updated example to v18
* fix(angular-query): fixed project name to basic-persister
* feat(angular-query): updated example basic-persister to v19
* feat(angular-query): included back the persister package after angular migration
* feat(angular-query): migrate to provideEnvironmentInitializer
* fix(angular-query): fix eslint issues in inject-queries.ts
* Revert "feat(angular-query): migrate to provideEnvironmentInitializer"
This reverts commit af5b47b31511dd2db180abfd92f08541f29532d4.
* fix(angular-query): only track the isRestoring in the effect
* fix(angular-query): removed conditional _isRestoring
* ci: apply automated fixes
* fix(angular-query): used effect onCleanup instead of destroy ref
* Update examples/angular/basic-persister/.devcontainer/devcontainer.json
Co-authored-by: Arnoud <6420061+arnoud-dv@users.noreply.github.com>
* Update examples/angular/basic-persister/package.json
Co-authored-by: Arnoud <6420061+arnoud-dv@users.noreply.github.com>
* Update examples/angular/basic-persister/src/index.html
Co-authored-by: Arnoud <6420061+arnoud-dv@users.noreply.github.com>
* Update examples/angular/basic-persister/tsconfig.json
Co-authored-by: Arnoud <6420061+arnoud-dv@users.noreply.github.com>
* Update examples/angular/basic-persister/tsconfig.json
Co-authored-by: Arnoud <6420061+arnoud-dv@users.noreply.github.com>
* Update examples/angular/basic-persister/tsconfig.json
Co-authored-by: Arnoud <6420061+arnoud-dv@users.noreply.github.com>
* Update packages/angular-query-experimental/src/inject-is-restoring.ts
Co-authored-by: Arnoud <6420061+arnoud-dv@users.noreply.github.com>
* fix(angular-query): fixed lock file
* fix(angular-query): aligned package.json versions
* added missing dep from basic-persister example
* Added a more complex example for persistence. This examples demonstrates how to selectively persist queries to different persisters.
* fix(angular-query) bumped versions to 5.62.4
* refactor(angular-query) refactored to implicit return
* fix(angular-query) bump angular persister package and examples version
* fix(angular-query) fixed eslint errors
* refactor(angular-query) set initial `isRestoring` to true to match the React adapter logic
* Revert "refactor(angular-query) set initial `isRestoring` to true to match the React adapter logic"
This reverts commit 235bbabebf.
* fix(angular-query) fixed formatting of JSDOC comment ruined by eslint
* update build configs
* zoneless unit tests
* replace deprecated injectQueryClient
* createBaseQuery is always run in injection context, remove inject(Injector)
* remove api extractor config
* update example dependencies
* comment out from publish script for now
* refactor(persist-query-client): simplify configuration by removing array structure for persistOptions
* refactor(angular-query-persist-client): removed experimental from package name and updated configurations
* fix example
* fix outdated comment
* exclude from preview for now
* mark package as private instead
* configure injectIsRestoring injector through options object
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Arnoud <6420061+arnoud-dv@users.noreply.github.com>
* Revert "chore(paths): use customConditions to define internal imports (#8935)"
This reverts commit 8e0c6b7639.
* fix export
* refactor: make test:lib depend on compile again
---------
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
* fix(paths): use customConditions to define internal imports
* the rest of the changes
* publint and vitest fixes
* order matters!
thanks https://colinhacks.com/essays/live-types-typescript-monorepo
* upgrade publint to get customCondition support
added here: b34ea9433f
* remove dynamicAliases
* remove getViteAliases
* try without references?
* Revert "try without references?"
This reverts commit b18bc946e8.
---------
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
* 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>
RELEASE_ALL
* fix: make sure there is only one package.json after build
* fix: angular release
we cannot publish out of the build directory because pnpm doesn't see it as a workspace, so it won't replace workspace dependencies. To fix this, we:
- make the publish script point to the root directory (config.js)
- make sure our top-level package.json has types and exports and that they point to ./build
- make sure to remove the build/package.json after the build script ran
* chore: use rimraf
* chore: specify files to limit what we include
* chore: fix relative workspace dependencies
* chore: fix ci.json
* fix: package.json path