fix(build): add missing React index.tsx entry files for tsup bundling

Three React modules were missing their index.tsx entry files, causing
tsup to skip them during buildreact. The compile step then failed with
"Cannot find module" errors for:
- orcide-tooltip/index.js
- orcide-editor-widgets-tsx/index.js
- orcide-onboarding/index.js

Each index.tsx follows the existing pattern: import the component and
export a mount function via mountFnGenerator.

https://claude.ai/code/session_01UgRm1eNr4jVDQ4tVK2LXoR
This commit is contained in:
Claude 2026-02-22 04:01:27 +00:00
parent 06d3c742d5
commit 386863197b
No known key found for this signature in database
3 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,11 @@
/*--------------------------------------------------------------------------------------
* Copyright 2025 Orcest AI. All rights reserved.
* Licensed under the MIT License. See LICENSE.txt for more information.
*--------------------------------------------------------------------------------------*/
import { mountFnGenerator } from '../util/mountFnGenerator.js'
import { OrcideCommandBar } from './OrcideCommandBar.js'
import { OrcideSelectionHelperMain } from './OrcideSelectionHelper.js'
export const mountOrcideCommandBar = mountFnGenerator(OrcideCommandBar)
export const mountOrcideSelectionHelper = mountFnGenerator(OrcideSelectionHelperMain)

View file

@ -0,0 +1,9 @@
/*--------------------------------------------------------------------------------------
* Copyright 2025 Orcest AI. All rights reserved.
* Licensed under the MIT License. See LICENSE.txt for more information.
*--------------------------------------------------------------------------------------*/
import { mountFnGenerator } from '../util/mountFnGenerator.js'
import { OrcideOnboarding } from './OrcideOnboarding.js'
export const mountOrcideOnboarding = mountFnGenerator(OrcideOnboarding)

View file

@ -0,0 +1,9 @@
/*--------------------------------------------------------------------------------------
* Copyright 2025 Orcest AI. All rights reserved.
* Licensed under the MIT License. See LICENSE.txt for more information.
*--------------------------------------------------------------------------------------*/
import { mountFnGenerator } from '../util/mountFnGenerator.js'
import { OrcideTooltip } from './OrcideTooltip.js'
export const mountOrcideTooltip = mountFnGenerator(OrcideTooltip)