Skip to content

Commit

Permalink
remove chess.js
Browse files Browse the repository at this point in the history
  • Loading branch information
franciscoBSalgueiro committed Feb 12, 2024
1 parent 9c4ebeb commit 8660580
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 35 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
"@tiptap/react": "2.1.13",
"@tiptap/starter-kit": "2.1.13",
"@vitejs/plugin-react-swc": "^3.5.0",
"chess.js": "1.0.0-beta.6",
"chessground": "^8.3.10",
"chessops": "^0.12.8",
"clsx": "^2.0.0",
Expand Down
41 changes: 9 additions & 32 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions src/utils/tests/treeReducer.test.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import { Chess } from "chess.js";
import { parseUci } from "chessops";
import { expect, test } from "vitest";
import treeReducer, { TreeState, defaultTree } from "../treeReducer";

const chess = new Chess();
const e4 = parseUci("e2e4")!;
const d5 = parseUci("d7d5")!;
const treeE4D5: () => TreeState = () => ({
Expand Down

0 comments on commit 8660580

Please sign in to comment.