ewgenius / typac

install npm packages along with corresponding typings
MIT License
48 stars 2 forks source link

feat: validate @types packages before installing them #2

Open forivall opened 6 years ago

forivall commented 6 years ago

will check if the package exists and is not deprecated

still kinda work in progress, in particular, with the option aliases

ewgenius commented 5 years ago

@forivall good idea, thanks! Are you planning to continue working on it?

forivall commented 5 years ago

I feel like it can be merged as-is, as long as you're fine with the option aliases. I also haven't checked your changes since, so if this needs conflict resolution, i'll be able to do that.

also, the type definition for npm-registry-fetch should be pushed up to DefinitelyTyped

forivall commented 5 years ago

Oh yeah, improve the messages, that was the main thing to add

forivall commented 5 years ago

and to submit the typings to definitely typed