Commit graph

4047 commits

Author SHA1 Message Date
Jordan Eldredge
3d56ffe11c Fix GitHub Actions CI: Install pnpm before using cache
The GitHub Actions workflow was trying to cache pnpm before installing it.
Fixed by reordering steps in all jobs to:
1. Install pnpm first
2. Setup Node.js with pnpm cache
3. Install dependencies

This ensures pnpm is available when setting up the cache.
2025-07-06 13:26:35 -07:00
Jordan Eldredge
0d53884fde Migrate from yarn to pnpm
This comprehensive migration includes:

### Configuration Updates
- Updated root package.json with pnpm workspace configuration
- Added packageManager field and pnpm overrides for graphql version
- Updated GitHub Actions workflows (.github/workflows/ci.yml, code-size.yml)
- Updated Netlify configuration (netlify.toml)
- Updated deployment script (deploy.sh)

### Documentation Updates
- Updated all README files to use pnpm instead of yarn
- Updated installation and build instructions across packages:
  - packages/webamp/README.md
  - packages/webamp-modern/README.md
  - packages/webamp-docs/README.md
  - packages/ani-cursor/README.md
  - packages/webamp/demo/readme.md

### Lock File Migration
- Removed yarn.lock
- Generated pnpm-lock.yaml preserving exact dependency versions
- Moved resolutions from skin-database package.json to root pnpm overrides
- Created pnpm-workspace.yaml for optimized workspace configuration

### CI/CD Updates
- Updated all yarn commands to use pnpm equivalents
- Changed yarn workspace commands to pnpm --filter syntax
- Updated cache keys to use pnpm-lock.yaml instead of yarn.lock
- Added pnpm/action-setup for GitHub Actions

### Validation
- Tested builds for webamp, webamp-modern, ani-cursor, webamp-docs
- Tested installation and linting for skin-database
- Verified dependency resolution consistency
- Confirmed all scripts work with pnpm

