repair build

This commit is contained in:
2023-08-13 14:06:27 +02:00
parent 7f6a768802
commit 311138c277
4 changed files with 6 additions and 4 deletions

View File

@ -29,7 +29,7 @@
"superdough": "^0.9.3",
"tailwindcss": "^3.3.3",
"tone": "^14.8.49",
"zifferjs": "file:../zifferjs",
"zifferjs": "https://github.com/amiika/zifferjs.git",
"zzfx": "^1.2.0"
}
}

View File

@ -8,6 +8,7 @@ import {
superdough, samples,
initAudioOnFirstClick,
registerSynthSounds
// @ts-ignore
} from 'superdough';
/**
@ -24,7 +25,7 @@ Array.prototype.in = function<T>(this: T[], value: T): boolean {
};
const init = Promise.all([
Promise.all([
initAudioOnFirstClick(),
samples('github:tidalcycles/Dirt-Samples/master'),
samples('github:kindohm/expedition/tree/master/samples'),

View File

@ -7,7 +7,7 @@ function codeInterceptor(code: string): string {
.replace(/t\[(\d+),(\d+)\]/g, 'mod($1,$2)')
.replace(/b\[(\d+),(\d+)\]/g, '[$1,$2].includes(beat)')
.replace(/eb\[(\d+),(\d+)\]/g, '[$1,$2].includes(ebeat)')
.replace(/m\[(\d+),(\d+)\]/g, '[$1,$2].includes(bar)');
.replace(/m\[(\d+),(\d+)\]/g, '[$1,$2].includes(bar)')
}
const delay = (ms: number) => new Promise((_, reject) => setTimeout(() => reject(new Error('Operation took too long')), ms));

View File

@ -1158,8 +1158,9 @@ yaml@^2.1.1:
resolved "https://registry.npmjs.org/yaml/-/yaml-2.3.1.tgz"
integrity sha512-2eHWfjaoXgTBC2jNM1LRef62VQa0umtvRiDSk6HSzW7RvS5YtkabJrwYLLEKWBc8a5U2PTSCs+dJjUTJdlHsWQ==
"zifferjs@file:../zifferjs":
"zifferjs@https://github.com/amiika/zifferjs.git":
version "0.0.0"
resolved "https://github.com/amiika/zifferjs.git#0254770c19db8772a9c3cb6b0571f2b5007593e6"
dependencies:
"@types/seedrandom" "^3.0.5"
lru-cache "^10.0.0"