Skip to content

Remove unused files and simplify the tsconfig layering - #263

Merged
nulltask merged 4 commits into
develfrom
chore/repo-cleanup
Oct 11, 2026
Merged

nulltask merged 4 commits into
develfrom
chore/repo-cleanup

Conversation

@nulltask

Copy link
Copy Markdown
Owner

Summary

  • Remove files nothing uses:
    • packages/beatoraja-skin/.prettierignore: prettier is gone, and the root fmt.ignorePatterns already skips the fixtures.
    • scripts/create-demo-json.ts: nothing runs it.
    • examples/test/benchmark-command-mix-100.bms and examples/test/ogg-test.wav: no test or benchmark reads them. Their README rows (English and Japanese) are dropped too.
  • Drop mise.toml in favour of Vite+:
    • vp env and CI's setup-vp read .node-version.
    • packageManager pins pnpm. mise.toml asked for pnpm@latest, which contradicted that pin.
  • Simplify the tsconfig layering:
    • tsconfig.build.options.json is gone. Each packages/*/tsconfig.build.json extends tsconfig.options.json and sets declaration and isolatedDeclarations itself.
    • The shared options no longer enable composite / declaration for tsconfig.typecheck.json to turn them back off.
    • The clean scripts stop deleting a tsconfig.tsbuildinfo that is never produced.
  • Add the MIT LICENSE to packages/player-web, the only published package without one.

Test plan

  • pnpm build output (174 .js / .d.ts files under packages/*/dist) is byte-identical before and after the tsconfig change.
  • pnpm run check (format, lint, types)
  • pnpm test (2303 tests)

🤖 Generated with Claude Code

- packages/beatoraja-skin/.prettierignore: prettier is no longer a dependency; the root vite.config.ts fmt.ignorePatterns already skips the fixtures.
- scripts/create-demo-json.ts: nothing runs it.
- examples/test/benchmark-command-mix-100.bms and ogg-test.wav: no test or benchmark reads them.
Vite+ already manages the toolchain: vp env reads .node-version (as setup-vp does in CI), and package.json pins pnpm through packageManager. mise.toml duplicated the Node setting and asked for pnpm@latest, which contradicted that pin.
Each package's tsconfig.build.json now extends tsconfig.options.json directly and sets declaration and isolatedDeclarations itself, so tsconfig.build.options.json goes away. The shared options no longer turn on composite and declaration only for the typecheck config to turn them back off. Nothing builds through tsc's project references, so the clean scripts stop deleting tsconfig.tsbuildinfo. vp pack's output is byte-identical before and after.
Every other published package ships the MIT LICENSE; @be-music/player-web was missing it.
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
be-music-player-demo aec878c Commit Preview URL

Branch Preview URL
Oct 11 2026, 11:45 AM

@nulltask
nulltask merged commit 67dbf69 into devel Oct 11, 2026
8 checks passed
@github-actions

Copy link
Copy Markdown

Exports Benchmark

  • Base SHA: 7ebbb4512213
  • Head SHA: aec878c30f70
  • Comparable cases: 92
  • Regression threshold: 8.00%
  • Overall verdict uses the median change across cases.
  • Per-case lists compare median ops/s, not mean.
  • Base runs: median of 3
  • Head runs: median of 3

Summary

Metric Value
Overall unchanged
Median change -0.36%
Mean change -0.68%
Cases improved (>= threshold) 0
Cases regressed (<= -threshold) 2
Cases unchanged 90
Cases excluded (sub-timer-resolution) 211
Head benchmarked cases 303
Head skipped cases 21

Top Regressions

API Base median ops/s Head median ops/s Change
player-web.buildAudioBus 482625.48 382263.00 -20.80%
player-web.setMasterVolume 1857.85 1594.54 -14.17%

Top Improvements

No improvement over threshold.

Excluded (sub-timer-resolution)

Per-call latency at or below 0.001ms on at least one side — the reported time is measurement noise, not the case's real cost, so no percent change is shown.

API Base median ops/s Head median ops/s
audio-renderer.createTimingBuildContext 1923076.94 1923076.92
chart.compareEvents 10416666.69 10416666.69
chart.createBeatResolver 20833332.60 20833332.60
chart.eventToBeat 13888889.10 13888889.10
chart.exWavVolumeCentibelsToLinearGain 15625000.04 15625000.04
chart.getMeasureBeats 20833332.60 20833332.60
chart.isBmsBgmVolumeChangeChannel 17857142.61 17857142.61
chart.isBmsDynamicVolumeChangeChannel 15625000.04 15625000.04
chart.isBmsKeyVolumeChangeChannel 17857142.61 17857142.61
chart.isBmsLongNoteChannel 20833332.60 20833332.60
chart.isLandmineChannel 20833332.60 20833332.60
chart.isPlayableChannel 17857143.77 20833332.60

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant