Skip to content

feat(sdk): generate minimal clients from cleaned ARC56 specs #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 8, 2025

Conversation

drichar
Copy link
Contributor

@drichar drichar commented Mar 8, 2025

Description

This PR enhances the client generation process by creating minimal versions of ARC-56 spec files. These minimal specs exclude unnecessary data while preserving error messages, resulting in significantly smaller generated clients.

This is a temporary workaround pending the implementation of the minimal mode feature request: algorandfoundation/algokit-client-generator-ts#149

Details

  • Adds a script that creates cleaned copies of ARC-56 files in a minimal subdirectory
  • Modifies the client generation process to use these minimal specs
  • Preserves original ARC-56 files as the source of truth
  • Reduces generated client file sizes by approximately 75% 🎉

@drichar drichar merged commit 52da480 into main Mar 8, 2025
1 check passed
@drichar drichar deleted the feat/minimal-arc56-clients branch March 8, 2025 00:51
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.

1 participant