Skip to content

Commit 702ef92

Browse files
feat!: bring TS 5 support (#480)
- TypeScript users must now put `"lib": ["DOM", "DOM.Iterable", "ES2020”]` into their `tsconfig.json`.
1 parent b15e948 commit 702ef92

14 files changed

+316
-769
lines changed

package.json

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
"dev": "rm -rf dist && tsc --watch",
4646
"format": "prettier --write .",
4747
"lint": "eslint . --ext .ts,.tsx --fix",
48+
"check": "pnpm check:types && pnpm check:format && pnpm check:lint",
4849
"check:types": "pnpm tsc --noEmit",
4950
"check:format": "prettier --check .",
5051
"check:lint": "eslint . --ext .ts,.tsx --max-warnings 0",
@@ -60,7 +61,7 @@
6061
"release:pr": "dripip pr"
6162
},
6263
"dependencies": {
63-
"@graphql-typed-document-node/core": "^3.1.1",
64+
"@graphql-typed-document-node/core": "^3.2.0",
6465
"cross-fetch": "^3.1.5",
6566
"extract-files": "^9.0.0",
6667
"form-data": "^3.0.0"
@@ -75,18 +76,18 @@
7576
"@types/body-parser": "^1.19.2",
7677
"@types/express": "^4.17.16",
7778
"@types/extract-files": "^8.1.1",
78-
"@types/node": "^18.11.18",
79+
"@types/node": "^18.15.11",
7980
"@types/ws": "^8.5.4",
80-
"@typescript-eslint/eslint-plugin": "^5.52.0",
81-
"@typescript-eslint/parser": "^5.52.0",
81+
"@typescript-eslint/eslint-plugin": "^5.57.1",
82+
"@typescript-eslint/parser": "^5.57.1",
8283
"@vitest/coverage-c8": "^0.29.0",
8384
"apollo-server-express": "^3.11.1",
8485
"body-parser": "^1.20.1",
8586
"doctoc": "^2.2.1",
8687
"dripip": "^0.10.0",
87-
"eslint": "^8.34.0",
88-
"eslint-config-prettier": "^8.6.0",
89-
"eslint-plugin-deprecation": "^1.3.3",
88+
"eslint": "^8.37.0",
89+
"eslint-config-prettier": "^8.8.0",
90+
"eslint-plugin-deprecation": "^1.4.0",
9091
"eslint-plugin-only-warn": "^1.1.0",
9192
"eslint-plugin-prefer-arrow": "^1.2.3",
9293
"eslint-plugin-simple-import-sort": "^10.0.0",
@@ -96,13 +97,13 @@
9697
"get-port": "^6.1.2",
9798
"graphql": "^16.6.0",
9899
"graphql-tag": "^2.12.5",
99-
"graphql-ws": "^5.11.2",
100-
"happy-dom": "^9.0.0",
100+
"graphql-ws": "^5.12.1",
101+
"happy-dom": "^9.1.7",
101102
"prettier": "^2.8.3",
102-
"type-fest": "^3.5.3",
103-
"typescript": "^4.9.4",
103+
"type-fest": "^3.7.2",
104+
"typescript": "^5.0.3",
104105
"vitest": "^0.29.0",
105-
"ws": "^8.12.0"
106+
"ws": "^8.13.0"
106107
},
107108
"prettier": "@prisma-labs/prettier-config"
108109
}

0 commit comments

Comments
 (0)