propagate-cli 1.9.22 → 1.9.24
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 +4 -4
- package/bin/action/help.js +4 -4
- package/bin/actions.js +5 -20
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -90,10 +90,10 @@ Propagate has the following commands and options:
|
|
|
90
90
|
|
|
91
91
|
Commands:
|
|
92
92
|
|
|
93
|
-
version Show the version
|
|
94
|
-
|
|
95
93
|
help Show this help
|
|
96
94
|
|
|
95
|
+
version Show the version
|
|
96
|
+
|
|
97
97
|
initialise Create a configuration file
|
|
98
98
|
|
|
99
99
|
add-directory Add an additional directory
|
|
@@ -118,6 +118,8 @@ Commands:
|
|
|
118
118
|
|
|
119
119
|
Options:
|
|
120
120
|
|
|
121
|
+
--help|-h Show this help
|
|
122
|
+
|
|
121
123
|
--version|-v Show the version
|
|
122
124
|
|
|
123
125
|
--dry-run|-d Show updates but do not apply them
|
|
@@ -125,8 +127,6 @@ Options:
|
|
|
125
127
|
--quietly|-q Execute shell commands without printing to the console
|
|
126
128
|
|
|
127
129
|
--yes|-y Initially answer yes to prompts
|
|
128
|
-
|
|
129
|
-
--help|-h Show this help
|
|
130
130
|
```
|
|
131
131
|
|
|
132
132
|
In the directory that contains the sub-directories holding your project's packages and binaries, run the following command:
|
package/bin/action/help.js
CHANGED
|
@@ -11,10 +11,10 @@ function helpAction() {
|
|
|
11
11
|
|
|
12
12
|
Commands:
|
|
13
13
|
|
|
14
|
-
version Show the version
|
|
15
|
-
|
|
16
14
|
help Show this help
|
|
17
15
|
|
|
16
|
+
version Show the version
|
|
17
|
+
|
|
18
18
|
initialise Create a configuration file
|
|
19
19
|
|
|
20
20
|
add-directory Add an additional directory
|
|
@@ -39,6 +39,8 @@ Commands:
|
|
|
39
39
|
|
|
40
40
|
Options:
|
|
41
41
|
|
|
42
|
+
--help|-h Show this help
|
|
43
|
+
|
|
42
44
|
--version|-v Show the version
|
|
43
45
|
|
|
44
46
|
--dry-run|-d Show updates but do not apply them
|
|
@@ -47,8 +49,6 @@ Options:
|
|
|
47
49
|
|
|
48
50
|
--yes|-y Initially answer yes to prompts
|
|
49
51
|
|
|
50
|
-
--help|-h Show this help
|
|
51
|
-
|
|
52
52
|
Further information:
|
|
53
53
|
|
|
54
54
|
Please see the readme file on GitHub:
|
package/bin/actions.js
CHANGED
|
@@ -49,26 +49,6 @@ function actions(command, argument, options) {
|
|
|
49
49
|
command = HELP_COMMAND;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
if ( (command !== HELP_COMMAND)
|
|
53
|
-
&& (command !== VERSION_COMMAND)
|
|
54
|
-
&& (command !== PROPAGATE_COMMAND)
|
|
55
|
-
&& (command !== INITIALISE_COMMAND)
|
|
56
|
-
&& (command !== ADD_DIRECTORY_COMMAND)
|
|
57
|
-
&& (command !== REMOVE_DIRECTORY_COMMAND)
|
|
58
|
-
&& (command !== LIST_DIRECTORIES_COMMAND)
|
|
59
|
-
&& (command !== SET_SHELL_COMMANDS_COMMAND)
|
|
60
|
-
&& (command !== ADD_IGNORED_DEPENDENCY_COMMAND)
|
|
61
|
-
&& (command !== LIST_IGNORED_DEPENDENCIES_COMMAND)
|
|
62
|
-
&& (command !== REMOVE_IGNORED_DEPENDENCY_COMMAND)
|
|
63
|
-
&& (command !== ADD_FORCED_DEPENDENCY_RELATION_COMMAND)
|
|
64
|
-
&& (command !== LIST_FORCED_DEPENDENCY_RELATIONS_COMMAND)
|
|
65
|
-
&& (command !== REMOVE_FORCED_DEPENDENCY_RELATION_COMMAND) ) {
|
|
66
|
-
|
|
67
|
-
argument = command; ///
|
|
68
|
-
|
|
69
|
-
command = PROPAGATE_COMMAND;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
52
|
switch (command) {
|
|
73
53
|
case HELP_COMMAND : helpAction(); break;
|
|
74
54
|
case VERSION_COMMAND : versionAction(); break;
|
|
@@ -84,6 +64,11 @@ function actions(command, argument, options) {
|
|
|
84
64
|
case ADD_FORCED_DEPENDENCY_RELATION_COMMAND : addForcedDependencyRelationAction(); break;
|
|
85
65
|
case LIST_FORCED_DEPENDENCY_RELATIONS_COMMAND : listForcedDependencyRelationsAction(); break;
|
|
86
66
|
case REMOVE_FORCED_DEPENDENCY_RELATION_COMMAND : removeForcedDependencyRelationAction(); break;
|
|
67
|
+
|
|
68
|
+
default:
|
|
69
|
+
argument = command; ///
|
|
70
|
+
|
|
71
|
+
propagateAction(argument, quietly, dryRun, yes);
|
|
87
72
|
}
|
|
88
73
|
}
|
|
89
74
|
|
package/package.json
CHANGED