modernize backend to target the same ES and TS standards as the rest of the app

This commit is contained in:
Hazelnoot 2025-10-06 00:01:10 -04:00
parent 22f49db21f
commit 9beeca5942
29 changed files with 460 additions and 232 deletions

View file

@ -8,20 +8,20 @@ import { execa } from 'execa';
(async () => {
// なぜかchokidarが動かない影響で、watchされない
/*
execa('tsc-alias', ['-w', '-p', 'tsconfig.json'], {
execa('tsc-alias', ['-w', '-p', 'tsconfig.backend.json'], {
stdout: process.stdout,
stderr: process.stderr,
});
*/
setInterval(() => {
execa('tsc-alias', ['-p', 'tsconfig.json'], {
execa('tsc-alias', ['-p', 'tsconfig.backend.json'], {
stdout: process.stdout,
stderr: process.stderr,
});
}, 3000);
execa('tsc', ['-w', '-p', 'tsconfig.json'], {
execa('tsc', ['-w', '-p', 'tsconfig.backend.json'], {
stdout: process.stdout,
stderr: process.stderr,
});