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

Bring up-to-date, directly call Viz from extension.ts, bump 0.1.0 #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Profpatsch
Copy link

This simplifies the setup, I assume old versions of vscode still required a lot of workarounds.

Move to new Viz library which is a real module, so we can directly call it from extension.ts instead of the workaround. This speeds up things considerably, because we don’t have to initialize the wasm library on each call, instead do it once on extension init.

The <pre style="all:unset"> trick is the same as the one used by the preview code generated by the mermaid extension.

I removed the test stubs.
I moved to npm lockfiles and removed yarn.

This bumps the extension version to 0.1.0.

This simplifies the setup, I assume old versions of vscode still
required a lot of workarounds.

Move to new Viz library which is a real module, so we can directly
call it from `extension.ts` instead of the workaround. This speeds up
things considerably, because we don’t have to initialize the wasm
library on each call, instead do it once on extension init.

The `<pre style="all:unset">` trick is the same as the one used by
the preview code generated by the mermaid extension.

I removed the test stubs.
I moved to npm lockfiles and removed yarn.

This bumps the extension version to 0.1.0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant