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
52 changes: 0 additions & 52 deletions .github/workflows/deploy.yml

This file was deleted.

26 changes: 26 additions & 0 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: PR

on:
pull_request:
branches: [master, main]
push:
branches: [master, main]

jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- run: bun install --frozen-lockfile
- run: bun run build

lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- run: bun install --frozen-lockfile
- run: bun run lint
5 changes: 1 addition & 4 deletions .github/workflows/refresh-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ jobs:
steps:
- uses: actions/checkout@v6

- name: Setup Node
uses: actions/setup-node@v6
with:
node-version: 22
- uses: oven-sh/setup-bun@v2

- name: Fetch GitHub data
env:
Expand Down
15 changes: 13 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
bun-debug.log*

node_modules
dist
dist-ssr
.next
out
*.local

# Generated data is now committed (refreshed via workflow)
Expand All @@ -24,3 +25,13 @@ dist-ssr
*.njsproj
*.sln
*.sw?

# Vercel
.vercel

# Next.js / TypeScript
*.tsbuildinfo
next-env.d.ts

# We use bun
package-lock.json
967 changes: 883 additions & 84 deletions bun.lock

Large diffs are not rendered by default.

29 changes: 0 additions & 29 deletions eslint.config.js

This file was deleted.

25 changes: 25 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import nextCoreWebVitals from 'eslint-config-next/core-web-vitals';
import { defineConfig, globalIgnores } from 'eslint/config';

export default defineConfig([
...nextCoreWebVitals,
{
rules: {
'no-unused-vars': ['warn', { argsIgnorePattern: '^_', varsIgnorePattern: '^_' }],
},
},
{
files: ['src/app/layout.tsx'],
rules: {
'@next/next/no-page-custom-font': 'off',
},
},
globalIgnores([
'.next/**',
'out/**',
'build/**',
'coverage/**',
'next-env.d.ts',
'public/**',
]),
]);
14 changes: 0 additions & 14 deletions index.html

This file was deleted.

9 changes: 9 additions & 0 deletions next.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import type { NextConfig } from 'next';

const nextConfig: NextConfig = {
turbopack: {
root: process.cwd(),
},
};

export default nextConfig;
Loading
Loading