forked from trpc/trpc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
105 lines (105 loc) · 5.4 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
103
104
105
{
"name": "root",
"private": true,
"engines": {
"node": "^18.17.0",
"pnpm": ">=8.0.0"
},
"packageManager": "pnpm@8.5.1",
"scripts": {
"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": "FORCE_COLOR=1 turbo --filter \"@trpc/tests\" test",
"test-watch": "cd packages/tests && pnpm test-watch",
"ts-watch": "turbo --filter=\"@trpc/*\" ts-watch",
"vitest": "cd packages/tests && pnpm vitest",
"oldlint": "eslint --cache --ext \".js,.ts,.tsx\" --ignore-path .gitignore . --report-unused-disable-directives",
"lint": "turbo lint",
"lint-fix": "turbo lint -- --fix && manypkg fix && pnpm format:write",
"format": "prettier \"**/*\" --ignore-unknown",
"format:write": "pnpm format --write --list-different",
"lint-prune": "! ts-prune | grep -v \"used in module\"",
"clean": "find . -name node_modules -o -name .turbo -o -name .next -o -name dist -type d -prune | xargs rm -rf",
"codegen:override-prisma": "tsx scripts/addPrismaOverrides.ts",
"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",
"release": "changeset publish",
"version:canary": "changeset version --snapshot canary",
"release:canary": "changeset publish --tag canary",
"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": {
"@changesets/changelog-github": "^0.4.8",
"@changesets/cli": "^2.26.1",
"@ianvs/prettier-plugin-sort-imports": "^4.0.0",
"@manypkg/cli": "^0.21.0",
"@rollup/plugin-node-resolve": "^15.0.2",
"@swc/core": "1.3.3",
"@testing-library/dom": "^9.0.0",
"@testing-library/jest-dom": "^6.0.0",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.4.3",
"@types/node": "^18.16.16",
"@types/prettier": "^2.7.2",
"@typescript-eslint/eslint-plugin": "^6.2.1",
"@typescript-eslint/parser": "^6.2.1",
"eslint": "^8.40.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-no-only-tests": "^3.1.0",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-turbo": "^1.9.3",
"eslint-plugin-unicorn": "49.0.0",
"express": "^4.17.1",
"fast-glob": "^3.2.12",
"hash-sum": "^2.0.0",
"lerna": "^7.0.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.8",
"prettier-plugin-tailwindcss": "^0.4.0",
"rollup": "^2.79.1",
"rollup-plugin-analyzer": "^4.0.0",
"rollup-plugin-delete": "^2.0.0",
"rollup-plugin-multi-input": "^1.4.1",
"rollup-plugin-node-externals": "^5.1.3",
"rollup-plugin-swc3": "^0.10.0",
"rollup-plugin-typescript2": "^0.36.0",
"superjson": "^1.12.4",
"ts-prune": "^0.10.3",
"tsx": "^4.0.0",
"turbo": "^1.10.2",
"typescript": "^5.1.3",
"vitest": "^0.32.0"
},
"pnpm": {
"overrides": {
"@tanstack/react-query": "4.18.0",
"@tanstack/react-query-devtools": "4.18.0",
"@trpc/client": "link:./packages/client",
"@trpc/next": "link:./packages/next",
"@trpc/react-query": "link:./packages/react-query",
"@trpc/server": "link:./packages/server",
"@examples/trpc-next-prisma-starter>@prisma/client": "https://registry.npmjs.com/@prisma/client/-/client-4.14.1.tgz?id=examplestrpc-next-prisma-starter",
"@examples/next-websockets-starter>@prisma/client": "https://registry.npmjs.com/@prisma/client/-/client-4.14.1.tgz?id=examplesnext-websockets-starter",
"@examples/trpc-next-prisma-todomvc>@prisma/client": "https://registry.npmjs.com/@prisma/client/-/client-4.14.1.tgz?id=examplestrpc-next-prisma-todomvc",
"@examples/legacy-next-starter>@prisma/client": "https://registry.npmjs.com/@prisma/client/-/client-4.14.1.tgz?id=exampleslegacy-next-starter",
"@examples/trpc-next-prisma-starter>prisma": "https://registry.npmjs.com/prisma/-/prisma-4.14.1.tgz?id=%40examplestrpc-next-prisma-starter",
"@examples/next-websockets-starter>prisma": "https://registry.npmjs.com/prisma/-/prisma-4.14.1.tgz?id=%40examplesnext-websockets-starter",
"@examples/trpc-next-prisma-todomvc>prisma": "https://registry.npmjs.com/prisma/-/prisma-4.14.1.tgz?id=%40examplestrpc-next-prisma-todomvc",
"@examples/legacy-next-starter>prisma": "https://registry.npmjs.com/prisma/-/prisma-4.14.1.tgz?id=%40exampleslegacy-next-starter",
"@types/testing-library__jest-dom": "link:./packages/tests/vendor/@types/testing-library__jest-dom"
}
}
}