Alexander Mills
Alexander Mills
```js 'use strict' const fs = require('fs'); const path = require('path'); let current = path.dirname(process.cwd()); const home = process.env.HOME; let renameThisDir = 'node_modules'; let renameTo = 'r2g_nodemodules'; if (process.argv[2] ===...
see: https://blog.greenkeeper.io/one-simple-trick-for-javascript-package-maintainers-to-avoid-breaking-their-user-s-software-and-to-6edf06dc5617
https://stackoverflow.com/questions/51352821/prevent-dev-branch-from-being-worked-on-locally
When users want to test their dependency X for another project Y, they may want to test X as a devDependency of Y. Right now r2g always installs it is...
right now in smoke-tester.ts we are using Promise.all, but this should really be in series, for simplicity, etc.
``` npm install --save-exact ``` should save the exact versions, better for libraries.
https://github.com/nodejs/node/issues/21789
allow users to include a package.json instead of just using `npm init -f` Users can add a package.json file: `.r2g/package.json` which will be the package.json file of Y, the testbed...
new ideas: `r2g --use-latest # would install with "latest" deps being filled with the local deps` `r2g --keep # already exists`
https://stackoverflow.com/questions/49949201/determine-if-set-e-flag-if-is-active-in-bash From help test: -o OPTION True if the shell option OPTION is enabled. ... [ -o errexit ]