Agoric / agoric-sdk

monorepo for the Agoric Javascript smart contract platform
Apache License 2.0
327 stars 207 forks source link

allow .ts for package exports #10495

Open turadg opened 1 week ago

turadg commented 1 week ago

refs: #5760

Description

https://github.com/Agoric/agoric-sdk/pull/10480 tries .ts for contracts, which are not part of a package's export surface.

This spike explores using .ts files for modules that are exported from a package. A complication is that while Typescript 5.7 can automatically convert rewrite .ts to .js in its build output, we've so far avoided having a build stage during development. So we need a way to have .ts locally during development (without building) and for the packages in NPM to have only .js files.

Security Considerations

Scaling Considerations

Documentation Considerations

Testing Considerations

Upgrade Considerations

cloudflare-workers-and-pages[bot] commented 1 week ago

Deploying agoric-sdk with  Cloudflare Pages  Cloudflare Pages

Latest commit: 2ba3884
Status:🚫  Build failed.

View logs