feat(scripts): Flexible TypeScript code generation command for smart contract types #85
Labels
scope: scripts
Scope in the conventional commit sense is a noun describing the section of the codebase.
type: enhancement
New feature or request
Summary
Provide a simplified abstraction around CosmWasm/ts-codegen. This should be usable from the top-level
justfile
.ts-codegen
for everything to an output dir likedist
.Intent / Motivation
Dev X and Reduced Complexity: Simplifying the interactions with
ts-codegen
will help eliminate the need to remember or input intricate command specifics.Unified Output Directory: Centralizing generated code into a directory like
dist
fosters organization and ensures uniformity across the repo.Better Publishing: A publishing workflow for the TypeScript code will simplify the process of sharing or distributing the generated code, reducing manual steps and potential errors.
Basic Usage for Getting Started
Install
Generating a client
Generally, everything we need is some variation on
cosmwasm-ts-codegen generate
The text was updated successfully, but these errors were encountered: