From e4b042ebdd1b86a4dfad268384499ef1afe0ba86 Mon Sep 17 00:00:00 2001 From: danko Date: Wed, 25 Dec 2024 15:39:08 +0100 Subject: [PATCH] fix --- package-lock.json | 10 +++++----- package.json | 10 +++++----- src/juicer-board.ts | 3 ++- src/model.test.ts | 1 - 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6177f63..ed6cf49 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,17 +15,17 @@ "devDependencies": { "@semantic-release/git": "^10.0.1", "@types/node": "^22.10.2", - "@typescript-eslint/eslint-plugin": "^8.18.0", - "@typescript-eslint/parser": "^8.18.0", - "eslint": "^9.16.0", + "@typescript-eslint/eslint-plugin": "^8.18.2", + "@typescript-eslint/parser": "^8.18.2", + "eslint": "^9.17.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-lit": "^1.15.0", "prettier": "^3.4.2", "semantic-release": "^24.2.0", "tsx": "^4.19.2", "typescript": "^5.7.2", - "vite": "^6.0.3", - "vite-plugin-dts": "^4.3.0" + "vite": "^6.0.5", + "vite-plugin-dts": "^4.4.0" } }, "node_modules/@babel/code-frame": { diff --git a/package.json b/package.json index f70c9bb..35d3108 100644 --- a/package.json +++ b/package.json @@ -39,17 +39,17 @@ "devDependencies": { "@semantic-release/git": "^10.0.1", "@types/node": "^22.10.2", - "@typescript-eslint/eslint-plugin": "^8.18.0", - "@typescript-eslint/parser": "^8.18.0", - "eslint": "^9.16.0", + "@typescript-eslint/eslint-plugin": "^8.18.2", + "@typescript-eslint/parser": "^8.18.2", + "eslint": "^9.17.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-lit": "^1.15.0", "prettier": "^3.4.2", "semantic-release": "^24.2.0", "tsx": "^4.19.2", "typescript": "^5.7.2", - "vite": "^6.0.3", - "vite-plugin-dts": "^4.3.0" + "vite": "^6.0.5", + "vite-plugin-dts": "^4.4.0" }, "release": { "branches": [ diff --git a/src/juicer-board.ts b/src/juicer-board.ts index c3274ff..4467021 100644 --- a/src/juicer-board.ts +++ b/src/juicer-board.ts @@ -64,8 +64,9 @@ export class JuicerBoard extends LitElement { private _animationInDuration?: number; private _animationOutDuration?: number; private _animationMoveDuration?: number; - private vt: ViewTransition | undefined; private lastMoveControlType: 'api' | 'input' | undefined; + // @ts-ignore + private vt: ViewTransition | undefined; @property() fen: string = FEN_EMPTY; @property() orientation: Color = WHITE; diff --git a/src/model.test.ts b/src/model.test.ts index 1d63110..a322c4f 100644 --- a/src/model.test.ts +++ b/src/model.test.ts @@ -20,7 +20,6 @@ import { indexFromCoord, NumPair, Position, - positionToFen, RankFile, rankFileFromCoord, rankFileFromRowCol,