@karmaniverous/get-dotenv 0.2.1 → 0.2.3

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.
package/README.md CHANGED
@@ -61,7 +61,6 @@ dotenv files. You can:
61
61
 
62
62
  Options:
63
63
  -p, --paths <strings...> space-delimited paths to dotenv directory (default './')
64
- -a, --path-delimiter path delimiter (default space)
65
64
  -t, --dotenv-token <string> token indicating a dotenv file (default: '.env')
66
65
  -i, --private-token <string> token indicating private variables (default: 'local')
67
66
  -d, --defaultEnvironment <string> default environment
@@ -34,11 +34,9 @@ program
34
34
  // CLI options.
35
35
  program
36
36
  .option(
37
- '-p, --paths <string>',
38
- "delimited paths to dotenv directory (default './')",
39
- './'
37
+ '-p, --paths <strings...>',
38
+ "space-delimited paths to dotenv directory (default './')"
40
39
  )
41
- .option('-a, --path-delimiter', 'path delimiter (default space)', ' ')
42
40
  .option(
43
41
  '-t, --dotenv-token <string>',
44
42
  "token indicating a dotenv file (default: '.env')"
@@ -66,7 +64,6 @@ const {
66
64
  excludePublic,
67
65
  log,
68
66
  paths,
69
- pathDelimiter,
70
67
  privateToken,
71
68
  variable,
72
69
  } = program.opts();
@@ -84,7 +81,7 @@ getDotenvSync({
84
81
  excludePublic,
85
82
  loadProcess: true,
86
83
  log,
87
- paths: paths.split(pathDelimiter),
84
+ paths,
88
85
  privateToken,
89
86
  });
90
87
 
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "bin": {
4
4
  "getdotenv": "bin/getdotenv/index.js"
5
5
  },
6
- "version": "0.2.1",
6
+ "version": "0.2.3",
7
7
  "publishConfig": {
8
8
  "access": "public"
9
9
  },
@@ -62,6 +62,7 @@
62
62
  "require": "./dist/default/lib/index.js"
63
63
  }
64
64
  },
65
+ "main": "./lib/index.js",
65
66
  "mocha": {
66
67
  "exclude": [
67
68
  "./dist/**",