Fix builds

This commit is contained in:
William Brawner 2023-10-15 20:59:31 -06:00
parent f4ea77e8ac
commit 123f14bd5a
4 changed files with 983 additions and 591 deletions

View file

@ -16,6 +16,8 @@ jobs:
node-version: '16.13'
- name: Install Dependencies
run: npm install
- name: Build
run: npm run build
- name: Test
run: npm run test
dependabot:

1559
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -26,15 +26,16 @@
"workbox-precaching": "^7.0.0"
},
"devDependencies": {
"@types/dom-screen-wake-lock": "^1.0.0",
"@typescript-eslint/eslint-plugin": "^5.33.0",
"@types/dom-screen-wake-lock": "^1.0.1",
"@types/node": "^20.8.6",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"c8": "^8.0.1",
"eslint": "^8.22.0",
"jsdom": "^20.0.0",
"typescript": "^4.6.3",
"vite": "^2.9.16",
"vite-plugin-pwa": "^0.11.13",
"typescript": "^5.2.2",
"vite": "^3.2.7",
"vite-plugin-pwa": "^0.16.5",
"vitest": "^0.21.1"
},
"prettier": {

View file

@ -13,7 +13,7 @@ export class TimerState {
[Phase.REST, new Audio('assets/audio/rest.mp3')],
[Phase.COOLDOWN, new Audio('assets/audio/cool.mp3')],
]);
private ticker?: NodeJS.Timer;
private ticker?: NodeJS.Timeout;
private callback: () => void;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
private wakeLock?: any;