Skip to content
Draft
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
35 changes: 0 additions & 35 deletions .github/workflows/deployment-production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,38 +59,3 @@ jobs:
AUTH_GITHUB_CLIENT_SECRET: ${{ secrets.AUTH_GITHUB_CLIENT_SECRET }}
AUTH_GOOGLE_CLIENT_ID: ${{ secrets.AUTH_GOOGLE_CLIENT_ID }}
AUTH_GOOGLE_CLIENT_SECRET: ${{ secrets.AUTH_GOOGLE_CLIENT_SECRET }}
release:
needs:
- deploy
permissions:
contents: write
id-token: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6.0.1
with:
fetch-depth: 0
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: ${{ env.PNPM_VERSION }}
run_install: false
cache: true
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: pnpm
- name: Install Dependencies
run: pnpm install --prefer-offline --frozen-lockfile
env:
HUSKY: 0
- name: Initialize Git
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
- name: Create Release
run: pnpm release --ci
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
45 changes: 45 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# This workflow is triggered manually via the "Release" workflow dispatch or by a repository dispatch event with the type "webhook_release".
# It uses the release-it tool to automate the release process, including generating changelogs and creating GitHub releases.

name: Release
on:
workflow_dispatch:
repository_dispatch:
types: [webhook_release]
permissions:
contents: write
id-token: write
env:
NODE_VERSION: '24.14.0'
PNPM_VERSION: '10.32.1'
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6.0.2
with:
fetch-depth: 0
- name: Setup pnpm
uses: pnpm/action-setup@v5.0.0
with:
version: ${{ env.PNPM_VERSION }}
run_install: false
cache: true
# Install only release-it and its dependencies to minimize install time
- name: Install Dependencies
env:
HUSKY: 0
run: |
pnpm add --global \
release-it@19.2.4 \
@release-it/conventional-changelog@10.0.6 \
conventional-changelog-conventionalcommits@9.3.0
- name: Initialize Git
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
- name: Create Release
run: release-it --ci --config .release-it.json
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18 changes: 10 additions & 8 deletions .oxfmtrc.json → .oxfmtrc.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"src/lib/database/migrations/",
".agents/",
"skills-lock.json",
"CHANGELOG.md"
"CHANGELOG.md",
],
"printWidth": 80,
"tabWidth": 2,
Expand All @@ -23,24 +23,26 @@
"bracketSameLine": false,
"singleAttributePerLine": false,
"arrowParens": "always",
"experimentalSortPackageJson": true,
"experimentalSortImports": {
"sortPackageJson": true,
"sortImports": {
"order": "asc",
"newlinesBetween": true,
"sortSideEffects": true,
"internalPattern": ["~/"],
"groups": [
["side_effect"],
["builtin"],
["external"],
["internal"],
["parent", "sibling", "index"],
["style"]
]
["style"],
],
},
"experimentalTailwindcss": {
"sortTailwindcss": {
"stylesheet": "./src/ui/styles/app.css",
"attributes": ["class", "className", "classNames"],
"functions": ["clsx", "twMerge", "cn", "cva"],
"preserveDuplicates": false,
"preserveWhitespace": false
}
"preserveWhitespace": false,
},
}
22 changes: 11 additions & 11 deletions .oxlintrc.json → .oxlintrc.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
"public/",
"src/lib/i18n/",
"src/lib/database/migrations/",
".agents/"
".agents/",
],
"env": {
"browser": true,
"node": true
"node": true,
},
"categories": {
"correctness": "error",
"suspicious": "error"
"suspicious": "error",
},
"plugins": [
"oxc",
Expand All @@ -25,7 +25,7 @@
"react",
"jsx-a11y",
"react-perf",
"import"
"import",
],
"rules": {
// Correctness
Expand Down Expand Up @@ -87,7 +87,7 @@
"unicorn/filename-case": ["error", { "case": "kebabCase" }],
"react/self-closing-comp": "warn",
"import/no-duplicates": "error",
"eslint/func-style": ["error", "declaration"]
"eslint/func-style": ["error", "declaration"],
},
"overrides": [
{
Expand All @@ -96,17 +96,17 @@
"plugins": ["import"],
"rules": {
"import/no-default-export": "error",
"import/prefer-default-export": "off"
}
"import/prefer-default-export": "off",
},
},
{
// Only allow default export in reserved files
"files": ["src/server.ts"],
"plugins": ["import"],
"rules": {
"import/no-default-export": "off",
"import/prefer-default-export": "error"
}
}
]
"import/prefer-default-export": "error",
},
},
],
}
12 changes: 6 additions & 6 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@
"**/routeTree.gen.ts": true
},

// Typescript
"typescript.tsdk": "node_modules/typescript/lib",
"typescript.updateImportsOnFileMove.enabled": "prompt",
"typescript.preferences.importModuleSpecifier": "non-relative",
"typescript.preferences.preferTypeOnlyAutoImports": true,
// Javascript/Typescript
"js/ts.tsdk.path": "node_modules/typescript/lib",
"js/ts.updateImportsOnFileMove.enabled": "prompt",
"js/ts.preferences.importModuleSpecifier": "non-relative",
"js/ts.preferences.preferTypeOnlyAutoImports": true,

// Extension - Oxc
"oxc.enable": true,
"oxc.fmt.configPath": ".oxfmtrc.json",
"oxc.fmt.configPath": ".oxfmtrc.jsonc",

// Extension - Tailwind CSS
"tailwindCSS.classAttributes": ["class", "className", "classNames"],
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@
"drizzle-kit": "^0.31.10",
"husky": "^9.1.7",
"lint-staged": "^16.4.0",
"oxfmt": "^0.41.0",
"oxlint": "^1.56.0",
"oxfmt": "^0.42.0",
"oxlint": "^1.57.0",
"release-it": "^19.2.4",
"skills": "^1.4.5",
"storybook": "^10.3.3",
Expand Down
Loading
Loading