{ "name": "root", "private": true, "repository": { "type": "git", "url": "git+https://github.com/TanStack/ai.git" }, "packageManager": "pnpm@11.9.0", "type": "module", "engines": { "pnpm": ">=11.9.0" }, "scripts": { "clean": "pnpm --filter \"./packages/**\" run clean", "clean:all": "git clean -fdx --exclude=\"!.env\"", "test": "pnpm run test:ci", "test:pr": "pnpm run test:react-native && VITEST_MAX_WORKERS=1 nx affected --targets=test:sherif,test:knip,test:docs,test:kiira,test:maintainer,test:ai-review,test:oxlint,test:lib,test:types,test:build,build && pnpm test:dts", "test:ci": "pnpm run test:react-native && VITEST_MAX_WORKERS=1 nx run-many --targets=test:sherif,test:knip,test:docs,test:kiira,test:maintainer,test:ai-review,test:oxlint,test:lib,test:types,test:build,build && pnpm test:dts", "test:oxlint": "nx affected --target=test:oxlint --exclude=examples/**,testing/**", "test:sherif": "sherif --ignore-dependency typescript --ignore-dependency @fal-ai/client", "test:lib": "VITEST_MAX_WORKERS=1 nx affected --targets=test:lib --exclude=examples/**,testing/**", "test:lib:dev": "pnpm test:lib && nx watch --all -- pnpm test:lib", "test:coverage": "VITEST_MAX_WORKERS=1 nx affected --targets=test:coverage --exclude=examples/**,testing/**", "test:coverage:all": "VITEST_MAX_WORKERS=1 nx run-many --targets=test:coverage --exclude=examples/**,testing/**", "test:build": "nx affected --target=test:build --exclude=examples/**,testing/**", "test:types": "nx affected --targets=test:types --exclude=examples/**,testing/**", "test:knip": "knip", "test:docs": "tsx scripts/verify-links.ts", "test:dts": "node scripts/scan-dangling-dts.mjs", "test:maintainer": "vitest run --root scripts/maintainer && vitest run scripts/model-sync scripts/publish-staged-docs.test.ts && vitest run scripts/coverage-check.test.ts scripts/print-failed-nx-logs.test.ts", "test:ai-review": "vitest run --root agent-scripts/ai-review", "ai-review": "node agent-scripts/ai-review/run.ts", "maintainer:sweep": "node scripts/maintainer/sweep.ts", "maintainer:scorecard": "node scripts/maintainer/scorecard.ts", "test:kiira": "kiira check", "test:react-native": "pnpm --filter @tanstack/ai-react-native-smoke smoke", "test:e2e": "pnpm --filter @tanstack/ai-e2e test:e2e", "test:e2e:ui": "pnpm --filter @tanstack/ai-e2e test:e2e:ui", "codemod:ag-ui-compliance": "pnpm --filter @tanstack/ai-codemods exec node ./run.mjs ag-ui-compliance", "codemod:move-sampling-to-model-options": "pnpm --filter @tanstack/ai-codemods exec node ./run.mjs move-sampling-to-model-options", "build": "nx affected --skip-nx-cache --targets=build --exclude=examples/**,testing/**", "build:all": "nx run-many --targets=build --exclude=examples/**,testing/**", "watch": "pnpm run build:all && env NX_DAEMON=true nx watch --all -- pnpm run build:all", "dev": "pnpm run watch", "dev:chat": "pnpm --filter ts-react-chat dev", "format": "oxfmt .", "generate-docs": "node scripts/generate-docs.ts && pnpm run copy:readme", "generate:fal-image-fields": "tsx scripts/generate-fal-image-field-map.ts", "generate:models": "pnpm generate:models:fetch && pnpm regenerate:models && tsx scripts/sync-elevenlabs-models.ts && tsx scripts/sync-provider-models.ts && pnpm format", "generate:models:elevenlabs": "tsx scripts/sync-elevenlabs-models.ts", "generate:models:fetch": "tsx scripts/fetch-openrouter-models.ts && tsx scripts/fetch-vercel-gateway-models.ts && tsx scripts/fetch-lovable-gateway-models.ts && node scripts/fetch-llmgateway-models.ts && tsx scripts/fetch-neon-models.ts", "regenerate:models": "tsx scripts/convert-openrouter-models.ts && tsx scripts/convert-vercel-gateway-models.ts && node scripts/convert-llmgateway-models.ts && tsx scripts/convert-neon-models.ts", "sync-docs-config": "node scripts/sync-docs-config.ts", "copy:readme": "node scripts/copy-readme.js", "changeset": "changeset", "changeset:publish": "changeset publish", "changeset:version": "changeset version && pnpm install --no-frozen-lockfile && pnpm format" }, "nx": { "includedScripts": [ "test:docs", "test:dts", "test:kiira", "test:knip", "test:maintainer", "test:ai-review", "test:sherif" ] }, "devDependencies": { "@aws-sdk/client-bedrock": "^3.1057.0", "@changesets/changelog-github": "^1.0.1", "@changesets/cli": "^2.30.0", "@faker-js/faker": "^10.1.0", "@stylistic/eslint-plugin": "^5.10.0", "@tanstack/ai": "workspace:*", "@tanstack/ai-grok-build": "workspace:*", "@tanstack/ai-sandbox": "workspace:*", "@tanstack/ai-sandbox-docker": "workspace:*", "@tanstack/typedoc-config": "0.3.5", "@tanstack/vite-config": "0.6.0", "@types/node": "^24.10.1", "@typescript/typescript6": "6.0.2", "eslint-plugin-unused-imports": "^4.3.0", "happy-dom": "^20.14.6", "kiira": "0.6.0", "knip": "^6.26.0", "markdown-link-extractor": "^4.0.3", "nx": "23.3.2", "oxfmt": "^0.59.0", "oxlint": "^1.89.0", "oxlint-plugin-eslint": "^1.89.0", "oxlint-tsgolint": "^7.0.2004", "premove": "^4.0.0", "publint": "^0.3.15", "sherif": "^1.9.0", "tinyglobby": "^0.2.17", "tsx": "^4.23.15", "typescript": "7.0.2", "vite": "^8.3.8", "vitest": "^4.1.12" } }