Skip to content

chore(starter): update @peektravel/app-utilities to 1.3.0 - #32

Merged
oskarbruening merged 1 commit into
mainfrom
bump-app-utilities-1.3.0
Nov 17, 2026
Merged

oskarbruening merged 1 commit into
mainfrom
bump-app-utilities-1.3.0

Conversation

@oskarbruening

Copy link
Copy Markdown
Contributor

What

Updates the starter kit's @peektravel/app-utilities dependency from ^0.9.0 to ^1.3.0 and migrates the breaking change that comes with the 1.x major.

Why it's not just a version bump

In 1.x, mode: "v2" requires apiUrl — the constructor now throws without it (verified: the starter's own test suite went red with mode "v2" requires an "apiUrl"). The old config passed the now-deprecated baseUrl/gatewayKey/appId instead.

Changes

  • templates/nextjs-starter-kit/
    • Dep ^0.9.0 → ^1.3.0 (+ lockfile pinned to 1.3.0).
    • New appApiUrl(env) helper rebuilds ${PEEK_API_URL}/${PEEK_APP_ID} — the exact URL the old baseUrl+appId config produced inside the library, and the shape the install webhook's api.url also takes. It's a stand-in until an app persists each install's own apiUrl; same behavior as before.
    • peek/acme/cng service builders moved off baseUrl/gatewayKey/appId onto a single apiUrl.
  • Skills resync (repo policy — skills mirror the starter's service construction; the Peek v2 example would now throw): updated constructor examples and prose in the peek/acme/cng embed-and-auth + backoffice-api skills, peek manifest-and-deploy, and the app-utilities stack skill. v2 now requires apiUrl (not "soon"); mode is required (not deprecated).
  • Version: CLI 1.2.1 → 1.2.2 (patch — starter dep bump + skill rewording).

Verification

  • Starter typecheck: clean.
  • Starter tests: 181 passed (was 5 failing on 1.3.0 before the migration).
  • No CLI .ts touched, so the CLI build is unaffected.

🤖 Generated with Claude Code

v2 mode now requires `apiUrl` (constructor throws without it), so the
starter's service builders moved off the deprecated `baseUrl`/`gatewayKey`/
`appId` onto a single `apiUrl`. A new `appApiUrl(env)` helper rebuilds the
app-level endpoint (`${PEEK_API_URL}/${PEEK_APP_ID}`) — the same URL the old
`baseUrl`+`appId` config produced inside the library — as a stand-in until an
app persists each install's webhook `apiUrl`.

Resynced the platform/stack skills whose constructor examples and prose
mirrored the old config (the Peek v2 example would now throw), and bumped the
CLI to 1.2.2.

Verified: starter typecheck clean, 181 template tests pass.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@oskarbruening
oskarbruening merged commit aa916e9 into main Nov 17, 2026
2 checks passed
@oskarbruening
oskarbruening deleted the bump-app-utilities-1.3.0 branch November 17, 2026 22:38
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.

1 participant