propagate-cli 1.9.30 → 1.9.31

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.
@@ -96,9 +96,9 @@ class ReleaseGraph {
96
96
  nameToSubDirectoryPathMap = releaseMap.getNameToSubDirectoryPathMap(),
97
97
  vertexNames = subDirectoryPaths; ///
98
98
 
99
- dependencyDirectedGraph.addVerticesByVertexNames(vertexNames);
99
+ dependencyDirectedGraph.addVertexesByVertexNames(vertexNames);
100
100
 
101
- devDependencyDirectedGraph.addVerticesByVertexNames(vertexNames);
101
+ devDependencyDirectedGraph.addVertexesByVertexNames(vertexNames);
102
102
 
103
103
  subDirectoryPaths.forEach((subDirectoryPath) => {
104
104
  const release = releaseMap.retrieveRelease(subDirectoryPath),
@@ -113,7 +113,7 @@ class ReleaseGraph {
113
113
  sourceVertexName = dependencySubDirectoryPath, ///
114
114
  targetVertexName = subDirectoryPath; ///
115
115
 
116
- dependencyDirectedGraph.addEdgeByVertexNames(sourceVertexName, targetVertexName);
116
+ dependencyDirectedGraph.addEdgeBySourceVertexNameAndTargetVertexName(sourceVertexName, targetVertexName);
117
117
  }
118
118
  });
119
119
 
@@ -125,7 +125,7 @@ class ReleaseGraph {
125
125
  sourceVertexName = devDependencySubDirectoryPath, ///
126
126
  targetVertexName = subDirectoryPath; ///
127
127
 
128
- devDependencyDirectedGraph.addEdgeByVertexNames(sourceVertexName, targetVertexName);
128
+ devDependencyDirectedGraph.addEdgeBySourceVertexNameAndTargetVertexName(sourceVertexName, targetVertexName);
129
129
  }
130
130
  });
131
131
  });
@@ -156,7 +156,7 @@ class ReleaseGraph {
156
156
  const sourceVertexName = dependencySubDirectoryPath, ///
157
157
  targetVertexName = dependentSubDirectoryPath; ///
158
158
 
159
- const dependencyDirectedGraphEdgePresent = dependencyDirectedGraph.isEdgePresentByVertexNames(sourceVertexName, targetVertexName),
159
+ const dependencyDirectedGraphEdgePresent = dependencyDirectedGraph.isEdgePresentBySourceVertexNameAndTargetVertexName(sourceVertexName, targetVertexName),
160
160
  dependencyRelationPresent = dependencyDirectedGraphEdgePresent; ///
161
161
 
162
162
  if (dependencyRelationPresent) {
@@ -165,7 +165,7 @@ class ReleaseGraph {
165
165
  process.exit(1);
166
166
  }
167
167
 
168
- const devDependencyDirectedGraphEdgePresent = devDependencyDirectedGraph.isEdgePresentByVertexNames(sourceVertexName, targetVertexName),
168
+ const devDependencyDirectedGraphEdgePresent = devDependencyDirectedGraph.isEdgePresentBySourceVertexNameAndTargetVertexName(sourceVertexName, targetVertexName),
169
169
  devDependencyRelationPresent = devDependencyDirectedGraphEdgePresent; ///
170
170
 
171
171
  if (!devDependencyRelationPresent) {
@@ -175,7 +175,7 @@ class ReleaseGraph {
175
175
  }
176
176
 
177
177
  if (dependencyRelease) {
178
- dependencyDirectedGraph.addEdgeByVertexNames(sourceVertexName, targetVertexName);
178
+ dependencyDirectedGraph.addEdgeBySourceVertexNameAndTargetVertexName(sourceVertexName, targetVertexName);
179
179
  }
180
180
  });
181
181
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "propagate-cli",
3
3
  "author": "James Smith",
4
- "version": "1.9.30",
4
+ "version": "1.9.31",
5
5
  "license": "MIT, Anti-996",
6
6
  "homepage": "https://github.com/djalbat/propagate-cli",
7
7
  "description": "Propagate updated packages throughout a project.",
@@ -15,7 +15,8 @@
15
15
  "dependencies": {
16
16
  "argumentative": "^2.0.15",
17
17
  "necessary": "^11.8.4",
18
- "occam-directed-graphs": "^3.0.44"
18
+ "occam-directed-graphs": "^3.0.50",
19
+ "sudo": "^1.0.3"
19
20
  },
20
21
  "scripts": {}
21
22
  }