gx-js
gx-js copied to clipboard
Immutable Package management for the JavaScript ecosystem using IPFS
https://github.com/whyrusleeping/gx#package-directories
Available hooks: (not all of them have been implemented yet) - post-import - post-init - pre-publish - post-publish - post-update - post-install - install-path
Currently, we just symlink the package from the `node_modules/gx/:hash` directory, but what if we have duplicate dependencies that are using different versions? Then we'll use a random one, which is...
Rather than ending up with ``` node_modules ├── gx │ └── ipfs │ └── Qmd4bNLqHGxRgZhp6jrkisNCffDU3SwSd3XWj7ukendco2 │ └── gx-lib-a │ ├── index.js │ └── package.json └── gx-lib-a -> /home/user/projects/victorbjelkholm/gx-root-package/node_modules/gx/ipfs/Qmd4bNLqHGxRgZhp6jrkisNCffDU3SwSd3XWj7ukendco2/gx-lib-a 5 directories,...
Instead of using npm, we should store the packages in IPFS and pin them somewhere. Not sure how feasible it is, since fs-extra has bunch of dependencies. http://npm.anvaka.com/#/view/2d/fs-extra