Skip to content

Commit 6bb54d5

Browse files
committed
fix: apply Prettier formatting to CLAUDE.md
Align table columns and reformat Effection code snippet to satisfy the check-format CI step. https://claude.ai/code/session_019upBEByJrhS932LwBV5q2C
1 parent 1d4cfd0 commit 6bb54d5

1 file changed

Lines changed: 23 additions & 18 deletions

File tree

CLAUDE.md

Lines changed: 23 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ UI, a core Node.js library, and a standalone CLI.
1313
This is a Yarn v4 workspace monorepo managed with Nx (task orchestration) and Lerna
1414
(versioning). All packages live under `packages/`.
1515

16-
| Package | Purpose | Published |
17-
|---------|---------|-----------|
18-
| `raga-types` | Shared TypeScript interfaces + IPC event channel definitions | No |
19-
| `raga-lib` | Core data-transformation library (plist parsing, FFmpeg conversion) | Yes (npm) |
20-
| `raga-web-app` | React/Vite UI — runs standalone in browser or embedded in Electron | No |
21-
| `raga-app` | Electron desktop app — wraps raga-web-app, adds IPC + file I/O | No |
22-
| `raga-cli` | CLI tool for Swinsian → Rekordbox batch conversion | No |
16+
| Package | Purpose | Published |
17+
| -------------- | ------------------------------------------------------------------- | --------- |
18+
| `raga-types` | Shared TypeScript interfaces + IPC event channel definitions | No |
19+
| `raga-lib` | Core data-transformation library (plist parsing, FFmpeg conversion) | Yes (npm) |
20+
| `raga-web-app` | React/Vite UI — runs standalone in browser or embedded in Electron | No |
21+
| `raga-app` | Electron desktop app — wraps raga-web-app, adds IPC + file I/O | No |
22+
| `raga-cli` | CLI tool for Swinsian → Rekordbox batch conversion | No |
2323

2424
**Dependency order:** `raga-types``raga-lib``raga-app` / `raga-cli`; `raga-web-app` uses `raga-types`.
2525

@@ -130,7 +130,10 @@ generator pattern:
130130

131131
```ts
132132
import { run } from "effection";
133-
yield* run(function* () { /* ... */ });
133+
yield *
134+
run(function* () {
135+
/* ... */
136+
});
134137
```
135138

136139
Use Effection for operations that need cancellation, timeouts, or structured
@@ -140,15 +143,15 @@ concurrency. Simple one-shot async calls can use plain `async/await`.
140143

141144
## Key Domain Concepts
142145

143-
| Term | Meaning |
144-
|------|---------|
145-
| **Swinsian library** | A plist XML file exported from the Swinsian music player containing tracks and playlists |
146-
| **TrackDefinition** | The core track data structure (see `raga-types`); has ~25 fields: Track ID, Persistent ID, Location, BPM, Rating, Artist, Album, Genre, etc. |
147-
| **Persistent ID** | Hex-encoded unique identifier for a track, used by both Swinsian and Music.app/Rekordbox |
148-
| **Music.app / iTunes XML** | The plist format that Rekordbox ingests; raga converts Swinsian libraries into this format |
149-
| **BPM** | Beats per minute; analyzed via `web-audio-beat-detector` in the browser or stored as ID3 metadata |
150-
| **ID3 tags** | Metadata embedded in MP3 files; raga writes them via `node-taglib-sharp` |
151-
| **Audio Files Server** | The HTTP server in the utility process that serves converted MP3s to the web audio player |
146+
| Term | Meaning |
147+
| -------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
148+
| **Swinsian library** | A plist XML file exported from the Swinsian music player containing tracks and playlists |
149+
| **TrackDefinition** | The core track data structure (see `raga-types`); has ~25 fields: Track ID, Persistent ID, Location, BPM, Rating, Artist, Album, Genre, etc. |
150+
| **Persistent ID** | Hex-encoded unique identifier for a track, used by both Swinsian and Music.app/Rekordbox |
151+
| **Music.app / iTunes XML** | The plist format that Rekordbox ingests; raga converts Swinsian libraries into this format |
152+
| **BPM** | Beats per minute; analyzed via `web-audio-beat-detector` in the browser or stored as ID3 metadata |
153+
| **ID3 tags** | Metadata embedded in MP3 files; raga writes them via `node-taglib-sharp` |
154+
| **Audio Files Server** | The HTTP server in the utility process that serves converted MP3s to the web audio player |
152155

153156
---
154157

@@ -190,7 +193,9 @@ Serialize errors before sending them over IPC using `serialize-error`:
190193
```ts
191194
import { serializeError } from "serialize-error";
192195
// in server event payload:
193-
{ error: serializeError(err) }
196+
{
197+
error: serializeError(err);
198+
}
194199
```
195200

196201
---

0 commit comments

Comments
 (0)