propagate-cli 1.9.32 → 1.9.33

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.
@@ -1,30 +1,6 @@
1
1
  "use strict";
2
2
 
3
- const { VERSION_1_3 } = require("../versions"),
4
- { DEFAULT_GIT_SHELL_COMMANDS, DEFAULT_BUILD_SHELL_COMMANDS, DEFAULT_PUBLISH_SHELL_COMMANDS } = require("../defaults"),
5
- git = DEFAULT_GIT_SHELL_COMMANDS, ///
6
- build = DEFAULT_BUILD_SHELL_COMMANDS, ///
7
- publish = DEFAULT_PUBLISH_SHELL_COMMANDS, ///
8
- defaultShellCommands = {
9
- git,
10
- build,
11
- publish
12
- };
13
-
14
- function createConfiguration() {
15
- const version = VERSION_1_3, ///
16
- directories = [],
17
- shellCommands = defaultShellCommands, ///
18
- ignoredDependencies = [],
19
- configuration = {
20
- version,
21
- directories,
22
- shellCommands,
23
- ignoredDependencies
24
- } ;
25
-
26
- return configuration;
27
- }
3
+ const { VERSION_1_3 } = require("../versions");
28
4
 
29
5
  function migrateConfigurationToVersion_1_3(configuration) {
30
6
  const version = VERSION_1_3,
@@ -39,6 +15,5 @@ function migrateConfigurationToVersion_1_3(configuration) {
39
15
  }
40
16
 
41
17
  module.exports = {
42
- createConfiguration,
43
18
  migrateConfigurationToVersion_1_3
44
19
  };
@@ -1,32 +1,6 @@
1
1
  "use strict";
2
2
 
3
- const { VERSION_1_7 } = require("../versions"),
4
- { DEFAULT_GIT_SHELL_COMMANDS, DEFAULT_BUILD_SHELL_COMMANDS, DEFAULT_PUBLISH_SHELL_COMMANDS } = require("../defaults"),
5
- git = DEFAULT_GIT_SHELL_COMMANDS, ///
6
- build = DEFAULT_BUILD_SHELL_COMMANDS, ///
7
- publish = DEFAULT_PUBLISH_SHELL_COMMANDS, ///
8
- defaultShellCommands = {
9
- git,
10
- build,
11
- publish
12
- };
13
-
14
- function createConfiguration() {
15
- const version = VERSION_1_7, ///
16
- directories = [],
17
- shellCommands = defaultShellCommands, ///
18
- ignoredDependencies = [],
19
- forcedDependencyRelations = [],
20
- configuration = {
21
- version,
22
- directories,
23
- shellCommands,
24
- ignoredDependencies,
25
- forcedDependencyRelations
26
- } ;
27
-
28
- return configuration;
29
- }
3
+ const { VERSION_1_7 } = require("../versions");
30
4
 
31
5
  function migrateConfigurationToVersion_1_7(configuration) {
32
6
  const version = VERSION_1_7,
@@ -1,8 +1,9 @@
1
1
  "use strict";
2
2
 
3
3
  const { VERSION_1_9 } = require("../versions"),
4
- { DEFAULT_GIT_SHELL_COMMANDS, DEFAULT_INSTALL_SHELL_COMMANDS, DEFAULT_BUILD_SHELL_COMMANDS, DEFAULT_PUBLISH_SHELL_COMMANDS } = require("../defaults"),
5
- git = DEFAULT_GIT_SHELL_COMMANDS, ///
4
+ { DEFAULT_GIT_SHELL_COMMANDS, DEFAULT_INSTALL_SHELL_COMMANDS, DEFAULT_BUILD_SHELL_COMMANDS, DEFAULT_PUBLISH_SHELL_COMMANDS } = require("../defaults");
5
+
6
+ const git = DEFAULT_GIT_SHELL_COMMANDS, ///
6
7
  build = DEFAULT_BUILD_SHELL_COMMANDS, ///
7
8
  install = DEFAULT_INSTALL_SHELL_COMMANDS, ///
8
9
  publish = DEFAULT_PUBLISH_SHELL_COMMANDS, ///
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "propagate-cli",
3
3
  "author": "James Smith",
4
- "version": "1.9.32",
4
+ "version": "1.9.33",
5
5
  "license": "MIT, Anti-996",
6
6
  "homepage": "https://github.com/djalbat/propagate-cli",
7
7
  "description": "Propagate updated packages throughout a project.",
@@ -1,29 +0,0 @@
1
- "use strict";
2
-
3
- const { VERSION_1_0 } = require("../versions"),
4
- { DEFAULT_GIT_SHELL_COMMANDS, DEFAULT_BUILD_SHELL_COMMANDS, DEFAULT_PUBLISH_SHELL_COMMANDS } = require("../defaults"),
5
- git = DEFAULT_GIT_SHELL_COMMANDS, ///
6
- build = DEFAULT_BUILD_SHELL_COMMANDS, ///
7
- publish = DEFAULT_PUBLISH_SHELL_COMMANDS, ///
8
- defaultShellCommands = {
9
- git,
10
- build,
11
- publish
12
- };
13
-
14
- function createConfiguration() {
15
- const version = VERSION_1_0, ///
16
- directories = [],
17
- shellCommands = defaultShellCommands, ///
18
- configuration = {
19
- version,
20
- directories,
21
- shellCommands
22
- } ;
23
-
24
- return configuration;
25
- }
26
-
27
- module.exports = {
28
- createConfiguration
29
- };