chore(dev-env): localhost defaults + dev scripts
[!NOTE] Medium Risk Moderate risk because it changes default PowerSync configuration based on
NODE_ENV, which can affect startup/validation behavior in non-dev deployments if they relied on implicit localhost defaults.Overview Updates PowerSync config defaults to no longer assume localhost in non-development environments: the schema defaults
powersyncUrl,powersyncJwtKid, andpowersyncJwtSecretto empty strings, whileparseSettingsonly injects the previous localhost defaults whenNODE_ENV=development.Adjusts tests to cover the new
NODE_ENV-dependent behavior and adds validation cases ensuring an empty JWT secret is allowed only whenPOWERSYNC_URLis empty, and rejected in non-dev whenPOWERSYNC_URLis set.Reviewed by Cursor Bugbot for commit 4b03fc4e7a957006fa2c1e9020e5d068ae6f7309. Bugbot is set up for automated code reviews on this repo. Configure here.