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 +1 -5
- package/bin/configure.js +5 -3
- package/package.json +1 -1
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>]
|
|
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
|
-
{
|
|
8
|
-
{
|
|
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
|
-
|
|
53
|
+
if (command !== INITIALISE_COMMAND) {
|
|
54
|
+
migrateConfigurationFile();
|
|
55
|
+
}
|
|
54
56
|
|
|
55
57
|
main(command, argument, options);
|
|
56
58
|
}
|
package/package.json
CHANGED