Make little branches for each feature and quickly merge them into master often.
If Master ends up ahead of your branch follow this guide to rebase.
npm i
npm run develop
Make your changes and see them at http://localhost:8000/
This is a good practice for a couple of reason. One better diffs between commits, also so style is consistent.
I followed this guide when I set it up if you're interested.
If you're using VSCode add this to your
settings.json
and it will use these settings to format things for you automatically.
settings.json
"eslint.validate": [
{
"language": "javascript",
"autoFix": true
},
{
"language": "javascriptreact",
"autoFix": true
},
{
"language": "typescript",
"autoFix": true
},
{
"language": "typescriptreact",
"autoFix": true
}
],
Things that need to be done
Update the Google Calendar and it will update on the site.
Change the iframe URLs to have the new season
https://usarugbystats.com/.../2019-2020/schedule -> https://usarugbystats.com/.../2020-2021/schedule