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
23 changes: 23 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# EditorConfig is awesome: https://EditorConfig.org

# top-most EditorConfig file
root = true

[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.{js,jsx,ts,tsx,astro,vue}]
quote_type = double
indent_size = 2

[*.md]
indent_size = 2
trim_trailing_whitespace = false

[*.{json,toml,yaml,yml}]
indent_size = 2
27 changes: 0 additions & 27 deletions .github/changeset-version.ts

This file was deleted.

10 changes: 4 additions & 6 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,15 @@

version: 2
updates:
# Enable version updates for PNPM
- package-ecosystem: "npm"
# Enable version updates for Bun
- package-ecosystem: "bun"
directory: "/"
schedule:
interval: "weekly"
open-pull-requests-limit: 5
groups:
devDependencies:
dependency-type: "development"
dependencies:
dependency-type: "production"
bun-dependencies:
patterns: ["*"]
# Enable version updates for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
Expand Down
27 changes: 0 additions & 27 deletions .github/mergify.yml

This file was deleted.

17 changes: 5 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,11 @@ jobs:
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
steps:
- uses: actions/checkout@v6.0.1
- name: Set up pnpm
uses: pnpm/action-setup@v4.2.0
- name: Set up Node.js
uses: actions/setup-node@v6.1.0
with:
node-version-file: package.json
cache: "pnpm"
- run: pnpm install --global vercel@latest
- run: vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}
- run: vercel build --token=${{ secrets.VERCEL_TOKEN }}
- uses: actions/checkout@v4.1.7
- uses: oven-sh/setup-bun@v2.1.0
- run: bunx vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}
- run: bunx vercel build --token=${{ secrets.VERCEL_TOKEN }}
- run: |
vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }} | \
bunx vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }} | \
xargs -I {} echo "DEPLOYMENT_URL={}" >> "${GITHUB_OUTPUT}"
id: deployment
18 changes: 5 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,12 @@ jobs:
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
steps:
- uses: actions/checkout@v6.0.1
- name: Set up pnpm
uses: pnpm/action-setup@v4.2.0
- name: Set up Node.js
uses: actions/setup-node@v6.1.0
with:
node-version-file: package.json
cache: "pnpm"
- run: pnpm install --global vercel@latest
- run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
- run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
- uses: actions/checkout@v4.1.7
- uses: oven-sh/setup-bun@v2.1.0
- run: bunx vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
- run: bunx vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
- run: |
vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }} | \
bunx vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }} | \
xargs -I {} echo "DEPLOYMENT_URL={}" >> "${GITHUB_OUTPUT}"
id: deployment
- name: Create Version PR or Deploy to Pages
Expand All @@ -45,7 +38,6 @@ jobs:
with:
commit: "chore(release): version packages"
title: "chore(release): version packages"
version: pnpm vite-node .github/changeset-version.ts
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_ENV: production
16 changes: 5 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,8 @@ jobs:
env:
TURBO_FORCE: true
steps:
- uses: actions/checkout@v6.0.1
- name: Set up pnpm
uses: pnpm/action-setup@v4.2.0
- name: Set up Node.js
uses: actions/setup-node@v6.1.0
with:
node-version-file: package.json
cache: "pnpm"
- run: pnpm install -rw --frozen-lockfile
- run: pnpm biome ci --reporter=github
- run: pnpm run cov
- uses: actions/checkout@v4.1.7
- uses: oven-sh/setup-bun@v2.1.0
- run: bun ci
- run: bun biome ci --reporter=github
- run: bun run cov
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ lib-cov
# Coverage directory used by tools like istanbul
coverage
*.lcov
test-report.junit.xml

# nyc test coverage
.nyc_output
Expand Down Expand Up @@ -111,3 +112,4 @@ release/

# Vercel build output
.vercel
.env*.local
4 changes: 2 additions & 2 deletions biome.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"organizeImports": { "enabled": true },
"linter": {
"rules": { "recommended": true }
},
"formatter": {
"indentStyle": "space"
"useEditorconfig": true
},
"files": { "ignoreUnknown": true },
"vcs": {
Expand Down
Loading