repowise 0.1.33 → 0.1.35
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/dist/bin/repowise.js +11 -4
- package/package.json +1 -1
package/dist/bin/repowise.js
CHANGED
|
@@ -991,13 +991,20 @@ var init_progress_renderer = __esm({
|
|
|
991
991
|
this.lastFileStatusLineCount = lines.length;
|
|
992
992
|
spinner.start();
|
|
993
993
|
}
|
|
994
|
-
renderPush(spinner) {
|
|
994
|
+
renderPush(contextStorage, spinner) {
|
|
995
995
|
if (this.pushShown) return;
|
|
996
996
|
this.pushShown = true;
|
|
997
997
|
spinner.stop();
|
|
998
998
|
console.log("");
|
|
999
|
-
|
|
1000
|
-
|
|
999
|
+
if (contextStorage === "server") {
|
|
1000
|
+
console.log(chalk4.cyan.bold(" \u2500\u2500 Uploading Context \u2500\u2500"));
|
|
1001
|
+
console.log(
|
|
1002
|
+
` ${chalk4.dim("Encrypting and uploading context files to RepoWise servers...")}`
|
|
1003
|
+
);
|
|
1004
|
+
} else {
|
|
1005
|
+
console.log(chalk4.cyan.bold(" \u2500\u2500 Pushing to Repository \u2500\u2500"));
|
|
1006
|
+
console.log(` ${chalk4.dim("Committing context files to your repository...")}`);
|
|
1007
|
+
}
|
|
1001
1008
|
console.log("");
|
|
1002
1009
|
spinner.start();
|
|
1003
1010
|
}
|
|
@@ -1050,7 +1057,7 @@ var init_progress_renderer = __esm({
|
|
|
1050
1057
|
this.renderValidation(syncResult.validationProgress, spinner);
|
|
1051
1058
|
}
|
|
1052
1059
|
if (syncResult.currentStep === "push-context") {
|
|
1053
|
-
this.renderPush(spinner);
|
|
1060
|
+
this.renderPush(syncResult.contextStorage, spinner);
|
|
1054
1061
|
}
|
|
1055
1062
|
spinner.text = this.getSpinnerText(syncResult);
|
|
1056
1063
|
}
|