hyperweb-io / hyperweb-io/ts-codegen
allow for simple exporting of bundles
- Lenguaje dominante
- TypeScript
- Estrellas
- 126
- Forks
- 31
- Merge medio
- 19 min
- PR fusionados (30 d)
- 2
Descripción
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
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- typescript
- Área
- tooling
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100