static-web-apps-cli
static-web-apps-cli copied to clipboard
fix: correct duplicate 'init' property in schema to 'build'
Summary
Fixes a bug in the JSON schema where a duplicate 'init' property should have been 'build'.
Details
The schema file /schema/swa-cli.config.schema.json had a duplicate 'init' property at line 92 that was referencing buildCommandParameters. This property should have been named 'build' to match the parameters it references.
Changes
- Changed line 92 from
"init": {to"build": {
Testing
- ✅ Validated JSON schema syntax
- ✅ All unit tests pass
- ✅ No breaking changes
References
Fixes #705
Thanks to @javier-lopez-1s for reporting this issue!