Auto-generate Stellar contract reference from contract source#48
Auto-generate Stellar contract reference from contract source#48heymide wants to merge 1 commit into
Conversation
|
@heymide Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
|
Done, Close: #48 |
|
Heads up: I retargeted this from |
Oh, Okay |
|
Now conflicts in git fetch origin
git rebase origin/develop
# in package.json, keep both sets of additions
git push --force-with-leaseThe auto-gen script and contracts/stellar.mdx update land clean. |
Close: #25
Changed:
Added package.json with scripts for:npm run generate:stellar-reference
npm run check:stellar-reference
Mintlify validate/link checks
Added generated-reference markers to contracts/stellar.mdx.
Tightened scripts/generate-stellar-reference.ts so it:runs cleanly as ESM under Node 24
skips check mode gracefully when bindings are absent
handles BOM-prefixed JSON files
parses multi-field event types correctly
Verified:
npm run check:stellar-reference passes in this checkout by skipping because no Stellar bindings/config are present.
Ran an end-to-end temporary fixture with fake bindings; generation and --check both passed.