tsoft-cli 3.5.1 → 3.6.0
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/locales/en.json +1 -0
- package/locales/tr.json +1 -0
- package/package.json +1 -1
- package/src/commands/login.js +1 -1
- package/src/commands/theme-push.js +4 -8
package/locales/en.json
CHANGED
|
@@ -152,6 +152,7 @@
|
|
|
152
152
|
"push.admin_approval": "Will be published as 1.0.0 after admin approval",
|
|
153
153
|
"push.draft_created": "New draft created",
|
|
154
154
|
"push.draft_updated": "Existing draft updated",
|
|
155
|
+
"push.partner_hint": "Visit the partner panel for the theme list.",
|
|
155
156
|
"push.changes_added": "+{{count}} new",
|
|
156
157
|
"push.changes_removed": "~{{count}} removed",
|
|
157
158
|
|
package/locales/tr.json
CHANGED
|
@@ -152,6 +152,7 @@
|
|
|
152
152
|
"push.admin_approval": "Admin onayindan sonra 1.0.0 olarak yayinlanacak",
|
|
153
153
|
"push.draft_created": "Yeni draft olusturuldu",
|
|
154
154
|
"push.draft_updated": "Mevcut draft guncellendi",
|
|
155
|
+
"push.partner_hint": "Tema listesi icin partner paneli ziyaret edin.",
|
|
155
156
|
"push.changes_added": "+{{count}} yeni",
|
|
156
157
|
"push.changes_removed": "~{{count}} kaldirildi",
|
|
157
158
|
|
package/package.json
CHANGED
package/src/commands/login.js
CHANGED
|
@@ -40,7 +40,7 @@ export async function loginCommand() {
|
|
|
40
40
|
authUrl.searchParams.set('state', state);
|
|
41
41
|
authUrl.searchParams.set('code_challenge', codeChallenge);
|
|
42
42
|
authUrl.searchParams.set('code_challenge_method', 'S256');
|
|
43
|
-
authUrl.searchParams.set('prompt', '
|
|
43
|
+
authUrl.searchParams.set('prompt', 'select_org_store');
|
|
44
44
|
|
|
45
45
|
// 3. Callback server'ı başlat
|
|
46
46
|
const serverPromise = startCallbackServer(config.CALLBACK_PORT);
|
|
@@ -61,11 +61,10 @@ function displayDiffSummary(data, previousVersion) {
|
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
// Partner panel
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
}
|
|
64
|
+
// Partner panel yonlendirme
|
|
65
|
+
console.log('');
|
|
66
|
+
console.log(chalk.cyan(' https://partners.tsoft360.com'));
|
|
67
|
+
console.log(chalk.gray(' ' + t('push.partner_hint')));
|
|
69
68
|
}
|
|
70
69
|
|
|
71
70
|
/**
|
|
@@ -132,9 +131,6 @@ export async function themePushCommand(themeName, options = {}) {
|
|
|
132
131
|
}
|
|
133
132
|
// Insan-okunabilir
|
|
134
133
|
spinner.info(t('push.no_changes'));
|
|
135
|
-
if (result.data?.partner_panel_url) {
|
|
136
|
-
console.log(chalk.gray(` ${result.data.partner_panel_url}`));
|
|
137
|
-
}
|
|
138
134
|
return;
|
|
139
135
|
}
|
|
140
136
|
|