Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save minhoryang/f542a1399748f9873aaa3bb973ddcdc3 to your computer and use it in GitHub Desktop.
Save minhoryang/f542a1399748f9873aaa3bb973ddcdc3 to your computer and use it in GitHub Desktop.
node_modules/**/* packager
req in: package.json, (npm-shrinkwrap.json), (.node_version, .python_version)
middleware cache: gtar cvfz {module}_{version}_{os}_{arch}.tar.gz @ S3
req out: cat {{requested}}.tar.gz
use: gtar xvfz --ignore-zeros cat.tar.gz
npm run rebuild?
https://github.com/redfin/npm-bazel
https://github.com/pubref/rules_node
http://superuser.com/questions/1122438/optimal-way-to-combine-tar-gz-files-quickly/1122546
https://www.npmjs.com/package/pac
--index-file
--block-number
--mtime
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment