fix: tonal import in autocomplete + add tonal to codemirror package dependencies

This commit is contained in:
Felix Roos 2025-10-18 08:49:31 +02:00
parent be61d08cc6
commit 105db2a4ca
No known key found for this signature in database
4 changed files with 7 additions and 3 deletions

View file

@ -3,7 +3,7 @@ import { autocompletion } from '@codemirror/autocomplete';
import { h } from './html';
import { Scale } from '@tonaljs/tonal';
import { soundMap } from 'superdough';
import { complex } from '../tonal/ireal.mjs';
import { complex } from '@strudel/tonal';
const escapeHtml = (str) => {
const div = document.createElement('div');

View file

@ -46,6 +46,7 @@
"@replit/codemirror-vscode-keymap": "^6.0.2",
"@strudel/core": "workspace:*",
"@strudel/draw": "workspace:*",
"@strudel/tonal": "workspace:*",
"@strudel/transpiler": "workspace:*",
"@tonaljs/tonal": "^4.10.0",
"superdough": "workspace:*",