@przeprogramowani/10x-cli 1.26.0 → 1.26.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/dist/index.mjs +6 -3
- package/package.json +3 -2
package/dist/index.mjs
CHANGED
|
@@ -3183,7 +3183,7 @@ var cac = (name = "") => new CAC(name);
|
|
|
3183
3183
|
// package.json
|
|
3184
3184
|
var package_default = {
|
|
3185
3185
|
name: "@przeprogramowani/10x-cli",
|
|
3186
|
-
version: "1.26.
|
|
3186
|
+
version: "1.26.2",
|
|
3187
3187
|
description: "Open-source CLI for 10xDevs course content",
|
|
3188
3188
|
repository: {
|
|
3189
3189
|
type: "git",
|
|
@@ -3210,7 +3210,8 @@ var package_default = {
|
|
|
3210
3210
|
"generate-types": "bun run scripts/generate-types.ts",
|
|
3211
3211
|
typecheck: "node node_modules/typescript/bin/tsc --noEmit",
|
|
3212
3212
|
test: "bun test",
|
|
3213
|
-
lint: "bun run --bun node_modules/oxlint/bin/oxlint .",
|
|
3213
|
+
lint: "bun run --bun node_modules/oxlint/bin/oxlint . .claude/skills/*/scripts",
|
|
3214
|
+
"lint:workflows": "node .quality/native.mjs actionlint",
|
|
3214
3215
|
"validate:cli-skills": "node scripts/validate-cli-skills.mjs",
|
|
3215
3216
|
"quality:fast": "node .quality/run.mjs fast",
|
|
3216
3217
|
"quality:affected": "node .quality/run.mjs affected",
|
|
@@ -9190,6 +9191,7 @@ function renderReport(ctx, profile, input) {
|
|
|
9190
9191
|
const buckets = countBuckets(outcomes);
|
|
9191
9192
|
const lessonsErrored = outcomes.filter((o) => o.status === "errored").length;
|
|
9192
9193
|
const lessonsConflicts = outcomes.filter((o) => o.status === "conflicts").length;
|
|
9194
|
+
const lessonsWithConflicts = outcomes.filter((o) => o.resources.some((r2) => r2.bucket === "skipped-conflict")).length;
|
|
9193
9195
|
if (ctx.json) {
|
|
9194
9196
|
output(ctx, "", {
|
|
9195
9197
|
course: input.course,
|
|
@@ -9206,6 +9208,7 @@ function renderReport(ctx, profile, input) {
|
|
|
9206
9208
|
updated: outcomes.filter((o) => o.status === "updated").length,
|
|
9207
9209
|
unchanged: outcomes.filter((o) => o.status === "unchanged").length,
|
|
9208
9210
|
conflicts: lessonsConflicts,
|
|
9211
|
+
lessonsWithConflicts,
|
|
9209
9212
|
errored: lessonsErrored,
|
|
9210
9213
|
excluded: exclusions.length,
|
|
9211
9214
|
resources: {
|
|
@@ -9256,7 +9259,7 @@ function renderReport(ctx, profile, input) {
|
|
|
9256
9259
|
}
|
|
9257
9260
|
lines.push("");
|
|
9258
9261
|
lines.push(`Totals: ${buckets["upstream-updated"]} updated, ${buckets.created} new, ` + `${buckets.unchanged} unchanged, ${buckets["skipped-conflict"]} skipped (conflicts), ` + `${buckets.removed} removed, ${buckets["preserved-local"]} preserved locally.`);
|
|
9259
|
-
if (
|
|
9262
|
+
if (lessonsWithConflicts > 0 && !input.force) {
|
|
9260
9263
|
lines.push("To replace edited skills and prompts: 10x sync --force. Resolve rule conflicts with 10x get <lesson> --type rules.");
|
|
9261
9264
|
}
|
|
9262
9265
|
output(ctx, lines.join(`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@przeprogramowani/10x-cli",
|
|
3
|
-
"version": "1.26.
|
|
3
|
+
"version": "1.26.2",
|
|
4
4
|
"description": "Open-source CLI for 10xDevs course content",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -27,7 +27,8 @@
|
|
|
27
27
|
"generate-types": "bun run scripts/generate-types.ts",
|
|
28
28
|
"typecheck": "node node_modules/typescript/bin/tsc --noEmit",
|
|
29
29
|
"test": "bun test",
|
|
30
|
-
"lint": "bun run --bun node_modules/oxlint/bin/oxlint .",
|
|
30
|
+
"lint": "bun run --bun node_modules/oxlint/bin/oxlint . .claude/skills/*/scripts",
|
|
31
|
+
"lint:workflows": "node .quality/native.mjs actionlint",
|
|
31
32
|
"validate:cli-skills": "node scripts/validate-cli-skills.mjs",
|
|
32
33
|
"quality:fast": "node .quality/run.mjs fast",
|
|
33
34
|
"quality:affected": "node .quality/run.mjs affected",
|