tsoft-cli 3.13.2 → 3.13.3
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/CHANGELOG.md +5 -0
- package/locales/en.json +2 -1
- package/locales/tr.json +2 -1
- package/package.json +1 -1
- package/src/commands/theme-dev.js +6 -0
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,11 @@ All notable changes to T-Soft CLI will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [3.13.3] - 2026-09-10
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
- `theme dev` no longer crashes after you sign out. With no active store it read the store name as text anyway and died with "Cannot read properties of null (reading 'replace')", which says nothing about what went wrong or how to recover. It now reports that there is no active store, points at `tsoft login`, and exits non-zero like `theme list` and `theme init` already did in the same situation.
|
|
12
|
+
|
|
8
13
|
## [3.13.2] - 2026-09-10
|
|
9
14
|
|
|
10
15
|
### Fixed
|
package/locales/en.json
CHANGED
|
@@ -395,5 +395,6 @@
|
|
|
395
395
|
"config.autoupgrade.off": "Version checking is off.",
|
|
396
396
|
"config.autoupgrade.status_on": "Version checking: on",
|
|
397
397
|
"config.autoupgrade.status_off": "Version checking: off",
|
|
398
|
-
"config.autoupgrade.usage": "Usage: tsoft config autoupgrade on | off | status"
|
|
398
|
+
"config.autoupgrade.usage": "Usage: tsoft config autoupgrade on | off | status",
|
|
399
|
+
"dev.no_active_store": "No active store.\n\nTo sign in: tsoft login"
|
|
399
400
|
}
|
package/locales/tr.json
CHANGED
|
@@ -395,5 +395,6 @@
|
|
|
395
395
|
"config.autoupgrade.off": "Sürüm kontrolü kapatıldı.",
|
|
396
396
|
"config.autoupgrade.status_on": "Sürüm kontrolü: açık",
|
|
397
397
|
"config.autoupgrade.status_off": "Sürüm kontrolü: kapalı",
|
|
398
|
-
"config.autoupgrade.usage": "Kullanım: tsoft config autoupgrade on | off | status"
|
|
398
|
+
"config.autoupgrade.usage": "Kullanım: tsoft config autoupgrade on | off | status",
|
|
399
|
+
"dev.no_active_store": "Aktif mağaza bulunamadı.\n\nGiriş yapmak için: tsoft login"
|
|
399
400
|
}
|
package/package.json
CHANGED
|
@@ -332,6 +332,12 @@ export async function themeDevCommand(themeName) {
|
|
|
332
332
|
console.log(chalk.cyan(t('dev.starting') + '\n'));
|
|
333
333
|
|
|
334
334
|
const store = await getActiveStore();
|
|
335
|
+
|
|
336
|
+
if (!store) {
|
|
337
|
+
showError(t('dev.no_active_store'));
|
|
338
|
+
process.exit(1);
|
|
339
|
+
}
|
|
340
|
+
|
|
335
341
|
const storeSlug = normalizeStoreDomain(store);
|
|
336
342
|
|
|
337
343
|
let themeSlug = themeName;
|