mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-17 16:46:04 +00:00
* 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>
52 lines
1.7 KiB
JSON
52 lines
1.7 KiB
JSON
{
|
|
"name": "webamp-monorepo",
|
|
"private": true,
|
|
"packageManager": "pnpm@9.12.0",
|
|
"overrides": {
|
|
"graphql": "16.8.1"
|
|
},
|
|
"engines": {
|
|
"node": ">=22.0.0"
|
|
},
|
|
"scripts": {
|
|
"test": "npx turbo test",
|
|
"test:integration": "npx turbo run integration-tests",
|
|
"test:all": "npx turbo run test integration-tests",
|
|
"test:unit": "jest",
|
|
"lint": "npx turbo lint",
|
|
"type-check": "pnpm --filter webamp type-check && pnpm --filter ani-cursor type-check && pnpm --filter skin-database type-check && pnpm --filter webamp-docs type-check && pnpm --filter winamp-eqf type-check",
|
|
"deploy": "npx turbo build webamp-modern#build --concurrency 1 && mv packages/webamp-modern/build packages/webamp-demo/dist/modern",
|
|
"format": "prettier --write '**/*.{js,ts,tsx}'"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/preset-typescript": "^7.16.7",
|
|
"@swc/core": "^1.3.24",
|
|
"@swc/jest": "^0.2.24",
|
|
"@types/jest": "^30.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^8.36.0",
|
|
"@typescript-eslint/parser": "^8.36.0",
|
|
"assert": "^2.0.0",
|
|
"eslint": "^8.57.0",
|
|
"eslint-plugin-import": "^2.25.4",
|
|
"eslint-plugin-prettier": "^4.0.0",
|
|
"eslint-plugin-react": "^7.16.0",
|
|
"eslint-plugin-react-hooks": "^4.3.0",
|
|
"events": "^3.3.0",
|
|
"jest": "^29.7.0",
|
|
"jest-environment-jsdom": "^29.7.0",
|
|
"prettier": "^2.3.2",
|
|
"puppeteer": "^22.2.0",
|
|
"stream-browserify": "^3.0.0",
|
|
"turbo": "^2.5.4",
|
|
"typescript": "^5.6.2"
|
|
},
|
|
"prettier": {
|
|
"trailingComma": "es5"
|
|
},
|
|
"version": "0.0.0-next-87012d8d",
|
|
"pnpm": {
|
|
"patchedDependencies": {
|
|
"butterchurn@3.0.0-beta.5": "patches/butterchurn@3.0.0-beta.5.patch"
|
|
}
|
|
}
|
|
}
|