Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/add entry point file #77

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

FreePhoenix888
Copy link
Member

Resolves #76

@FreePhoenix888 FreePhoenix888 added the enhancement New feature or request label Mar 10, 2024
@FreePhoenix888 FreePhoenix888 self-assigned this Mar 10, 2024
@FreePhoenix888 FreePhoenix888 marked this pull request as draft March 10, 2024 10:34
@FreePhoenix888
Copy link
Member Author

We should remove excludes from config to have everything in entry-point but in this case we have these errors:

gitpod /workspace/dev/temp/deepcase (feature/add_entry_point_file) $ npm run package:build

> @deep-foundation/deepcase@0.0.109 package:build
> tsc --project tsconfig.json

imports/index.ts:42:15 - error TS2306: File '/workspace/dev/temp/deepcase/imports/aframe/aframe-graph.tsx' is not a module.

42 export * from "./aframe/aframe-graph";
                 ~~~~~~~~~~~~~~~~~~~~~~~

imports/index.ts:61:1 - error TS2308: Module "./cyto/editor-preview" has already exported a member named 'EditorTab'. Consider explicitly re-exporting to resolve the ambiguity.

61 export * from "./cyto/editor";
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

imports/index.ts:61:1 - error TS2308: Module "./cyto/editor-preview" has already exported a member named 'useEditorValueSaver'. Consider explicitly re-exporting to resolve the ambiguity.

61 export * from "./cyto/editor";
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

imports/index.ts:84:1 - error TS2308: Module "./cyto/editor-preview" has already exported a member named 'EditorTab'. Consider explicitly re-exporting to resolve the ambiguity.

84 export * from "./editor/editor-tabs";
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

imports/index.ts:87:1 - error TS2308: Module "./cyto-react-links-packages" has already exported a member named 'IPackage'. Consider explicitly re-exporting to resolve the ambiguity.

87 export * from "./packager-interface/packager-interface-tabs-content";
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

imports/index.ts:89:1 - error TS2308: Module "./packager-interface/packager-interface-tabs-menu" has already exported a member named 'TabsPackages'. Consider explicitly re-exporting to resolve the ambiguity.

89 export * from "./packager-interface/packager-interface-tabs";
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Found 6 errors in the same file, starting at: imports/index.ts:42

@ivansglazunov , @Konard what do you propose to do with it?

@FreePhoenix888
Copy link
Member Author

I cannot exclude them because they are essential for some client handlers and maybe more. After I excluded them - my package client handler stopped working with this error:

TypeError: useEditorTabs is not a function

Because useEditorTabs is not exported in entry point file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Generate index.ts file to expose everything to client handlers
1 participant