92 lines
3.3 KiB
JSON
92 lines
3.3 KiB
JSON
{
|
|
"name": "root",
|
|
"private": true,
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/TanStack/query.git"
|
|
},
|
|
"packageManager": "pnpm@11.9.0",
|
|
"engines": {
|
|
"pnpm": ">=11.9.0"
|
|
},
|
|
"type": "module",
|
|
"scripts": {
|
|
"clean": "pnpm --filter \"./packages/**\" run clean",
|
|
"test": "pnpm run test:ci",
|
|
"test:pr": "nx affected --targets=test:sherif,test:knip,test:docs,test:eslint,test:lib,test:types,test:build,build",
|
|
"test:ci": "nx run-many --targets=test:sherif,test:knip,test:docs,test:eslint,test:lib,test:types,test:build,build",
|
|
"test:eslint": "nx affected --target=test:eslint",
|
|
"test:sherif": "sherif -i typescript -p \"./integrations/*\" -p \"./examples/*\"",
|
|
"test:size": "size-limit",
|
|
"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 && knip --strict --include unlisted --no-gitignore",
|
|
"test:docs": "node scripts/verify-links.ts",
|
|
"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",
|
|
"format": "prettier --experimental-cli --ignore-unknown '**/*' --write",
|
|
"generate-docs": "node scripts/generate-docs.ts",
|
|
"changeset": "changeset",
|
|
"changeset:version": "changeset version && pnpm install --no-frozen-lockfile && pnpm format",
|
|
"changeset:publish": "changeset publish"
|
|
},
|
|
"nx": {
|
|
"includedScripts": [
|
|
"test:docs",
|
|
"test:knip",
|
|
"test:sherif",
|
|
"test:size"
|
|
]
|
|
},
|
|
"sherif": {
|
|
"ignoreRule": [
|
|
"unordered-dependencies"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@arethetypeswrong/cli": "^0.15.3",
|
|
"@changesets/changelog-github": "^0.7.0",
|
|
"@changesets/cli": "^2.29.8",
|
|
"@cspell/eslint-plugin": "^9.2.1",
|
|
"@eslint-react/eslint-plugin": "^2.0.1",
|
|
"@size-limit/preset-small-lib": "^12.0.0",
|
|
"@tanstack/eslint-config": "0.3.2",
|
|
"@tanstack/typedoc-config": "0.3.1",
|
|
"@tanstack/vite-config": "0.4.3",
|
|
"@testing-library/jest-dom": "^6.8.0",
|
|
"@types/node": "^22.15.3",
|
|
"@types/react": "^19.2.7",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@vitest/coverage-istanbul": "4.0.6",
|
|
"@vitest/eslint-plugin": "^1.4.0",
|
|
"eslint": "^9.36.0",
|
|
"eslint-plugin-react-hooks": "^6.1.1",
|
|
"jsdom": "^27.0.0",
|
|
"knip": "6.32.2",
|
|
"markdown-link-extractor": "^4.0.2",
|
|
"nx": "22.1.3",
|
|
"premove": "^4.0.0",
|
|
"prettier": "^3.7.4",
|
|
"prettier-plugin-svelte": "^3.4.0",
|
|
"publint": "^0.3.13",
|
|
"react": "^19.2.1",
|
|
"react-dom": "^19.2.1",
|
|
"sherif": "^1.6.1",
|
|
"size-limit": "^12.0.0",
|
|
"tinyglobby": "^0.2.15",
|
|
"tsdown": "^0.22.14",
|
|
"typescript56": "npm:typescript@5.6",
|
|
"typescript57": "npm:typescript@5.7",
|
|
"typescript58": "npm:typescript@5.8",
|
|
"typescript59": "npm:typescript@5.9",
|
|
"typescript70": "npm:typescript@7.0",
|
|
"typescript": "6.0.3",
|
|
"vite": "^6.4.1",
|
|
"vitest": "^4.0.18"
|
|
}
|
|
}
|