hyperweb-io / hyperweb-io/ts-codegen

allow for simple exporting of bundles

Ouverte
#49 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
TypeScript
Étoiles
126
Forks
31
Merge moyen
19 min
PR mergées (30 j)
2

Description

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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
typescript
Domaine
tooling
Type d'issue
Fonctionnalité
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.