orlin / install-g Goto Github PK
View Code? Open in Web Editor NEWinsist to automatically npm-install a package globally
insist to automatically npm-install a package globally
Some people may want control over what gets installed globally, or just want their own package.json to install-g whatever they need. Add ability to disable install-g via package.json - possible if the config gets passed on to the install scripts of dependencies...
This .travis.yml
looks like a mess and nothing works like it does for other repos - e.g. bon, datomic-free, dbin, batshit, etc. I think it started after switching to batshit for tests. Using install-g
in the context of install-g
could be one reason. The $NODE_PATH
should have little to do with this. Also batshit
gets confused about not finding bats
. This could be just about Travis testing, which makes it hard to debug, though also not a real issue...
Installing with sudo
is an anti-pattern but could be requested, especially by private packages (which should probably be required - i.e. "private": true
). There is a sudo module that could help.
Having run npm install
rather than npm install {package}
-- install-g
shouldn't install the module from npm, but rather link the current dir. Important for development and testing... This way it gets automatically linked when building with continuous integration services - testing yet unpublished changes.
Add ability to install several global dependencies. This should disable the default self-install, unless explicitly asked for. Take these from package.json config. Basically an equivalent of the requested (and denied) globalDependencies. Perhaps use process.env.npm_package_config_installg_deps
...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.