node/deps/npm/TODO.org

3.8 KiB
Raw Blame History

Finished

  • [COMPLETED] npm: add `created-with`, `shrinkwrap-version`, and `package-integrity`
  • [COMPLETED] npm: warn on incompatible package-lock version
  • [COMPLETED] npm: warn if both shrinkwrap and package-lock are there
  • [COMPLETED] npm: fix git-prepare
  • [COMPLETED] npm: fix auth failure for locked scoped deps
  • [COMPLETED] npm: send the user-agent through to pacote
  • [COMPLETED] npm: get https://github.com/npm/write-file-atomic/pull/23 merged
  • [COMPLETED] npm: get https://github.com/npm/fstream-npm/pull/27 merged
  • [COMPLETED] npm: if local deps exist w/o needed metadata, fetch it
  • [COMPLETED] Run `prepare` during git tarball packing phase
  • [COMPLETED] npm: put npm cache clear behind force
  • [COMPLETED] npm: package-lock.json

    • lib/install/read-shrinkwrap.js
    • lib/shrinkwrap.js
    • lib/install/save.js (?)
    • lib/utils/tar.js (add autoignore)
    • fstream-npm (add autoignore)
    • lib/version.js
  • [COMPLETED] npm: save by default
  • [COMPLETED] npm: make sure `npm i <pkg>` defaults to package.json

    • it only happens for command line arguments
    • getAllMetadata
    • Apparently, I did this way back when and totally forgot. lol.
  • [COMPLETED] make-fetch-happen: make sure other options npm used are implemented

    • look at the comment at the bottom of pacote.js
  • [COMPLETED] make-fetch-happen: support strictSSL option
  • [COMPLETED] Write npm@5 speeds presentation for Friday
  • [COMPLETED] pacote: support `opts.fullMetadata` for `pkg.manifest`
  • [COMPLETED] npm: fix invalid package: null error
  • [COMPLETED] make-fetch-happen: case-insensitive http_proxy/proxy/https_proxy
  • [COMPLETED] cacache: integrate cacache@8 into npm/pacote/mfh
  • [COMPLETED] make-fetch-happen: literally vendor in node-fetch. sigh.

    • basically, the whole tarball situation prevents shrinkwrap. sux :<
    • note: solved this by forking node-fetch into node-fetch-npm
  • [COMPLETED] pacote: http auth and alwaysAuth

  • [COMPLETED] make-fetch-happen: NO_PROXY support

  • [COMPLETED] npm: calculate sri with ssri and add it to dist.integrity
  • [COMPLETED] pacote: refactor handler API

    • maybe use Protoduck?
  • [COMPLETED] npm: nag Ryan about when sha512 is happening

    • He says it's delayed 😭
    • I can still start sending integrity in the publish
  • [COMPLETED] npm: fix bundle replacement issues (see: npm i nyc warning spam)

    • need fromBundle attribute on shrinkwrap and pass it through. the sw.version && sw.integrity-based fake node needs to have this there.

Backlog

Needed for npm@5

Active

  • [TODO] npm: make `npm update` save files as the right type
  • [TODO] node: track down lifecycle signal failure