fix: tonal import in autocomplete + add tonal to codemirror package dependencies
This commit is contained in:
parent
be61d08cc6
commit
105db2a4ca
4 changed files with 7 additions and 3 deletions
|
|
@ -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');
|
||||
|
|
|
|||
|
|
@ -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:*",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue