Open History to see the last commit
1{
2 "name": "root",
3 "private": true,
4 "repository": {
5 "type": "git",
6 "url": "https://github.com/TanStack/intent"
7 },
8 "packageManager": "pnpm@11.9.0",
9 "engines": {
10 "pnpm": ">=11.9.0"
11 },
12 "type": "module",
13 "scripts": {
14 "build": "nx affected --skip-nx-cache --targets=build",
15 "build:all": "nx run-many --targets=build",
16 "changeset": "changeset",
17 "changeset:publish": "changeset publish",
18 "changeset:version": "changeset version && pnpm install --no-frozen-lockfile && pnpm format",
19 "clean": "if [ -d packages ]; then find packages -name 'dist' -type d -prune -exec rm -rf {} +; fi",
20 "clean:node_modules": "if [ -d packages ]; then find packages -name 'node_modules' -type d -prune -exec rm -rf {} +; fi",
21 "clean:all": "pnpm run clean && pnpm run clean:node_modules",
22 "copy:readme": "cp README.md packages/intent/README.md",
23 "dev": "pnpm run watch",
24 "format": "prettier --experimental-cli --ignore-unknown '**/*' --write",
25 "lint:fix": "nx affected --target=lint:fix",
26 "lint:fix:all": "nx run-many --targets=lint --fix",
27 "eval:intent-discovery": "vitest run --config evals/intent-discovery/vitest.evals.config.ts",
28 "eval:intent-discovery:json": "vitest run --config evals/intent-discovery/vitest.evals.config.ts --reporter=default --reporter=json --outputFile.json=evals/intent-discovery/runs/latest/vitest-results.json",
29 "eval:intent-discovery:live": "INTENT_DISCOVERY_RUN_LIVE=1 INTENT_DISCOVERY_COPILOT_COMMAND=\"node $PWD/evals/intent-discovery/bin/copilot-cli-adapter.mjs\" vitest run --config evals/intent-discovery/vitest.evals.config.ts",
30 "eval:intent-discovery:live:json": "INTENT_DISCOVERY_RUN_LIVE=1 INTENT_DISCOVERY_COPILOT_COMMAND=\"node $PWD/evals/intent-discovery/bin/copilot-cli-adapter.mjs\" vitest run --config evals/intent-discovery/vitest.evals.config.ts --reporter=default --reporter=json --outputFile.json=evals/intent-discovery/runs/latest/vitest-results.json",
31 "eval:intent-discovery:judge": "node evals/intent-discovery/bin/llm-judge.mjs evals/intent-discovery/runs/latest/vitest-results.json",
32 "eval:intent-discovery:report": "vitest-evals serve evals/intent-discovery/runs/latest/vitest-results.json",
33 "eval:intent-discovery:summary": "node evals/intent-discovery/bin/summarize-results.mjs evals/intent-discovery/runs/latest/vitest-results.json",
34 "test": "pnpm run test:ci",
35 "test:ci": "tsc --noEmit && nx run-many --targets=test:eslint,test:sherif,test:knip,test:docs,test:lib,test:integration,test:types,build",
36 "test:docs": "node scripts/verify-links.ts",
37 "test:eslint": "nx affected --target=test:eslint",
38 "test:integration": "nx affected --targets=test:integration",
39 "test:knip": "knip",
40 "test:lib": "nx affected --targets=test:lib",
41 "test:lib:dev": "pnpm test:lib && nx watch --all -- pnpm test:lib",
42 "test:pr": "tsc --noEmit && nx affected --targets=test:eslint,test:sherif,test:knip,test:docs,test:lib,test:integration,test:types,build",
43 "test:sherif": "sherif",
44 "test:types": "nx affected --targets=test:types",
45 "watch": "pnpm run build:all && nx watch --all -- pnpm run build:all"
46 },
47 "nx": {
48 "includedScripts": [
49 "test:docs",
50 "test:knip",
51 "test:sherif"
52 ]
53 },
54 "sherif": {
55 "ignoreDependency": [
56 "vitest"
57 ]
58 },
59 "devDependencies": {
60 "@changesets/changelog-github": "^0.7.0",
61 "@changesets/cli": "^2.31.0",
62 "@tanstack/eslint-config": "0.4.0",
63 "@types/node": "^25.0.7",
64 "eslint": "^9.39.4",
65 "eslint-plugin-unused-imports": "^4.4.1",
66 "knip": "^6.16.1",
67 "markdown-link-extractor": "^4.0.3",
68 "nx": "^23.2.0",
69 "prettier": "^3.8.4",
70 "sherif": "^1.11.1",
71 "tinyglobby": "^0.2.17",
72 "typescript": "6.0.3",
73 "vitest": "5.0.0",
74 "vitest-evals": "^0.13.1"
75 }
76}