-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Re-organise the project structure #261
Comments
Cool. Some thoughts. Let's play the I use VSCode for JS dev and we've currently got the project in a way that it cannot auto-detect the settings. If we refactor the layout then I'd suggest we check it works without modification in VSCode. I can test this. We have an artisanally created linting settings as the ones at the time were unappealing. I'd recommend we adopt the 'standard' community preferences - which crucially does away with pointless semicolons. So we have something like this in
|
I think I've organised things as well as I can without doing anything crazy. I updated and renamed the I moved the cypress stuff under the
Hopefully I haven't done anything that should have broken this, but if I have let me know (or fix it).
Not sure what you mean by this as we already use the recommended settings with some minor tweaks. Either way I've moved the configuration to Are you happy to QA the changes and close @joejag? |
I've created issue #263 for further improving |
Just had a quick check, it looks like we've migrated from I'm thinking that the |
We use both, |
I agree it's probably more common to use the Which is currently I'm quite happy with them all being in |
I'm going to close this for now, if anyone has an problems with the restructure we can re-open or add new issues. |
The project currently has a lot of top level folders and files, and not all of them are obvious unless you know the specific tool. I think it would be helpful to re-organise the project structure, especially for people new to the code base.
Some ideas
If you use
create-react-app
and then eject you end up with aconfig
folder that contains the webpack config. We could also probably move a lot of the babel and linting config to the same folder.Extract the
ci_stub_server
into its own project and publish it to npm. We could start by giving it a separate package.json.Move the
ci
scripts into the .circleci folder.Create a
journey_test
and move thecypress
stuff under that, giving it a seperate package.json. This would have the added benefit of speeding up the CI pipeline as we wouldn't be installing all dependencies twice in different stages.The text was updated successfully, but these errors were encountered: