Fix builds
This commit is contained in:
parent
f4ea77e8ac
commit
123f14bd5a
4 changed files with 983 additions and 591 deletions
2
.github/workflows/pull-request.yml
vendored
2
.github/workflows/pull-request.yml
vendored
|
@ -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:
|
||||
|
|
1549
package-lock.json
generated
1549
package-lock.json
generated
File diff suppressed because it is too large
Load diff
11
package.json
11
package.json
|
@ -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": {
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue