mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-04 21:04:37 +08:00
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:
parent
609579abab
commit
15901edb2b
@ -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 = {
|
||||
|
||||
@ -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>,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user