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
15 changes: 7 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,22 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
node-version: 24
cache: npm
bun-version: 1.4.2

- name: Install dependencies
run: npm ci
run: bun install --frozen-lockfile

- name: Typecheck
run: npm run typecheck
run: bun run typecheck

- name: Test
run: npm test
run: bun run test

- name: Build
run: npm run build
run: bun run build

- name: Deploy to Cloudflare Pages
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
Expand Down
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ dist-ssr
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*

# Editor / OS
.vscode/*
Expand Down
10 changes: 5 additions & 5 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ Guidance for AI agents working in this repo. It is a React 19 + TypeScript + Tai

## Commands

- `npm run dev` - local dev server
- `npm run test` - run all vitest tests
- `npm run typecheck` - `tsc --noEmit`
- `npm run build` - typecheck + production build
- `bun run dev` - local dev server
- `bun run test` - run all vitest tests
- `bun run typecheck` - `tsc --noEmit`
- `bun run build` - typecheck + production build

## Hard rules

- No em-dashes in user-facing copy or code comments. Use hyphens, commas, or restructure. En-dashes only in numeric ranges like "13-24 months".
- When computing what-if or recommendation point gains, simulate by re-running the score function on modified copies of the input. Never hardcode point deltas.
- Run `npm run typecheck` and `npm test` before finishing any change.
- Run `bun run typecheck` and `bun run test` before finishing any change.

## Conventions

Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ Calculate your Express Entry and PNP scores in the browser.
## Getting started

```sh
npm install
npm run dev
npm test
npm run typecheck
npm run build
bun install
bun run dev
bun run test
bun run typecheck
bun run build
```

`npm run build` runs typecheck plus the production build.
`bun run build` runs typecheck plus the production build.

## Disclaimers

Expand Down
423 changes: 423 additions & 0 deletions bun.lock

Large diffs are not rendered by default.

Loading
Loading