stack/packages/template
Bilal Godil 6a01e2507a fix(rde): graceful config load errors + lightweight /config import path
The local dashboard evaluates a project's hexclave.config.ts in a plain Node
context via jiti. When a config imported a value (e.g. defineStackConfig) from a
framework package like @stackframe/stack / @hexclave/next, jiti executed the
whole SDK (React, server-only, Next internals) and threw, surfacing only as
"Failed to register development environment session (500)".

- Catch jiti load failures in readConfigFile and rethrow a helpful message that
  points at the lightweight import path.
- Add a side-effect-free `./config` subpath to the framework packages
  (@hexclave/{js,next,react,tanstack-start}/config) that re-exports
  defineHexclaveConfig/defineStackConfig + the HexclaveConfig type from
  @hexclave/shared/config, with no framework runtime. Users directly depend on
  these packages, so the subpath resolves under pnpm strict mode (unlike the
  transitive @hexclave/shared/config).
- Point the setup prompt, hand-written docs (docs-mintlify), and the renderer
  that auto-writes config files at the new `<pkg>/config` path. Legacy
  @stackframe/* packages predate the subpath, so they keep their root import.

Existing config files that import from a package root are upgraded to the
/config path on their next dashboard/CLI sync.
2026-06-04 15:05:59 -07:00
..
scripts feat(hexclave): PR 3 — native @hexclave/* source rename + delete dual-publish wiring (#1482) 2026-05-29 15:21:59 -07:00
src fix(rde): graceful config load errors + lightweight /config import path 2026-06-04 15:05:59 -07:00
.env Vanilla JS client library (#408) 2025-02-08 02:31:03 +01:00
.eslintrc.cjs New { type: "hosted" } for page URLs (#1261) 2026-03-27 14:48:01 -07:00
.gitignore Vanilla JS client library (#408) 2025-02-08 02:31:03 +01:00
components.json Vanilla JS client library (#408) 2025-02-08 02:31:03 +01:00
LICENSE Vanilla JS client library (#408) 2025-02-08 02:31:03 +01:00
next-env.d.ts Vanilla JS client library (#408) 2025-02-08 02:31:03 +01:00
package-template.json fix(rde): graceful config load errors + lightweight /config import path 2026-06-04 15:05:59 -07:00
package.json fix(rde): graceful config load errors + lightweight /config import path 2026-06-04 15:05:59 -07:00
postcss.config.js Vanilla JS client library (#408) 2025-02-08 02:31:03 +01:00
quetzal.config.json Vanilla JS client library (#408) 2025-02-08 02:31:03 +01:00
README.md Update package README 2026-05-28 09:59:54 -07:00
tailwind.config.js feat(hexclave): PR 3 — native @hexclave/* source rename + delete dual-publish wiring (#1482) 2026-05-29 15:21:59 -07:00
tsconfig.json In-source unit tests (#429) 2025-02-14 11:47:52 -08:00
tsdown.config.ts Fix build 2026-02-27 00:48:07 -08:00
vitest.config.ts feat(hexclave): PR 3 — native @hexclave/* source rename + delete dual-publish wiring (#1482) 2026-05-29 15:21:59 -07:00

This package has been renamed.

Stack Auth is now Hexclave! The new packages are:

  • @hexclave/next
  • @hexclave/react
  • @hexclave/js
  • @hexclave/cli

See the migration guide for more information.