Skip to content

Commit 3cf4e92

Browse files
committed
Remove dead dual-publish wiring: rewrite script + deprecation warning
Delete scripts/rewrite-packages-to-hexclave.ts and the SDK deprecation-warning side-effect module (plus its import in the template entrypoint). With packages renamed to @hexclave/* in source, no @stackframe/* artifact is built, so the runtime warning has nothing to detect and the publish-time rewrite step is gone.
1 parent d5954a4 commit 3cf4e92

3 files changed

Lines changed: 0 additions & 275 deletions

File tree

packages/template/src/index.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
// Side-effect import — fires once-per-process @stackframe/* deprecation warning at SDK load time.
2-
// In packages published as @hexclave/*, scripts/rewrite-packages-to-hexclave.ts rewrites the
3-
// build-time sentinel inside dist/ (`js @stackframe/<pkg>@<ver>` → `js @hexclave/<new>@<ver>`),
4-
// so the @stackframe/-prefixed check in deprecation-warning.ts short-circuits there.
5-
import "./internal/deprecation-warning";
6-
71
export * from './lib/stack-app';
82
export { getConvexProvidersConfig } from "./integrations/convex";
93
// Hexclave aliases and legacy Stack* names — @deprecated JSDoc lives on the original

packages/template/src/internal/deprecation-warning.ts

Lines changed: 0 additions & 52 deletions
This file was deleted.

scripts/rewrite-packages-to-hexclave.ts

Lines changed: 0 additions & 217 deletions
This file was deleted.

0 commit comments

Comments
 (0)