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
2 changes: 1 addition & 1 deletion .claude/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"source": {
"source": "github",
"repo": "LasVegasForTransit/repository-tooling",
"ref": "v0.2.3"
"ref": "v0.2.7"
}
}
},
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ name: CI
on:
pull_request:
branches: [main]
push:
branches-ignore: [main]
workflow_call:
workflow_dispatch:

Expand Down
4 changes: 4 additions & 0 deletions .markdownlint-cli2.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
},
"globs": ["**/*.md"],
"ignores": [
// Playwright output.
"**/test-results",
"**/playwright-report",
".claude/worktrees",
"node_modules",
"**/node_modules",
"dist",
Expand Down
4 changes: 4 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
pnpm-lock.yaml
.lvbt/web-platform/
.claude/worktrees/
# Generated by `wrangler types`; regenerate it, never hand-edit it.
**/worker-configuration.d.ts
20 changes: 10 additions & 10 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ command that fixes it (`pnpm check:fix` repairs everything a machine can).

Every LVBT repository answers to the same commands:

| Command | What it does |
| --------------------- | --------------------------------------------------------------- |
| `pnpm bootstrap` | Install dependencies, wire git hooks, and run preflight |
| `pnpm preflight` | Confirm the machine can build and deploy this repository |
| `pnpm check` | Format check, then lint, typecheck, and tests through Turborepo |
| `pnpm check:fix` | Apply formatting and lint fixes |
| `pnpm build` | Build every package |
| `pnpm test` | Run every package's tests |
| `pnpm run deploy` | Build, then `wrangler deploy` every app (deployable repos) |
| `turbo gen workspace` | Scaffold a new package or app |
| Command | What it does |
| --------------------- | ---------------------------------------------------------- |
| `pnpm bootstrap` | Install dependencies, wire git hooks, and run preflight |
| `pnpm preflight` | Confirm the machine can build and deploy this repository |
| `pnpm check` | Format, docs, shape rules, lint, types, tests, repo checks |
| `pnpm check:fix` | Apply formatting and lint fixes |
| `pnpm build` | Build every package |
| `pnpm test` | Run every package's tests |
| `pnpm run deploy` | Build, then `wrangler deploy` every app (deployable repos) |
| `turbo gen workspace` | Scaffold a new package or app |

## Create GitHub issues and pull requests

Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@
"lint": "turbo run lint",
"check-types": "turbo run check-types",
"test": "turbo run test",
"test:e2e": "turbo run test:e2e",
"test:e2e": "turbo run test:e2e --concurrency=1",
"format": "prettier --write .",
"format:check": "prettier --check .",
"check": "pnpm format:check && markdownlint-cli2 && lvbt check && turbo run lint check-types test",
"check": "pnpm format:check && markdownlint-cli2 && lvbt check && turbo run lint check-types test validate",
"check:fix": "pnpm format && markdownlint-cli2 --fix && turbo run lint -- --fix",
"prepare": "git config --local core.hooksPath .githooks"
"prepare": "git config --local core.hooksPath .githooks 2>/dev/null || true"
},
"lint-staged": {
"*": "prettier --write --ignore-unknown"
},
"devDependencies": {
"@lvbt/cli": "github:LasVegasForTransit/repository-tooling#v0.2.3&path:/packages/cli",
"@lvbt/prettier-config": "github:LasVegasForTransit/repository-tooling#v0.2.3&path:/packages/prettier-config",
"@lvbt/cli": "github:LasVegasForTransit/repository-tooling#v0.2.7&path:/packages/cli",
"@lvbt/prettier-config": "github:LasVegasForTransit/repository-tooling#v0.2.7&path:/packages/prettier-config",
"lint-staged": "catalog:",
"markdownlint-cli2": "catalog:",
"markdownlint-rule-relative-links": "catalog:",
Expand Down
6 changes: 3 additions & 3 deletions packages/example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
"test": "vitest run"
},
"devDependencies": {
"@lvbt/eslint-config": "github:LasVegasForTransit/repository-tooling#v0.2.3&path:/packages/eslint-config",
"@lvbt/typescript-config": "github:LasVegasForTransit/repository-tooling#v0.2.3&path:/packages/typescript-config",
"@lvbt/vitest-config": "github:LasVegasForTransit/repository-tooling#v0.2.3&path:/packages/vitest-config",
"@lvbt/eslint-config": "github:LasVegasForTransit/repository-tooling#v0.2.7&path:/packages/eslint-config",
"@lvbt/typescript-config": "github:LasVegasForTransit/repository-tooling#v0.2.7&path:/packages/typescript-config",
"@lvbt/vitest-config": "github:LasVegasForTransit/repository-tooling#v0.2.7&path:/packages/vitest-config",
"@types/node": "catalog:",
"eslint": "catalog:",
"typescript": "catalog:",
Expand Down
73 changes: 39 additions & 34 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,19 @@ allowBuilds:
# that is compromised and yanked the same day never reaches a repository.
minimumReleaseAge: 1440

# Temporary transitive pins for published security fixes not yet selected by
# their direct dependents.
overrides:
sharp: 0.35.4
smol-toml: 1.8.0
svgo: 4.1.0

# The organization version baseline. Every LVBT repository carries this same
# catalog, so a package declares "catalog:" and two repositories cannot drift
# onto different versions of one tool without it showing up as a change here.
# Renovate keeps it current.
catalog:
'@axe-core/playwright': 4.13.0
'@astrojs/check': 0.9.10
'@astrojs/sitemap': 3.7.4
'@cloudflare/vitest-pool-workers': 0.22.0
Expand Down
3 changes: 3 additions & 0 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
"test": {
"dependsOn": ["^build"]
},
"validate": {
"dependsOn": ["^build"]
},
"test:e2e": {
"dependsOn": ["build"],
"cache": false,
Expand Down