micropublication merge requestshttps://gitlab.coko.foundation/micropublication/micropublication/-/merge_requests2021-08-24T08:47:59Zhttps://gitlab.coko.foundation/micropublication/micropublication/-/merge_requests/308WIP: Upgrade2021-08-24T08:47:59ZYannis BarlasWIP: UpgradeThe scope of this MR is quite large, and introduces several refactors and upgrades:
Client side:
- [x] `config` is now completely disconnected from the client. All client side configuration should be done through environment variables...The scope of this MR is quite large, and introduces several refactors and upgrades:
Client side:
- [x] `config` is now completely disconnected from the client. All client side configuration should be done through environment variables.
- [x] As a consequence of the above `CLIENT_PDF_URL` now needs to be an environment variable
- [x] Delegate webpack configuration to `@coko/client`. This means that the `webpack` folder no longer exists in this repo.
- [x] Delegate storybook configuration to `@coko/storybook`
- [x] Upgrade to `@apollo/client` 3
- [x] Upgrade to `styled-components` 5
- [x] Upgrade to `react` 17
Server side:
- [x] The `api` folder under `server` now includes two folders:
- `graphql` (which includes the previous contents of `api`)
- `rest` (which includes the endpoints for wormbase, pubmed, datacite and exports)
- [x] Upgrade to `objection` 2
Other:
- [x] Delegate linting configuration to `@coko/lint`
- [x] Add production and staging docker configs
closes #215 #284 #5 #53