17 Commits

Author SHA1 Message Date
b2749765a3 chore: fix nodejs deprecation warning in dev script (#2947)
Some checks failed
Build Docker image / docker (push) Has been cancelled
Build / build (push) Has been cancelled
Reviewed-on: #2947
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-10-29 06:24:32 -07:00
654652b889 chore: use bun instead of npm when running dev script under bun (#2946)
All checks were successful
Build / build (push) Successful in 1m5s
Build Docker image / docker (push) Successful in 2m37s
Reviewed-on: #2946
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-10-28 00:51:02 -07:00
8d57eda9d2 chore: make use of raw running when dev script is used with newer node (#2748)
All checks were successful
Build Docker image / docker-arm64 (push) Successful in 1m5s
Build Docker image / docker-amd64 (push) Successful in 42s
Build / build (push) Successful in 1m57s
Reviewed-on: #2748
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-09-03 22:46:03 -07:00
6b66cb495b chore: handle 'npm run raw' being used on node versions below 22.7.0 (#2747)
Some checks failed
Build Docker image / docker-amd64 (push) Waiting to run
Build Docker image / docker-arm64 (push) Waiting to run
Build / build (push) Has been cancelled
Reviewed-on: #2747
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-09-03 22:45:50 -07:00
9add016d7b feat: finishInvasionsInOneMission (#2715)
Some checks failed
Build Docker image / docker-amd64 (push) Has been cancelled
Build / build (push) Has been cancelled
Build Docker image / docker-arm64 (push) Has been cancelled
#2646

Co-authored-by: AlexisinGit <136088944+AlexisinGit@users.noreply.github.com>
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Reviewed-on: #2715
Reviewed-by: Sainan <63328889+sainan@users.noreply.github.com>
Co-authored-by: AlexisinGit <alexisingit@noreply.localhost>
Co-committed-by: AlexisinGit <alexisingit@noreply.localhost>
2025-08-29 17:36:11 -07:00
6771a129f5 fixup: remove fix-imports
All checks were successful
Build / build (push) Successful in 1m9s
Build Docker image / docker-amd64 (push) Successful in 1m5s
Build Docker image / docker-arm64 (push) Successful in 1m13s
2025-08-27 22:41:22 +02:00
1ead04ddc1 chore: switch to esm, support raw running via node (#2696)
Some checks failed
Build Docker image / docker-amd64 (push) Waiting to run
Build / build (push) Has been cancelled
Build Docker image / docker-arm64 (push) Has been cancelled
Using ESM so the `import` syntax we use is actually valid without compilation. Now, Node can run the TypeScript code directly, albeit without typechecking and requiring use of an experimental feature.

Reviewed-on: #2696
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-08-26 04:29:06 -07:00
c97c22b434 chore: use relative imports with .ts (#2694)
All checks were successful
Build Docker image / docker-arm64 (push) Successful in 1m15s
Build / build (push) Successful in 1m8s
Build Docker image / docker-amd64 (push) Successful in 1m1s
Reviewed-on: #2694
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-08-25 13:37:14 -07:00
c7c7fd4ea0 chore: enforce consistent imports (#2408)
All checks were successful
Build Docker image / docker-amd64 (push) Successful in 47s
Build / build (push) Successful in 51s
Build Docker image / docker-arm64 (push) Successful in 47s
Reviewed-on: #2408
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-07-04 17:40:06 -07:00
e26d2635fb chore(webui): fix inconsistent % chance strings (#2385)
Some checks failed
Build / build (push) Successful in 1m0s
Build Docker image / docker-amd64 (push) Successful in 1m8s
Build Docker image / docker-arm64 (push) Has been cancelled
Closes #2381

Reviewed-on: #2385
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-07-02 14:15:50 -07:00
cee622d5e9 chore: add bun support (#2254)
All checks were successful
Build / build (push) Successful in 1m4s
Build Docker image / docker-arm64 (push) Successful in 1m25s
Build Docker image / docker-amd64 (push) Successful in 1m55s
It definitely has some benefits:
- It starts up insanely quickly compared to Node.
- It can run typescript directly, allow the build step to be reduced to verify/noEmit.

It does not implement NodeJS APIs perfectly, so I've had to add some special handling for Bun, but I think that's okay.

Reviewed-on: #2254
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-06-22 19:58:48 -07:00
6cdd103c3d chore(dev): improve bulk change handling (#2234)
All checks were successful
Build / build (push) Successful in 49s
Build Docker image / docker-amd64 (push) Successful in 53s
Build Docker image / docker-arm64 (push) Successful in 1m0s
Fixed abandoned build processes sometimes still triggering a start (causing double-starts) made it more robust in regards to webui changes being intermixed: making the fetch a fire-and-forget to avoid errors, and waiting for the websocket connection to be re-established to avoid the browser attempting to reload when the server may not be up for a few seconds.

Reviewed-on: #2234
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-06-21 11:33:59 -07:00
f84cc54c97 chore: use build & start process for development as well (#2222)
All checks were successful
Build / build (push) Successful in 48s
Build Docker image / docker-amd64 (push) Successful in 54s
Build Docker image / docker-arm64 (push) Successful in 58s
Reviewed-on: #2222
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-06-20 18:30:52 -07:00
2187d9cd7e chore(webui): note performance impact of archon shards
All checks were successful
Build Docker image / docker (push) Successful in 55s
Build / build (push) Successful in 1m20s
2025-04-12 23:56:33 +02:00
0a2b2f5218 chore: update URL to avoid needing a redirect (#1084)
Some checks failed
Build Docker image / docker (push) Waiting to run
Build / build (20) (push) Successful in 55s
Build / build (22) (push) Has been cancelled
Build / build (18) (push) Has been cancelled
Because it obviously doesn't bring you anywhere currently and it could be used by a third party unfortunately.

Reviewed-on: #1084
Co-authored-by: Animan8000 <animan8000@noreply.localhost>
Co-committed-by: Animan8000 <animan8000@noreply.localhost>
2025-03-05 07:30:19 -08:00
7ee8252d0e chore: prettier (#954)
Some checks failed
Build Docker image / docker (push) Waiting to run
Build / build (18) (push) Has been cancelled
Build / build (20) (push) Has been cancelled
Build / build (22) (push) Has been cancelled
some of the latest changes haven't been quite congruent with the way prettier would like things to be. this fixes those details.

Reviewed-on: #954
2025-02-12 18:15:07 -08:00
78032f191c feat(webui): translations (#909)
All checks were successful
Build / build (18) (push) Successful in 38s
Build / build (20) (push) Successful in 37s
Build Docker image / docker (push) Successful in 39s
Build / build (22) (push) Successful in 1m17s
Closes #900
Supersedes #903

Co-authored-by: AMelonInsideLemon <166175391+AMelonInsideLemon@users.noreply.github.com>

Reviewed-on: #909
2025-02-06 07:00:21 -08:00