stack/packages/stack-cli/src/commands
Bilal Godil ad2f17db82 fix(hexclave): doctor accepts @hexclave/next StackProvider import
The next.layout-provider check's import regex only matched the legacy
@stackframe/stack scope. After the PR-3 source rename, fixtures (and
real projects) import StackProvider from @hexclave/next, so the regex
returned false, the layout check failed, and the doctor exited 1.

Widen the regex to accept both scopes, mirroring the dual-scope detection
in packages/stack-shared/src/config-rendering.ts and apps/dashboard/src/lib/github-config-push.ts.

Fixes 9 Stack CLI - Doctor failures in apps/e2e/tests/general/cli.test.ts.
2026-05-26 11:50:22 -07:00
..
config-file.test.ts feat: link Stack Auth projects to GitHub and push config from the dashboard (#1450) 2026-05-21 13:47:46 -07:00
config-file.ts feat(hexclave): rename @stackframe/* → @hexclave/* (PR 3) 2026-05-23 17:41:53 -07:00
dev.ts feat(hexclave): PR 2 — visible rebrand to Hexclave 2026-05-23 17:35:08 -07:00
doctor.ts fix(hexclave): doctor accepts @hexclave/next StackProvider import 2026-05-26 11:50:22 -07:00
emulator.test.ts Remote dev envs (#1435) 2026-05-19 15:54:18 -07:00
emulator.ts feat(hexclave): PR 2 — visible rebrand to Hexclave 2026-05-23 17:35:08 -07:00
exec.test.ts stack-cli: explicit --cloud-project-id / --config-file across exec, config, project (#1422) 2026-05-14 17:20:40 -07:00
exec.ts feat(hexclave): PR 2 — visible rebrand to Hexclave 2026-05-23 17:35:08 -07:00
fix.ts feat(hexclave): rename @stackframe/* → @hexclave/* (PR 3) 2026-05-23 17:41:53 -07:00
init.ts feat(hexclave): rename @stackframe/* → @hexclave/* (PR 3) 2026-05-23 17:41:53 -07:00
login.ts feat(hexclave): rename @stackframe/* → @hexclave/* (PR 3) 2026-05-23 17:41:53 -07:00
logout.ts feat(hexclave): PR 2 — visible rebrand to Hexclave 2026-05-23 17:35:08 -07:00
project.test.ts stack-cli: explicit --cloud-project-id / --config-file across exec, config, project (#1422) 2026-05-14 17:20:40 -07:00
project.ts stack-cli: explicit --cloud-project-id / --config-file across exec, config, project (#1422) 2026-05-14 17:20:40 -07:00
whoami.ts feat(hexclave): PR 2 — visible rebrand to Hexclave 2026-05-23 17:35:08 -07:00