chore: change build process + update core deps (#1057)

* Updates Typescript to latest version
* Changes server Typescript config to actually emit JS files. We were
  already running a full tsc invocation against the server for
typechecking anyway... and we use tsx for fast dev iteration w/o
typechecking, so we may as well just emit the actual JS files so that we
can take advantage of thinks like decorator metadata (upcoming inversify
PR...)
* Updates better-sqlite version to latest
* Bumps node version requirement to 22 and codifies it in package.json
  engines
This commit is contained in:
Christian Benincasa
2025-01-19 13:15:44 -05:00
committed by GitHub
parent e717cacdcc
commit 0e01e2a38d
302 changed files with 1385 additions and 1278 deletions

View File

@@ -1,11 +1,11 @@
import { getSettings } from '@/db/SettingsDB.ts';
import { getSettings } from '@/db/SettingsDB.js';
import {
NewTranscodeConfig,
TranscodeAudioOutputFormats,
TranscodeVideoOutputFormats,
} from '@/db/schema/TranscodeConfig.ts';
import { DB } from '@/db/schema/db.ts';
import { booleanToNumber } from '@/util/sqliteUtil.ts';
} from '@/db/schema/TranscodeConfig.js';
import { DB } from '@/db/schema/db.js';
import { booleanToNumber } from '@/util/sqliteUtil.js';
import { Resolution } from '@tunarr/types';
import { Kysely, sql } from 'kysely';
import { isEmpty } from 'lodash-es';