Skip to content

Tags: clerk/cli

Tags

v2.0.1-canary.4240dd5

Toggle v2.0.1-canary.4240dd5's commit message

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
chore(test): refresh e2e fixtures (#336)

Co-authored-by: wyattjoh <633002+wyattjoh@users.noreply.github.com>

v2.0.1-canary.2573eb4

Toggle v2.0.1-canary.2573eb4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(test): fail refresh fixtures on scaffold errors (#356)

v2.0.1-canary.34cb930

Toggle v2.0.1-canary.34cb930's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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>

v2.0.1-canary.22edc78

Toggle v2.0.1-canary.22edc78's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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>

v2.0.1-canary.6fb32db

Toggle v2.0.1-canary.6fb32db's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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>

v2.0.1-canary.1c3bd93

Toggle v2.0.1-canary.1c3bd93's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
ci: pin Node.js 22 in release and e2e workflows (#353)

* ci: pin release publish jobs to node 22

* ci: pin fixture refresh to node 22

v2.0.1-canary.0d18c37

Toggle v2.0.1-canary.0d18c37's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(release): publish native packages before clerk (#355)

v2.0.1-canary.ea8da27

Toggle v2.0.1-canary.ea8da27's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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.

v2.0.1-canary.cb6c42f

Toggle v2.0.1-canary.cb6c42f's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
ci: pin GitHub workflows to Node.js 24 (#354)

v2.0.1-canary.41ad30e

Toggle v2.0.1-canary.41ad30e's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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.