Switched to pnpm
This commit is contained in:
@@ -12,12 +12,12 @@ scheduler so the metronome never drifts.
|
||||
## Develop
|
||||
|
||||
```bash
|
||||
npm install
|
||||
npm run dev # local dev server
|
||||
npm run check # svelte-check (typecheck)
|
||||
npm test # vitest (scheduler timing + music-theory correctness)
|
||||
npm run build # typecheck + production build to dist/
|
||||
npm run preview # serve the built dist/ locally
|
||||
pnpm install
|
||||
pnpm dev # local dev server
|
||||
pnpm check # svelte-check (typecheck)
|
||||
pnpm test # vitest (scheduler timing + music-theory correctness)
|
||||
pnpm build # typecheck + production build to dist/
|
||||
pnpm preview # serve the built dist/ locally
|
||||
```
|
||||
|
||||
## Deploy
|
||||
@@ -30,11 +30,11 @@ The build is fully static (`dist/`). Because the app uses **path routing**
|
||||
|
||||
- Dedicated domain / served at the root: default, `base = '/'`.
|
||||
- Subpath (e.g. `https://example.com/practice/`): build with
|
||||
`VITE_BASE=/practice/ npm run build`.
|
||||
`VITE_BASE=/practice/ pnpm build`.
|
||||
|
||||
### Cloudflare Pages
|
||||
|
||||
Framework preset: none. Build command `npm run build`, output directory `dist`.
|
||||
Framework preset: none. Build command `pnpm build`, output directory `dist`.
|
||||
`public/_redirects` (already included) provides the SPA fallback:
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user