tokrepo 3.1.0 → 3.1.2
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/tokrepo.js +4 -2
- package/package.json +1 -1
package/bin/tokrepo.js
CHANGED
|
@@ -25,7 +25,7 @@ const CONFIG_FILE = path.join(CONFIG_DIR, 'config.json');
|
|
|
25
25
|
const SYNC_STATE_FILE = path.join(CONFIG_DIR, 'sync-state.json');
|
|
26
26
|
const PROJECT_CONFIG = '.tokrepo.json';
|
|
27
27
|
const DEFAULT_API = 'https://api.tokrepo.com';
|
|
28
|
-
const CLI_VERSION = '3.1.
|
|
28
|
+
const CLI_VERSION = '3.1.1';
|
|
29
29
|
const VERSION_CHECK_FILE = path.join(require('os').homedir(), '.tokrepo', '.version-check');
|
|
30
30
|
|
|
31
31
|
// ─── Helpers ───
|
|
@@ -965,7 +965,9 @@ function scanDirectory(dirPath) {
|
|
|
965
965
|
const files = collectAssetFiles(fullPath);
|
|
966
966
|
if (files.length === 0) continue;
|
|
967
967
|
|
|
968
|
-
|
|
968
|
+
// Use directory name as title (matches what `push` uses for remote title)
|
|
969
|
+
// NOT the markdown heading, which can be completely different
|
|
970
|
+
const title = entry.name;
|
|
969
971
|
const hash = computeHash(files);
|
|
970
972
|
const detectedTags = new Set();
|
|
971
973
|
for (const f of files) {
|