-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
91 lines (91 loc) · 4.1 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
{
"name": "root",
"private": true,
"engines": {
"node": "^20.10.0",
"pnpm": ">=8.15.5"
},
"packageManager": "pnpm@8.15.5",
"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 -- --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",
"@ianvs/prettier-plugin-sort-imports": "^4.0.0",
"@manypkg/cli": "^0.22.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@swc/core": "1.3.3",
"@testing-library/dom": "^10.0.0",
"@testing-library/jest-dom": "^6.0.0",
"@testing-library/react": "^16.0.0",
"@testing-library/user-event": "^14.4.3",
"@types/event-source-polyfill": "^1.0.5",
"@types/node": "^22.0.0",
"@types/prettier": "^2.7.2",
"@typescript-eslint/eslint-plugin": "^7.16.1",
"@typescript-eslint/parser": "^7.16.1",
"@vitest/coverage-istanbul": "^2.0.4",
"@vitest/ui": "^2.0.4",
"concurrently": "^9.0.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-no-only-tests": "^3.1.0",
"eslint-plugin-react": "^7.35.0",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-turbo": "^2.0.9",
"eslint-plugin-unicorn": "56.0.0",
"event-source-polyfill": "^1.0.31",
"express": "^4.17.1",
"fast-glob": "^3.2.12",
"hash-sum": "^2.0.0",
"lerna": "^8.1.2",
"npm-run-all2": "^7.0.0",
"prettier": "^2.8.8",
"prettier-plugin-tailwindcss": "^0.4.0",
"rollup": "^4.9.5",
"rollup-plugin-analyzer": "^4.0.0",
"rollup-plugin-delete": "^2.0.0",
"rollup-plugin-node-externals": "^7.0.0",
"rollup-plugin-swc3": "^0.11.0",
"rollup-plugin-typescript2": "^0.36.0",
"superjson": "^1.12.4",
"ts-prune": "^0.10.3",
"tsx": "^4.0.0",
"turbo": "^2.0.9",
"typescript": "^5.6.2",
"vite": "^5.3.4",
"vitest": "^2.0.4",
"vitest-environment-miniflare": "^2.14.1",
"zod": "^3.0.0"
}
}