Skip to content

Instantly share code, notes, and snippets.

@hackergrrl
Created July 24, 2019 04:15
Show Gist options
  • Save hackergrrl/b323b7099fc6473940b0cb4069f1940b to your computer and use it in GitHub Desktop.
Save hackergrrl/b323b7099fc6473940b0cb4069f1940b to your computer and use it in GitHub Desktop.

why I publish to npm + don't publish to my distro package manager

re: https://drewdevault.com/2018/01/10/Learn-your-package-manager.html

  • needs human effort to {write,modify} the package per distro, per update
    • do the write/update
    • someone working on the distro to review the work & merge it
  • need to wait until next release for people to use the package/update
    • need to maintain a private pkg server (per distro; or just fuck the others)
  • does my pkg then depend on distro pkgs or npm ones?
    • if distro: dll hell ensues
    • if npm: why did we even choose to write a distro pkg in the first place?

vs

I type npm publish and the new version of my module is instantly available to all node users on all OSes and distros

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment