fix(hexclave): rename leftover @stackframe/stack-shared imports to @hexclave/shared

PR 3 renamed @stackframe/stack-shared -> @hexclave/shared and deleted the
dual-publish wiring, but two template provider files were missed. Because
packages/react is generated from packages/template (generate-sdks copies
imports verbatim) and tsdown externalizes the import, @hexclave/react built
fine, but downstream Vite/Rollup consumers (lovable-react-18-example) failed
with 'Rollup failed to resolve import @stackframe/stack-shared/dist/utils/globals'
since that package no longer exists.
This commit is contained in:
Bilal Godil 2026-05-29 16:35:25 -07:00
parent 609579abab
commit 15901edb2b
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
"use client";
import React from "react";
import { createGlobal } from "@stackframe/stack-shared/dist/utils/globals";
import { createGlobal } from "@hexclave/shared/dist/utils/globals";
import type { StackClientApp } from "../lib/stack-app/apps/interfaces/client-app";
type StackContextValue = {

View File

@ -1,7 +1,7 @@
"use client";
import React from "react";
import { createGlobal } from "@stackframe/stack-shared/dist/utils/globals";
import { createGlobal } from "@hexclave/shared/dist/utils/globals";
type TranslationContextValue = {
quetzalKeys: Map<string, string>,