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 .agents/plugins/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"name": "lvbt-contributions",
"source": {
"source": "local",
"path": "../../node_modules/@lvbt/cli/plugins/lvbt-contributions"
"path": "../../node_modules/@lasvegasfortransit/cli/plugins/lvbt-contributions"
},
"policy": {
"installation": "AVAILABLE",
Expand Down
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.8"
"ref": "v0.3.5"
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion .codex/hooks.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"hooks": [
{
"type": "command",
"command": "node \"$(git rev-parse --show-toplevel)/node_modules/@lvbt/cli/plugins/lvbt-contributions/hooks/codex-pre-tool-use.mjs\"",
"command": "node \"$(git rev-parse --show-toplevel)/node_modules/@lasvegasfortransit/cli/plugins/lvbt-contributions/hooks/codex-pre-tool-use.mjs\"",
"timeout": 10
}
]
Expand Down
4 changes: 2 additions & 2 deletions .githooks/commit-msg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env sh
# The shared hook lives in @lvbt/cli; repository-specific steps go below it.
# The shared hook lives in @lasvegasfortransit/cli; repository-specific steps go below it.
set -eu
ROOT=$(git rev-parse --show-toplevel)
sh "$ROOT/node_modules/@lvbt/cli/hooks/commit-msg.sh" "$@"
sh "$ROOT/node_modules/@lasvegasfortransit/cli/hooks/commit-msg.sh" "$@"
4 changes: 2 additions & 2 deletions .githooks/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env sh
# The shared hook lives in @lvbt/cli; repository-specific steps go below it.
# The shared hook lives in @lasvegasfortransit/cli; repository-specific steps go below it.
set -eu
ROOT=$(git rev-parse --show-toplevel)
sh "$ROOT/node_modules/@lvbt/cli/hooks/pre-commit.sh" "$@"
sh "$ROOT/node_modules/@lasvegasfortransit/cli/hooks/pre-commit.sh" "$@"
4 changes: 2 additions & 2 deletions .githooks/pre-push
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env sh
# The shared hook lives in @lvbt/cli; repository-specific steps go below it.
# The shared hook lives in @lasvegasfortransit/cli; repository-specific steps go below it.
set -eu
ROOT=$(git rev-parse --show-toplevel)
sh "$ROOT/node_modules/@lvbt/cli/hooks/pre-push.sh" "$@"
sh "$ROOT/node_modules/@lasvegasfortransit/cli/hooks/pre-push.sh" "$@"
4 changes: 2 additions & 2 deletions .githooks/prepare-commit-msg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env sh
# The shared hook lives in @lvbt/cli; repository-specific steps go below it.
# The shared hook lives in @lasvegasfortransit/cli; repository-specific steps go below it.
set -eu
ROOT=$(git rev-parse --show-toplevel)
sh "$ROOT/node_modules/@lvbt/cli/hooks/prepare-commit-msg.sh" "$@"
sh "$ROOT/node_modules/@lasvegasfortransit/cli/hooks/prepare-commit-msg.sh" "$@"
16 changes: 1 addition & 15 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,10 @@
"enabled": true,
"schedule": ["before 6am on monday"]
},
"customManagers": [
{
"description": "The @lvbt/* packages install from git tags of repository-tooling with a path: suffix that the npm manager does not parse, and the Claude Code marketplace pins the same tag. Track both as one dependency on the repository's tags.",
"customType": "regex",
"managerFilePatterns": ["/(^|/)package\\.json$/", "/(^|/)\\.claude/settings\\.json$/"],
"matchStrings": [
"github:LasVegasForTransit/repository-tooling#(?<currentValue>v\\d+\\.\\d+\\.\\d+)&path:/packages/[a-z-]+",
"\"repo\": \"LasVegasForTransit/repository-tooling\",\\s*\"ref\": \"(?<currentValue>v\\d+\\.\\d+\\.\\d+)\""
],
"depNameTemplate": "LasVegasForTransit/repository-tooling",
"datasourceTemplate": "github-tags",
"versioningTemplate": "semver"
}
],
"packageRules": [
{
"groupName": "LVBT repository standard",
"matchDepNames": ["LasVegasForTransit/repository-tooling"]
"matchPackageNames": ["@lasvegasfortransit/*"]
},
{
"groupName": "dev dependencies (non-major)",
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
node_modules/
dist/
coverage/
test-results/
playwright-report/
blob-report/
**/playwright/.cache/
.turbo/
.wrangler/
.env
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.2.8",
"commit": "8c33f0f2855fb1ce919df0c076d866392b83946e",
"contentHash": "f649fa8382fb42b4c8aafb4681406f75f3baf4e24f97ccb78eb5ce2198f74996",
"release": "v0.3.5",
"commit": "657c8ecf60b2cb6791f4b731f0b03c9756384712",
"contentHash": "849142b984ac92bf36a930904a064f31e2a5ecfcbb2e2dc509caa41a77f24a27",
"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 @@ -8,7 +8,7 @@
"name": "lvbt-contributions",
"source": {
"source": "local",
"path": "../../node_modules/@lvbt/cli/plugins/lvbt-contributions"
"path": "../../node_modules/@lasvegasfortransit/cli/plugins/lvbt-contributions"
},
"policy": {
"installation": "AVAILABLE",
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.2.8"
"ref": "v0.3.5"
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion .lvbt/web-platform/examples/with-astro/.codex/hooks.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"hooks": [
{
"type": "command",
"command": "node \"$(git rev-parse --show-toplevel)/node_modules/@lvbt/cli/plugins/lvbt-contributions/hooks/codex-pre-tool-use.mjs\"",
"command": "node \"$(git rev-parse --show-toplevel)/node_modules/@lasvegasfortransit/cli/plugins/lvbt-contributions/hooks/codex-pre-tool-use.mjs\"",
"timeout": 10
}
]
Expand Down
4 changes: 2 additions & 2 deletions .lvbt/web-platform/examples/with-astro/.githooks/commit-msg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env sh
# The shared hook lives in @lvbt/cli; repository-specific steps go below it.
# The shared hook lives in @lasvegasfortransit/cli; repository-specific steps go below it.
set -eu
ROOT=$(git rev-parse --show-toplevel)
sh "$ROOT/node_modules/@lvbt/cli/hooks/commit-msg.sh" "$@"
sh "$ROOT/node_modules/@lasvegasfortransit/cli/hooks/commit-msg.sh" "$@"
4 changes: 2 additions & 2 deletions .lvbt/web-platform/examples/with-astro/.githooks/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env sh
# The shared hook lives in @lvbt/cli; repository-specific steps go below it.
# The shared hook lives in @lasvegasfortransit/cli; repository-specific steps go below it.
set -eu
ROOT=$(git rev-parse --show-toplevel)
sh "$ROOT/node_modules/@lvbt/cli/hooks/pre-commit.sh" "$@"
sh "$ROOT/node_modules/@lasvegasfortransit/cli/hooks/pre-commit.sh" "$@"
4 changes: 2 additions & 2 deletions .lvbt/web-platform/examples/with-astro/.githooks/pre-push
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env sh
# The shared hook lives in @lvbt/cli; repository-specific steps go below it.
# The shared hook lives in @lasvegasfortransit/cli; repository-specific steps go below it.
set -eu
ROOT=$(git rev-parse --show-toplevel)
sh "$ROOT/node_modules/@lvbt/cli/hooks/pre-push.sh" "$@"
sh "$ROOT/node_modules/@lasvegasfortransit/cli/hooks/pre-push.sh" "$@"
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env sh
# The shared hook lives in @lvbt/cli; repository-specific steps go below it.
# The shared hook lives in @lasvegasfortransit/cli; repository-specific steps go below it.
set -eu
ROOT=$(git rev-parse --show-toplevel)
sh "$ROOT/node_modules/@lvbt/cli/hooks/prepare-commit-msg.sh" "$@"
sh "$ROOT/node_modules/@lasvegasfortransit/cli/hooks/prepare-commit-msg.sh" "$@"
16 changes: 1 addition & 15 deletions .lvbt/web-platform/examples/with-astro/.github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,10 @@
"enabled": true,
"schedule": ["before 6am on monday"]
},
"customManagers": [
{
"description": "The @lvbt/* packages install from git tags of repository-tooling with a path: suffix that the npm manager does not parse, and the Claude Code marketplace pins the same tag. Track both as one dependency on the repository's tags.",
"customType": "regex",
"managerFilePatterns": ["/(^|/)package\\.json$/", "/(^|/)\\.claude/settings\\.json$/"],
"matchStrings": [
"github:LasVegasForTransit/repository-tooling#(?<currentValue>v\\d+\\.\\d+\\.\\d+)&path:/packages/[a-z-]+",
"\"repo\": \"LasVegasForTransit/repository-tooling\",\\s*\"ref\": \"(?<currentValue>v\\d+\\.\\d+\\.\\d+)\""
],
"depNameTemplate": "LasVegasForTransit/repository-tooling",
"datasourceTemplate": "github-tags",
"versioningTemplate": "semver"
}
],
"packageRules": [
{
"groupName": "LVBT repository standard",
"matchDepNames": ["LasVegasForTransit/repository-tooling"]
"matchPackageNames": ["@lasvegasfortransit/*"]
},
{
"groupName": "dev dependencies (non-major)",
Expand Down
4 changes: 4 additions & 0 deletions .lvbt/web-platform/examples/with-astro/.gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
node_modules/
dist/
coverage/
test-results/
playwright-report/
blob-report/
**/playwright/.cache/
.turbo/
.wrangler/
.env
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"dist",
"**/dist",
".turbo",
".lvbt/web-platform",
"docs/superpowers",
"CHANGELOG.md",
],
Expand Down
1 change: 1 addition & 0 deletions .lvbt/web-platform/examples/with-astro/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@lasvegasfortransit:registry=https://npm.pkg.github.com
6 changes: 3 additions & 3 deletions .lvbt/web-platform/examples/with-astro/AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ authorizes creating an issue or pull request. It carries the organization checkl
templates, and the only approved creation helper:

```bash
node node_modules/@lvbt/cli/plugins/lvbt-contributions/scripts/github-create.mjs issue \
node node_modules/@lasvegasfortransit/cli/plugins/lvbt-contributions/scripts/github-create.mjs issue \
--type bug|feature --title <title> --body-file <file>
node node_modules/@lvbt/cli/plugins/lvbt-contributions/scripts/github-create.mjs pr \
node node_modules/@lasvegasfortransit/cli/plugins/lvbt-contributions/scripts/github-create.mjs pr \
--title <title> --body-file <file> --base main
```

Expand All @@ -43,5 +43,5 @@ change crosses boundaries; never invent one for a feature, file, task, or role.

## The repository standard

Lint, format, TypeScript, and test settings extend the `@lvbt/*` packages from
Lint, format, TypeScript, and test settings extend the `@lasvegasfortransit/*` packages from
`LasVegasForTransit/repository-tooling`. Change a shared rule there, not here.
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 @@ -28,5 +28,5 @@ repository's boundaries.
`pnpm run deploy` builds and runs `wrangler deploy` for every app with a wrangler config;
`.github/workflows/deploy.yml` does the same on every push to `main`.

Lint, format, TypeScript, and test settings extend the `@lvbt/*` packages from
Lint, format, TypeScript, and test settings extend the `@lasvegasfortransit/*` packages from
[`LasVegasForTransit/repository-tooling`](https://github.com/LasVegasForTransit/repository-tooling).
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import { config } from '@lvbt/eslint-config/base';
import { config } from '@lasvegasfortransit/eslint-config/base';

export default config;
10 changes: 5 additions & 5 deletions .lvbt/web-platform/examples/with-astro/apps/site/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@lvbt/site",
"name": "@lasvegasfortransit/site",
"version": "0.0.0",
"private": true,
"type": "module",
Expand All @@ -20,10 +20,10 @@
},
"devDependencies": {
"@astrojs/check": "catalog:",
"@lvbt/eslint-config": "github:LasVegasForTransit/repository-tooling#v0.2.8&path:/packages/eslint-config",
"@lvbt/playwright-config": "github:LasVegasForTransit/repository-tooling#v0.2.8&path:/packages/playwright-config",
"@lvbt/typescript-config": "github:LasVegasForTransit/repository-tooling#v0.2.8&path:/packages/typescript-config",
"@lvbt/vitest-config": "github:LasVegasForTransit/repository-tooling#v0.2.8&path:/packages/vitest-config",
"@lasvegasfortransit/eslint-config": "0.3.5",
"@lasvegasfortransit/playwright-config": "0.3.5",
"@lasvegasfortransit/typescript-config": "0.3.5",
"@lasvegasfortransit/vitest-config": "0.3.5",
"@playwright/test": "catalog:",
"@types/node": "catalog:",
"eslint": "catalog:",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { defineConfig } from '@playwright/test';

import { foregroundServerEnvironment, sharedConfig } from '@lvbt/playwright-config';
import { foregroundServerEnvironment, sharedConfig } from '@lasvegasfortransit/playwright-config';

const url = 'http://127.0.0.1:4321';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { expect, test } from '@playwright/test';
import { expectNoAccessibilityViolations } from '@lvbt/playwright-config/accessibility';
import { monitorPageHealth } from '@lvbt/playwright-config/page-health';
import { expectNoAccessibilityViolations } from '@lasvegasfortransit/playwright-config/accessibility';
import { monitorPageHealth } from '@lasvegasfortransit/playwright-config/page-health';

test('the home page has one main heading', async ({ page }) => {
const health = monitorPageHealth(page);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "@lvbt/typescript-config/astro.json",
"extends": "@lasvegasfortransit/typescript-config/astro.json",
"include": [".astro/types.d.ts", "src", "tests", "*.config.ts"],
"exclude": ["dist"]
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { defineConfig } from 'vitest/config';

import { sharedConfig } from '@lvbt/vitest-config';
import { sharedConfig } from '@lasvegasfortransit/vitest-config';

export default defineConfig({ ...sharedConfig });
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ of every tool for the whole organization. A package writes `"catalog:"` as a ver
pinned one.

<a id="eslint"></a>**ESLint**: finds likely bugs and enforces code rules. The rules come from
`@lvbt/eslint-config`.
`@lasvegasfortransit/eslint-config`.

<a id="prettier"></a>**Prettier**: formats code the same way for everyone, so formatting is never
discussed in review. The settings come from `@lvbt/prettier-config`.
discussed in review. The settings come from `@lasvegasfortransit/prettier-config`.

<a id="vitest"></a>**Vitest**: runs unit tests under `tests/`.

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": {
"@lvbt/cli": "github:LasVegasForTransit/repository-tooling#v0.2.8&path:/packages/cli",
"@lvbt/prettier-config": "github:LasVegasForTransit/repository-tooling#v0.2.8&path:/packages/prettier-config",
"@lasvegasfortransit/cli": "0.3.5",
"@lasvegasfortransit/prettier-config": "0.3.5",
"lint-staged": "catalog:",
"markdownlint-cli2": "catalog:",
"markdownlint-rule-relative-links": "catalog:",
Expand Down
2 changes: 1 addition & 1 deletion .lvbt/web-platform/examples/with-astro/prettier.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import lvbt from '@lvbt/prettier-config';
import lvbt from '@lasvegasfortransit/prettier-config';

export default {
...lvbt,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"name": "lvbt-contributions",
"source": {
"source": "local",
"path": "../../node_modules/@lvbt/cli/plugins/lvbt-contributions"
"path": "../../node_modules/@lasvegasfortransit/cli/plugins/lvbt-contributions"
},
"policy": {
"installation": "AVAILABLE",
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.2.8"
"ref": "v0.3.5"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"hooks": [
{
"type": "command",
"command": "node \"$(git rev-parse --show-toplevel)/node_modules/@lvbt/cli/plugins/lvbt-contributions/hooks/codex-pre-tool-use.mjs\"",
"command": "node \"$(git rev-parse --show-toplevel)/node_modules/@lasvegasfortransit/cli/plugins/lvbt-contributions/hooks/codex-pre-tool-use.mjs\"",
"timeout": 10
}
]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env sh
# The shared hook lives in @lvbt/cli; repository-specific steps go below it.
# The shared hook lives in @lasvegasfortransit/cli; repository-specific steps go below it.
set -eu
ROOT=$(git rev-parse --show-toplevel)
sh "$ROOT/node_modules/@lvbt/cli/hooks/commit-msg.sh" "$@"
sh "$ROOT/node_modules/@lasvegasfortransit/cli/hooks/commit-msg.sh" "$@"
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env sh
# The shared hook lives in @lvbt/cli; repository-specific steps go below it.
# The shared hook lives in @lasvegasfortransit/cli; repository-specific steps go below it.
set -eu
ROOT=$(git rev-parse --show-toplevel)
sh "$ROOT/node_modules/@lvbt/cli/hooks/pre-commit.sh" "$@"
sh "$ROOT/node_modules/@lasvegasfortransit/cli/hooks/pre-commit.sh" "$@"
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env sh
# The shared hook lives in @lvbt/cli; repository-specific steps go below it.
# The shared hook lives in @lasvegasfortransit/cli; repository-specific steps go below it.
set -eu
ROOT=$(git rev-parse --show-toplevel)
sh "$ROOT/node_modules/@lvbt/cli/hooks/pre-push.sh" "$@"
sh "$ROOT/node_modules/@lasvegasfortransit/cli/hooks/pre-push.sh" "$@"
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env sh
# The shared hook lives in @lvbt/cli; repository-specific steps go below it.
# The shared hook lives in @lasvegasfortransit/cli; repository-specific steps go below it.
set -eu
ROOT=$(git rev-parse --show-toplevel)
sh "$ROOT/node_modules/@lvbt/cli/hooks/prepare-commit-msg.sh" "$@"
sh "$ROOT/node_modules/@lasvegasfortransit/cli/hooks/prepare-commit-msg.sh" "$@"
Loading
Loading