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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 0 additions & 3 deletions .commitlintrc

This file was deleted.

3 changes: 0 additions & 3 deletions .czrc

This file was deleted.

7 changes: 5 additions & 2 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ node_modules
*.log
.DS_Store
.cache
public/build
build
.git
.env
.next
.vinxi
.output
dist
3 changes: 0 additions & 3 deletions .eslintignore

This file was deleted.

3 changes: 0 additions & 3 deletions .eslintrc

This file was deleted.

2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
github: [chenyueban]
github: [xinyao27]
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Deploy
on:
push:
tags:
- '*'
- "*"

jobs:
docker:
Expand Down
17 changes: 7 additions & 10 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,22 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v2.2.1
uses: pnpm/action-setup@v4

- name: Set node
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 20.x
cache: pnpm

- name: Setup
run: npm i -g @antfu/ni

- name: Install
run: nci
run: pnpm install

- name: Build
run: nr build
run: pnpm run build

- name: Lint
run: nr lint
run: pnpm run lint
17 changes: 7 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,30 +15,27 @@ jobs:

strategy:
matrix:
node: [16.x]
node: [20.x]
os: [ubuntu-latest, macos-latest]
fail-fast: false

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v2.2.1
uses: pnpm/action-setup@v4

- name: Set node version to ${{ matrix.node }}
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: pnpm

- name: Setup
run: npm i -g @antfu/ni

- name: Install
run: nci
run: pnpm install

- name: Build
run: nr build
run: pnpm run build

- name: Test
run: nr test --if-present
run: pnpm test --if-present
12 changes: 7 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tsconfig.tsbuildinfo
secrets

# Logs
logs
logs/*
*.log
npm-debug.log*
yarn-debug.log*
Expand Down Expand Up @@ -44,11 +44,13 @@ ohbug.config.development.yml

# docker
postgres-data
logs

# vercel
.vercel

# next.js
.next
out
# TanStack Start / Vinxi
.vinxi
.output

# Drizzle
packages/db/migrations/*.sql
4 changes: 0 additions & 4 deletions .husky/pre-commit

This file was deleted.

6 changes: 0 additions & 6 deletions .lintstagedrc

This file was deleted.

1 change: 0 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
enable-pre-post-scripts=true
2 changes: 1 addition & 1 deletion .release-it.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
}
},
"hooks": {
"before:init": ["npm run lint", "npm test"]
"before:init": ["pnpm run lint", "pnpm test"]
}
}
1 change: 1 addition & 0 deletions .vite-hooks/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
vp staged
3 changes: 3 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"recommendations": ["oxc.oxc-vscode"]
}
14 changes: 10 additions & 4 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
{
"cSpell.words": [
"ohbug"
],
"typescript.tsdk": "node_modules/typescript/lib"
"cSpell.words": ["ohbug"],
"typescript.tsdk": "node_modules/typescript/lib",
"editor.defaultFormatter": "oxc.oxc-vscode",
"oxc.fmt.configPath": "./vite.config.ts",
"editor.formatOnSave": true,
"editor.formatOnSaveMode": "file",
"editor.codeActionsOnSave": {
"source.fixAll.oxc": "explicit"
},
"i18n-ally.localesPaths": ["packages/web/messages"]
}
Loading
Loading