Typescript status
This issue tracks the adoption of Typescript into Supibot
Supibot itself:
- [x] Initial support with build infrastructure etc - https://github.com/Supinic/supibot/pull/95
- [x] Definitions for globals which are used everywhere such as
sb- Seems to be doable via
declare varin aglobals.d.tsfile
- Seems to be doable via
- [ ] First bot command in TS
-
- [ ] Hot reloading
- [ ] Bot internals such as platform handling
Helper repos:
- [x] supi-core:
- Initial support: https://github.com/Supinic/supi-core/pull/50
- [x] supi-db-init:
- Full migration - DONE: https://github.com/Supinic/supi-db-init/pull/3
- [ ] supinic.com: TODO (no idea what's going on there and how templating interacts with TS)
- [ ] track-link-parser:
- WIP: https://github.com/Supinic/track-link-parser/pull/4
- [x] duration-parser:
- DONE: https://github.com/Supinic/duration-parser/pull/1
- [ ] async-markov: TODO
- WIP: https://github.com/Supinic/async-markov/pull/1
- [x] cytube-connector: DONE
- https://github.com/Supinic/cytube-connector/commit/132a30d833127f432b733966de074ea8e8c28e18
- [X] supibot-desktop-listener:
- Full migration - DONE: https://github.com/Supinic/supinic-desktop-listener/pull/5
Merged https://github.com/Supinic/supi-db-init/pull/3 👍
Merged Supinic/supi-core#50 👍
Merged https://github.com/Supinic/duration-parser/pull/1 :+1:
Merged Supinic/supibot#95 👍
Pushed cytube-connector :+1:
Merged https://github.com/Supinic/supi-core/pull/55
Major changes in #113:
-
track-link-parseris now baseline in Supibot asutils/link-parser.ts - bot internals are in TS now (platforms, classes, utils, some others; not singletons for now)
- several but not all commands are in TS now
- reload command adjusted to run
git pullthenyarn buildthen hot-reload with dynamic imports and a random hash - best we can do, really
async-markov Typescript merged in supinic/async-markov#1
The supinic.com project is not directly related to Supibot, so it doesn't have to be mentioned here.
So that's it then. Now to slowly rewrite commands and stuff as they come along.