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

Types not exported for BlocknoteView #452

Closed
brendanlaschke opened this issue Dec 4, 2023 · 1 comment · Fixed by #457
Closed

Types not exported for BlocknoteView #452

brendanlaschke opened this issue Dec 4, 2023 · 1 comment · Fixed by #457
Assignees
Labels
bug Something isn't working prio:high High priority

Comments

@brendanlaschke
Copy link

Describe the bug

The new release doesn't expose the types for BlocknoteView

The types export

export * from "./editor/BlockNoteTheme";
export * from "./editor/BlockNoteView";
export * from "./editor/defaultThemes";

/node_modules/@blocknote/react/types/src/editor doesn't exist instead there exists a folder /node_modules/@blocknote/react/types/src/Editor (uppercase)

To Reproduce
The releases types

@brendanlaschke brendanlaschke added the bug Something isn't working label Dec 4, 2023
@YousefED
Copy link
Collaborator

YousefED commented Dec 4, 2023

Thanks. Let's fix create a clean script to every package to prevent this in the future, and create a hotfix release

"clean": "rimraf dist && rimraf types",

(and add rimraf to devdeps)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working prio:high High priority
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants