The OnlineSoccer Extension extension adds useful details and forecasts to the pages of OnlineSoccer.
- Forecast of the team players values (loans, bans, skills based on trainings settings, ...)
- Finance forecast with account balance in the team season view
- Youth forecast based on the current skills
Basic formatter configuration and settings for Karma Test Explorer for Angular, Jasmine, and Mocha from Lucas Ononiwu are provided in .vscode/settings.json.
In order to apply formatting rules on every change the following additional user settings are recommended:
"files.autoSave": "onFocusChange", "editor.insertSpaces": false, "editor.formatOnSave": true,
The coverage reports are created with npm test in the folder .coverage. Based on the summary.json the coverage badge is updated in the README with npm run badge.
The release can be created by running scripts/release.sh x.x.x:
- updates the version in the relevant files
- pushes these updates in a separate commit
- creates the extension archives for Firefox and Chrome in the folder
release - creates a new release/tag in github (requires env variable
GITHUB_TOKEN)
The new version can be published by running scripts/publish.sh:
- uploads the new version to Mozilla Addons (requires env variable
AMO_API_KEYandAMO_API_SECRET) - uploads the new version to Google Web Store (requires env variable
GWS_API_KEY,GWS_API_SECRETandGWS_API_REFRESHTOKEN)
Remark: The uploaded publication is listed as draft, still needs to be approved.