All package versions remain identical to yarn.lock, ensuring no breaking changes.
2025-07-06 13:20:28 -07:00
Jordan Eldredge
bcaa8dfdc6 Try to speed up CI 2025-07-06 12:40:37 -07:00
Jordan Eldredge
9aa4f59db5 Turn moduleSideEffects back on 2025-07-06 12:30:38 -07:00
Jordan Eldredge
c78b1abe92 We know we have big chunks 2025-07-06 10:43:31 -07:00
Jordan Eldredge
d1f6ef0089 Fix reference to undefined variable 2025-07-06 10:43:06 -07:00
Jordan Eldredge
8eae420851 Format files 2025-07-06 10:36:55 -07:00
Jordan Eldredge
704112b333 Fix slow lint 2025-07-06 10:36:46 -07:00
Jordan Eldredge
274abd9090 Finish migration to inline action types 2025-07-06 10:32:33 -07:00
Jordan Eldredge
c6d0c2717c Clean up unused lock files 2025-07-06 10:02:41 -07:00
Jordan Eldredge
c0d4960dd3 Remove internet archive integration tests 2025-07-06 10:01:04 -07:00
Jordan Eldredge
48ef4eeff2 Inline action types 2025-07-06 09:48:33 -07:00
Jordan Eldredge
aa7ea12b41 Fix playlist scroll behavior 2025-07-05 18:35:43 -07:00
Jordan Eldredge
b508663db9 Clean up whitespace 2025-07-05 18:35:43 -07:00
Jordan Eldredge
eee17f0d25 Fix name 2025-07-05 18:35:43 -07:00
Jordan Eldredge
b1ec6460b2
Optimize ci performance (#1302)
* Improve rollup perf

* 🚀 Optimize CI performance with parallel jobs and caching

- Split monolithic build-and-test into 4 parallel jobs (setup, build, lint, test)
- Add dependency caching with actions/setup-node@v4 yarn cache
- Cache build artifacts between jobs to avoid rebuilding
- Upgrade to latest GitHub Actions (checkout@v4, setup-node@v4)
- Skip CI runs on documentation-only changes
- Optimize Jest with --maxWorkers=2 for better CI performance
- Add fail-safe caching for main-release job

Expected performance improvement: 40-50% faster CI runs

* Try to improve caching

* Revert "Try to improve caching"

This reverts commit 63d0abdca9.
2025-07-05 18:12:42 -07:00
Jordan Eldredge
833060e1ae Fix Jest 2025-07-05 16:53:03 -07:00
Jordan Eldredge
3e0417267a Avoid library build warnings 2025-07-05 16:32:55 -07:00
Jordan Eldredge
d4a841846c Switch back to streaming parsing of id3s 2025-07-05 16:17:03 -07:00
Jordan Eldredge
7b87c2302c Avoid ts warnings in vite build 2025-07-05 16:16:48 -07:00
Jordan Eldredge
b230cc66c5 Avoid commonjs warning in vite 2025-07-05 16:05:58 -07:00
Jordan Eldredge
1cb0991db7 Avoid trying to do parsing streaming while we wait for bug fix 2025-07-05 13:28:00 -07:00
Jordan Eldredge
1d39600284 Upgrade png optimizer 2025-07-04 21:46:40 -07:00
Jordan Eldredge
14c0d24a47 Avoid some memory leaks when disposing Webamp 2025-07-04 21:25:57 -07:00
Jordan Eldredge
e52900d4fc Add Milkdrop to docs example 2025-07-04 19:44:47 -07:00
Jordan Eldredge
7e159f2173 Move butterchurn loader docs to bundle size guide 2025-07-04 19:10:02 -07:00
Jordan Eldredge
bb98aba71a Prevent attempting to enter fullscreen mode on platforms where it's not supported 2025-07-04 18:28:42 -07:00
Jordan Eldredge
cfa67c4bc5 Update example to use new /butterchurn entrypoint 2025-07-04 17:29:31 -07:00
Jordan Eldredge
a86226bd6b Set viewport in examples 2025-07-04 16:59:08 -07:00
Jordan Eldredge
854e2c7998 Document webamp/butterchurn in changelog 2025-07-04 16:58:16 -07:00
Jordan Eldredge
f4321173df Improve butterchurn build 2025-07-04 16:43:13 -07:00
Jordan Eldredge
d060b9042b Throwing stuff at the wall, lol 2025-07-04 15:51:48 -07:00
Jordan Eldredge
50e6e21e2e Try adding Butterchurn bundle 2025-07-04 15:18:04 -07:00
Jordan Eldredge
e06d3b9b3e Add back polyfills 2025-07-04 11:02:02 -07:00
Jordan Eldredge
b5bf64a55d Inline music-metadata lazy loads to fix builds 2025-07-04 10:38:48 -07:00
Jordan Eldredge
1ba58c81e1 Aovid import types 2025-07-04 10:29:32 -07:00
Jordan Eldredge
9d0cdc6ed8 Ignore type error for now 2025-07-04 10:24:18 -07:00
Jordan Eldredge
90625614f0 Hide milkdrop context window if not enabled 2025-07-04 10:20:00 -07:00
Jordan Eldredge
b66667019c Fix types for metadata 2025-07-04 10:09:31 -07:00
Jordan Eldredge
e043a1b5b8 Try upgrading to music-metadata from music-metadata-browser 2025-07-04 10:06:13 -07:00
Jordan Eldredge
366e79525e Upgrade Redux devtools package 2025-06-29 22:59:10 -07:00
Jordan Eldredge
eb0898fe4e Add getPlayerMediaStatus instance method 2025-06-29 22:44:49 -07:00
Jordan Eldredge
3feae65585 Spelling 2025-06-29 21:34:31 -07:00
Jordan Eldredge
7ededf9bf5 Prevent default on scroll events Fixes #1301 2025-06-29 17:40:54 -07:00
Jordan Eldredge
067623811c Fix spelling 2025-06-29 17:27:03 -07:00
Jordan Eldredge
a2eb557599 Avoid warning when scrolling main window 2025-06-29 17:26:52 -07:00
Jordan Eldredge
2ea015c504 Avoid Redux dev tools warning 2025-06-29 17:26:25 -07:00
Jordan Eldredge
b63cec5cbd Fix recentering bug 2025-06-29 17:25:37 -07:00
Jordan Eldredge
a618b049eb Fix early resolution of renderWhenReady 2025-06-29 15:19:52 -07:00
Jordan Eldredge
4c07731d76 Fix more Winamp typos 2025-06-29 14:42:21 -07:00