react-repos 1.0.4 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -2,7 +2,7 @@ const fs = require("fs");
2
2
  const path = require("path");
3
3
 
4
4
  const source = path.join(__dirname, "repos");
5
- const destination = process.cwd();
5
+ const destination = process.env.INIT_CWD || process.cwd();
6
6
 
7
7
  for (const repo of ["task1", "task-common"]) {
8
8
  const from = path.join(source, repo);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-repos",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "You can’t burn ashes twice, but you can always start a new fire.",
5
5
  "license": "MIT",
6
6
  "author": "madhav",