rename: canvas -> draw
This commit is contained in:
parent
75098adbdb
commit
0f07bfc9d7
26 changed files with 43 additions and 43 deletions
|
|
@ -13,7 +13,7 @@ import {
|
|||
drawSelection,
|
||||
} from '@codemirror/view';
|
||||
import { Pattern, repl } from '@strudel/core';
|
||||
import { Drawer, cleanupDraw } from '@strudel/canvas';
|
||||
import { Drawer, cleanupDraw } from '@strudel/draw';
|
||||
import { isAutoCompletionEnabled } from './autocomplete.mjs';
|
||||
import { isTooltipEnabled } from './tooltip.mjs';
|
||||
import { flash, isFlashEnabled } from './flash.mjs';
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@
|
|||
"@replit/codemirror-vim": "^6.1.0",
|
||||
"@replit/codemirror-vscode-keymap": "^6.0.2",
|
||||
"@strudel/core": "workspace:*",
|
||||
"@strudel/canvas": "workspace:*",
|
||||
"@strudel/draw": "workspace:*",
|
||||
"@uiw/codemirror-themes": "^4.21.21",
|
||||
"@uiw/codemirror-themes-all": "^4.21.21",
|
||||
"nanostores": "^0.9.5"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@strudel/canvas",
|
||||
"name": "@strudel/draw",
|
||||
"version": "1.0.1",
|
||||
"description": "Helpers for drawing with the Canvas API and Strudel",
|
||||
"description": "Helpers for drawing with Strudel",
|
||||
"main": "index.mjs",
|
||||
"type": "module",
|
||||
"publishConfig": {
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
import { getDrawContext } from '@strudel/canvas';
|
||||
import { getDrawContext } from '@strudel/draw';
|
||||
|
||||
let latestOptions;
|
||||
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@
|
|||
"homepage": "https://github.com/tidalcycles/strudel#readme",
|
||||
"dependencies": {
|
||||
"@strudel/core": "workspace:*",
|
||||
"@strudel/canvas": "workspace:*",
|
||||
"@strudel/draw": "workspace:*",
|
||||
"hydra-synth": "^1.3.29"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@
|
|||
"dependencies": {
|
||||
"@strudel/codemirror": "workspace:*",
|
||||
"@strudel/core": "workspace:*",
|
||||
"@strudel/canvas": "workspace:*",
|
||||
"@strudel/draw": "workspace:*",
|
||||
"@strudel/hydra": "workspace:*",
|
||||
"@strudel/midi": "workspace:*",
|
||||
"@strudel/mini": "workspace:*",
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ export async function prebake() {
|
|||
const modulesLoading = evalScope(
|
||||
// import('@strudel/core'),
|
||||
core,
|
||||
import('@strudel/canvas'),
|
||||
import('@strudel/draw'),
|
||||
import('@strudel/mini'),
|
||||
import('@strudel/tonal'),
|
||||
import('@strudel/webaudio'),
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import { silence } from '@strudel/core';
|
||||
import { getDrawContext } from '@strudel/canvas';
|
||||
import { getDrawContext } from '@strudel/draw';
|
||||
import { transpiler } from '@strudel/transpiler';
|
||||
import { getAudioContext, webaudioOutput } from '@strudel/webaudio';
|
||||
import { StrudelMirror, codemirrorSettings } from '@strudel/codemirror';
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@
|
|||
"homepage": "https://github.com/tidalcycles/strudel#readme",
|
||||
"dependencies": {
|
||||
"@strudel/core": "workspace:*",
|
||||
"@strudel/canvas": "workspace:*",
|
||||
"@strudel/draw": "workspace:*",
|
||||
"superdough": "workspace:*"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import { Pattern, clamp } from '@strudel/core';
|
||||
import { getDrawContext } from '@strudel/canvas';
|
||||
import { getDrawContext } from '../draw/index.mjs';
|
||||
import { analyser, getAnalyzerData } from 'superdough';
|
||||
|
||||
export function drawTimeScope(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue