build(react-relay-js): craco needs typescript

ref: https://github.com/dilanx/craco/issues/447
This commit is contained in:
fryorcraken.eth 2022-08-20 00:01:05 +10:00
parent 7523fdd202
commit 3e97e01d2a
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
2 changed files with 4 additions and 1 deletions

View File

@ -40,6 +40,7 @@
] ]
}, },
"devDependencies": { "devDependencies": {
"@craco/craco": "7.0.0-alpha.7" "@craco/craco": "7.0.0-alpha.7",
"typescript": "^4.7.4"
} }
} }

View File

@ -10,6 +10,7 @@ specifiers:
react: ^18.2.0 react: ^18.2.0
react-dom: ^18.2.0 react-dom: ^18.2.0
react-scripts: 5.0.1 react-scripts: 5.0.1
typescript: ^4.7.4
dependencies: dependencies:
'@testing-library/jest-dom': 5.16.5 '@testing-library/jest-dom': 5.16.5
@ -23,6 +24,7 @@ dependencies:
devDependencies: devDependencies:
'@craco/craco': 7.0.0-alpha.7_6dh3mp4abgujcafyrw5alwgbbe '@craco/craco': 7.0.0-alpha.7_6dh3mp4abgujcafyrw5alwgbbe
typescript: 4.7.4
packages: packages: