Skip to content
This repository was archived by the owner on Sep 4, 2025. It is now read-only.
Closed
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
2 changes: 1 addition & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
}
326 changes: 326 additions & 0 deletions .claude/CLAUDE.md

Large diffs are not rendered by default.

333 changes: 333 additions & 0 deletions .cursor/rules/ultracite.mdc

Large diffs are not rendered by default.

23 changes: 0 additions & 23 deletions .eslintrc.js

This file was deleted.

47 changes: 47 additions & 0 deletions .github/actions/setup-bun-and-deps/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: 'Setup Bun and Dependencies'
description: 'Setup Bun runtime, install dependencies, and optionally run lint/test/build'

inputs:
bun-version:
description: 'Version of Bun to install'
required: true
default: '1.2.21'
run-lint:
description: 'Whether to run lint'
required: false
default: 'true'
run-test:
description: 'Whether to run test'
required: false
default: 'true'
run-build:
description: 'Whether to run build'
required: false
default: 'true'

runs:
using: 'composite'
steps:
- name: Setup Bun
uses: oven-sh/setup-bun@735343b667d3e6f658f44d0eca948eb6282f2b76 # v2
with:
bun-version: ${{ inputs.bun-version }}

- name: Install Dependencies
run: bun install --frozen-lockfile
shell: bash

- name: Lint
if: inputs.run-lint == 'true'
run: bun run lint
shell: bash

- name: Test
if: inputs.run-test == 'true'
run: bun run test
shell: bash

- name: Build
if: inputs.run-build == 'true'
run: bun run build
shell: bash
60 changes: 60 additions & 0 deletions .github/workflows/ci-bun.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# TLDR: GitHub Actions workflow for CI using Bun runtime and package manager
name: CI (Bun)

on:
push:
branches: [main, next]
pull_request:
branches: [main, next]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
BUN_VERSION: 1.2.21

jobs:
build_and_test:
name: Build and Test
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout Repo
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
with:
fetch-depth: 0

- name: Setup Bun and Dependencies
uses: ./.github/actions/setup-bun-and-deps
with:
bun-version: ${{ env.BUN_VERSION }}

release:
name: Release
runs-on: ubuntu-latest
needs: build_and_test
timeout-minutes: 30
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout Repo
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
with:
fetch-depth: 0

- name: Setup Bun and Dependencies
uses: ./.github/actions/setup-bun-and-deps
with:
bun-version: ${{ env.BUN_VERSION }}

- name: Create Release Pull Request or Publish
id: changesets
uses: changesets/action@e0145ed # v1
with:
publish: bun run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,7 @@ pnpm-debug.log*

# Turbo
/.turbo

# Private journal artifacts (should not be committed)
/.private-journal/
*.embedding
2 changes: 1 addition & 1 deletion .markdownlint.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
"MD013": false,
"MD033": false,
"MD041": false
}
}
9 changes: 0 additions & 9 deletions .prettierrc

This file was deleted.

Loading
Loading