The website already deployed to https://countdown.kamontat.net via Github Pages. This website accepted a couple of query in url as following..
end
- Finish date (default = end of current year) formatformat
- Custom format ofend
(default = null) formatinterval
- Refresh rate (default = 100 ms) formatoutput
- formatting output panel formatdebug
- Open debug log (default = false)
On date format we have special case where you can specify date with string listed below
now
- current date and timeendYear
- end of current yearstartYear
- beginning of current yearendMonth
- end of current monthstartMonth
- beginning of current month
Accepted interval will be formatted as <number><unit>
(without any space)
- Accepted number is only digit without any dot (.) or comma (,)
- Accepted unit is
ms
(millisecond),s
(second),m
(minute), andh
(hour)
Output format is listed on Output.ts.
- https://countdown.kamontat.net?end=endMonth&interval=10ms - count to end of current month and refresh every 10 millisecond
- https://countdown.kamontat.net?debug=true&end=2020-02-02&interval=1h - count to Feb 02, 2020 and refresh every 1 hour
Automatic steps
- update package.json version
- run
bash deploy.sh
Manually steps
- update package.json version
- run
gitgo changelog --tag <v0.0.0>
- run
git commit -m "chore: release v0.0.0"
- run
git tag v0.0.0
- run
git push && git push --tags