From a91c839a5115df3b9c5793ba9a42fefbeb49d62a Mon Sep 17 00:00:00 2001 From: tsa96 Date: Fri, 15 Nov 2024 06:23:52 +0000 Subject: [PATCH 1/4] feat: use native typescript compilation scell goat --- .github/workflows/format.yml | 2 +- .gitignore | 1 - .prettierignore | 1 - eslint.config.mjs | 1 - layout/components/chat.xml | 2 +- layout/components/color-display.xml | 2 +- layout/components/color-picker.xml | 2 +- layout/components/graphs/line-graph.xml | 2 +- layout/components/level-indicator.xml | 2 +- layout/components/player-card.xml | 2 +- layout/components/range-color-display.xml | 2 +- layout/components/split.xml | 2 +- layout/hud/cgaz.xml | 2 +- layout/hud/comparisons.xml | 2 +- layout/hud/conc-cook-time.xml | 2 +- layout/hud/conc-entities.xml | 2 +- layout/hud/console-notify.xml | 2 +- layout/hud/df-jump.xml | 2 +- layout/hud/ghost-entities.xml | 2 +- layout/hud/ground-boost.xml | 2 +- layout/hud/jump-stats.xml | 2 +- layout/hud/map-info.xml | 2 +- layout/hud/powerup-timer.xml | 2 +- layout/hud/replay-controls.xml | 2 +- layout/hud/spec-info.xml | 2 +- layout/hud/spectate.xml | 2 +- layout/hud/speedometer.xml | 2 +- layout/hud/static-menu.xml | 2 +- layout/hud/status.xml | 2 +- layout/hud/sticky-charge.xml | 2 +- layout/hud/sticky-count.xml | 2 +- layout/hud/strafe-sync.xml | 2 +- layout/hud/synchronizer.xml | 2 +- layout/hud/tab-menu.xml | 2 +- layout/hud/timer.xml | 2 +- layout/hud/weapon-selection.xml | 2 +- layout/modals/popups/color-picker.xml | 2 +- layout/modals/popups/dont-show-again-settings.xml | 2 +- layout/modals/popups/import-export-settings.xml | 2 +- layout/modals/popups/lobby-create.xml | 2 +- layout/modals/popups/lobby-settings.xml | 2 +- layout/modals/popups/playtest-welcome.xml | 2 +- layout/modals/popups/range-color-profile-name.xml | 2 +- layout/modals/popups/speedometer-select.xml | 2 +- layout/modals/tooltips/credit.xml | 2 +- layout/pages/console.xml | 2 +- layout/pages/controls-library.xml | 2 +- layout/pages/drawer/about.xml | 2 +- layout/pages/drawer/lobby.xml | 2 +- layout/pages/drawer/profile.xml | 2 +- layout/pages/end-of-run/end-of-run.xml | 2 +- layout/pages/end-of-run/xp.xml | 2 +- layout/pages/intro-movie.xml | 2 +- layout/pages/leaderboards/entry.xml | 2 +- layout/pages/leaderboards/leaderboards.xml | 2 +- layout/pages/learn.xml | 2 +- layout/pages/loading-screen.xml | 2 +- layout/pages/main-menu/main-menu.xml | 4 ++-- layout/pages/main-menu/news.xml | 2 +- layout/pages/map-selector/download-status.xml | 2 +- layout/pages/map-selector/map-entry.xml | 2 +- layout/pages/map-selector/map-selector.xml | 2 +- layout/pages/settings/audio.xml | 2 +- layout/pages/settings/gameplay.xml | 2 +- layout/pages/settings/input.xml | 4 ++-- layout/pages/settings/interface.xml | 4 ++-- layout/pages/settings/online.xml | 2 +- layout/pages/settings/settings.xml | 2 +- layout/pages/settings/video.xml | 2 +- layout/pages/zoning/zoning.xml | 2 +- layout/util/toast-manager.xml | 2 +- package.json | 4 ++-- panorama.cfg | 2 +- tsconfig.json | 1 - 74 files changed, 74 insertions(+), 78 deletions(-) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 18102578..259bd8dd 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -27,4 +27,4 @@ jobs: run: npm run lint:check - name: TypeScript Build - run: npm run build + run: npm run ts:check diff --git a/.gitignore b/.gitignore index b8dae879..471e80c6 100644 --- a/.gitignore +++ b/.gitignore @@ -9,7 +9,6 @@ node_modules # Specific files learn.vdf __types_momentum.js -script_dist/ # Generated by fontconfig .uuid diff --git a/.prettierignore b/.prettierignore index 2e803f6b..b9682d49 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,2 +1 @@ scripts/types/ -script_dist/ diff --git a/eslint.config.mjs b/eslint.config.mjs index 600242fb..b28f3981 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -11,7 +11,6 @@ export default [ '**/node_modules', '**/__types_momentum.js', '**/tools', - '**/script_dist', 'scripts/types' ] }, diff --git a/layout/components/chat.xml b/layout/components/chat.xml index 888111b9..272ba4c5 100644 --- a/layout/components/chat.xml +++ b/layout/components/chat.xml @@ -19,7 +19,7 @@ - + diff --git a/layout/components/color-display.xml b/layout/components/color-display.xml index bacb323d..b0f1fa0c 100644 --- a/layout/components/color-display.xml +++ b/layout/components/color-display.xml @@ -4,7 +4,7 @@ - + diff --git a/layout/components/color-picker.xml b/layout/components/color-picker.xml index f500fc87..9e264a2e 100644 --- a/layout/components/color-picker.xml +++ b/layout/components/color-picker.xml @@ -4,7 +4,7 @@ - + diff --git a/layout/components/graphs/line-graph.xml b/layout/components/graphs/line-graph.xml index 01e12f3e..ad8e38f9 100644 --- a/layout/components/graphs/line-graph.xml +++ b/layout/components/graphs/line-graph.xml @@ -4,7 +4,7 @@ - + diff --git a/layout/components/level-indicator.xml b/layout/components/level-indicator.xml index 0d9ec8f8..be728016 100644 --- a/layout/components/level-indicator.xml +++ b/layout/components/level-indicator.xml @@ -4,7 +4,7 @@ - + diff --git a/layout/components/player-card.xml b/layout/components/player-card.xml index 834b277e..9d0113a9 100644 --- a/layout/components/player-card.xml +++ b/layout/components/player-card.xml @@ -4,7 +4,7 @@ - + diff --git a/layout/components/range-color-display.xml b/layout/components/range-color-display.xml index 455fe133..11eb2ae8 100644 --- a/layout/components/range-color-display.xml +++ b/layout/components/range-color-display.xml @@ -4,7 +4,7 @@ - + diff --git a/layout/components/split.xml b/layout/components/split.xml index c0aa9e0c..9685c5cb 100644 --- a/layout/components/split.xml +++ b/layout/components/split.xml @@ -4,7 +4,7 @@ - + diff --git a/layout/hud/cgaz.xml b/layout/hud/cgaz.xml index 27acd6e4..2992742b 100644 --- a/layout/hud/cgaz.xml +++ b/layout/hud/cgaz.xml @@ -4,7 +4,7 @@ - + diff --git a/layout/hud/comparisons.xml b/layout/hud/comparisons.xml index 80b17067..aabee5f5 100644 --- a/layout/hud/comparisons.xml +++ b/layout/hud/comparisons.xml @@ -4,7 +4,7 @@ - + diff --git a/layout/hud/conc-cook-time.xml b/layout/hud/conc-cook-time.xml index a3109343..61a599b8 100644 --- a/layout/hud/conc-cook-time.xml +++ b/layout/hud/conc-cook-time.xml @@ -4,7 +4,7 @@ - + diff --git a/layout/hud/conc-entities.xml b/layout/hud/conc-entities.xml index 3d678ea9..99f77cc4 100644 --- a/layout/hud/conc-entities.xml +++ b/layout/hud/conc-entities.xml @@ -4,7 +4,7 @@ - + diff --git a/layout/hud/console-notify.xml b/layout/hud/console-notify.xml index e3e8294b..57bcf4e1 100644 --- a/layout/hud/console-notify.xml +++ b/layout/hud/console-notify.xml @@ -4,7 +4,7 @@ - + diff --git a/layout/hud/df-jump.xml b/layout/hud/df-jump.xml index bd627d1b..1ff73fd2 100644 --- a/layout/hud/df-jump.xml +++ b/layout/hud/df-jump.xml @@ -4,7 +4,7 @@ - + diff --git a/layout/hud/ghost-entities.xml b/layout/hud/ghost-entities.xml index 374ce34d..eaeaa637 100644 --- a/layout/hud/ghost-entities.xml +++ b/layout/hud/ghost-entities.xml @@ -4,7 +4,7 @@ - + diff --git a/layout/hud/ground-boost.xml b/layout/hud/ground-boost.xml index 1c6fc5b0..3179d824 100644 --- a/layout/hud/ground-boost.xml +++ b/layout/hud/ground-boost.xml @@ -4,7 +4,7 @@ - + diff --git a/layout/hud/jump-stats.xml b/layout/hud/jump-stats.xml index 0162688d..972c63fe 100644 --- a/layout/hud/jump-stats.xml +++ b/layout/hud/jump-stats.xml @@ -4,7 +4,7 @@ - + diff --git a/layout/hud/map-info.xml b/layout/hud/map-info.xml index eb354a0d..bb3c417c 100644 --- a/layout/hud/map-info.xml +++ b/layout/hud/map-info.xml @@ -4,7 +4,7 @@ - + diff --git a/layout/hud/powerup-timer.xml b/layout/hud/powerup-timer.xml index 11169daf..4980aee8 100644 --- a/layout/hud/powerup-timer.xml +++ b/layout/hud/powerup-timer.xml @@ -4,7 +4,7 @@ - + diff --git a/layout/hud/replay-controls.xml b/layout/hud/replay-controls.xml index 8175cbbf..2492830d 100644 --- a/layout/hud/replay-controls.xml +++ b/layout/hud/replay-controls.xml @@ -4,7 +4,7 @@ - + diff --git a/layout/hud/spec-info.xml b/layout/hud/spec-info.xml index 20f82788..e786e8d1 100644 --- a/layout/hud/spec-info.xml +++ b/layout/hud/spec-info.xml @@ -4,7 +4,7 @@ - + diff --git a/layout/hud/spectate.xml b/layout/hud/spectate.xml index e31b174a..5aed8fc7 100644 --- a/layout/hud/spectate.xml +++ b/layout/hud/spectate.xml @@ -4,7 +4,7 @@ - + diff --git a/layout/hud/speedometer.xml b/layout/hud/speedometer.xml index f6e36a91..925d8cc6 100644 --- a/layout/hud/speedometer.xml +++ b/layout/hud/speedometer.xml @@ -4,7 +4,7 @@ - + diff --git a/layout/hud/static-menu.xml b/layout/hud/static-menu.xml index b914778b..d02d9c23 100644 --- a/layout/hud/static-menu.xml +++ b/layout/hud/static-menu.xml @@ -4,7 +4,7 @@ - + diff --git a/layout/hud/status.xml b/layout/hud/status.xml index 4be79231..30770a0f 100644 --- a/layout/hud/status.xml +++ b/layout/hud/status.xml @@ -4,7 +4,7 @@ - + diff --git a/layout/hud/sticky-charge.xml b/layout/hud/sticky-charge.xml index 5326776a..7f367763 100644 --- a/layout/hud/sticky-charge.xml +++ b/layout/hud/sticky-charge.xml @@ -4,7 +4,7 @@ - + diff --git a/layout/hud/sticky-count.xml b/layout/hud/sticky-count.xml index 80d3687a..ca8526b9 100644 --- a/layout/hud/sticky-count.xml +++ b/layout/hud/sticky-count.xml @@ -4,7 +4,7 @@ - + diff --git a/layout/hud/strafe-sync.xml b/layout/hud/strafe-sync.xml index c84ca2e4..1b4e440a 100644 --- a/layout/hud/strafe-sync.xml +++ b/layout/hud/strafe-sync.xml @@ -4,7 +4,7 @@ - + diff --git a/layout/hud/synchronizer.xml b/layout/hud/synchronizer.xml index 68e978bf..c3a2ce42 100644 --- a/layout/hud/synchronizer.xml +++ b/layout/hud/synchronizer.xml @@ -4,7 +4,7 @@ - + diff --git a/layout/hud/tab-menu.xml b/layout/hud/tab-menu.xml index ba6e6224..d931990d 100644 --- a/layout/hud/tab-menu.xml +++ b/layout/hud/tab-menu.xml @@ -4,7 +4,7 @@ - + diff --git a/layout/hud/timer.xml b/layout/hud/timer.xml index 09fe560a..b8003a3f 100644 --- a/layout/hud/timer.xml +++ b/layout/hud/timer.xml @@ -4,7 +4,7 @@ - + diff --git a/layout/hud/weapon-selection.xml b/layout/hud/weapon-selection.xml index e5bde8e2..cc660a90 100644 --- a/layout/hud/weapon-selection.xml +++ b/layout/hud/weapon-selection.xml @@ -4,7 +4,7 @@ - + diff --git a/layout/modals/popups/color-picker.xml b/layout/modals/popups/color-picker.xml index 5abfc5c8..adb2c533 100644 --- a/layout/modals/popups/color-picker.xml +++ b/layout/modals/popups/color-picker.xml @@ -4,7 +4,7 @@ - +