Skip to content
This repository was archived by the owner on Sep 27, 2023. It is now read-only.

Commit c51f3e2

Browse files
authored
Merge pull request #318 from n1ru4l/feat-drop-node-10-and-ts-3
feat: drop typescript 3 and Node.js 10 support (#275)
2 parents bc8ae04 + e4dff9c commit c51f3e2

File tree

10 files changed

+223
-198
lines changed

10 files changed

+223
-198
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
strategy:
1010
matrix:
11-
node-version: [10.x, 12.x, 14.x, 15.x]
11+
node-version: [12.x, 14.x, 15.x]
1212
steps:
1313
- uses: actions/checkout@v2
1414
- uses: actions/setup-node@v2

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ yarn add graphql relay-compiler --dev
1414
yarn add typescript relay-compiler-language-typescript --dev
1515
```
1616

17+
**Note:** Starting with version 14.0.0 relay-compiler-language-typescript requires a minimum TypeScript version of 4.2.3 being installed in your project.
18+
1719
## Configuration
1820

1921
### relay-compiler

package.json

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"lib"
3434
],
3535
"scripts": {
36-
"build": "rm -rf lib && tsc --project tsconfig.build.json",
36+
"build": "rimraf lib && tsc --project tsconfig.build.json",
3737
"lint": "tslint -c tslint.json --project tsconfig.json",
3838
"pr-check": "scripts/pr-check.sh",
3939
"prettier": "prettier --write '{src,types,test}/**/*.ts'",
@@ -97,18 +97,19 @@
9797
"relay-compiler": "^10.0.1",
9898
"relay-runtime": "^10.0.1",
9999
"relay-test-utils-internal": "^10.0.1",
100+
"rimraf": "^3.0.2",
100101
"ts-jest": "^26.4.4",
101102
"ts-node": "^9.1.1",
102103
"tslint": "^6.1.3",
103104
"tslint-config-prettier": "^1.18.0",
104-
"typescript": "4.1.5"
105+
"typescript": "4.2.3"
105106
},
106107
"peerDependencies": {
107-
"@types/react-relay": ">=7.0.0",
108-
"@types/relay-runtime": ">=6.0.7",
109-
"relay-compiler": ">=9.0.0",
110-
"relay-runtime": ">=9.0.0",
111-
"typescript": ">=3.6.4"
108+
"@types/react-relay": ">=7.0.17",
109+
"@types/relay-runtime": ">=10.1.8",
110+
"relay-compiler": ">=10.1.3",
111+
"relay-runtime": ">=10.1.3",
112+
"typescript": ">=4.2.3"
112113
},
113114
"publishConfig": {
114115
"registry": "https://registry.npmjs.org/"

0 commit comments

Comments
 (0)