webamp/packages
Jordan Eldredge c7a282c1fd
Split demo site into its own package (#1351)
* Split demo site into its own package

Move the demo site from packages/webamp/demo/ into packages/webamp-demo/
as a standalone workspace package. This cleanly separates the library
(published to npm) from the demo site (deployed to webamp.org).

Key changes:
- Demo imports webamp source via relative paths (no aliases needed)
- Demo has its own package.json with demo-specific deps
- Simplified vite config (just nodePolyfills plugin)
- Removed vite branching from rollupPlugins.mjs (library-only now)
- Renamed build-library -> build in webamp package
- Updated turbo.json, CI, netlify config, and code-size workflow
- Removed demo-only deps from webamp package (sentry, butterchurn stays
  for the butterchurn bundle)
- Zero bundle size change for the library

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Fix: add type-check dependency to webamp#build task

The webamp-docs package needs type declarations from webamp to
type-check. These are generated by tsc (type-check), which must run
before the build task.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Add updated readme to webamp-demo package

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Document the live reloading dev flow in both readmes

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Fix code-size CI: use deploy script that exists on both branches

The compressed-size-action checks out master and runs the build script.
Master doesn't have a root "build" script, so revert to using "deploy"
which exists on both branches.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-07 14:40:07 -07:00
..
ani-cursor Add ESLint to ani-cursor and include in CI (#1323) 2025-11-27 18:31:36 -08:00
skin-database Remove unused RichText import from bluesky.ts to fix CI lint failure (#1346) 2026-03-24 21:08:48 -07:00
skin-museum-og Consolidate ESLint configs into root (#1324) 2025-11-27 21:32:10 -08:00
webamp Split demo site into its own package (#1351) 2026-06-07 14:40:07 -07:00
webamp-demo Split demo site into its own package (#1351) 2026-06-07 14:40:07 -07:00
webamp-docs Fix docs to reference webamp@next instead of @main 2026-06-07 10:51:47 -07:00
webamp-modern Clean up outdated references to yarn 2025-11-03 15:39:26 -08:00
winamp-eqf Remove legacy JS files from winamp-eqf package (#1327) 2025-11-28 11:51:02 -08:00