propagate-cli 1.9.44 → 1.9.45

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/bin/configure.js CHANGED
@@ -9,7 +9,7 @@ const { TWO_DOTS } = require("./constants"),
9
9
 
10
10
  const { bottommostNameFromPath } = pathUtilities;
11
11
 
12
- function configure(command, argument, options, callback) {
12
+ function configure(command, argument, options, main) {
13
13
  let configurationFileExists = checkConfigurationFileExists();
14
14
 
15
15
  if (!configurationFileExists) {
@@ -38,7 +38,7 @@ function configure(command, argument, options, callback) {
38
38
  migrateConfigurationFile();
39
39
  }
40
40
 
41
- callback(command, argument, options);
41
+ main(command, argument, options);
42
42
  }
43
43
 
44
44
  module.exports = configure;
@@ -31,7 +31,7 @@ const { DEFAULT_YES, DEFAULT_QUIETLY, DEFAULT_DRY_RUN, DEFAULT_HELP, DEFAULT_VER
31
31
  LIST_FORCED_DEPENDENCY_RELATIONS_COMMAND,
32
32
  REMOVE_FORCED_DEPENDENCY_RELATION_COMMAND } = require("./commands");
33
33
 
34
- function actions(command, argument, options) {
34
+ function main(command, argument, options) {
35
35
  const commandMissing = (command === null),
36
36
  { yes = DEFAULT_YES,
37
37
  help = DEFAULT_HELP,
@@ -72,4 +72,4 @@ function actions(command, argument, options) {
72
72
  }
73
73
  }
74
74
 
75
- module.exports = actions;
75
+ module.exports = main;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "propagate-cli",
3
3
  "author": "James Smith",
4
- "version": "1.9.44",
4
+ "version": "1.9.45",
5
5
  "license": "MIT, Anti-996",
6
6
  "homepage": "https://github.com/djalbat/propagate-cli",
7
7
  "description": "Propagate updated packages throughout a project.",
package/propagate.js CHANGED
@@ -3,7 +3,7 @@
3
3
  const { parseArgv } = require("argumentative"),
4
4
  { arrayUtilities } = require("necessary");
5
5
 
6
- const actions = require("./bin/actions"),
6
+ const main = require("./bin/main"),
7
7
  configure = require("./bin/configure"),
8
8
  abbreviations = require("./bin/abbreviations");
9
9
 
@@ -15,4 +15,4 @@ const { commands, options } = parseArgv(process.argv, abbreviations),
15
15
  command = firstCommand || null, ///
16
16
  argument = secondCommand || null; ///
17
17
 
18
- configure(command, argument, options, actions);
18
+ configure(command, argument, options, main);