Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

package.json

111 lines4.6 KB

1{
2 "name": "root",
3 "private": true,
4 "repository": {
5 "type": "git",
6 "url": "https://github.com/TanStack/query.git"
7 },
8 "packageManager": "pnpm@10.17.0",
9 "type": "module",
10 "scripts": {
11 "clean": "pnpm --filter \"./packages/**\" run clean",
12 "preinstall": "node -e \"if(process.env.CI == 'true') {console.log('Skipping preinstall...')} else {process.exit(1)}\" || npx -y only-allow pnpm",
13 "test": "pnpm run test:ci",
14 "test:pr": "nx affected --targets=test:sherif,test:knip,test:eslint,test:lib,test:types,test:build,build",
15 "test:ci": "nx run-many --targets=test:sherif,test:knip,test:eslint,test:lib,test:types,test:build,build",
16 "test:eslint": "nx affected --target=test:eslint",
17 "test:format": "pnpm run prettier --check",
18 "test:sherif": "sherif -i typescript -p \"./integrations/*\" -p \"./examples/*\"",
19 "test:lib": "nx affected --target=test:lib --exclude=examples/**",
20 "test:lib:dev": "pnpm run test:lib && nx watch --all -- pnpm run test:lib",
21 "test:build": "nx affected --target=test:build --exclude=examples/**",
22 "test:types": "nx affected --target=test:types --exclude=examples/**",
23 "test:knip": "knip",
24 "build": "nx affected --target=build --exclude=examples/** --exclude=integrations/**",
25 "build:all": "nx run-many --target=build --exclude=examples/** --exclude=integrations/**",
26 "watch": "pnpm run build:all && nx watch --all -- pnpm run build:all",
27 "dev": "pnpm run watch",
28 "prettier": "prettier --experimental-cli --ignore-unknown '**/*'",
29 "prettier:write": "pnpm run prettier --write",
30 "docs:generate": "node scripts/generateDocs.ts",
31 "verify-links": "node scripts/verify-links.ts",
32 "changeset": "changeset",
33 "changeset:version": "changeset version && pnpm install --no-frozen-lockfile && pnpm prettier:write",
34 "changeset:publish": "changeset publish"
35 },
36 "nx": {
37 "includedScripts": [
38 "test:sherif",
39 "test:knip"
40 ]
41 },
42 "devDependencies": {
43 "@arethetypeswrong/cli": "^0.15.3",
44 "@changesets/cli": "^2.29.5",
45 "@cspell/eslint-plugin": "^9.2.1",
46 "@eslint-react/eslint-plugin": "^1.53.1",
47 "@svitejs/changesets-changelog-github-compact": "^1.2.0",
48 "@tanstack/config": "^0.20.2",
49 "@testing-library/jest-dom": "^6.8.0",
50 "@types/node": "^22.15.3",
51 "@types/react": "^19.0.1",
52 "@types/react-dom": "^19.0.2",
53 "@vitest/coverage-istanbul": "3.2.4",
54 "@vitest/eslint-plugin": "^1.1.36",
55 "esbuild-plugin-file-path-extensions": "^2.1.4",
56 "eslint": "^9.36.0",
57 "eslint-plugin-react-hooks": "^6.0.0-rc.2",
58 "jsdom": "^27.0.0",
59 "knip": "^5.63.1",
60 "markdown-link-extractor": "^4.0.2",
61 "nx": "21.5.3",
62 "premove": "^4.0.0",
63 "prettier": "^3.6.2",
64 "prettier-plugin-svelte": "^3.4.0",
65 "publint": "^0.3.13",
66 "react": "^19.0.0",
67 "react-dom": "^19.0.0",
68 "sherif": "^1.6.1",
69 "tinyglobby": "^0.2.15",
70 "tsup": "^8.4.0",
71 "typescript": "5.8.3",
72 "typescript50": "npm:typescript@5.0",
73 "typescript51": "npm:typescript@5.1",
74 "typescript52": "npm:typescript@5.2",
75 "typescript53": "npm:typescript@5.3",
76 "typescript54": "npm:typescript@5.4",
77 "typescript55": "npm:typescript@5.5",
78 "typescript56": "npm:typescript@5.6",
79 "typescript57": "npm:typescript@5.7",
80 "vite": "^6.3.6",
81 "vitest": "3.2.4"
82 },
83 "pnpm": {
84 "overrides": {
85 "@tanstack/angular-query-experimental": "workspace:*",
86 "@tanstack/eslint-plugin-query": "workspace:*",
87 "@tanstack/query-async-storage-persister": "workspace:*",
88 "@tanstack/query-broadcast-client-experimental": "workspace:*",
89 "@tanstack/query-codemods": "workspace:*",
90 "@tanstack/query-core": "workspace:*",
91 "@tanstack/query-devtools": "workspace:*",
92 "@tanstack/query-persist-client-core": "workspace:*",
93 "@tanstack/query-sync-storage-persister": "workspace:*",
94 "@tanstack/query-test-utils": "workspace:*",
95 "@tanstack/react-query": "workspace:*",
96 "@tanstack/react-query-devtools": "workspace:*",
97 "@tanstack/react-query-next-experimental": "workspace:*",
98 "@tanstack/react-query-persist-client": "workspace:*",
99 "@tanstack/solid-query": "workspace:*",
100 "@tanstack/solid-query-devtools": "workspace:*",
101 "@tanstack/solid-query-persist-client": "workspace:*",
102 "@tanstack/svelte-query": "workspace:*",
103 "@tanstack/svelte-query-devtools": "workspace:*",
104 "@tanstack/svelte-query-persist-client": "workspace:*",
105 "@tanstack/vue-query": "workspace:*",
106 "@tanstack/vue-query-devtools": "workspace:*",
107 "@types/react": "^19.0.1",
108 "@types/react-dom": "^19.0.2"
109 }
110 }