highmark-cli 0.0.7 → 0.0.9

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
@@ -36,9 +36,9 @@ Commands:
36
36
 
37
37
  Options:
38
38
 
39
- --version|-v Show the version
40
-
41
39
  --help|-h Show this help
40
+
41
+ --version|-v Show the version
42
42
  ```
43
43
 
44
44
  ## Contact
@@ -11,10 +11,10 @@ Commands:
11
11
 
12
12
  Options:
13
13
 
14
- --version|-v Show the version
15
-
16
14
  --help|-h Show this help
17
15
 
16
+ --version|-v Show the version
17
+
18
18
  Further information:
19
19
 
20
20
  Please see the readme file on GitHub:
@@ -1,17 +1,18 @@
1
1
  "use strict";
2
2
 
3
- const { arrayUtilities, fileSystemUtilities } = require("necessary");
3
+ const { pathUtilities, arrayUtilities, fileSystemUtilities } = require("necessary");
4
4
 
5
5
  const { PACKAGE_JSON } = require("../constants");
6
6
 
7
7
  const { second } = arrayUtilities,
8
- { readFile } = fileSystemUtilities;
8
+ { readFile } = fileSystemUtilities,
9
+ { concatenatePaths } = pathUtilities;
9
10
 
10
11
  const utilitiesDirectoryName = __dirname, ///
11
12
  matches = utilitiesDirectoryName.match(/^(.+)\/bin\/utilities$/),
12
13
  secondMatch = second(matches),
13
14
  applicationDirectoryName = secondMatch, ///
14
- packageJSONFilePath = `${applicationDirectoryName}/${PACKAGE_JSON}`,
15
+ packageJSONFilePath = concatenatePaths(applicationDirectoryName, PACKAGE_JSON),
15
16
  packageJSONFile = readFile(packageJSONFilePath),
16
17
  packageJSON = JSON.parse(packageJSONFile),
17
18
  { version } = packageJSON,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "highmark-cli",
3
3
  "author": "James Smith",
4
- "version": "0.0.7",
4
+ "version": "0.0.9",
5
5
  "license": "MIT, Anti-996",
6
6
  "homepage": "https://github.com/djalbat/highmark-cli",
7
7
  "description": "Extensible, styleable Markdown.",