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

Commit a632848

Browse files
authored
Revert "feat: drop typescript 3 and Node.js 10 support (#275)" (#317)
This reverts commit 4b88ffa.
1 parent 3dbb7ef commit a632848

File tree

10 files changed

+198
-223
lines changed

10 files changed

+198
-223
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: [12.x, 14.x, 15.x]
11+
node-version: [10.x, 12.x, 14.x, 15.x]
1212
steps:
1313
- uses: actions/checkout@v2
1414
- uses: actions/setup-node@v2

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ 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-
1917
## Configuration
2018

2119
### relay-compiler

package.json

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"lib"
3434
],
3535
"scripts": {
36-
"build": "rimraf lib && tsc --project tsconfig.build.json",
36+
"build": "rm -rf 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'",
@@ -98,19 +98,18 @@
9898
"relay-compiler": "^10.0.1",
9999
"relay-runtime": "^10.0.1",
100100
"relay-test-utils-internal": "^10.0.1",
101-
"rimraf": "^3.0.2",
102101
"ts-jest": "^26.4.4",
103102
"ts-node": "^9.1.1",
104103
"tslint": "^6.1.3",
105104
"tslint-config-prettier": "^1.18.0",
106-
"typescript": "4.2.3"
105+
"typescript": "4.1.5"
107106
},
108107
"peerDependencies": {
109-
"@types/react-relay": ">=7.0.17",
110-
"@types/relay-runtime": ">=10.1.8",
111-
"relay-compiler": ">=10.1.3",
112-
"relay-runtime": ">=10.1.3",
113-
"typescript": ">=4.2.3"
108+
"@types/react-relay": ">=7.0.0",
109+
"@types/relay-runtime": ">=6.0.7",
110+
"relay-compiler": ">=9.0.0",
111+
"relay-runtime": ">=9.0.0",
112+
"typescript": ">=3.6.4"
114113
},
115114
"publishConfig": {
116115
"registry": "https://registry.npmjs.org/"

0 commit comments

Comments
 (0)