Skip to content

Commit 880ef24

Browse files
committed
chore: Run lint in pre-commit hook
1 parent f41f2e8 commit 880ef24

3 files changed

Lines changed: 14 additions & 14 deletions

File tree

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
[ -n "$CI" ] && exit 0
22
pnpm typecheck
3+
pnpm lint

README.md

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -124,20 +124,18 @@ Music: "Actionable" from [Bensound.com](http://bensound.com). This is a limited
124124

125125
## What's changed
126126

127-
The `v0.4` release is a ground-up modernization:
128-
129-
- **Monorepo**: Migrated from a single-package repo (`soundtouchjs`) to an Nx monorepo with scoped packages (`@soundtouchjs/core`, `@soundtouchjs/audio-worklet`)
130-
- **TypeScript**: Full rewrite — strict mode, no `any`, complete type exports
131-
- **ESM only**: Pure ES modules targeting ES2024 (no CommonJS)
132-
- **AudioWorklet**: New `@soundtouchjs/audio-worklet` package replaces the [separate AudioWorklet repo](https://github.com/cutterbl/soundtouchjs-audio-worklet)
133-
- **Interpolation plugin model**: Strategy registry with plugin packages; `lanczos` as default, `linear` as optional override
134-
- **ES2024 optimizations**: Resizable `ArrayBuffer` in `FifoSampleBuffer`, scratch buffer reuse, dirty-flag overlap buffers
135-
- **pnpm workspaces**: Workspace protocol (`workspace:*`) for inter-package dependencies
136-
- **Tooling**: Vite dev server, Vitest test runner, Prettier formatting, commitlint + husky, GitHub Actions CI, `nx release` for versioning and publishing
137-
- **Zero runtime dependencies** on `@soundtouchjs/core`
138-
- **New packages**: `@soundtouchjs/stretch-phase-vocoder`, `@soundtouchjs/phase-vocoder-worklet`, `@soundtouchjs/formant-correction-worklet`
139-
- **Offline rendering**: `processOffline()` in `@soundtouchjs/audio-worklet` renders an `AudioBuffer` without a live audio device
140-
- **Processor observability**: `SoundTouchNode.metrics` getter and `metrics` CustomEvent for monitoring render-thread health
127+
The latest release builds on the modernization of `v0.4` with significant new features, tooling updates, and expanded package offerings:
128+
129+
- **Storybook Enhancements**: Added live processor metrics display and new playgrounds for interpolation strategies, phase vocoder, and formant correction.
130+
- **New Packages**:
131+
- `@soundtouchjs/formant-correction-worklet`: AudioWorklet with LPC-based formant preservation.
132+
- `@soundtouchjs/stretch-phase-vocoder`: Phase vocoder time-stretch algorithm.
133+
- Interpolation strategy plugins: `lanczos`, `linear`, `hann`, `blackman`, `kaiser`.
134+
- **Offline Rendering**: Enhanced `processOffline()` in `@soundtouchjs/audio-worklet` for rendering `AudioBuffer` without a live audio device.
135+
- **Processor Observability**: Expanded `SoundTouchNode.metrics` and `metrics` CustomEvent for detailed monitoring.
136+
- **Tooling Updates**: Pre-commit hooks now include linting; added `pnpm coverage:summary` for consolidated coverage reports.
137+
- **Licensing Update**: With significant rewrites, we have now moved off of the LGPL to the MPL-2.0 — see [LICENSE](LICENSE) for details.
138+
- **Breaking Changes**: Removed deprecated APIs and types in `@soundtouchjs/core` and `@soundtouchjs/audio-worklet`. See the respective package READMEs for migration details.
141139

142140
### Breaking changes
143141

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"test": "nx run-many -t test",
2929
"coverage:summary": "node ./scripts/generate-coverage-summary.mjs",
3030
"typecheck": "nx run-many -t typecheck",
31+
"lint": "nx run-many -t lint",
3132
"release": "nx release",
3233
"prettier": "prettier --write '**/*.{ts,js,json,html}'",
3334
"prepare": "husky"

0 commit comments

Comments
 (0)