Skip to content

fix(verify): explain a missing API checkout instead of naming the npx cache - #370

Merged
Bccorb merged 1 commit into
mainfrom
fix/verify-outside-checkout
Nov 11, 2026
Merged

Bccorb merged 1 commit into
mainfrom
fix/verify-outside-checkout

Conversation

@Bccorb

@Bccorb Bccorb commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

Closes #367.

Run from a scaffolded project through npx, seamless verify guessed the auth API source as a sibling of the CLI's install folder and failed with a path inside the npm cache, with no hint that verify is a contributor tool.

  • The missing-source error now says verify is the conformance suite for contributors, where to clone seamless-auth-api, and to run seamless check for a project made by init.
  • From an npm install (any node_modules path) it no longer guesses a sibling checkout unless SEAMLESS_API_DIR is set, so no cache path is printed.
  • seamless verify --help opens with the same pointer to check.

Tests cover the npx path, SEAMLESS_API_DIR overriding it, and the sibling default for a linked CLI. Build, 2126 tests and coverage pass.

… cache

Run from a scaffolded project through npx, verify guessed the API source as a
sibling of the CLI's install folder and failed with a path inside the npm cache.
The error now says verify is a contributor tool, where to clone the API, and to
run seamless check for a generated project. From an npm install it skips the
sibling guess unless SEAMLESS_API_DIR is set, and verify --help leads with the
same pointer.

Closes #367
@Bccorb Bccorb added this to the v0.24 milestone Nov 11, 2026
@Bccorb
Bccorb merged commit 18619ea into main Nov 11, 2026
6 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.

fix(verify): run from a scaffolded project, verify fails with a path inside the npx cache

1 participant