propagate-cli 1.9.51 → 1.9.53

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
@@ -82,11 +82,7 @@ If you would like to contribute or would simply like to have a look at the code,
82
82
  Propagate has the following commands and options:
83
83
 
84
84
  ```
85
- propagate [<options>] Propagate the current package
86
-
87
- propagate [<options>] <sub-directory> Propagate a package in the given sub-directory
88
-
89
- propagate [<command>] [<options>]
85
+ propagate [<options>] [<command>] [<argument>]
90
86
 
91
87
  Commands:
92
88
 
package/bin/configure.js CHANGED
@@ -4,8 +4,8 @@ const { pathUtilities } = require("necessary");
4
4
 
5
5
  const { DOUBLE_DOTS } = require("./constants"),
6
6
  { DEFAULT_HELP, DEFAULT_VERSION } = require("./defaults"),
7
- { HELP_COMMAND, VERSION_COMMAND, PROPAGATE_COMMAND } = require("./commands"),
8
- { migrateConfigurationFile, checkConfigurationFileExists } = require("./configuration");
7
+ { migrateConfigurationFile, checkConfigurationFileExists } = require("./configuration"),
8
+ { HELP_COMMAND, VERSION_COMMAND, PROPAGATE_COMMAND, INITIALISE_COMMAND } = require("./commands");
9
9
 
10
10
  const { bottommostNameFromPath } = pathUtilities;
11
11
 
@@ -50,7 +50,9 @@ function configure(command, argument, options, main) {
50
50
  }
51
51
  }
52
52
 
53
- migrateConfigurationFile();
53
+ if (command !== INITIALISE_COMMAND) {
54
+ migrateConfigurationFile();
55
+ }
54
56
 
55
57
  main(command, argument, options);
56
58
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "propagate-cli",
3
3
  "author": "James Smith",
4
- "version": "1.9.51",
4
+ "version": "1.9.53",
5
5
  "license": "MIT, Anti-996",
6
6
  "homepage": "https://github.com/djalbat/propagate-cli",
7
7
  "description": "Propagate updated packages throughout a project.",