npm / @azure/static-web-apps-cli
@azure/static-web-apps-cli
What changed in @azure/static-web-apps-cli 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-19.
1 breaking1 tooling3 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@azure/static-web-apps-cli 25 changes
Breaking changes 1
Corrects the default Node.js version from 16 to 22.
Tooling 1
The CLI now supports Node 22.
Fixes and other changes 3
Validates that --env is not passed with an empty string.
The config file size warning reports sizes in KB instead of bytes.
Non-zero exit codes from the deploy client are now propagated.