Skip to content
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

feat: rewrite cli and improve generate script #96

Closed
wants to merge 19 commits into from
Closed

Conversation

grikomsn
Copy link
Member

@grikomsn grikomsn commented Jun 17, 2023

Description

This PR rewrites the previous CLI and improves the chain registry import codegen.

Checklist

  • I have made sure the upstream branch for this PR is correct
  • I have made sure this PR is ready to merge
  • I have made sure that I have assigned reviewers related to this project

Changes

  • rewrite cli using proper build steps
  • using cli frameworks such as commander.js and @clack/prompts
  • rewrite chain registry import codegen using babel and esbuild

Screenshots

graz-chains-example.Jun.04.2023.0140.AM.mp4

Testing

npm install [email protected]
npx graz generate

Links/References

Notes

Initially we considered generating js sources and typescript declarations, but due to the complexity of types and lazy imports, shipping with esbuild to transpile js sources is the easiest way

@grikomsn grikomsn added the enhancement New feature or request label Jun 17, 2023
@grikomsn grikomsn requested a review from codingki as a code owner June 17, 2023 19:36
@grikomsn grikomsn self-assigned this Jun 17, 2023
@grikomsn grikomsn linked an issue Jun 17, 2023 that may be closed by this pull request
@vercel
Copy link

vercel bot commented Jun 17, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
graz-templates-default ❌ Failed (Inspect) Jun 19, 2023 9:58pm
graz-vite-example ❌ Failed (Inspect) Jun 19, 2023 9:58pm

@vercel vercel bot temporarily deployed to Preview – graz-templates-default June 17, 2023 20:00 Inactive
@vercel vercel bot temporarily deployed to Preview – graz-vite-example June 17, 2023 20:01 Inactive
@vercel vercel bot temporarily deployed to Preview – graz-example June 17, 2023 20:01 Inactive
@vercel vercel bot temporarily deployed to Preview – graz-docs June 17, 2023 20:02 Inactive
@vercel vercel bot temporarily deployed to Preview – graz-templates-default June 19, 2023 21:53 Inactive
@vercel vercel bot temporarily deployed to Preview – graz-example June 19, 2023 21:53 Inactive
@vercel vercel bot temporarily deployed to Preview – graz-vite-example June 19, 2023 21:54 Inactive
@vercel vercel bot temporarily deployed to Preview – graz-docs June 19, 2023 21:54 Inactive
@vercel vercel bot temporarily deployed to Preview – graz-docs June 19, 2023 21:55 Inactive
@vercel vercel bot temporarily deployed to Preview – graz-example June 19, 2023 21:57 Inactive
@vercel vercel bot temporarily deployed to Preview – graz-vite-example June 19, 2023 21:57 Inactive
@vercel vercel bot temporarily deployed to Preview – graz-templates-default June 19, 2023 21:58 Inactive
@codingki codingki closed this Aug 28, 2023
@grikomsn grikomsn deleted the feat/rewrite-cli branch April 21, 2024 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging this pull request may close these issues.

Rewrite graz cli
2 participants