* fix(examples/react/offline): type the movie query and mutation with 'queryOptions' and 'mutationOptions'
* fix(examples/react/offline): type the movie list response with only 'id' and 'title'
* feat(preact-query*): support Preact v11
* fix(preact-query*): pass an initial value to 'useRef' and flush deferred unmount effect cleanups in tests for Preact v11
* chore(preact-query*): develop and test against Preact 11
Bump the preact catalog and the preact example to ^11.0.1, and
preact-render-to-string to ^6.8.0 (Preact 11 peers on >=6.7.0).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Kevin Van Cott <kevinvandy656@gmail.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* fix(examples/react): narrow 'req.query' values in the Next API routes
* fix(examples/react): skip empty 'add' values and keep 'parseInt' for 'req.query' in the Next API routes
* chore(examples/solid): replace the legacy '.eslintrc.cjs' with a flat config and run 'test:eslint'
* refactor(examples/solid): fix 'no-shadow' and 'solid/reactivity' warnings
* chore(examples/angular): replace the legacy '.eslintrc.cjs' with a flat config and run 'test:eslint'
* refactor(examples/angular/{auto-refetching,optimistic-updates}): wrap the 'POST' case in a block
* chore(examples/solid/simple): replace the legacy '.eslintrc.cjs' with a flat config and run 'test:eslint'
* chore(examples/solid/simple): build the dependencies before 'test:eslint'
* chore(examples/solid/simple): remove the 'test:eslint' nx override now set in 'nx.json'
* chore(examples/solid/simple): enable 'allowJs' so typed linting covers 'eslint.config.js'
* chore(examples/react): run 'test:eslint' in 'algolia', 'basic-graphql-request' and 'shadow-dom'
* refactor(examples/react/algolia): derive 'hits' with 'select' instead of spreading the query result
Replace prettier with oxfmt
The options and ignores have been ported to the `.oxfmtrc.json` file (oxfmt `printWidth` default is 100 characters, so preserving 80 for now). While the configuration with Prettier is the same, oxfmt seems to modify some things slightly differently, apparently due to the use of a pre-3.9 Prettier layout for union types that break onto their own line so we still end up with about 30 files changed.
Files with actual changes are:
- `.prettierignore`.`prettier.config.js`: Deleted. Replaced with `.oxfmtrc.json`
- `package.json`: `format` script changed to `oxfmt`. Added `oxfmt` and `svelte` as `devDependencies`; removed `prettier` and `prettier-plugin-svelte`.
- `pnpm-lock.yaml`: Lockfile update for the dependency changes above.
- `scripts/generate-labeler-config.ts`: Formats with oxfmt's `format()` API instead of Prettier's. It reads `.oxfmtrc.json` itself, because the API doesn't find config files on its own, and throws if formatting reports errors. Its output is identical to what Prettier produced.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* style(lit-query/{createQuery,createInfiniteQuery,createQueries}Controller): remove numeric separator from 'staleTime' values
* style(*): remove numeric separators from the remaining number literals