tink: State of the Unwinder [2019/01/15]

tink

(Kat Marchán) #1

Happy new year, everyone!

It’s been a while since the last State of the Unwinder, but there’s a few goodies to report. Hope y’all had a nice holiday break, for those who have a big block of holiday time around December like I do. :santa:

ES Modules, Typescript, and WASM support!

That’s fight folks! Thanks to @jdalton, and his esm package, we now have full support for ES modules (as in, built-in import/export syntax), as well as .wasm import support! This goes on top of the previously-added support for Typescript and JSX, and they all interoperate smoothly!

I ran a poll back in December, and the results were pretty decisive: This is the #1 thing y’all care about. So here you have it! It actually works now and all that.

Install script support

That’s right! tink will now execute install scripts for regular dependencies as well as native dependencies! It already works with node-sass and fsevents, two very popular native-build packages.

Production mode

As a nice bonus, tink sh now has a --production mode where, if the flag is used, all the various package management features are disabled. That means tink will expect a warm cache, and will error if any files are missing.

Next Steps

  • unpkg support (I’m being intentionally vague here, but keep an eye out for news!)
  • Webpack-bundled distribution of tink itself.
  • Static and runtime typechecking of Typescript sources – with runtime type failures doing warnings instead of crashing, so you can keep developing even while working on your static types!

As always, keep an eye out for #help-wanted posts in the dev forum if you want to help! I’ll be putting more things out there if you’re interested in contributing to the most awesome package manager of 2019~ :wink:


(Suchipi) #2

Thank you for the update and all your work on this!! I’m excited for tink and would love to contribute again somehow soon