Skip to content
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ blob-report/
**/playwright/.cache/
.turbo/
.wrangler/
.cloudflare/
.env
.env.*
!.env.example
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.5.4",
"commit": "323d5f5f968ed69ebcc29252b183fd65d13dc49a",
"contentHash": "25da315541c7a6f94f1ed1712e7b41c7512318af88033a1b3d485515d350ab83",
"release": null,
"commit": "686b622a33c7c42961b6e4bbe14cfa259df104e3",
"contentHash": "18c12261d6c3291ecf8f9de5274ed02bf9f22d8299d5149c40f13ca16bcd2871",
"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.5.4"
"ref": "v0.6.0"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Deploys every app with a wrangler config on each push to main, after the
# Deploys every configured Cloudflare app on each push to main, after the
# same check pull requests run. Needs the CLOUDFLARE_API_TOKEN (Workers Scripts
# edit) and CLOUDFLARE_ACCOUNT_ID repository secrets.
name: Deploy
Expand Down
2 changes: 1 addition & 1 deletion .lvbt/web-platform/examples/with-astro/AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Every LVBT repository answers to the same commands:
| `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) |
| `pnpm run deploy` | Build, then deploy every configured Cloudflare app |
| `turbo gen workspace` | Scaffold a new package or app |

## Create GitHub issues and pull requests
Expand Down
2 changes: 1 addition & 1 deletion .lvbt/web-platform/examples/with-astro/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ repository's boundaries.
`src/styles/global.css`, unit tests under `tests/`, end-to-end tests under `tests/e2e/`
- `packages/` for libraries the site shares with other apps

`pnpm run deploy` builds and runs `wrangler deploy` for every app with a wrangler config;
`pnpm run deploy` builds and deploys every app with a `cloudflare.config.ts` or Wrangler config;
`.github/workflows/deploy.yml` does the same on every push to `main`.

Lint, format, TypeScript, and test settings extend the `@lasvegasfortransit/*` packages from
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
},
"devDependencies": {
"@astrojs/check": "catalog:",
"@lasvegasfortransit/eslint-config": "0.5.4",
"@lasvegasfortransit/playwright-config": "0.5.4",
"@lasvegasfortransit/typescript-config": "0.5.4",
"@lasvegasfortransit/vitest-config": "0.5.4",
"@lasvegasfortransit/eslint-config": "0.6.0",
"@lasvegasfortransit/playwright-config": "0.6.0",
"@lasvegasfortransit/typescript-config": "0.6.0",
"@lasvegasfortransit/vitest-config": "0.6.0",
"@playwright/test": "catalog:",
"@types/node": "catalog:",
"eslint": "catalog:",
Expand Down
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.5.4",
"@lasvegasfortransit/prettier-config": "0.5.4",
"@lasvegasfortransit/cli": "0.6.0",
"@lasvegasfortransit/prettier-config": "0.6.0",
"lint-staged": "catalog:",
"markdownlint-cli2": "catalog:",
"markdownlint-rule-relative-links": "catalog:",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,6 @@ catalog:
typescript-eslint: 8.69.0
vite: 8.2.2
vitest: 4.1.11
wrangler: 4.127.1
cf: 1.0.0-beta.5
wrangler: 4.141.0
zod: 4.5.4
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.5.4"
"ref": "v0.6.0"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Deploys every app with a wrangler config on each push to main, after the
# Deploys every configured Cloudflare app on each push to main, after the
# same check pull requests run. Needs the CLOUDFLARE_API_TOKEN (Workers Scripts
# edit) and CLOUDFLARE_ACCOUNT_ID repository secrets.
name: Deploy
Expand Down
2 changes: 1 addition & 1 deletion .lvbt/web-platform/examples/with-vite-react/AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Every LVBT repository answers to the same commands:
| `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) |
| `pnpm run deploy` | Build, then deploy every configured Cloudflare app |
| `turbo gen workspace` | Scaffold a new package or app |

## Create GitHub issues and pull requests
Expand Down
2 changes: 1 addition & 1 deletion .lvbt/web-platform/examples/with-vite-react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ repository's boundaries.
`src/styles/global.css`, unit tests under `tests/`, end-to-end tests under `tests/e2e/`
- `packages/` for libraries the site shares with other apps

`pnpm run deploy` builds and runs `wrangler deploy` for every app with a wrangler config;
`pnpm run deploy` builds and deploys every app with a `cloudflare.config.ts` or Wrangler config;
`.github/workflows/deploy.yml` does the same on every push to `main`.

Lint, format, TypeScript, and test settings extend the `@lasvegasfortransit/*` packages from
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.5.4",
"@lasvegasfortransit/playwright-config": "0.5.4",
"@lasvegasfortransit/typescript-config": "0.5.4",
"@lasvegasfortransit/vitest-config": "0.5.4",
"@lasvegasfortransit/eslint-config": "0.6.0",
"@lasvegasfortransit/playwright-config": "0.6.0",
"@lasvegasfortransit/typescript-config": "0.6.0",
"@lasvegasfortransit/vitest-config": "0.6.0",
"@playwright/test": "catalog:",
"@tailwindcss/vite": "catalog:",
"@types/node": "catalog:",
Expand Down
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.5.4",
"@lasvegasfortransit/prettier-config": "0.5.4",
"@lasvegasfortransit/cli": "0.6.0",
"@lasvegasfortransit/prettier-config": "0.6.0",
"lint-staged": "catalog:",
"markdownlint-cli2": "catalog:",
"markdownlint-rule-relative-links": "catalog:",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,6 @@ catalog:
typescript-eslint: 8.69.0
vite: 8.2.2
vitest: 4.1.11
wrangler: 4.127.1
cf: 1.0.0-beta.5
wrangler: 4.141.0
zod: 4.5.4
3 changes: 2 additions & 1 deletion .lvbt/web-platform/packages/cli/catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
"typescript-eslint": "8.69.0",
"vite": "8.2.2",
"vitest": "4.1.11",
"wrangler": "4.127.1",
"cf": "1.0.0-beta.5",
"wrangler": "4.141.0",
"zod": "4.5.4"
}
}
2 changes: 1 addition & 1 deletion .lvbt/web-platform/packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lasvegasfortransit/cli",
"version": "0.5.4",
"version": "0.6.0",
"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",
Expand Down
10 changes: 10 additions & 0 deletions .lvbt/web-platform/packages/cli/platform.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,12 @@
"type": "string",
"minLength": 1,
"description": "The production wrangler config, relative to this file. Defaults to wrangler.jsonc."
},
"cloudflareConfig": {
"type": "string",
"minLength": 1,
"pattern": "(^|/)cloudflare\\.config\\.ts$",
"description": "The canonical cloudflare.config.ts project config, relative to this file. When set, preflight and deploy use cf instead of Wrangler."
}
}
},
Expand Down Expand Up @@ -240,6 +246,10 @@
"enum": ["resend"],
"description": "The sending service. It decides which DNS records are checked."
},
"dnsProfile": {
"enum": ["ses", "forge"],
"description": "The DNS layout Resend shows for this domain. Defaults to the legacy SES MX/SPF layout; choose forge for Resend's rsend and send CNAME records."
},
"region": {
"type": "string",
"pattern": "^[a-z]{2}-[a-z]+-[0-9]$",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lvbt-contributions",
"version": "0.5.4",
"version": "0.6.0",
"description": "Create readable LVBT GitHub issues and pull requests through the organization workflow.",
"author": {
"name": "Las Vegans for Better Transit",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lvbt-contributions",
"version": "0.5.4",
"version": "0.6.0",
"description": "Create readable LVBT GitHub issues and pull requests through the organization workflow.",
"author": {
"name": "Las Vegans for Better Transit",
Expand Down
4 changes: 2 additions & 2 deletions .lvbt/web-platform/packages/cli/src/cli.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* lvbt preflight confirm this machine can build and deploy the repository;
* with --production, also report production's readiness
* lvbt check the shared repository-shape rules (filenames, contract, debt)
* lvbt deploy build, then `wrangler deploy` for every app that has a config
* lvbt deploy build, then deploy every configured Cloudflare app
*
* A repository's package.json maps its standard scripts to these, so
* `pnpm bootstrap`, `pnpm preflight`, `pnpm check`, and `pnpm run deploy` behave
Expand All @@ -31,7 +31,7 @@ Options:
--filter For deploy and --production: only the app directory named (apps/site)
--rotate For bootstrap --production: replace the named secrets' stored values
on every target. Without it, a value that is already set is kept
--dry-run For deploy: build, then run wrangler deploy --dry-run
--dry-run For deploy: build, then run each Cloudflare CLI with --dry-run
`;

const commands = { bootstrap, preflight, check, deploy };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const IGNORED = new Set([
'test-results',
'.turbo',
'.wrangler',
'.cloudflare',
'.astro',
]);

Expand Down
Loading
Loading