Skip to content

Commit da4f9c4

Browse files
committed
feat: initial commit
0 parents  commit da4f9c4

31 files changed

+1511
-0
lines changed

.claude/.mcp.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"mcpServers": {
3+
"context7": {
4+
"type": "stdio",
5+
"command": "npx",
6+
"args": ["-y", "@upstash/context7-mcp"]
7+
},
8+
"playwright": {
9+
"type": "stdio",
10+
"command": "npx",
11+
"args": ["@playwright/mcp@latest"]
12+
}
13+
}
14+
}

.claude/settings.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"permissions": {
3+
"allow": ["mcp__context7", "mcp__playwright"]
4+
}
5+
}

.editorconfig

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# EditorConfig https://EditorConfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
# All files
7+
[*]
8+
charset = utf-8
9+
end_of_line = lf
10+
indent_size = 2
11+
indent_style = space
12+
insert_final_newline = true
13+
trim_trailing_whitespace = true
14+
15+
[justfile]
16+
indent_size = 4

.env.example

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
VERCEL_ORG_ID=""
2+
VERCEL_PROJECT_ID=""
3+
VERCEL_TOKEN=""

.github/workflows/deploy.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: "Deploy to Vercel"
2+
3+
concurrency:
4+
cancel-in-progress: false
5+
group: "vercel"
6+
7+
on:
8+
push:
9+
branches: ["main"]
10+
workflow_dispatch:
11+
12+
jobs:
13+
deploy:
14+
env:
15+
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
16+
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
17+
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
18+
runs-on: "ubuntu-latest"
19+
steps:
20+
- name: "Check out the repo"
21+
uses: "actions/checkout@v5"
22+
23+
- name: "Set up devkit"
24+
uses: "sablier-labs/devkit/actions/setup@main"
25+
with:
26+
package-manager: "bun"
27+
28+
- name: "Run code checks"
29+
run: "just full-check"
30+
31+
- name: "Pull Vercel environment"
32+
run: "na vercel pull --environment=production --token=$VERCEL_TOKEN --yes"
33+
34+
- name: "Build app using Vercel"
35+
env:
36+
NEXT_TELEMETRY_DISABLED: true
37+
run: "na vercel build --prod --token=$VERCEL_TOKEN"
38+
39+
- name: "Deploy app to Vercel"
40+
run: "na vercel deploy --prebuilt --prod --token=$VERCEL_TOKEN"
41+
42+
- name: "Add summary"
43+
run: | # shell
44+
echo "## Deploy result" >> $GITHUB_STEP_SUMMARY
45+
echo "✅ Passed" >> $GITHUB_STEP_SUMMARY

.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# directories
2+
.next
3+
dist
4+
node_modules
5+
6+
# files
7+
*.env
8+
*.log
9+
*.tsbuildinfo
10+
settings.local.json

.lintstagedrc.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/**
2+
* @type {import("lint-staged").Configuration}
3+
*/
4+
module.exports = {
5+
"*.{js,json,jsonc,ts,tsx}": "bun biome check --write",
6+
"*.{js,ts,tsx}": "bun biome lint --write --only correctness/noUnusedImports",
7+
"*.{md,yml,yaml}": "bun prettier --cache --write",
8+
};

.prettierignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.next/
2+
node_modules/
3+
dist/

.prettierrc.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
const baseConfig = require("@sablier/devkit/prettier");
2+
3+
/**
4+
* @see https://prettier.io/docs/configuration
5+
* @type {import("prettier").Config}
6+
*/
7+
const config = baseConfig;
8+
9+
module.exports = config;

.vscode/settings.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"biome.enabled": true,
3+
"typescript.tsdk": "node_modules/typescript/lib",
4+
"editor.codeActionsOnSave": {
5+
"source.fixAll.biome": "explicit",
6+
"source.organizeImports.biome": "explicit"
7+
},
8+
"search.exclude": {
9+
".next": true,
10+
"node_modules": true
11+
},
12+
"[md][yaml]": {
13+
"editor.defaultFormatter": "esbenp.prettier-vscode"
14+
},
15+
"[css][javascript][javascriptreact][json][jsonc][typescript][typescriptreact]": {
16+
"editor.defaultFormatter": "biomejs.biome"
17+
}
18+
}

0 commit comments

Comments
 (0)