build: switch from npm to pnpm #61
No reviewers
Labels
No labels
app:activities
app:chat
app:events
app:forum
app:libra
app:market
app:restaurant
app:tasks
app:wallet
app:webapp
bug
enhancement
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
aiolabs/webapp!61
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/pnpm-migration"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
package-lock.jsonwithpnpm-lock.yamlpackageManager: pnpm@10.33.0esbuild,sharp,vue-demi,electron,electron-winstallerviapnpm.onlyBuiltDependenciesnostr-toolsto2.15.0(was^2.10.4resolving to2.15.0via npm). A fresh pnpm resolve drifted to2.23.5, which the regtestnostrrelayextension can't parse — upgrade deferred to a follow-up issue covering the matching server-side fix.Why
lamassu-nextalready uses pnpm)node_moduleson disk shared across worktrees (~491M vs npm's ~888M per worktree)bare repo + main/dev worktreeslayout at~/dev/webapp/{main,dev}matching the lnbits / shocknet patternTest plan
pnpm installclean from lockfile (2.2s, no resolution; postinstall scripts run cleanly for the allowlisted deps)pnpm run dev:allboots all 9 vite serversnostrrelay(validated against the live regtest stack)demo.aiolabs.dev) verified after merge todevFollow-up
nostr-tools2.15 → 2.23 upgrade — needs concurrent updates to thenostrrelayLNbits extension to handle the wire format 2.23 produces (the relay'sNostrFilter.parse_objraisesexpected dict not list/kinds value is not a valid liston 2.23's REQ messages).webapp-module(NixOS builder) needs corresponding switch frombuildNpmPackage→pnpm.fetchDeps+pnpm.configHook— separate PR coming.