-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
102 lines (102 loc) · 4.23 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"name": "root",
"private": true,
"type": "module",
"engines": {
"node": "^22.11.0",
"pnpm": "^9.6.0"
},
"packageManager": "[email protected]",
"scripts": {
"clean-dev": "pnpm clean && pnpm install && pnpm build && pnpm dev",
"clean-i": "pnpm clean && pnpm install",
"build": "turbo --filter=\"@trpc/*\" --filter=\"!@trpc/tests\" build",
"build-www": "turbo --filter www build",
"dev": "turbo --filter=\"@trpc/*\" dev",
"dev-www": "turbo --filter www dev",
"test": "turbo codegen-tests && conc -c \"green,blue\" \"vitest run\" \"pnpm -F tests test-run:tsc\"",
"test-ci": "turbo codegen-tests && conc \"CI=true vitest run --coverage\" \"pnpm -F tests test-run:tsc\"",
"test-watch": "vitest",
"ts-watch": "turbo run ts-watch",
"lint": "turbo lint",
"lint-fix": "turbo lint --continue -- --fix && manypkg fix && pnpm format-fix",
"format": "prettier \"**/*\" --ignore-unknown",
"format-fix": "pnpm format --write --list-different",
"lint-prune": "! ts-prune | grep -v \"used in module\" | grep -v rpc | grep -v observable | grep -v http",
"clean": "find . -name node_modules -o -name .turbo -o -name .next -o -name dist -o -name __generated__ -type d -prune | xargs rm -rf",
"codegen:tests": "turbo codegen-tests",
"codegen:entrypoints": "turbo codegen-entrypoints",
"codegen": "run-p codegen:*",
"prepublish": "pnpm build",
"postinstall": "pnpm codegen",
"prepack": "tsx scripts/version.ts",
"version": "tsx scripts/version.ts",
"link-all": "cd packages/server && cd ../server && pnpm link --global && cd ../client && pnpm link --global && cd ../react-query && pnpm link --global && cd ../next && pnpm link --global",
"commit-date": "git log -n 1 --date=format:'%Y-%m-%d-%H-%M-%S' --pretty=format:'%ad'",
"canary-preid": "echo \"$(pnpm --silent current-branch)-$(pnpm --silent commit-date)\"",
"current-branch": "echo \"$(git rev-parse --abbrev-ref HEAD)\" | sed -E 's/refs\\/heads\\///' | sed -E 's/\\W|_/-/g' | sed -e 's/\\//-/'",
"publish-canary": "lerna publish --force-publish --canary --preid alpha-$(pnpm --silent canary-preid) --dist-tag $(pnpm --silent current-branch)",
"publish-prerelease": "pnpm install && lerna publish prerelease --force-publish --dist-tag next --no-push && sleep 60 && git push --follow-tags",
"merge-main": "git checkout main && git pull && git checkout next && git pull && git checkout -b next-merge-$(date '+%Y-%m-%d--%H-%M') next && git merge --ff main"
},
"dependencies": {
"@actions/core": "^1.10.1",
"@actions/github": "^6.0.0",
"@eslint/compat": "^1.2.2",
"@ianvs/prettier-plugin-sort-imports": "^4.4.0",
"@manypkg/cli": "^0.22.0",
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-typescript": "^12.1.1",
"@swc/core": "1.9.1",
"@swc/helpers": "^0.5.15",
"@testing-library/dom": "^10.0.0",
"@testing-library/jest-dom": "^6.0.0",
"@testing-library/react": "^16.1.0",
"@testing-library/user-event": "^14.4.3",
"@types/event-source-polyfill": "^1.0.5",
"@types/node": "^22.9.0",
"@vitest/coverage-istanbul": "^2.0.4",
"@vitest/ui": "^2.0.4",
"concurrently": "^9.0.0",
"eslint": "^9.14.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-no-only-tests": "^3.3.0",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-unicorn": "56.0.1",
"event-source-polyfill": "^1.0.31",
"express": "^5.0.0",
"fast-glob": "^3.2.12",
"hash-sum": "^2.0.0",
"konn": "^0.7.0",
"lerna": "^8.1.2",
"npm-run-all2": "^7.0.0",
"prettier": "^3.3.3",
"prettier-plugin-tailwindcss": "^0.6.8",
"rollup": "^4.27.4",
"rollup-plugin-analyzer": "^4.0.0",
"rollup-plugin-delete": "^2.1.0",
"rollup-plugin-node-externals": "^8.0.0",
"rollup-plugin-swc3": "^0.12.1",
"superjson": "^1.12.4",
"ts-prune": "^0.10.3",
"tsx": "^4.0.0",
"turbo": "^2.0.9",
"typescript": "^5.7.2",
"typescript-eslint": "^8.13.0",
"vite": "^6.0.0",
"vitest": "^2.0.4",
"vitest-environment-miniflare": "^2.14.1",
"zod": "^3.0.0"
},
"pnpm": {
"overrides": {
"@types/node": "20.17.10"
}
},
"manypkg": {
"ignoredRules": [
"EXTERNAL_MISMATCH"
]
}
}