Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 0 additions & 23 deletions .eslintrc.json

This file was deleted.

2 changes: 0 additions & 2 deletions .github/workflows/deploy-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ jobs:

- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9

- name: Setup Node.js
uses: actions/setup-node@v4
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ jobs:

- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9

- name: Setup Node.js
uses: actions/setup-node@v4
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Verify Pull Request

on:
pull_request: {}
workflow_dispatch: {}
workflow_dispatch:

env:
HUSKY: 0
Expand All @@ -19,6 +19,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm exec commitlint --from ${{ github.event.pull_request.base.sha }} --verbose
lint:
Expand All @@ -30,20 +31,21 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm --filter @zolver/core build
- run: pnpm --filter @zolvery/server lint
prettier:
name: Code style
- run: pnpm lint
typecheck:
name: Type check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm prettier --check .
- run: pnpm typecheck
tests:
name: Tests
runs-on: ubuntu-latest
Expand All @@ -53,9 +55,9 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm --filter @zolver/core test
- run: pnpm --filter @zolvery/server test
- run: pnpm vitest run --passWithNoTests
build:
name: Build
runs-on: ubuntu-latest
Expand All @@ -65,8 +67,6 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- run: pnpm install --frozen-lockfile
- name: Build core
run: pnpm --filter @zolver/core build
- name: Build server
run: pnpm --filter @zolvery/server build
- run: pnpm turbo run build --filter=@aprovan/patchwork-image-boardgameio
13 changes: 1 addition & 12 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,12 +1 @@
{
"plugins": [],
"singleQuote": true,
"printWidth": 80,
"tabWidth": 2,
"trailingComma": "all",
"proseWrap": "always",
"importOrder": ["^components/(.*)$", "^[./]"],
"importOrderSeparation": true,
"importOrderSortSpecifiers": true,
"singleAttributePerLine": true
}
"@aprovan/prettier-config"
42 changes: 10 additions & 32 deletions apps/client/index.html
Original file line number Diff line number Diff line change
@@ -1,36 +1,18 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<title>Zolvery</title>
<meta charset="utf-8" />
<meta
name="theme-color"
content="#3059d4"
/>
<meta
name="application-name"
content="Zolvery"
/>
<meta name="theme-color" content="#3059d4" />
<meta name="application-name" content="Zolvery" />
<meta
name="viewport"
content="viewport-fit=cover, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=5.0"
/>
<meta
name="description"
content="Games!"
/>
<link
rel="icon"
href="favicon.ico"
/>
<link
rel="apple-touch-icon"
href="assets/icons/logo-192x192.png"
/>
<link
rel="manifest"
href="manifest.json"
/>
<meta name="description" content="Games!" />
<link rel="icon" href="favicon.ico" />
<link rel="apple-touch-icon" href="assets/icons/logo-192x192.png" />
<link rel="manifest" href="manifest.json" />
</head>

<body>
Expand All @@ -39,15 +21,11 @@
<script>
window.global = window;
</script>
<script
type="module"
src="./main.tsx"
></script>
<script type="module" src="./main.tsx"></script>

<script>
if ('serviceWorker' in navigator) {
window.onload = () =>
navigator.serviceWorker.register('sw.js', { scope: './' });
if ("serviceWorker" in navigator) {
window.onload = () => navigator.serviceWorker.register("sw.js", { scope: "./" });
}
</script>
</body>
Expand Down
Loading
Loading