fluncle 0.192.0 → 0.193.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/bin/fluncle.mjs +10 -4
- package/package.json +1 -1
package/bin/fluncle.mjs
CHANGED
|
@@ -561,7 +561,7 @@ function parseVersion(version) {
|
|
|
561
561
|
var currentVersion;
|
|
562
562
|
var init_version = __esm(() => {
|
|
563
563
|
init_output();
|
|
564
|
-
currentVersion = "0.
|
|
564
|
+
currentVersion = "0.193.0".trim() ? "0.193.0".trim() : "0.1.0";
|
|
565
565
|
});
|
|
566
566
|
|
|
567
567
|
// src/update-notifier.ts
|
|
@@ -2443,7 +2443,7 @@ function parseVersion2(version) {
|
|
|
2443
2443
|
var currentVersion2, latestReleaseUrl = "https://api.github.com/repos/mauricekleine/fluncle/releases/latest";
|
|
2444
2444
|
var init_version2 = __esm(() => {
|
|
2445
2445
|
init_output();
|
|
2446
|
-
currentVersion2 = "0.
|
|
2446
|
+
currentVersion2 = "0.193.0".trim() ? "0.193.0".trim() : "0.1.0";
|
|
2447
2447
|
});
|
|
2448
2448
|
|
|
2449
2449
|
// ../../packages/registry/src/index.ts
|
|
@@ -6559,7 +6559,10 @@ __export(exports_admin_catalogue, {
|
|
|
6559
6559
|
});
|
|
6560
6560
|
async function catalogueRankCommand(options) {
|
|
6561
6561
|
const limit = options.limit ? Number.parseInt(options.limit, 10) : undefined;
|
|
6562
|
-
const response = await adminApiPost("/api/v1/admin/catalogue/rank",
|
|
6562
|
+
const response = await adminApiPost("/api/v1/admin/catalogue/rank", {
|
|
6563
|
+
...limit ? { limit } : {},
|
|
6564
|
+
...options.countRemaining ? { countRemaining: true } : {}
|
|
6565
|
+
});
|
|
6563
6566
|
return { summary: response.summary, telescope: response.telescope };
|
|
6564
6567
|
}
|
|
6565
6568
|
async function catalogueDemandCommand() {
|
|
@@ -11998,7 +12001,10 @@ async function runArtistsRank(options, rankArtistsCommand2) {
|
|
|
11998
12001
|
console.log(`Ranked ${summary.centroidsComputed} artist(s); wrote ${summary.edgesWritten} edges.${removed} ${summary.remaining} still stale.`);
|
|
11999
12002
|
}
|
|
12000
12003
|
async function runCatalogueRank(options, catalogueRankCommand2) {
|
|
12001
|
-
const { summary, telescope } = await catalogueRankCommand2({
|
|
12004
|
+
const { summary, telescope } = await catalogueRankCommand2({
|
|
12005
|
+
countRemaining: !options.json,
|
|
12006
|
+
limit: options.limit
|
|
12007
|
+
});
|
|
12002
12008
|
if (options.json) {
|
|
12003
12009
|
printJson({ ok: true, summary, telescope });
|
|
12004
12010
|
return;
|
package/package.json
CHANGED