occam-open-cli 5.0.64 → 5.0.66

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.
@@ -4,9 +4,7 @@ const publishOperation = require("../operation/publish"),
4
4
  loadReleaseOperation = require("../operation/loadRelease"),
5
5
  deflateReleaseOperation = require("../operation/deflateRelease"),
6
6
  getIdentityTokenOperation = require("../operation/getIdentityToken"),
7
- releaseNamePromptOperation = require("../operation/prompt/releaseName"),
8
- checkReadmeFileExistsOperation = require("../operation/checkReadmeFileExists"),
9
- checkMetaJSONFileExistsOperation = require("../operation/checkMetaJSONFileExists");
7
+ releaseNamePromptOperation = require("../operation/prompt/releaseName");
10
8
 
11
9
  const { executeOperations } = require("../utilities/operation"),
12
10
  { FAILED_PUBLISH_MESSAGE, SUCCESSFUL_PUBLISH_MESSAGE } = require("../messages");
@@ -17,8 +15,6 @@ function publish(argument) {
17
15
  getIdentityTokenOperation,
18
16
  releaseNamePromptOperation,
19
17
  loadReleaseOperation,
20
- checkReadmeFileExistsOperation,
21
- checkMetaJSONFileExistsOperation,
22
18
  deflateReleaseOperation,
23
19
  publishOperation
24
20
  ],
@@ -9,7 +9,7 @@ const { loadRelease } = fileSystemUtilities;
9
9
  function loadReleaseOperation(proceed, abort, context) {
10
10
  const { releaseName } = context,
11
11
  projectsDirectoryPath = PERIOD, ///
12
- release = loadRelease(releaseName);
12
+ release = loadRelease(releaseName ,projectsDirectoryPath);
13
13
 
14
14
  if (release === null) {
15
15
  abort();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "occam-open-cli",
3
3
  "author": "James Smith",
4
- "version": "5.0.64",
4
+ "version": "5.0.66",
5
5
  "license": "MIT, Anti-996",
6
6
  "homepage": "https://github.com/djalbat/occam-open-cli",
7
7
  "description": "Occam's command line package management tool.",
@@ -12,7 +12,7 @@
12
12
  "dependencies": {
13
13
  "argumentative": "^2.0.15",
14
14
  "necessary": "^11.1.4",
15
- "occam-file-system": "^5.0.30"
15
+ "occam-file-system": "^5.0.32"
16
16
  },
17
17
  "scripts": {},
18
18
  "bin": {
@@ -1,17 +0,0 @@
1
- "use strict";
2
-
3
- function checkMetaJSONFileExistsOperation(proceed, abort, context) {
4
- const { release } = context,
5
- metaJSONFile = release.getMetaJSONFile(),
6
- metaJSONFileExists = (metaJSONFile !== null);
7
-
8
- if (!metaJSONFileExists) {
9
- abort();
10
-
11
- return;
12
- }
13
-
14
- proceed();
15
- }
16
-
17
- module.exports = checkMetaJSONFileExistsOperation;
@@ -1,17 +0,0 @@
1
- "use strict";
2
-
3
- function checkReadmeFileExistsOperation(proceed, abort, context) {
4
- const { release } = context,
5
- readmeFile = release.getReadmeFile(),
6
- readmeFileExists = (readmeFile !== null);
7
-
8
- if (!readmeFileExists) {
9
- abort();
10
-
11
- return;
12
- }
13
-
14
- proceed();
15
- }
16
-
17
- module.exports = checkReadmeFileExistsOperation;