diff --git a/.babelrc b/.babelrc new file mode 100644 index 0000000..275e061 --- /dev/null +++ b/.babelrc @@ -0,0 +1,4 @@ +{ + "presets": ["@babel/preset-typescript"], + "plugins": ["@babel/plugin-proposal-explicit-resource-management", "babel-plugin-react-compiler"] +} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9a2ca63..71ec9dd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,8 +37,7 @@ jobs: node-version-file: "package.json" cache: "pnpm" - run: pnpm install --prefer-offline --frozen-lockfile - #- run: pnpm run typecheck - - run: echo "Type Checks are disabled ✅" + - run: pnpm run typecheck vitest: needs: typecheck diff --git a/.vscode/settings.json b/.vscode/settings.json index 00b93fb..fb52593 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -39,5 +39,8 @@ "Readme*": "AUTHORS, Authors, BACKERS*, Backers*, CHANGELOG*, CITATION*, CODEOWNERS, CODE_OF_CONDUCT*, CONTRIBUTING*, CONTRIBUTORS, COPYING*, CREDITS, Changelog*, Citation*, Code_Of_Conduct*, Codeowners, Contributing*, Contributors, Copying*, Credits, GOVERNANCE.MD, Governance.md, HISTORY.MD, History.md, LICENSE*, License*, MAINTAINERS, Maintainers, README-*, README_*, RELEASE_NOTES*, ROADMAP.MD, Readme-*, Readme_*, Release_Notes*, Roadmap.md, SECURITY.MD, SPONSORS*, Security.md, Sponsors*, authors, backers*, changelog*, citation*, code_of_conduct*, codeowners, contributing*, contributors, copying*, credits, governance.md, history.md, license*, maintainers, readme-*, readme_*, release_notes*, roadmap.md, security.md, sponsors*", "README*": "AUTHORS, Authors, BACKERS*, Backers*, CHANGELOG*, CITATION*, CODEOWNERS, CODE_OF_CONDUCT*, CONTRIBUTING*, CONTRIBUTORS, COPYING*, CREDITS, Changelog*, Citation*, Code_Of_Conduct*, Codeowners, Contributing*, Contributors, Copying*, Credits, GOVERNANCE.MD, Governance.md, HISTORY.MD, History.md, LICENSE*, License*, MAINTAINERS, Maintainers, README-*, README_*, RELEASE_NOTES*, ROADMAP.MD, Readme-*, Readme_*, Release_Notes*, Roadmap.md, SECURITY.MD, SPONSORS*, Security.md, Sponsors*, authors, backers*, changelog*, citation*, code_of_conduct*, codeowners, contributing*, contributors, copying*, credits, governance.md, history.md, license*, maintainers, readme-*, readme_*, release_notes*, roadmap.md, security.md, sponsors*", "Dockerfile": "*.dockerfile, .devcontainer.*, .dockerignore, captain-definition, compose.*, docker-compose.*, dockerfile*" + }, + "[typescriptreact]": { + "editor.defaultFormatter": "biomejs.biome" } } diff --git a/app/components/game/PlayerCursors.tsx b/app/components/game/PlayerCursors.tsx deleted file mode 100644 index 3aa9cfa..0000000 --- a/app/components/game/PlayerCursors.tsx +++ /dev/null @@ -1,23 +0,0 @@ -import type { Player } from "~/routes/rooms.$roomId" - -export function PlayerCursors({ players }: { players: Player[] }) { - return ( - <> - {players.map( - (player) => - player.isActive && ( -