Deps migration (#1988)

* chore: migrate eslint to oxlint

* chore: migrate prettier to oxfmt

* chore: migrate typescript

* chore: toThrow should have a expected value

* chore: cast test value as Day

* chore: small title fix

* chore: mocks should be hoisted

* chore: incorrect async useage

* chore: test should be inside description

* chore: test sohuld include an expeced

* chore: oxfmt

---------

Co-authored-by: alex-Arc <omnivox@LAPTOP-RC5SNBVV.localdomain>
This commit is contained in:
Carlos Valente
2026-03-08 16:22:12 +01:00
committed by GitHub
parent 9516ac21bb
commit 1849b4d39f
501 changed files with 2678 additions and 4654 deletions
+2 -2
View File
@@ -5,11 +5,11 @@
* - 2. the public directory, exposed by getAppDataPath()
*/
import { fileURLToPath } from 'url';
import { dirname, join } from 'path';
import { fileURLToPath } from 'url';
import { config } from './config.js';
import { ensureDirectory } from '../utils/fileManagement.js';
import { config } from './config.js';
import { isProduction } from './environment.js';
/**
+1 -1
View File
@@ -1,6 +1,6 @@
import { copyFileSync } from 'fs';
import { copyDirectory, ensureDirectory } from '../utils/fileManagement.js';
import { copyDirectory, ensureDirectory } from '../utils/fileManagement.js';
import { publicDir, publicFiles, srcDir, srcFiles } from './index.js';
/**
+3 -3
View File
@@ -1,9 +1,9 @@
import { copyFileSync } from 'fs';
import { ensureDirectory } from '../utils/fileManagement.js';
import { publicDir, srcFiles } from './index.js';
import { basename, join } from 'path';
import { ensureDirectory } from '../utils/fileManagement.js';
import { publicDir, srcFiles } from './index.js';
/**
* @description ensures directories exist and populates ontime logo
*/
-1
View File
@@ -1,7 +1,6 @@
import { copyFileSync, existsSync } from 'fs';
import { ensureDirectory } from '../utils/fileManagement.js';
import { publicDir, publicFiles, srcFiles } from './index.js';
/**
+1 -2
View File
@@ -1,8 +1,7 @@
import { copyFileSync, existsSync, writeFileSync } from 'fs';
import { ensureDirectory } from '../utils/fileManagement.js';
import { defaultTranslation } from '../user/translations/bundledTranslations.js';
import { ensureDirectory } from '../utils/fileManagement.js';
import { publicDir, publicFiles, srcFiles } from './index.js';
/**