| { | |
| "name": "root", | |
| "private": true, | |
| "repository": { | |
| "type": "git", | |
| "url": "https://github.com/TanStack/query.git" | |
| }, | |
| "packageManager": "pnpm@10.13.1", | |
| "type": "module", | |
| "scripts": { | |
| "clean": "pnpm --filter \"./packages/**\" run clean", | |
| "preinstall": "node -e \"if(process.env.CI == 'true') {console.log('Skipping preinstall...')} else {process.exit(1)}\" || npx -y only-allow pnpm", | |
| "test": "pnpm run test:ci", | |
| "test:pr": "nx affected --targets=test:sherif,test:knip,test:eslint,test:lib,test:types,test:build,build", | |
| "test:ci": "nx run-many --targets=test:sherif,test:knip,test:eslint,test:lib,test:types,test:build,build", | |
| "test:eslint": "nx affected --target=test:eslint", | |
| "test:format": "pnpm run prettier --check", | |
| "test:sherif": "sherif -i typescript -p \"./integrations/*\" -p \"./examples/*\"", | |
| "test:lib": "nx affected --target=test:lib --exclude=examples/**", | |
| "test:lib:dev": "pnpm run test:lib && nx watch --all -- pnpm run test:lib", | |
| "test:build": "nx affected --target=test:build --exclude=examples/**", | |
| "test:types": "nx affected --target=test:types --exclude=examples/**", | |
| "test:knip": "knip", | |
| "build": "nx affected --target=build --exclude=examples/** --exclude=integrations/**", | |
| "build:all": "nx run-many --target=build --exclude=examples/** --exclude=integrations/**", | |
| "watch": "pnpm run build:all && nx watch --all -- pnpm run build:all", | |
| "dev": "pnpm run watch", | |
| "prettier": "prettier --experimental-cli --ignore-unknown '**/*'", | |
| "prettier:write": "pnpm run prettier --write", | |
| "docs:generate": "node scripts/generateDocs.ts", | |
| "verify-links": "node scripts/verify-links.ts", | |
| "cipublish": "node scripts/publish.ts" | |
| }, | |
| "nx": { | |
| "includedScripts": [ | |
| "test:sherif", | |
| "test:knip" | |
| ] | |
| }, | |
| "devDependencies": { | |
| "@arethetypeswrong/cli": "^0.15.3", | |
| "@cspell/eslint-plugin": "^8.17.1", | |
| "@eslint-react/eslint-plugin": "^1.52.3", | |
| "@tanstack/config": "^0.19.0", | |
| "@testing-library/jest-dom": "^6.6.3", | |
| "@types/node": "^22.15.3", | |
| "@types/react": "^19.0.1", | |
| "@types/react-dom": "^19.0.2", | |
| "@vitest/coverage-istanbul": "3.1.3", | |
| "@vitest/eslint-plugin": "^1.1.36", | |
| "cpy-cli": "^5.0.0", | |
| "esbuild-plugin-file-path-extensions": "^2.1.4", | |
| "eslint": "^9.15.0", | |
| "eslint-plugin-react-hooks": "^6.0.0-rc.1", | |
| "jsdom": "^25.0.1", | |
| "knip": "^5.50.2", | |
| "markdown-link-extractor": "^4.0.2", | |
| "nx": "21.3.0", | |
| "premove": "^4.0.0", | |
| "prettier": "^3.6.2", | |
| "prettier-plugin-svelte": "^3.4.0", | |
| "publint": "^0.3.12", | |
| "react": "^19.0.0", | |
| "react-dom": "^19.0.0", | |
| "sherif": "^1.6.1", | |
| "tinyglobby": "^0.2.14", | |
| "tsup": "^8.4.0", | |
| "typescript": "5.8.3", | |
| "typescript50": "npm:typescript@5.0", | |
| "typescript51": "npm:typescript@5.1", | |
| "typescript52": "npm:typescript@5.2", | |
| "typescript53": "npm:typescript@5.3", | |
| "typescript54": "npm:typescript@5.4", | |
| "typescript55": "npm:typescript@5.5", | |
| "typescript56": "npm:typescript@5.6", | |
| "typescript57": "npm:typescript@5.7", | |
| "vite": "^6.3.5", | |
| "vitest": "3.1.3" | |
| }, | |
| "pnpm": { | |
| "overrides": { | |
| "@tanstack/angular-query-devtools-experimental": "workspace:*", | |
| "@tanstack/angular-query-experimental": "workspace:*", | |
| "@tanstack/eslint-plugin-query": "workspace:*", | |
| "@tanstack/query-async-storage-persister": "workspace:*", | |
| "@tanstack/query-broadcast-client-experimental": "workspace:*", | |
| "@tanstack/query-codemods": "workspace:*", | |
| "@tanstack/query-core": "workspace:*", | |
| "@tanstack/query-devtools": "workspace:*", | |
| "@tanstack/query-persist-client-core": "workspace:*", | |
| "@tanstack/query-sync-storage-persister": "workspace:*", | |
| "@tanstack/query-test-utils": "workspace:*", | |
| "@tanstack/react-query": "workspace:*", | |
| "@tanstack/react-query-devtools": "workspace:*", | |
| "@tanstack/react-query-next-experimental": "workspace:*", | |
| "@tanstack/react-query-persist-client": "workspace:*", | |
| "@tanstack/solid-query": "workspace:*", | |
| "@tanstack/solid-query-devtools": "workspace:*", | |
| "@tanstack/solid-query-persist-client": "workspace:*", | |
| "@tanstack/svelte-query": "workspace:*", | |
| "@tanstack/svelte-query-devtools": "workspace:*", | |
| "@tanstack/svelte-query-persist-client": "workspace:*", | |
| "@tanstack/vue-query": "workspace:*", | |
| "@tanstack/vue-query-devtools": "workspace:*", | |
| "@types/react": "^19.0.1", | |
| "@types/react-dom": "^19.0.2" | |
| } | |
| } | |
| } | |