Skip to content

Commit d0205dd

Browse files
hdkwant@gmail.comhdkwant@gmail.com
authored andcommitted
initial commit
0 parents  commit d0205dd

214 files changed

Lines changed: 89488 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/deploy.yml

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
workflow_dispatch: # Manual trigger button
8+
9+
jobs:
10+
deploy:
11+
runs-on: ubuntu-latest
12+
permissions:
13+
contents: write
14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.ref }}
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v4
19+
20+
- name: Setup Node
21+
uses: actions/setup-node@v4
22+
with:
23+
node-version: '22'
24+
25+
- name: Cache Node modules
26+
uses: actions/cache@v4
27+
with:
28+
path: ~/.npm
29+
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
30+
restore-keys: |
31+
${{ runner.os }}-node-
32+
33+
- name: Install dependencies
34+
run: npm ci
35+
36+
- name: Build shared package
37+
run: npm run build -w packages/shared
38+
39+
- name: Build landing (root)
40+
run: |
41+
cd apps/landing
42+
npm run build
43+
44+
- name: Build web (subdirectory)
45+
run: |
46+
cd apps/web
47+
npm run build
48+
49+
- name: Combine builds
50+
run: |
51+
mkdir -p deploy/app
52+
cp -r apps/landing/dist/* deploy/
53+
cp -r apps/web/dist/* deploy/app/
54+
55+
- name: Deploy to GitHub Pages
56+
uses: peaceiris/actions-gh-pages@v4
57+
if: github.ref == 'refs/heads/main' || github.event_name == 'workflow_dispatch'
58+
with:
59+
github_token: ${{ secrets.GITHUB_TOKEN }}
60+
publish_dir: ./deploy
61+
publish_branch: gh-pages

.gitignore

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Build outputs
2+
dist/
3+
**/dist/
4+
5+
# Dependencies
6+
node_modules/
7+
**/node_modules/
8+
9+
# SQLite database (local + lock/WAL files)
10+
data/
11+
*.db
12+
*.db-wal
13+
*.db-shm
14+
15+
# IDE & OS
16+
.DS_Store
17+
**/.DS_Store
18+
.vscode/
19+
*.swp
20+
*.swo
21+
*~
22+
.idea/
23+
24+
# Environment files
25+
.env
26+
.env.local
27+
.env.*.local
28+
29+
# Exports & imports
30+
exports/
31+
imports/
32+
33+
# Logs
34+
*.log
35+
npm-debug.log*
36+
yarn-debug.log*
37+
yarn-error.log*
38+
39+
# Coverage
40+
coverage/
41+
42+
# TypeScript cache
43+
*.tsbuildinfo
44+
45+
# Vite
46+
.vite/
47+

.prettierignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Ignore build outputs
2+
dist/
3+
build/
4+
.next/
5+
6+
# Dependencies
7+
node_modules/
8+
9+
# Generated files
10+
*.d.ts
11+
coverage/
12+
13+
# Database
14+
data/
15+
16+
# Exports
17+
exports/
18+
19+
# Lock files
20+
package-lock.json
21+
22+
# IDE
23+
.idea/
24+
.vscode/

.prettierrc

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"semi": true,
3+
"singleQuote": true,
4+
"tabWidth": 2,
5+
"trailingComma": "es5",
6+
"printWidth": 80,
7+
"useTabs": false,
8+
"bracketSpacing": true,
9+
"bracketSameLine": false,
10+
"arrowParens": "always",
11+
"endOfLine": "lf",
12+
"jsxSingleQuote": true,
13+
"quoteProps": "as-needed",
14+
"plugins": ["prettier-plugin-tailwindcss"],
15+
"tailwindConfig": "./apps/web/tailwind.config.js",
16+
"tailwindFunctions": ["cn", "clsx"]
17+
}

0 commit comments

Comments
 (0)