Giter VIP home page Giter VIP logo

deno-tsc-helper's People

Contributors

jespertheend avatar

Watchers

 avatar  avatar

deno-tsc-helper's Issues

Add CLI

If mod.js is run directly it should function as a cli with the same available arguments as for generateTypes()

Cache deno types

The deno types command is being run every time you run the script

Add more logging

For some applications running the script can take a long time.
logging more messages shows that the script is working and can help with debugging issues.

Better handling of running when offline

deno vendor uses the cache, but we might want to handle the extraTypeRoots downloads gracefully.
That way in case the user is offline, the other types can still be downloaded.
Also I think .d.ts files from the vendored @deno-types comments are not downloaded. But no error is thrown, so when running a second time, this step is skipped because it's already been added to the cache file

Only vendor modules that have been added

Currently whenever a new module is detected that isn't listed in the cache file, all modules are vendored.
Instead it might be possible to run the vendor command for the new modules only.

exclude option only takes directory names

In getIncludeExcludeFiles() the filter checks if exclude.includes(entry.name) but entry.name is the name of the file/directory, not a path.
As a result, the exclude option is rather useless.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.