hyperweb-io / hyperweb-io/ts-codegen
allow for simple exporting of bundles
- 主要言語
- TypeScript
- スター
- 126
- フォーク
- 31
- 平均マージ
- 19分
- マージ済み PR(30日)
- 2
説明
scopes can be great, but let's also do something more simple, like this:
```ts
export * as FactoryContract from "./contracts/Factory.client";
export * as GovecContract from "./contracts/Govec.client";
export * as ProxyContract from "./contracts/Proxy.client";
```
https://github.com/nymlab/vectis/blob/b5698087fe08dade8b4ba9492889b6577369e478/cli/types/index.ts
- [ ] there also may be an issue with using `const`? @j0nl1 mentioned here: https://github.com/nymlab/vectis/pull/83#issuecomment-1210906177
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
Start with cli/types/index.ts and the linked export examples to understand how generated contract bundles are currently exposed. Confirm the intended simple export form and investigate the noted const-related concern; done means the requested bundle exports work without relying on scopes and the relevant behavior is covered or verified.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- typescript
- 領域
- tooling
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100