Tags: clerk/cli
Tags
feat(init): install the clerk-expo setup skill for Expo projects (#328) * feat(init): install the clerk-expo setup skill for Expo projects The expo entry in FRAMEWORK_SKILL_MAP (added in #86, 2026-04) predates the mobile/clerk-expo setup skill (added to clerk/skills in 2026-05), so Expo inits only got clerk-expo-patterns. The map now supports multiple skills per framework and Expo installs both. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * refactor(init): make framework skill arrays readonly Review feedback on the FRAMEWORK_SKILL_MAP leak: type the map as Record<string, readonly string[]> so immutability is declared at the source and getFrameworkSkills inherits it, instead of copying at runtime. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> --------- Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
build(deps-dev): bump oxlint from 1.69.0 to 1.70.0 (#350) Bumps [oxlint](https://github.com/oxc-project/oxc/tree/HEAD/npm/oxlint) from 1.69.0 to 1.70.0. - [Release notes](https://github.com/oxc-project/oxc/releases) - [Changelog](https://github.com/oxc-project/oxc/blob/main/npm/oxlint/CHANGELOG.md) - [Commits](https://github.com/oxc-project/oxc/commits/oxlint_v1.70.0/npm/oxlint) --- updated-dependencies: - dependency-name: oxlint dependency-version: 1.70.0 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
build(deps-dev): bump oxfmt from 0.54.0 to 0.55.0 (#349) Bumps [oxfmt](https://github.com/oxc-project/oxc/tree/HEAD/npm/oxfmt) from 0.54.0 to 0.55.0. - [Release notes](https://github.com/oxc-project/oxc/releases) - [Changelog](https://github.com/oxc-project/oxc/blob/main/npm/oxfmt/CHANGELOG.md) - [Commits](https://github.com/oxc-project/oxc/commits/oxfmt_v0.55.0/npm/oxfmt) --- updated-dependencies: - dependency-name: oxfmt dependency-version: 0.55.0 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
fix(deploy): use Frontend API URL for OAuth redirect URI in walkthrou… …gh (#335) * fix(deploy): use Frontend API URL for OAuth redirect URI in walkthrough The OAuth walkthrough printed https://accounts.{domain}/v1/oauth_callback, but /v1/oauth_callback is served by the Frontend API (clerk.{domain}), not the Account Portal. Users pasting the printed value into their provider console hit redirect_uri_mismatch. Thread frontend_api_url from the PLAPI domain response through DeployOperationState and LiveDeploySnapshot into showOAuthWalkthrough, falling back to https://clerk.{domain} if absent. * chore: add changeset * refactor(deploy): extract oauthWalkthroughUrls helper per wyattjoh review * refactor(deploy): extract clerkSubdomains helper per wyattjoh review Centralizes the clerk./accounts./clkmail. subdomain derivations so they can't drift independently across copy.ts and providers.ts.
refactor(cli): co-locate command registration in each command folder (#… …309) * refactor(cli): co-locate command registration in each command folder Move Commander wiring out of the monolithic cli-program.ts into per-command registerX(program) functions co-located with each command. createProgram() now just calls them in registration order, shrinking cli-program.ts from 1109 to ~320 lines and making each command's surface owned by its own folder. - Each command folder exposes registerX(program): void (mirrors the existing registerExtras precedent) - New commands/toggles/ owns the shared enable/disable parents that wire the orgs + billing handlers (neither feature folder cleanly owns them) - Shared option parsers (parseIntegerOption, collectOptionValues) extracted to lib/option-parsers.ts - clerk --help output verified byte-identical across all 39 command nodes; no user-facing change * refactor(cli-program): use array iteration for command registration; add option-parsers tests Address PR review comments from wyattjoh: - Refactor command registration into a static `registrants` array iterated with a single loop, providing a common/standard registration pattern (comment on cli-program.ts) - Add unit tests for `option-parsers.ts` covering `collectOptionValues` and `parseIntegerOption` (comment on option-parsers.ts) - Also wire in `registerDeploy` for the deploy command added in main and remove the now-deleted `registerSkill` (cleanup after rebase) * refactor(cli-program): export typed Program for registrants; align env pull description * refactor(cli-program): require createProgram to return Program * fix(cli-program): assert program variable conforms to Program type Addresses review comment: the program variable at the point of construction should require it conforms to the exported Program type, not just be validated at the return statement.
PreviousNext