create-thally-docs 0.10.45 → 0.10.47

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.
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  readStarterReleaseManifest
4
- } from "./chunk-UKJMI4X5.js";
4
+ } from "./chunk-OILUILJ3.js";
5
5
  import {
6
6
  STABLE_SCAFFOLD_RELEASE
7
- } from "./chunk-XTL6K5GI.js";
7
+ } from "./chunk-DMCGTUVB.js";
8
8
 
9
9
  // src/download.ts
10
10
  import { Readable, Transform, pipeline } from "stream";
@@ -3,19 +3,19 @@
3
3
  // src/stable-scaffold-release.json
4
4
  var stable_scaffold_release_default = {
5
5
  schemaVersion: 1,
6
- id: "2026-09-22.e1b189cc.0ce7af1e",
6
+ id: "2026-09-23.016cee0e.42a103c5",
7
7
  source: {
8
8
  repository: "thallylabs/starter",
9
- commitSha: "e1b189ccbe3ae07d3988b5dd499d743660519048",
10
- treeSha: "671d4ac7f84f0e16bf5b986fc9cee2bb82a6bd98",
11
- archiveUrl: "https://codeload.github.com/thallylabs/starter/tar.gz/e1b189ccbe3ae07d3988b5dd499d743660519048",
9
+ commitSha: "016cee0ef5b80e7c7b722dc76a3f9e9f3d50e836",
10
+ treeSha: "5ba8fa0e9304ae7863cdac627061f5410ce9b96b",
11
+ archiveUrl: "https://codeload.github.com/thallylabs/starter/tar.gz/016cee0ef5b80e7c7b722dc76a3f9e9f3d50e836",
12
12
  manifestPath: "starter-release.json",
13
- manifestSha256: "ae032c8970191381875223490a1fdc919e6c63b9a495e756b75ad9938770dcf7"
13
+ manifestSha256: "3d7fa2e242d7e9f41ba4b0ba1e5304228318b33118362371369667eb145bf0ce"
14
14
  },
15
15
  runtime: {
16
16
  repository: "thallylabs/thally",
17
- commitSha: "0ce7af1ee79c3b2689ba9022dbba7c427c82a9f0",
18
- treeSha: "b9d74bc648536e2c3dbff66e6b54815e430aeb4d",
17
+ commitSha: "42a103c5abc326fe4a0365c63b8678ae4ece9d77",
18
+ treeSha: "9b9dbb77205d1c04b7794f8e305bf14e9402ae66",
19
19
  contentSource: "assets",
20
20
  identityContractVersion: 1
21
21
  },
@@ -24,6 +24,26 @@ var stable_scaffold_release_default = {
24
24
 
25
25
  // src/previous-scaffold-releases.json
26
26
  var previous_scaffold_releases_default = [
27
+ {
28
+ schemaVersion: 1,
29
+ id: "2026-09-22.e1b189cc.0ce7af1e",
30
+ source: {
31
+ repository: "thallylabs/starter",
32
+ commitSha: "e1b189ccbe3ae07d3988b5dd499d743660519048",
33
+ treeSha: "671d4ac7f84f0e16bf5b986fc9cee2bb82a6bd98",
34
+ archiveUrl: "https://codeload.github.com/thallylabs/starter/tar.gz/e1b189ccbe3ae07d3988b5dd499d743660519048",
35
+ manifestPath: "starter-release.json",
36
+ manifestSha256: "ae032c8970191381875223490a1fdc919e6c63b9a495e756b75ad9938770dcf7"
37
+ },
38
+ runtime: {
39
+ repository: "thallylabs/thally",
40
+ commitSha: "0ce7af1ee79c3b2689ba9022dbba7c427c82a9f0",
41
+ treeSha: "b9d74bc648536e2c3dbff66e6b54815e430aeb4d",
42
+ contentSource: "assets",
43
+ identityContractVersion: 1
44
+ },
45
+ starterVersion: 2
46
+ },
27
47
  {
28
48
  schemaVersion: 1,
29
49
  id: "2026-09-21.244df5b2.b830366b",
@@ -5,7 +5,7 @@ import {
5
5
  readDocsJson,
6
6
  scaffold,
7
7
  writeDocsJson
8
- } from "./chunk-L454D6CI.js";
8
+ } from "./chunk-KEDPTVUV.js";
9
9
 
10
10
  // src/migrate/index.ts
11
11
  import { existsSync as existsSync3, mkdirSync, mkdtempSync, readFileSync as readFileSync3, rmSync, writeFileSync } from "fs";
@@ -54,6 +54,7 @@ function parseFrontmatter(raw) {
54
54
 
55
55
  // src/check.ts
56
56
  import { parse as parseYaml2 } from "yaml";
57
+ import { projectNavigationContract } from "@thallylabs/core/navigation";
57
58
  function gitLocal(projectDir, args) {
58
59
  try {
59
60
  const out = execFileSync("git", args, { cwd: projectDir, encoding: "utf8", stdio: ["ignore", "pipe", "ignore"] });
@@ -105,16 +106,6 @@ function checkDrift(projectDir, file, data, issues) {
105
106
  }
106
107
  }
107
108
  }
108
- function collectNavPageIds(groups, seen, duplicates) {
109
- for (const page of groups) {
110
- if (typeof page === "string") {
111
- if (seen.has(page)) duplicates.add(page);
112
- else seen.add(page);
113
- } else if (page.pages) {
114
- collectNavPageIds(page.pages, seen, duplicates);
115
- }
116
- }
117
- }
118
109
  function scanMdx(dir, results) {
119
110
  let entries;
120
111
  try {
@@ -273,23 +264,12 @@ async function runCheck(projectDir, options) {
273
264
  redirect.destination
274
265
  ])
275
266
  );
276
- const navPageIds = /* @__PURE__ */ new Set();
277
- const duplicates = /* @__PURE__ */ new Set();
278
- for (const tab of config.tabs) {
279
- const hasNavigationNodes = Boolean(tab.pages?.length || tab.groups?.length);
280
- if (tab.href && !hasNavigationNodes) {
281
- if (tab.href.startsWith("/")) navPageIds.add(tab.href.slice(1) || "introduction");
282
- continue;
283
- }
284
- if (tab.api && tab.api.navigation !== false && !hasNavigationNodes) continue;
285
- if (!hasNavigationNodes) {
286
- issues.push({ severity: "error", message: `Tab "${tab.tab}" has no groups and no href \u2014 it will render empty` });
287
- continue;
288
- }
289
- collectNavPageIds(tab.pages ?? [], navPageIds, duplicates);
290
- collectNavPageIds(tab.groups ?? [], navPageIds, duplicates);
267
+ const navigation = projectNavigationContract(config);
268
+ const navPageIds = new Set(navigation.authoredPageIds);
269
+ for (const tab of navigation.emptyTabs) {
270
+ issues.push({ severity: "error", message: `Tab "${tab}" has no groups and no href \u2014 it will render empty` });
291
271
  }
292
- for (const dup of duplicates) {
272
+ for (const dup of navigation.duplicatePageIds) {
293
273
  issues.push({ severity: "warning", message: `[duplicate] "${dup}" appears more than once in docs.json` });
294
274
  }
295
275
  for (const pageId of navPageIds) {
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-ORUAMPNF.js";
6
6
  import {
7
7
  downloadStarter
8
- } from "./chunk-FQ2XZBAD.js";
8
+ } from "./chunk-5OPL2RCP.js";
9
9
 
10
10
  // src/scaffold.ts
11
11
  import { existsSync, mkdirSync, readdirSync } from "fs";
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  STABLE_SCAFFOLD_RELEASE
4
- } from "./chunk-XTL6K5GI.js";
4
+ } from "./chunk-DMCGTUVB.js";
5
5
 
6
6
  // src/starter-sync.ts
7
7
  import { createHash } from "crypto";
package/dist/index.js CHANGED
@@ -3,17 +3,17 @@ import {
3
3
  migrateDocs,
4
4
  parseFrontmatter,
5
5
  runCheck
6
- } from "./chunk-655GHPNA.js";
6
+ } from "./chunk-DNSBQAFZ.js";
7
7
  import {
8
8
  logo,
9
9
  scaffold,
10
10
  slugify,
11
11
  success
12
- } from "./chunk-L454D6CI.js";
12
+ } from "./chunk-KEDPTVUV.js";
13
13
  import "./chunk-ORUAMPNF.js";
14
- import "./chunk-FQ2XZBAD.js";
15
- import "./chunk-UKJMI4X5.js";
16
- import "./chunk-XTL6K5GI.js";
14
+ import "./chunk-5OPL2RCP.js";
15
+ import "./chunk-OILUILJ3.js";
16
+ import "./chunk-DMCGTUVB.js";
17
17
 
18
18
  // src/index.ts
19
19
  import { existsSync as existsSync2, readdirSync } from "fs";
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  migrateDocs
4
- } from "../chunk-655GHPNA.js";
5
- import "../chunk-L454D6CI.js";
4
+ } from "../chunk-DNSBQAFZ.js";
5
+ import "../chunk-KEDPTVUV.js";
6
6
  import "../chunk-ORUAMPNF.js";
7
- import "../chunk-FQ2XZBAD.js";
8
- import "../chunk-UKJMI4X5.js";
9
- import "../chunk-XTL6K5GI.js";
7
+ import "../chunk-5OPL2RCP.js";
8
+ import "../chunk-OILUILJ3.js";
9
+ import "../chunk-DMCGTUVB.js";
10
10
  export {
11
11
  migrateDocs
12
12
  };
package/dist/release.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  STABLE_SCAFFOLD_RELEASE,
4
4
  SUPPORTED_SCAFFOLD_RELEASES,
5
5
  isStableScaffoldRelease
6
- } from "./chunk-XTL6K5GI.js";
6
+ } from "./chunk-DMCGTUVB.js";
7
7
  export {
8
8
  STABLE_SCAFFOLD_RELEASE,
9
9
  SUPPORTED_SCAFFOLD_RELEASES,
package/dist/scaffold.js CHANGED
@@ -1,18 +1,18 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  scaffold
4
- } from "./chunk-L454D6CI.js";
4
+ } from "./chunk-KEDPTVUV.js";
5
5
  import "./chunk-ORUAMPNF.js";
6
6
  import {
7
7
  STARTER_ARCHIVE_ROOT,
8
8
  STARTER_COMMIT_SHA,
9
9
  STARTER_REPOSITORY,
10
10
  validateStarterArchiveEntry
11
- } from "./chunk-FQ2XZBAD.js";
12
- import "./chunk-UKJMI4X5.js";
11
+ } from "./chunk-5OPL2RCP.js";
12
+ import "./chunk-OILUILJ3.js";
13
13
  import {
14
14
  STABLE_SCAFFOLD_RELEASE
15
- } from "./chunk-XTL6K5GI.js";
15
+ } from "./chunk-DMCGTUVB.js";
16
16
  export {
17
17
  STABLE_SCAFFOLD_RELEASE,
18
18
  STARTER_ARCHIVE_ROOT,
@@ -8,8 +8,8 @@ import {
8
8
  planStarterRuntimeSync,
9
9
  readStarterReleaseManifest,
10
10
  starterManifestSha256
11
- } from "./chunk-UKJMI4X5.js";
12
- import "./chunk-XTL6K5GI.js";
11
+ } from "./chunk-OILUILJ3.js";
12
+ import "./chunk-DMCGTUVB.js";
13
13
  export {
14
14
  applyStarterRuntimeSyncPlan,
15
15
  classifyStarterPath,
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  downloadStarter
4
- } from "./chunk-FQ2XZBAD.js";
4
+ } from "./chunk-5OPL2RCP.js";
5
5
  import {
6
6
  applyStarterRuntimeSyncPlan,
7
7
  mergeStarterOwnershipContracts,
@@ -9,11 +9,11 @@ import {
9
9
  planStarterRuntimeSync,
10
10
  readStarterReleaseManifest,
11
11
  starterManifestSha256
12
- } from "./chunk-UKJMI4X5.js";
12
+ } from "./chunk-OILUILJ3.js";
13
13
  import {
14
14
  STABLE_SCAFFOLD_RELEASE,
15
15
  SUPPORTED_SCAFFOLD_RELEASES
16
- } from "./chunk-XTL6K5GI.js";
16
+ } from "./chunk-DMCGTUVB.js";
17
17
 
18
18
  // src/starter-update.ts
19
19
  import {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-thally-docs",
3
- "version": "0.10.45",
3
+ "version": "0.10.47",
4
4
  "description": "Scaffold an open-source Thally docs site for people, search engines, and AI tools.",
5
5
  "type": "module",
6
6
  "engines": {
@@ -44,7 +44,8 @@
44
44
  "dependencies": {
45
45
  "@anthropic-ai/sdk": "^0.36.0",
46
46
  "@inquirer/prompts": "^7.0.0",
47
- "@thallylabs/migrate": "0.2.5",
47
+ "@thallylabs/core": "0.2.6",
48
+ "@thallylabs/migrate": "0.2.6",
48
49
  "p-limit": "^6.1.0",
49
50
  "tar": "^7.5.22",
50
51
  "yaml": "^2.6.0"
@@ -72,7 +73,7 @@
72
73
  "url": "git+https://github.com/thallylabs/thally.git",
73
74
  "directory": "packages/create-thally-docs"
74
75
  },
75
- "homepage": "https://github.com/thallylabs/thally#readme",
76
+ "homepage": "https://thally.io",
76
77
  "bugs": {
77
78
  "url": "https://github.com/thallylabs/thally/issues"
78
79
  }