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
3 changes: 3 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ Follow `/Users/sarthak/Desktop/fleet/AGENTS.md` and the project truth in

- Generate the Xcode project: `xcodegen generate`
- Build the app: `./scripts/build.sh`
- Native tests: `./scripts/test.sh` or `pnpm test`
- Landing types: `pnpm typecheck` (`astro check`)
- Quality inventory: `pnpm format:check`, `pnpm lint`, `pnpm quality`
- Validate the active change: `openspec validate build-indulge-visual-proof --strict`

## Native boundaries
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ pnpm build
pnpm dev
```

Fleet-facing quality scripts live in the root `package.json`: `format:check`,
`lint`, `typecheck`, `test`, `test:coverage`, `knip`, and the `quality:*`
wrappers. Landing types stay on `astro check`. Native tests and coverage stay
on `./scripts/test.sh` / XCTest.

When a verified public TestFlight URL exists, set `PUBLIC_TESTFLIGHT_URL` only
in the build environment. Without it, the site deliberately shows the honest
invite-only beta state.
34 changes: 34 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"$schema": "https://biomejs.dev/schemas/2.5.5/schema.json",
"files": {
"includes": [
"astro.config.mjs",
"scripts/**/*.mjs",
"src/**/*.ts"
]
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 100
},
"javascript": {
"formatter": {
"quoteStyle": "double",
"semicolons": "always",
"trailingCommas": "none"
}
},
"json": {
"formatter": {
"enabled": false
}
},
"linter": {
"enabled": true,
"rules": {
"preset": "recommended"
}
}
}
16 changes: 16 additions & 0 deletions knip.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"$schema": "https://unpkg.com/knip@6/schema.json",
"entry": [
"scripts/**/*.mjs",
"src/pages/**/*.{astro,ts}"
],
"project": [
"scripts/**/*.mjs",
"src/**/*.{astro,ts}"
],
"ignoreDependencies": [
"@biomejs/biome",
"jscpd",
"lightningcss"
]
}
17 changes: 16 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,26 @@
"dev": "astro dev",
"build": "astro build",
"check": "astro check && astro build && node scripts/check-site.mjs",
"preview": "astro preview"
"preview": "astro preview",
"format:check": "node scripts/check-code-health.mjs format",
"lint": "node scripts/check-code-health.mjs lint",
"typecheck": "node scripts/check-code-health.mjs types",
"test": "node scripts/check-code-health.mjs tests",
"test:coverage": "node scripts/check-code-health.mjs coverage",
"knip": "knip --no-exit-code --reporter symbols",
"knip:strict": "knip --reporter symbols",
"quality:unused": "node scripts/check-code-health.mjs unused",
"quality:complexity": "node scripts/check-code-health.mjs complexity",
"quality:duplication": "node scripts/check-code-health.mjs duplication",
"quality:cycles": "node scripts/check-code-health.mjs cycles",
"quality": "node scripts/check-code-health.mjs all"
},
"devDependencies": {
"@astrojs/check": "0.9.10",
"@biomejs/biome": "2.5.5",
"astro": "7.2.0",
"jscpd": "5.0.14",
"knip": "6.32.2",
"lightningcss": "1.33.0",
"typescript": "6.0.3"
}
Expand Down
Loading
Loading