WIP: Upgrade
The scope of this MR is quite large, and introduces several refactors and upgrades:
Client side:
-
config
is now completely disconnected from the client. All client side configuration should be done through environment variables. -
As a consequence of the above CLIENT_PDF_URL
now needs to be an environment variable -
Delegate webpack configuration to @coko/client
. This means that thewebpack
folder no longer exists in this repo. -
Delegate storybook configuration to @coko/storybook
-
Upgrade to @apollo/client
3 -
Upgrade to styled-components
5 -
Upgrade to react
17
Server side:
-
The api
folder underserver
now includes two folders: -
graphql
(which includes the previous contents ofapi
) -
rest
(which includes the endpoints for wormbase, pubmed, datacite and exports) -
Upgrade to objection
2
Other:
-
Delegate linting configuration to @coko/lint
-
Add production and staging docker configs
Edited by Yannis Barlas