Open History to see the last commit
1{
2 "name": "root",
3 "private": true,
4 "repository": {
5 "type": "git",
6 "url": "git+https://github.com/TanStack/workflow.git"
7 },
8 "packageManager": "pnpm@10.33.2",
9 "type": "module",
10 "scripts": {
11 "build": "nx affected --skip-nx-cache --targets=build --exclude=examples/** && size-limit",
12 "build:all": "nx run-many --targets=build --exclude=examples/**",
13 "build:core": "nx run-many --targets=build --projects=@tanstack/workflow-core",
14 "changeset": "changeset",
15 "changeset:publish": "changeset publish",
16 "changeset:version": "changeset version && pnpm install --no-frozen-lockfile && pnpm format",
17 "clean": "find . -name 'dist' -type d -prune -exec rm -rf {} +",
18 "clean:node_modules": "find . -name 'node_modules' -type d -prune -exec rm -rf {} +",
19 "clean:all": "pnpm run clean && pnpm run clean:node_modules",
20 "copy:readme": "true # workflow-core ships a tailored README of its own for now",
21 "dev": "pnpm run watch",
22 "format": "prettier --experimental-cli --ignore-unknown '**/*' --write",
23 "generate-docs": "node scripts/generate-docs.ts && pnpm run copy:readme",
24 "lint": "nx affected --target=lint --exclude=examples/**",
25 "lint:all": "pnpm run test:eslint && pnpm -r --filter \"./examples/**\" --if-present lint",
26 "lint:fix": "nx affected --target=lint:fix --exclude=examples/**",
27 "lint:fix:all": "nx run-many --targets=lint:fix",
28 "test": "pnpm run test:ci",
29 "test:ci": "pnpm run lint:all && nx run-many --targets=test:sherif,test:knip,test:docs,test:lib,test:types,build",
30 "test:docs": "node scripts/verify-links.ts",
31 "test:eslint": "nx affected --target=test:eslint --exclude=examples/**",
32 "test:knip": "knip",
33 "test:lib": "nx affected --targets=test:lib --exclude=examples/**",
34 "test:lib:dev": "pnpm test:lib && nx watch --all -- pnpm test:lib",
35 "test:pr": "pnpm run lint:all && nx affected --targets=test:sherif,test:knip,test:docs,test:lib,test:types,build",
36 "test:sherif": "sherif",
37 "test:types": "nx affected --targets=test:types --exclude=examples/**",
38 "watch": "pnpm run build:all && nx watch --all -- pnpm run build:all"
39 },
40 "nx": {
41 "includedScripts": [
42 "test:docs",
43 "test:knip",
44 "test:sherif"
45 ]
46 },
47 "size-limit": [
48 {
49 "path": "packages/workflow-core/dist/index.js",
50 "limit": "16 KB"
51 }
52 ],
53 "devDependencies": {
54 "@changesets/changelog-github": "^0.7.0",
55 "@changesets/cli": "^2.31.0",
56 "@faker-js/faker": "^10.4.0",
57 "@size-limit/preset-small-lib": "^12.1.0",
58 "@tanstack/eslint-config": "0.4.0",
59 "@tanstack/typedoc-config": "0.3.3",
60 "@types/node": "^25.6.0",
61 "eslint": "^10.2.1",
62 "eslint-plugin-unused-imports": "^4.4.1",
63 "happy-dom": "^20.9.0",
64 "knip": "^6.6.3",
65 "markdown-link-extractor": "^4.0.3",
66 "nx": "^22.7.0",
67 "premove": "^4.0.0",
68 "prettier": "^3.8.3",
69 "prettier-plugin-svelte": "^3.5.1",
70 "publint": "^0.3.18",
71 "sherif": "^1.11.1",
72 "size-limit": "^12.1.0",
73 "tinyglobby": "^0.2.16",
74 "tsdown": "^0.21.10",
75 "typescript": "6.0.3",
76 "vitest": "^4.1.5"
77 },
78 "overrides": {
79 "@tanstack/workflow-cloudflare": "workspace:*",
80 "@tanstack/workflow-core": "workspace:*",
81 "@tanstack/workflow-netlify": "workspace:*",
82 "@tanstack/workflow-railway": "workspace:*",
83 "@tanstack/workflow-runtime": "workspace:*",
84 "@tanstack/workflow-store-cloudflare-d1": "workspace:*",
85 "@tanstack/workflow-store-drizzle-postgres": "workspace:*",
86 "@tanstack/workflow-vercel": "workspace:*"
87 }
88}