Rename files to kebab-case
This commit is contained in:
parent
10c0f38df0
commit
d60357904b
|
@ -1,4 +1,4 @@
|
||||||
import { GameInstance } from './GameInstance';
|
import { GameInstance } from './game-instance';
|
||||||
import { expect, test, describe } from 'bun:test';
|
import { expect, test, describe } from 'bun:test';
|
||||||
|
|
||||||
describe('GameInstance', () => {
|
describe('GameInstance', () => {
|
|
@ -1,8 +1,8 @@
|
||||||
import { Elysia, t } from 'elysia';
|
import { Elysia, t } from 'elysia';
|
||||||
import { staticPlugin } from '@elysiajs/static';
|
import { staticPlugin } from '@elysiajs/static';
|
||||||
import { cookie } from '@elysiajs/cookie';
|
import { cookie } from '@elysiajs/cookie';
|
||||||
import { WebSocketHandler } from './game/WebSocketHandler';
|
import { WebSocketHandler } from './web-socket-handler';
|
||||||
import { GameInstance } from './game/GameInstance';
|
import { GameInstance } from './game/game-instance';
|
||||||
|
|
||||||
const wsHandler = new WebSocketHandler();
|
const wsHandler = new WebSocketHandler();
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { GameInstance } from '../game/GameInstance';
|
import { GameInstance } from '../game/game-instance';
|
||||||
|
|
||||||
export type GameStateType = Pick<
|
export type GameStateType = Pick<
|
||||||
GameInstance,
|
GameInstance,
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
import { ElysiaWS } from 'elysia/dist/ws';
|
import { ElysiaWS } from 'elysia/dist/ws';
|
||||||
import { GameInstance } from './GameInstance';
|
import { GameInstance } from './game/game-instance';
|
||||||
import {
|
import {
|
||||||
renderGameBoardHtml,
|
renderGameBoardHtml,
|
||||||
renderPlayerInfoHtml,
|
renderPlayerInfoHtml,
|
||||||
} from '../view/board-renderer';
|
} from './view/board-renderer';
|
||||||
|
|
||||||
interface MakeMoveMessage {
|
interface MakeMoveMessage {
|
||||||
gameId: string;
|
gameId: string;
|
Loading…
Reference in New Issue