@teidesu/slow-types-compiler
v1.1.0
Published
poc compiler for jsr [slow types](https://jsr.io/docs/about-slow-types)
Downloads
23
Readme
slow-types-compiler
poc compiler for jsr slow types
this package is intended to be a placeholder and a proof of concept while deno team comes up with a blazing fast🚀🦀™ solution for that
disclaimer: this pile of garbage is not actively maintained, meaning that prs will probably be merged but no issues will be addressed by me because i just don't care enough. it will probably not work out of the box for you, too. feel free to fork and adapt it to your needs
usage
via cli:
pnpx @teidesu/slow-types-compiler fix --entry /path/to/jsr.json
via js:
import * as stc from '@teidesu/slow-types-compiler'
const project = stc.createProject() // ts-morph project
stc.processPackage(project, '/path/to/deno.json') // or jsr.json
project.saveSync()
limitations
- jsr/npm libraries resolution is not fully supported (e.g.
@types/*
) - merged namespaces are not supported