propagate-cli 1.9.25 → 1.9.27
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/action/setShellCommands.js +1 -1
- package/bin/configuration.js +5 -7
- package/bin/versions.js +5 -5
- package/license.txt +1 -1
- package/package.json +2 -3
|
@@ -14,7 +14,7 @@ function setShellCommandsAction() {
|
|
|
14
14
|
setGitShellCommandsPromptOperation,
|
|
15
15
|
setInstallShellCommandsPromptOperation,
|
|
16
16
|
setBuildShellCommandsPromptOperation,
|
|
17
|
-
setPublishShellCommandsPromptOperation
|
|
17
|
+
setPublishShellCommandsPromptOperation
|
|
18
18
|
],
|
|
19
19
|
shellCommands = retrieveShellCommands(),
|
|
20
20
|
context = {
|
package/bin/configuration.js
CHANGED
|
@@ -8,7 +8,7 @@ const { PROPAGATE } = require("./constants"),
|
|
|
8
8
|
{ migrateConfigurationToVersion_1_7 } = require("./configuration/version_1_7"),
|
|
9
9
|
{ CONFIGURATION_FILE_DOES_NOT_EXIST_MESSAGE } = require("./messages"),
|
|
10
10
|
{ createConfiguration, migrateConfigurationToVersion_1_9 } = require("./configuration/version_1_9"),
|
|
11
|
-
{ VERSION_1_0, VERSION_1_3, VERSION_1_7, CURRENT_VERSION
|
|
11
|
+
{ UNVERSIONED, VERSION_1_0, VERSION_1_3, VERSION_1_7, CURRENT_VERSION } = require("./versions");
|
|
12
12
|
|
|
13
13
|
const { rc } = configurationUtilities,
|
|
14
14
|
{ setRCBaseExtension, checkRCFileExists, updateRCFile, writeRCFile, readRCFile } = rc;
|
|
@@ -75,15 +75,13 @@ function createConfigurationFile() {
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
function migrateConfigurationFile() {
|
|
78
|
-
let json = readRCFile()
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
let { version = UNDEFINED_VERSION } = configuration;
|
|
78
|
+
let json = readRCFile(),
|
|
79
|
+
configuration = json, ///
|
|
80
|
+
{ version = UNVERSIONED } = configuration;
|
|
83
81
|
|
|
84
82
|
while (version !== CURRENT_VERSION) {
|
|
85
83
|
switch (version) {
|
|
86
|
-
case
|
|
84
|
+
case UNVERSIONED :
|
|
87
85
|
configuration = migrateConfigurationToVersion_1_0(configuration);
|
|
88
86
|
|
|
89
87
|
break;
|
package/bin/versions.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const UNVERSIONED = null, ///
|
|
4
|
+
VERSION_1_0 = "1.0",
|
|
4
5
|
VERSION_1_3 = "1.3",
|
|
5
6
|
VERSION_1_7 = "1.7",
|
|
6
7
|
VERSION_1_9 = "1.9",
|
|
7
|
-
CURRENT_VERSION = VERSION_1_9
|
|
8
|
-
UNDEFINED_VERSION = null; ///
|
|
8
|
+
CURRENT_VERSION = VERSION_1_9; ///
|
|
9
9
|
|
|
10
10
|
module.exports = {
|
|
11
|
+
UNVERSIONED,
|
|
11
12
|
VERSION_1_0,
|
|
12
13
|
VERSION_1_3,
|
|
13
14
|
VERSION_1_7,
|
|
14
15
|
VERSION_1_9,
|
|
15
|
-
CURRENT_VERSION
|
|
16
|
-
UNDEFINED_VERSION
|
|
16
|
+
CURRENT_VERSION
|
|
17
17
|
};
|
package/license.txt
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "propagate-cli",
|
|
3
3
|
"author": "James Smith",
|
|
4
|
-
"version": "1.9.
|
|
4
|
+
"version": "1.9.27",
|
|
5
5
|
"license": "MIT, Anti-996",
|
|
6
6
|
"homepage": "https://github.com/djalbat/propagate-cli",
|
|
7
7
|
"description": "Propagate updated packages throughout a project.",
|
|
@@ -14,9 +14,8 @@
|
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"argumentative": "^2.0.15",
|
|
17
|
-
"necessary": "^11.
|
|
17
|
+
"necessary": "^11.2.2",
|
|
18
18
|
"occam-directed-graphs": "^3.0.28"
|
|
19
19
|
},
|
|
20
|
-
"devDependencies": {},
|
|
21
20
|
"scripts": {}
|
|
22
21
|
}
|