Skip to content

fix(widget): handle configs with other SPMPackages#5972

Merged
NathanWalker merged 1 commit intomainfrom
fix/widget-config-handling
Feb 27, 2026
Merged

fix(widget): handle configs with other SPMPackages#5972
NathanWalker merged 1 commit intomainfrom
fix/widget-config-handling

Conversation

@NathanWalker
Copy link
Contributor

  • Improved ConfigTransformer to correctly handle and update boolean, array, and object literal values, including adding helper methods for type checks and initializer replacement. [1] [2] [3]
  • Updated usage in widget.ts to set the ios.SPMPackages config value directly, instead of updating the root config object, ensuring more targeted updates.

Testing improvements:

  • Added unit tests in test/tools/config-manipulation/config-transformer.ts to verify updating boolean literals and array literals for config values, increasing reliability and coverage.

@NathanWalker NathanWalker merged commit 03ff1dc into main Feb 27, 2026
4 checks passed
@NathanWalker NathanWalker deleted the fix/widget-config-handling branch February 27, 2026 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants