truecourse 0.6.0-next.1 → 0.6.0-next.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/cli.mjs +12 -6
- package/package.json +1 -1
- package/server.mjs +1 -1
package/cli.mjs
CHANGED
|
@@ -128242,7 +128242,7 @@ function readToolVersion() {
|
|
|
128242
128242
|
if (cachedVersion)
|
|
128243
128243
|
return cachedVersion;
|
|
128244
128244
|
if (true) {
|
|
128245
|
-
cachedVersion = "0.6.0-next.
|
|
128245
|
+
cachedVersion = "0.6.0-next.2";
|
|
128246
128246
|
return cachedVersion;
|
|
128247
128247
|
}
|
|
128248
128248
|
try {
|
|
@@ -149341,12 +149341,18 @@ async function runSpecScan(opts = {}) {
|
|
|
149341
149341
|
O2.message("Open conflicts:");
|
|
149342
149342
|
for (const c2 of merge2.openConflicts.slice(0, 10)) {
|
|
149343
149343
|
O2.message(` \u2022 ${c2.subject} (${c2.candidates.length} candidates, default: ${c2.candidates[c2.defaultPick].claim.provenance.file})`);
|
|
149344
|
+
O2.message(` id: ${c2.id}`);
|
|
149344
149345
|
}
|
|
149345
149346
|
if (merge2.openConflicts.length > 10) {
|
|
149346
|
-
O2.message(` \u2026 (+${merge2.openConflicts.length - 10} more)`);
|
|
149347
|
+
O2.message(` \u2026 (+${merge2.openConflicts.length - 10} more \u2014 run \`truecourse spec conflicts list\`)`);
|
|
149347
149348
|
}
|
|
149348
149349
|
O2.message("");
|
|
149349
|
-
O2.message("Resolve
|
|
149350
|
+
O2.message("Resolve them:");
|
|
149351
|
+
O2.message(" \u2022 dashboard: truecourse dashboard (Spec tab)");
|
|
149352
|
+
O2.message(" \u2022 per conflict: truecourse spec conflicts show <id>");
|
|
149353
|
+
O2.message(" truecourse spec conflicts pick <id> <candidateIndex>");
|
|
149354
|
+
O2.message(' truecourse spec conflicts custom <id> --text "\u2026"');
|
|
149355
|
+
O2.message(" \u2022 accept defaults: truecourse spec resolve --all-defaults");
|
|
149350
149356
|
}
|
|
149351
149357
|
gt(merge2.openConflicts.length === 0 ? "No open conflicts." : `${merge2.openConflicts.length} open.`);
|
|
149352
149358
|
} catch (e) {
|
|
@@ -149563,7 +149569,7 @@ async function runSpecConflictsList(opts = {}) {
|
|
|
149563
149569
|
const list = opts.all ? [...open, ...decided.map((d3) => d3.conflict)] : opts.decided ? decided.map((d3) => d3.conflict) : open;
|
|
149564
149570
|
O2.step(`${list.length} ${which} conflicts`);
|
|
149565
149571
|
for (const c2 of list) {
|
|
149566
|
-
O2.message(` \u2022 ${c2.id
|
|
149572
|
+
O2.message(` \u2022 ${c2.id} [${c2.topic}] ${c2.subject} (${c2.candidates.length} candidates)`);
|
|
149567
149573
|
}
|
|
149568
149574
|
gt("Use `truecourse spec conflicts show <id>` for full detail.");
|
|
149569
149575
|
}
|
|
@@ -149575,7 +149581,7 @@ async function runSpecConflictsShow(conflictId2, opts = {}) {
|
|
|
149575
149581
|
pt(`Conflict ${conflictId2} not found.`);
|
|
149576
149582
|
process.exit(1);
|
|
149577
149583
|
}
|
|
149578
|
-
mt(`Conflict ${conflict.id
|
|
149584
|
+
mt(`Conflict ${conflict.id} \u2014 ${conflict.subject}`);
|
|
149579
149585
|
O2.step(`topic: ${conflict.topic}`);
|
|
149580
149586
|
if (conflict.explanation) O2.message(conflict.explanation);
|
|
149581
149587
|
O2.step(`${conflict.candidates.length} candidates (default-pick: ${conflict.defaultPick})`);
|
|
@@ -152745,7 +152751,7 @@ async function runHooksRun() {
|
|
|
152745
152751
|
|
|
152746
152752
|
// tools/cli/src/index.ts
|
|
152747
152753
|
var program2 = new Command();
|
|
152748
|
-
program2.name("truecourse").version("0.6.0-next.
|
|
152754
|
+
program2.name("truecourse").version("0.6.0-next.2").description("TrueCourse CLI \u2014 analyze your repository and open the dashboard");
|
|
152749
152755
|
var dashboardCmd = program2.command("dashboard").description("Start the TrueCourse dashboard and open it in your browser").option("--reconfigure", "Re-prompt for console vs background service mode").option("--service", "Run as a background service (skips mode prompt)").option("--console", "Run in this terminal (skips mode prompt)").action(async (options) => {
|
|
152750
152756
|
if (options.service && options.console) {
|
|
152751
152757
|
console.error("error: --service and --console are mutually exclusive");
|
package/package.json
CHANGED
package/server.mjs
CHANGED
|
@@ -156920,7 +156920,7 @@ function readToolVersion() {
|
|
|
156920
156920
|
if (cachedVersion)
|
|
156921
156921
|
return cachedVersion;
|
|
156922
156922
|
if (true) {
|
|
156923
|
-
cachedVersion = "0.6.0-next.
|
|
156923
|
+
cachedVersion = "0.6.0-next.2";
|
|
156924
156924
|
return cachedVersion;
|
|
156925
156925
|
}
|
|
156926
156926
|
try {
|