webamp/netlify.toml
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

39 lines
1.1 KiB
TOML

[build]
command = "pnpm deploy"
publish = "packages/webamp/dist/demo-site/"
# A short URL for listeners of https://changelog.com/podcast/291
[[redirects]]
from = "/changelog"
to = "/#%7B\"initialTracks\"%3A%5B%7B\"url\"%3A\"https%3A%2F%2Fcdn.changelog.com%2Fuploads%2Fpodcast%2F291%2Fthe-changelog-291.mp3\"%2C\"metaData\"%3A%7B\"artist\"%3A\"Changelog%20Podcast\"%2C\"title\"%3A\"Winamp2-js\"%7D%7D%5D%7D"
# A short URL for LuigiHann's Poolside.fm skin
[[redirects]]
from = "/poolside"
to = "/?bg=%2362639f&scPlaylist=1040356177&skinUrl=https://cdn.webampskins.org/skins/1b3138a9ea05e917049a4eab7b73d069.wsz"
[[redirects]]
from = "/about"
to = "https://github.com/captbaritone/webamp"
[[redirects]]
from = "/wallpapers"
to = "https://www.dropbox.com/sh/3lx5ajfvsjeenj5/AADf8AihDeu1KgH1wr_WAsgXa?dl=0&lst="
[[redirects]]
from = "/chat"
to = "https://discord.gg/fpBPmFkngQ"
[[redirects]]
from = "/bot"
to = "https://twitter.com/winampskins"
# Redirect domain aliases to primary domain
[[redirects]]
from = "https://webamp.net/*"
to = "https://webamp.org/:splat"
status = 301
force = true
[build.environment]
NODE_VERSION = "20.9.0"