Skip to content
This repository has been archived by the owner on Oct 29, 2020. It is now read-only.

build: upgrade react-scripts to v4 #130

Merged
merged 3 commits into from
Oct 23, 2020

Conversation

eventualbuddha
Copy link
Contributor

This also updates to React 17, eslint 7, TypeScript v4, etc.

This also updates to React 17, eslint 7, TypeScript v4, etc.
- React 17 has no new features, but does have a few breaking changes that shouldn't affect bsd. (https://reactjs.org/blog/2020/10/20/react-v17.html)
- eslint 7 and the updated config caused a minor issue (https://stackoverflow.com/a/64024916/549363)
- react-scripts v4 seems to have a bug while validating TS config, which this commit works around (facebook/create-react-app#9429)
Adds `type-fest` to replace my `DeepReadonly` type, and possibly more over time.
@eventualbuddha
Copy link
Contributor Author

FWIW @beausmith, I tried this on BMD too and it was not as straightforward. Test failures without an obvious cause. I'm sure we can figure it out though.

These were being treated as errors in CI.
@netlify
Copy link

netlify bot commented Oct 23, 2020

Deploy preview for vw-bsd ready!

Built with commit aa8f3ef

https://deploy-preview-130--vw-bsd.netlify.app

@eventualbuddha eventualbuddha merged commit 1caab76 into main Oct 23, 2020
@eventualbuddha eventualbuddha deleted the build/upgrade-react-scripts-v4 branch October 23, 2020 21:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants