configorama 0.5.0 → 0.5.2

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 (40) hide show
  1. package/cli.js +1 -1
  2. package/package.json +16 -15
  3. /package/{lib → src}/functions/md5.js +0 -0
  4. /package/{lib → src}/index.js +0 -0
  5. /package/{lib → src}/main.js +0 -0
  6. /package/{lib → src}/parsers/hcl.js +0 -0
  7. /package/{lib → src}/parsers/index.js +0 -0
  8. /package/{lib → src}/parsers/json5.js +0 -0
  9. /package/{lib → src}/parsers/toml.js +0 -0
  10. /package/{lib → src}/parsers/yaml.js +0 -0
  11. /package/{lib → src}/parsers/yaml.test.js +0 -0
  12. /package/{lib → src}/resolvers/valueFromEnv.js +0 -0
  13. /package/{lib → src}/resolvers/valueFromGit.js +0 -0
  14. /package/{lib → src}/resolvers/valueFromNumber.js +0 -0
  15. /package/{lib → src}/resolvers/valueFromOptions.js +0 -0
  16. /package/{lib → src}/resolvers/valueFromSelf.js +0 -0
  17. /package/{lib → src}/resolvers/valueFromString.js +0 -0
  18. /package/{lib → src}/sync.js +0 -0
  19. /package/{lib → src}/utils/PromiseTracker.js +0 -0
  20. /package/{lib → src}/utils/appendDeepVariable.js +0 -0
  21. /package/{lib → src}/utils/arrayToJsonPath.js +0 -0
  22. /package/{lib → src}/utils/cleanVariable.js +0 -0
  23. /package/{lib → src}/utils/cloudformationSchema.js +0 -0
  24. /package/{lib → src}/utils/deep-log.js +0 -0
  25. /package/{lib → src}/utils/find-project-root.js +0 -0
  26. /package/{lib → src}/utils/formatFunctionArgs.js +0 -0
  27. /package/{lib → src}/utils/getFullFilePath.js +0 -0
  28. /package/{lib → src}/utils/handleSignalEvents.js +0 -0
  29. /package/{lib → src}/utils/isValidValue.js +0 -0
  30. /package/{lib → src}/utils/lodash.js +0 -0
  31. /package/{lib → src}/utils/mergeByKeys.js +0 -0
  32. /package/{lib → src}/utils/parse.js +0 -0
  33. /package/{lib → src}/utils/regex/index.js +0 -0
  34. /package/{lib → src}/utils/replaceAll.js +0 -0
  35. /package/{lib → src}/utils/splitByComma.js +0 -0
  36. /package/{lib → src}/utils/splitCsv.js +0 -0
  37. /package/{lib → src}/utils/textUtils.js +0 -0
  38. /package/{lib → src}/utils/trimSurroundingQuotes.js +0 -0
  39. /package/{lib → src}/utils/unknownValues.js +0 -0
  40. /package/{lib → src}/utils/variableUtils.js +0 -0
package/cli.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  const fs = require('fs')
4
4
  const minimist = require('minimist')
5
- const Configorama = require('./lib/main')
5
+ const Configorama = require('./src/main')
6
6
 
7
7
  // Parse command line arguments
8
8
  const argv = minimist(process.argv.slice(2), {
package/package.json CHANGED
@@ -1,23 +1,24 @@
1
1
  {
2
2
  "name": "configorama",
3
- "version": "0.5.0",
3
+ "version": "0.5.2",
4
4
  "description": "Variable support for configuration files",
5
5
  "main": "lib/index.js",
6
6
  "files": [
7
7
  "cli.js",
8
- "lib",
8
+ "src",
9
9
  "package.json",
10
10
  "package-lock.json",
11
11
  "README.md"
12
12
  ],
13
13
  "bin": {
14
+ "config": "./cli.js",
14
15
  "configorama": "./cli.js"
15
16
  },
16
17
  "scripts": {
17
18
  "docs": "node ./scripts/docs.js",
18
19
  "test": "npm run testlib && uvu tests \".*\\.test.js$\" ",
19
20
  "test:api": "uvu tests/api api.test.js",
20
- "testlib": "uvu lib \".*\\.test.js$\"",
21
+ "testlib": "uvu src \".*\\.test.js$\"",
21
22
  "watch": "watchlist tests -- npm test",
22
23
  "publish": "git push origin && git push origin --tags",
23
24
  "release:patch": "npm version patch && npm publish",
@@ -38,31 +39,31 @@
38
39
  "git-url-parse": "^14.0.0",
39
40
  "js-yaml": "^3.14.1",
40
41
  "json5": "^2.2.3",
42
+ "lodash.assign": "^4.2.0",
43
+ "lodash.camelcase": "^4.3.0",
44
+ "lodash.capitalize": "^4.2.1",
45
+ "lodash.clonedeep": "^4.5.0",
46
+ "lodash.flatten": "^4.4.0",
47
+ "lodash.includes": "^4.3.0",
41
48
  "lodash.isarray": "^4.0.0",
42
- "lodash.isstring": "^4.0.1",
49
+ "lodash.isdate": "^4.0.1",
50
+ "lodash.isempty": "^4.4.0",
51
+ "lodash.isfunction": "^3.0.9",
43
52
  "lodash.isnumber": "^3.0.3",
44
53
  "lodash.isobject": "^3.0.2",
45
- "lodash.isdate": "^4.0.1",
46
54
  "lodash.isregexp": "^4.0.1",
47
- "lodash.isfunction": "^3.0.9",
48
- "lodash.isempty": "^4.4.0",
49
- "lodash.camelcase": "^4.3.0",
55
+ "lodash.isstring": "^4.0.1",
50
56
  "lodash.kebabcase": "^4.1.1",
51
- "lodash.capitalize": "^4.2.1",
52
- "lodash.split": "^4.4.2",
53
57
  "lodash.map": "^4.6.0",
54
58
  "lodash.mapvalues": "^4.6.0",
55
- "lodash.assign": "^4.2.0",
56
- "lodash.clonedeep": "^4.5.0",
57
- "lodash.includes": "^4.3.0",
58
- "lodash.flatten": "^4.4.0",
59
+ "lodash.split": "^4.4.2",
60
+ "minimist": "^1.2.8",
59
61
  "promise.prototype.finally": "^3.1.8",
60
62
  "sync-rpc": "^1.3.6",
61
63
  "traverse": "^0.6.8"
62
64
  },
63
65
  "devDependencies": {
64
66
  "markdown-magic": "^2.6.1",
65
- "minimist": "^1.2.8",
66
67
  "uvu": "^0.5.6",
67
68
  "watchlist": "^0.3.1"
68
69
  }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes