contentrain 0.14.6 → 0.14.7

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.
@@ -96,6 +96,7 @@ var import_default = defineCommand({
96
96
  return;
97
97
  }
98
98
  for (const [id, m] of Object.entries(report.models)) log.message(`${pc.cyan(id.padEnd(16))} ${m.kind.padEnd(10)} ${String(m.fields).padStart(3)} fields ${String(m.entries).padStart(5)} entries`);
99
+ if (report.password_protected_drafts) log.warning(`${report.password_protected_drafts} password-protected posts brought in as drafts — their body is the protected text; publish one only after deciding what it should show`);
99
100
  if (report.dropped_relations) log.warning(`${report.dropped_relations} relations pointed outside the import and were dropped (details in import-report.json)`);
100
101
  for (const w of warnings) log.warning(w);
101
102
  if (raw.comments?.length) log.info(`comments-export.json written (contentrain-comments@1) — ready for a comments-service intake`);
package/dist/index.mjs CHANGED
@@ -2,7 +2,7 @@
2
2
  import { i as pc } from "./ui-B8l_LC36.mjs";
3
3
  import { defineCommand, runMain } from "citty";
4
4
  //#region package.json
5
- var version = "0.14.6";
5
+ var version = "0.14.7";
6
6
  //#endregion
7
7
  //#region src/utils/debug.ts
8
8
  /**
@@ -44,7 +44,7 @@ runMain(defineCommand({
44
44
  },
45
45
  subCommands: {
46
46
  init: () => import("./init-_0Hp__pU.mjs").then((m) => m.default),
47
- import: () => import("./import-BmS_V6le.mjs").then((m) => m.default),
47
+ import: () => import("./import-D9TtmPgM.mjs").then((m) => m.default),
48
48
  delta: () => import("./delta-D6Cp9BdP.mjs").then((m) => m.default),
49
49
  status: () => import("./status-5RpF1q6y.mjs").then((m) => m.default),
50
50
  doctor: () => import("./doctor-B9MJgRO5.mjs").then((m) => m.default),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "contentrain",
3
- "version": "0.14.6",
3
+ "version": "0.14.7",
4
4
  "license": "MIT",
5
5
  "description": "CLI for Contentrain — AI content governance infrastructure",
6
6
  "type": "module",
@@ -52,7 +52,7 @@
52
52
  "@contentrain/rules": "0.7.2",
53
53
  "@contentrain/skills": "0.9.4",
54
54
  "@contentrain/types": "1.22.0",
55
- "@contentrain/wp-import": "0.5.6"
55
+ "@contentrain/wp-import": "0.5.7"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@types/ws": "^8.5.0",