Skip to content

chore: consume @btravstack shared config packages#24

Merged
btravers merged 1 commit into
mainfrom
chore/consume-btravstack-config
Jul 24, 2026
Merged

chore: consume @btravstack shared config packages#24
btravers merged 1 commit into
mainfrom
chore/consume-btravstack-config

Conversation

@btravers

Copy link
Copy Markdown
Contributor

Migrates start to consume the published @btravstack/* shared config packages (org-wide rollout, btravstack/amqp-contract#555).

Special case: name collision

start's local tools/tsconfig and tools/typedoc were named @btravstack/tsconfig and @btravstack/typedoc — the exact names now published to npm. So instead of a thin re-extend, this deletes the local tool packages and points consumers at the published ones:

  • removed tools/tsconfig, tools/typedoc; dropped tools/* from the workspace globs
  • 8 consumers (4 packages/* + 4 examples/*): @btravstack/tsconfig & @btravstack/typedoc workspace:*catalog:
  • consumer tsconfig.json / typedoc.json extends strings are unchanged (@btravstack/tsconfig/base.json now resolves to the published package)

Also migrated

  • oxlint — extends @btravstack/oxlint (repo ignorePatterns kept)
  • commitlint — extends @btravstack/commitlint (drops direct @commitlint/config-conventional)
  • oxfmt fixorganizeImportssortImports (oxfmt 0.58 dropped the old key; sorting was silently off)
  • catalog + minimumReleaseAgeExclude + knip ignores updated.

Not migrated

oxfmt (no extends) and lefthook (follow-up once @btravstack/lefthook@0.1.1 is republished).

Gate

pnpm install, typecheck 13/13, build, lint, format, knip, test 13/13 — all green.

Copilot AI review requested due to automatic review settings July 24, 2026 00:21

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Migrates this repo from local workspace “tools” config packages to the published @btravstack/* shared config packages, aligning start with the org-wide shared tooling rollout and resolving the prior @btravstack/tsconfig / @btravstack/typedoc name collision.

Changes:

  • Removes the local tools/tsconfig and tools/typedoc workspace packages and switches consumers to the published @btravstack/tsconfig and @btravstack/typedoc via catalog:.
  • Adopts shared config packages for commitlint and oxlint, and updates formatter config to re-enable import sorting via sortImports.
  • Updates lockfile and applies import-order cleanups consistent with the new formatting/linting behavior.

Reviewed changes

Copilot reviewed 38 out of 39 changed files in this pull request and generated no comments.

Show a summary per file
File Description
tools/typedoc/package.json Removes the local @btravstack/typedoc workspace package (replaced by published config).
tools/typedoc/base.json Removes the local TypeDoc base config JSON (now consumed from the published package).
tools/tsconfig/package.json Removes the local @btravstack/tsconfig workspace package (replaced by published config).
tools/tsconfig/base.json Removes the local TS base config JSON (now consumed from the published package).
pnpm-workspace.yaml Drops tools/* from workspace globs; adds shared config packages to catalog and release-age excludes.
pnpm-lock.yaml Updates the lockfile to reflect migration from workspace links to published shared config packages.
package.json Adds @btravstack/commitlint / @btravstack/oxlint and drops direct @commitlint/config-conventional.
commitlint.config.js Switches commitlint to extend the shared @btravstack/commitlint config.
.oxlintrc.json Switches oxlint to extend the shared @btravstack/oxlint base config while keeping repo ignores.
.oxfmtrc.json Migrates from deprecated import-organizing config to sortImports to restore import sorting.
knip.json Adds an ignore for @btravstack/oxlint to prevent false-positive unused-dependency reports.
packages/start-kernel/package.json Switches @btravstack/tsconfig / @btravstack/typedoc devDeps to catalog:.
packages/start-api/package.json Switches @btravstack/tsconfig / @btravstack/typedoc devDeps to catalog:.
packages/start-amqp/package.json Switches @btravstack/tsconfig / @btravstack/typedoc devDeps to catalog:.
packages/start-temporal/package.json Switches @btravstack/tsconfig / @btravstack/typedoc devDeps to catalog:.
packages/start-kernel/src/host.spec.ts Import formatting cleanup consistent with formatter behavior.
packages/start-kernel/src/handler.spec.ts Import formatting cleanup consistent with formatter behavior.
packages/start-kernel/src/contract.spec.ts Import formatting cleanup consistent with formatter behavior.
packages/start-kernel/src/config.spec.ts Import formatting cleanup consistent with formatter behavior.
examples/start-temporal-worker/package.json Switches @btravstack/tsconfig devDep to catalog:.
examples/start-temporal-worker/src/worker.ts Import reordering (no functional change).
examples/start-temporal-worker/src/worker.integration.ts Import reordering/grouping cleanup (no functional change).
examples/start-temporal-worker/src/infra/payments.ts Import reordering/grouping cleanup (no functional change).
examples/start-temporal-worker/src/infra/logger.ts Import reordering/grouping cleanup (no functional change).
examples/start-orpc-prisma/package.json Switches @btravstack/tsconfig devDep to catalog:.
examples/start-orpc-prisma/src/infra/prisma.ts Import reordering/grouping cleanup (no functional change).
examples/start-orpc-prisma/src/http/router.ts Import reordering/grouping cleanup (no functional change).
examples/start-orpc-prisma/src/app.ts Import reordering/grouping cleanup (no functional change).
examples/start-orpc-prisma/src/app.test.ts Moves file header comment below imports to match import-sorting behavior.
examples/start-orpc-prisma/src/app.integration.ts Import reordering/grouping cleanup (no functional change).
examples/start-api-todo/package.json Switches @btravstack/tsconfig devDep to catalog:.
examples/start-api-todo/src/infra/adapters.ts Import reordering/grouping cleanup (no functional change).
examples/start-api-todo/src/app.ts Import reordering/grouping cleanup (no functional change).
examples/start-amqp-worker/package.json Switches @btravstack/tsconfig devDep to catalog:.
examples/start-amqp-worker/src/worker.integration.ts Import reordering/grouping cleanup (no functional change).
examples/start-amqp-worker/src/server.ts Import reordering/grouping cleanup (no functional change).
examples/start-amqp-worker/src/infra/payments.ts Import reordering/grouping cleanup (no functional change).
examples/start-amqp-worker/src/infra/logger.ts Import reordering/grouping cleanup (no functional change).
docs/.vitepress/theme/index.ts Minor formatting change (blank line) consistent with formatter behavior.
Files not reviewed (1)
  • pnpm-lock.yaml: Generated file

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

The local tools/tsconfig & tools/typedoc were named @btravstack/tsconfig and
@btravstack/typedoc — the names now published to npm. Remove them and point
consumers at the published packages via the catalog.

- remove tools/tsconfig, tools/typedoc; drop tools/* from the workspace globs
- 8 consumers (packages + examples): @btravstack/{tsconfig,typedoc} workspace:* -> catalog:
- .oxlintrc.json extends @btravstack/oxlint; commitlint.config.js extends @btravstack/commitlint
- .oxfmtrc.json: organizeImports -> sortImports (all packages are private, no release)
- ignore the private @btravstack/start-* and @btravstack-examples/* packages in changesets
- security: force fast-uri >=3.1.4 (GHSA-v2hh-gcrm-f6hx) + release-age exclude
- catalog + minimumReleaseAgeExclude updated for @btravstack scope
@btravers
btravers force-pushed the chore/consume-btravstack-config branch from 247dcb4 to 5670c7d Compare July 24, 2026 00:51
@btravers
btravers merged commit 4d8a049 into main Jul 24, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants