@cosmwasm/ts-codegen
Version:
@cosmwasm/ts-codegen converts your CosmWasm smart contracts into dev-friendly TypeScript classes so you can focus on shipping code.
10 lines (9 loc) • 408 B
JavaScript
import { readAndParsePackageJson } from './package';
const pkg = readAndParsePackageJson();
const version = process.env.NODE_ENV === 'test' ? 'latest' : pkg.version;
export const header = `/**
* This file was automatically generated by ${pkg.name}@${version}.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run the ${pkg.name} generate command to regenerate this file.
*/
\n`;