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.3.5"
"ref": "v0.4.1"
}
}
},
Expand Down
6 changes: 3 additions & 3 deletions .lvbt/web-platform.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"formatVersion": 1,
"preset": "lvbt-web",
"release": "v0.3.5",
"commit": "657c8ecf60b2cb6791f4b731f0b03c9756384712",
"contentHash": "849142b984ac92bf36a930904a064f31e2a5ecfcbb2e2dc509caa41a77f24a27",
"release": "v0.4.1",
"commit": "0577d597f03f1036d49c497a5424ec643b75c5d1",
"contentHash": "15acec6a3332eb5a2817da55147a740549eea1b921c5dbc640658cc6226ea224",
"executables": [
"examples/with-astro/.githooks/commit-msg",
"examples/with-astro/.githooks/pre-commit",
Expand Down
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.3.5"
"ref": "v0.4.1"
}
}
},
Expand Down
22 changes: 12 additions & 10 deletions .lvbt/web-platform/examples/with-astro/AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,18 @@ 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, 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 |
| 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 preflight --production` | Report whether production has everything `platform.json` lists |
| `pnpm bootstrap --production` | Set up whatever production is missing, asking for values |
| `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
9 changes: 5 additions & 4 deletions .lvbt/web-platform/examples/with-astro/apps/site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"dev": "astro dev --host 127.0.0.1 --port 4321",
"preview": "astro preview --host 127.0.0.1 --port 4321",
"lint": "eslint . --max-warnings 0",
"sync": "astro sync",
"check-types": "astro check",
"test": "vitest run",
"test:e2e": "playwright test"
Expand All @@ -20,10 +21,10 @@
},
"devDependencies": {
"@astrojs/check": "catalog:",
"@lasvegasfortransit/eslint-config": "0.3.5",
"@lasvegasfortransit/playwright-config": "0.3.5",
"@lasvegasfortransit/typescript-config": "0.3.5",
"@lasvegasfortransit/vitest-config": "0.3.5",
"@lasvegasfortransit/eslint-config": "0.4.1",
"@lasvegasfortransit/playwright-config": "0.4.1",
"@lasvegasfortransit/typescript-config": "0.4.1",
"@lasvegasfortransit/vitest-config": "0.4.1",
"@playwright/test": "catalog:",
"@types/node": "catalog:",
"eslint": "catalog:",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,9 @@ request. The required status is named `Validate`.

<a id="preflight"></a>**Preflight**: `pnpm preflight`, the check that your machine can build and
deploy this repository, with a fix printed for anything missing.

<a id="platform-manifest"></a>**Platform manifest**: `platform.json`, next to an app's production
`wrangler.jsonc`, which lists everything the app needs in production: its database, bucket, bot
check, admin sign-in, email domain, secrets, and the values that must never be set there.
`pnpm preflight --production` checks production against it, and `pnpm bootstrap --production` sets
up what is missing.
4 changes: 2 additions & 2 deletions .lvbt/web-platform/examples/with-astro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"*": "prettier --write --ignore-unknown"
},
"devDependencies": {
"@lasvegasfortransit/cli": "0.3.5",
"@lasvegasfortransit/prettier-config": "0.3.5",
"@lasvegasfortransit/cli": "0.4.1",
"@lasvegasfortransit/prettier-config": "0.4.1",
"lint-staged": "catalog:",
"markdownlint-cli2": "catalog:",
"markdownlint-rule-relative-links": "catalog:",
Expand Down
5 changes: 4 additions & 1 deletion .lvbt/web-platform/examples/with-astro/turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@
"inputs": ["$TURBO_DEFAULT$", ".env*"],
"outputs": ["dist/**"]
},
"sync": {
"outputs": [".astro/**"]
},
"lint": {
"dependsOn": ["^lint"]
"dependsOn": ["^lint", "sync"]
},
"check-types": {
"dependsOn": ["^check-types"]
Expand Down
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.3.5"
"ref": "v0.4.1"
}
}
},
Expand Down
22 changes: 12 additions & 10 deletions .lvbt/web-platform/examples/with-vite-react/AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,18 @@ 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, 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 |
| 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 preflight --production` | Report whether production has everything `platform.json` lists |
| `pnpm bootstrap --production` | Set up whatever production is missing, asking for values |
| `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
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
"react-dom": "catalog:"
},
"devDependencies": {
"@lasvegasfortransit/eslint-config": "0.3.5",
"@lasvegasfortransit/playwright-config": "0.3.5",
"@lasvegasfortransit/typescript-config": "0.3.5",
"@lasvegasfortransit/vitest-config": "0.3.5",
"@lasvegasfortransit/eslint-config": "0.4.1",
"@lasvegasfortransit/playwright-config": "0.4.1",
"@lasvegasfortransit/typescript-config": "0.4.1",
"@lasvegasfortransit/vitest-config": "0.4.1",
"@playwright/test": "catalog:",
"@tailwindcss/vite": "catalog:",
"@types/node": "catalog:",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,9 @@ request. The required status is named `Validate`.

<a id="preflight"></a>**Preflight**: `pnpm preflight`, the check that your machine can build and
deploy this repository, with a fix printed for anything missing.

<a id="platform-manifest"></a>**Platform manifest**: `platform.json`, next to an app's production
`wrangler.jsonc`, which lists everything the app needs in production: its database, bucket, bot
check, admin sign-in, email domain, secrets, and the values that must never be set there.
`pnpm preflight --production` checks production against it, and `pnpm bootstrap --production` sets
up what is missing.
4 changes: 2 additions & 2 deletions .lvbt/web-platform/examples/with-vite-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"*": "prettier --write --ignore-unknown"
},
"devDependencies": {
"@lasvegasfortransit/cli": "0.3.5",
"@lasvegasfortransit/prettier-config": "0.3.5",
"@lasvegasfortransit/cli": "0.4.1",
"@lasvegasfortransit/prettier-config": "0.4.1",
"lint-staged": "catalog:",
"markdownlint-cli2": "catalog:",
"markdownlint-rule-relative-links": "catalog:",
Expand Down
7 changes: 4 additions & 3 deletions .lvbt/web-platform/packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@lasvegasfortransit/cli",
"version": "0.3.5",
"description": "The lvbt command every LVBT repository runs for bootstrap, preflight, and deploy, plus the shared git hooks and the lvbt-contributions agent plugin.",
"version": "0.4.1",
"description": "The lvbt command every LVBT repository runs for bootstrap, preflight, and deploy, plus the production platform setup, the shared git hooks, and the lvbt-contributions agent plugin.",
"license": "MIT",
"type": "module",
"repository": {
Expand All @@ -20,7 +20,8 @@
"src",
"hooks",
"plugins",
"catalog.json"
"catalog.json",
"platform.schema.json"
],
"engines": {
"node": ">=24"
Expand Down
Loading
Loading