Skip to content
Closed
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
17 changes: 10 additions & 7 deletions .github/workflows/pr-checks.yml → .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,30 @@
name: PR Checks
name: Build

on:
pull_request:
branches:
- main
push:
branches:
- main

jobs:
build:
name: Build
name: Build Project
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v5
with:
node-version: '20'
cache: 'yarn'
node-version: "22"
cache: "yarn"

- name: Install dependencies
run: yarn install --frozen-lockfile

- name: Build
- name: Build project
run: yarn build
68 changes: 68 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
name: Lint

on:
pull_request:
push:
branches:
- main

jobs:
lint:
name: ESLint
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v5

- name: Setup Node.js
uses: actions/setup-node@v5
with:
node-version: "22"
cache: "yarn"

- name: Install dependencies
run: yarn install --frozen-lockfile

- name: Run ESLint
run: yarn lint

format:
name: Prettier
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v5

- name: Setup Node.js
uses: actions/setup-node@v5
with:
node-version: "22"
cache: "yarn"

- name: Install dependencies
run: yarn install --frozen-lockfile

- name: Check Prettier formatting
run: yarn format:check

typecheck:
name: TypeScript
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v5

- name: Setup Node.js
uses: actions/setup-node@v5
with:
node-version: "22"
cache: "yarn"

- name: Install dependencies
run: yarn install --frozen-lockfile

- name: Run TypeScript type check
run: yarn typecheck
237 changes: 235 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,236 @@
node_modules
# Dependencies
node_modules/
.pnp
.pnp.js
.yarn/install-state.gz

# Lock files (keeping yarn.lock since you use yarn)
package-lock.json
docs/dist/
pnpm-lock.yaml

# Build outputs
dist/
build/
out/
.vocs/
docs/dist/
*.tsbuildinfo
.next/
.nuxt/

# Testing
coverage/
*.lcov
.nyc_output/

# Debug logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
.npm/

# Environment variables
.env
.env.local
.env.development
.env.development.local
.env.test
.env.test.local
.env.production
.env.production.local

# IDE - VSCode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
!.vscode/*.code-snippets
.history/
*.vsix

# IDE - IntelliJ/WebStorm
.idea/
*.iml
*.iws
*.ipr
out/
.idea_modules/

# IDE - Sublime Text
*.sublime-workspace
*.sublime-project

# OS - macOS
.DS_Store
.AppleDouble
.LSOverride
Icon
._*
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

# OS - Windows
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db
*.stackdump
[Dd]esktop.ini
$RECYCLE.BIN/
*.cab
*.msi
*.msix
*.msm
*.msp
*.lnk

# OS - Linux
*~
.fuse_hidden*
.directory
.Trash-*
.nfs*

# Temporary files
*.swp
*.swo
*.swn
*.bak
*.tmp
*.temp
*.log
.cache/
tmp/
temp/

# Claude AI
.claude/

# TypeScript
*.tsbuildinfo
.tsc-cache/

# ESLint
.eslintcache

# Prettier
.prettierignore_backup

# Parcel
.parcel-cache/

# Vite
vite.config.js.timestamp-*
vite.config.ts.timestamp-*

# Gatsby
.cache/
public/

# Docusaurus
.docusaurus/

# Serverless
.serverless/

# FuseBox
.fusebox/

# DynamoDB Local
.dynamodb/

# TernJS
.tern-port

# Stores VSCode versions used for testing VSCode extensions
.vscode-test/

# Yarn
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
.pnp.*

# Turborepo
.turbo/

# Vercel
.vercel/

# Netlify
.netlify/

# Misc
*.pid
*.seed
*.pid.lock
.grunt/
bower_components/
jspm_packages/
web_modules/
*.tgz
.yarn-integrity
.cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional npm cache directory
.npm/

# Optional eslint cache
.eslintcache

# Optional stylelint cache
.stylelintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Storybook
storybook-static/

# Next.js
.next/
out/

# Nuxt.js
.nuxt/
dist/

# Vuepress
.vuepress/dist/

# Serverless directories
.serverless/

# Static site generators
_site/
.jekyll-cache/
.jekyll-metadata
1 change: 1 addition & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npx --no -- commitlint --edit $1
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npx lint-staged
5 changes: 5 additions & 0 deletions .lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"*.{js,jsx,ts,tsx,mjs,cjs}": ["eslint --fix", "prettier --write"],
"*.{json,md,mdx,yml,yaml}": ["prettier --write"],
"*.{css,scss,sass}": ["prettier --write"]
}
Loading
Loading