diff --git a/pkg/earwurm/package.json b/pkg/earwurm/package.json index f5971d0..9753726 100644 --- a/pkg/earwurm/package.json +++ b/pkg/earwurm/package.json @@ -48,17 +48,18 @@ "start": "pnpm build:only --watch" }, "dependencies": { + "beeftools": "^0.0.5", "emitten": "^0.6.6" }, "devDependencies": { "@earwurm/helpers": "workspace:*", "@earwurm/mocks": "workspace:*", "@earwurm/types": "workspace:*", - "@earwurm/utilities": "workspace:*", "vite": "^5.2.10", "vite-plugin-dts": "^3.9.0" }, "peerDependencies": { + "beeftools": "^0.0.5", "emitten": "^0.6.6" } } diff --git a/pkg/earwurm/src/Earwurm.ts b/pkg/earwurm/src/Earwurm.ts index 43ef5d9..757990b 100644 --- a/pkg/earwurm/src/Earwurm.ts +++ b/pkg/earwurm/src/Earwurm.ts @@ -1,6 +1,6 @@ +import {arrayShallowEquals, clamp, getErrorMessage} from 'beeftools'; import {EmittenCommon} from 'emitten'; import {linearRamp, unlockAudioContext} from '@earwurm/helpers'; -import {arrayShallowEquals, clamp, getErrorMessage} from '@earwurm/utilities'; import {Stack} from './Stack'; import {tokens} from './tokens'; diff --git a/pkg/earwurm/src/Sound.ts b/pkg/earwurm/src/Sound.ts index 4d086fc..0c7823a 100644 --- a/pkg/earwurm/src/Sound.ts +++ b/pkg/earwurm/src/Sound.ts @@ -1,6 +1,6 @@ +import {clamp, calcProgress} from 'beeftools'; import {EmittenCommon} from 'emitten'; import {linearRamp} from '@earwurm/helpers'; -import {clamp, calcProgress} from '@earwurm/utilities'; import {tokens} from './tokens'; import type { diff --git a/pkg/earwurm/src/Stack.ts b/pkg/earwurm/src/Stack.ts index 21a0662..8aa6c60 100644 --- a/pkg/earwurm/src/Stack.ts +++ b/pkg/earwurm/src/Stack.ts @@ -1,6 +1,6 @@ +import {arrayShallowEquals, clamp, getErrorMessage} from 'beeftools'; import {EmittenCommon} from 'emitten'; import {fetchAudioBuffer, linearRamp, scratchBuffer} from '@earwurm/helpers'; -import {arrayShallowEquals, clamp, getErrorMessage} from '@earwurm/utilities'; import {Sound} from './Sound'; import {tokens} from './tokens'; diff --git a/pkg/earwurm/src/tests/Stack.test.ts b/pkg/earwurm/src/tests/Stack.test.ts index 756e553..8ef1e34 100644 --- a/pkg/earwurm/src/tests/Stack.test.ts +++ b/pkg/earwurm/src/tests/Stack.test.ts @@ -1,6 +1,6 @@ import {afterEach, describe, it, expect, vi} from 'vitest'; +import {arrayOfLength} from 'beeftools'; import {mockData} from '@earwurm/mocks'; -import {arrayOfLength} from '@earwurm/utilities'; import {Stack} from '../Stack'; import {Sound} from '../Sound'; diff --git a/pkg/mocks/MockAudioParam.ts b/pkg/mocks/MockAudioParam.ts index 22c84db..23f5a01 100644 --- a/pkg/mocks/MockAudioParam.ts +++ b/pkg/mocks/MockAudioParam.ts @@ -1,4 +1,4 @@ -import {secToMs} from '@earwurm/utilities'; +import {secToMs} from 'beeftools'; import {createErrorMessage} from './mock-utils'; function internalMessage(methodName: string, ...args: unknown[]) { diff --git a/pkg/mocks/package.json b/pkg/mocks/package.json index ebd9978..248d22e 100644 --- a/pkg/mocks/package.json +++ b/pkg/mocks/package.json @@ -8,7 +8,7 @@ "pnpm": ">=9.0.0" }, "dependencies": { - "@earwurm/utilities": "workspace:*" + "beeftools": "^0.0.5" }, "devDependencies": {} }