You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a user I want to be able to write my config module in typescript so that I can benefit from the type-checking and the published sirocco config type definitions.
Acceptance Criteria
Sirocco can load config from a file named .sirocco.ts, parsed as typescript including any other imported modules and using tsconfig.json if present.
References
The virtual-tsc project might be what we're looking for, but I'm not sure.
You might also start here: Using the Compiler API. There's also a lot of details here including what looks to be a CompilerHost implementation, which is the thing that gets files off the "filesystem", so that might be useful for keeping everything in memory if necessary.
The text was updated successfully, but these errors were encountered:
As a user
I want to be able to write my config module in typescript
so that I can benefit from the type-checking and the published sirocco config type definitions.
Acceptance Criteria
.sirocco.ts
, parsed as typescript including any other imported modules and using tsconfig.json if present.References
The virtual-tsc project might be what we're looking for, but I'm not sure.
You might also start here: Using the Compiler API. There's also a lot of details here including what looks to be a
CompilerHost
implementation, which is the thing that gets files off the "filesystem", so that might be useful for keeping everything in memory if necessary.The text was updated successfully, but these errors were encountered: