Repository navigation
chore: move all server code into separate dir - #684
ojeytonwilliams wants to merge 10 commits into
Conversation
ojeytonwilliams
commented
Aug 6, 2021
- chore: move db inside server
- chore: move typeorm inside server
- chore: move server deps into its package.json
- chore: fix ts-node/ts-node-dev issues
- chore: move tsconfig into server
- fix: update docker config
82df18c to
b00207e
Compare
Unit tests inside the containers don't tell us much and don't work now that the test packages are not included in the app container
|
There's an argument for keeping the db dir in root, since it contains dev scripts and isn't technically part of the server. The rationale for moving it is that typeorm is part of the server and so it makes sense (and simplifies the config) if all the db-related things are in the same place. |
|
The plan is to make one more change - pulling all the server source into a |
|
Above my pay-grade, but double checking the docs changes. Is the following part of CONTRIBUTING.md impacted by these changes?
|
|
@allella it shouldn't, but I have broken the Docker setup by moving things around. Since I don't use it myself, I'm likely to keep breaking it. With that in mind, I'll add a parallel CI job to run the Cypress tests against a container. This is probably excessive, but it's an easy way to check it's working. |
3ae02ff to
2e663e4
Compare
|
Closing in favour of #685 |