Commit cbb0523
authored
Refactor and fixes (#55)
* build: replace luarocks with lux
* chore(lsp): replace luals with emmylua_ls
* chore(lint): update luacats types and selene stdlibs
* feat(vscripts)!: major refactoring:
Yes, this is one of those refactor-everything, impossible-to-review, just-trust-me-bro commits.
Luckily the test suite holds (mostly) everything together.
* add `compat53`
* remove `penlight` and `moses`
- add `middleclass` for classes
- add `inspect` for value formatting
- manually implement table/function/string utils
* reorganization
- rename top-level module `invokation` to `invk`
- extract and reorganize a lot of code
- remove a lot of unused code
- rewrite/refactor tests support code
* types
- replace ldoc tags with emmylua_ls tags (LuaCATS)
* code style
- use snake_case
* probably a hell of a lot of other things
* chore: update ignore files
* chore: update luacov config
* chore: remove luacov
* chore: remove vscode config
* build: update tasks to use lux
* chore: update biome config
* chore: update javascript dependencies
* fix(vscripts): fix timers and event handling
* chore(panorama): update dependencies
* fix(panorama): fix casing for networked data
* chore: update selene config
* chore(panorama): fix lint warnings
* docs: update DEVELOPMENT
* feat(vscripts): improve hero reset
* test(vscripts): fix tests
* chore(lua): update `middleclass` types
* chore(vscripts): refactor game events
* chore(vscripts): refactor game rules
* chore(vscripts): refactor game mode setup
* fix(vscripts): fix item key values
* chore(vscripts): refactor custom events setup
* refactor(vscripts): change table mapping types
* fix(panorama): fix item picker
* feat(vscripts): improve hero reset
* chore: update bun lock1 parent 66e7f29 commit cbb0523
328 files changed
Lines changed: 21043 additions & 42523 deletions
File tree
- .luacats
- dota2
- pl
- .selene
- .vscode
- game/scripts/vscripts
- compat53
- invk
- combo
- const
- dota2
- kv
- game_mode
- commands
- lang
- invokation
- combos
- const
- dota2
- kv
- game_mode
- commands
- events
- lang
- pl
- spec
- combos
- combo
- dota2
- kv
- lang
- support
- combo
- dota2
- factories
- factory
- fixtures
- scripts/npc
- heroes
- src/content/panorama/scripts
- custom_game
- ui
- lib
- combo
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
21 | | - | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| 6 | + | |
5 | 7 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
| 17 | + | |
15 | 18 | | |
16 | 19 | | |
17 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
3 | 2 | | |
| 3 | + | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
0 commit comments