create-thally-docs 0.10.26 → 0.10.27

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-AC3VR55N.js";
4
+ } from "./chunk-X7V4HXPA.js";
5
5
  import {
6
6
  STABLE_SCAFFOLD_RELEASE
7
- } from "./chunk-3B6CW5VF.js";
7
+ } from "./chunk-XQWVBAUZ.js";
8
8
 
9
9
  // src/download.ts
10
10
  import { Readable, Transform, pipeline } from "stream";
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-ORUAMPNF.js";
6
6
  import {
7
7
  downloadStarter
8
- } from "./chunk-2RWSXKSV.js";
8
+ } from "./chunk-2XIP4T44.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-3B6CW5VF.js";
4
+ } from "./chunk-XQWVBAUZ.js";
5
5
 
6
6
  // src/starter-sync.ts
7
7
  import { createHash } from "crypto";
@@ -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-05.b8a69237.2c73d8c3",
6
+ id: "2026-09-05.ad6e0a75.efeedb73",
7
7
  source: {
8
8
  repository: "thallylabs/starter",
9
- commitSha: "b8a6923724e7dd7d16e75b50531e097a47e77682",
10
- treeSha: "4e0426e44b4216e02e3c7dd50a543a7d1b94e959",
11
- archiveUrl: "https://codeload.github.com/thallylabs/starter/tar.gz/b8a6923724e7dd7d16e75b50531e097a47e77682",
9
+ commitSha: "ad6e0a7570624c33facf19a429a0576208729a4d",
10
+ treeSha: "5c6fa85e771e764c03ac289dc3077a825479e51c",
11
+ archiveUrl: "https://codeload.github.com/thallylabs/starter/tar.gz/ad6e0a7570624c33facf19a429a0576208729a4d",
12
12
  manifestPath: "starter-release.json",
13
- manifestSha256: "e1e7962089419a0de68d513c7153555cf388338b25261ed978332abd581b8589"
13
+ manifestSha256: "57b068c4987357716774aaef5c079950aa20195f463556c5b938781eaed5dfeb"
14
14
  },
15
15
  runtime: {
16
16
  repository: "thallylabs/thally",
17
- commitSha: "2c73d8c312b290598a4335ef77c9e04d8cbe1b4b",
18
- treeSha: "930c8a4974300649852769e4fcdab2798c4b3b79",
17
+ commitSha: "efeedb730981391650010c5d4db15374afb15150",
18
+ treeSha: "271d3f01d894e650c8d89296c0b57faa1ad4ee27",
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-05.b8a69237.2c73d8c3",
30
+ source: {
31
+ repository: "thallylabs/starter",
32
+ commitSha: "b8a6923724e7dd7d16e75b50531e097a47e77682",
33
+ treeSha: "4e0426e44b4216e02e3c7dd50a543a7d1b94e959",
34
+ archiveUrl: "https://codeload.github.com/thallylabs/starter/tar.gz/b8a6923724e7dd7d16e75b50531e097a47e77682",
35
+ manifestPath: "starter-release.json",
36
+ manifestSha256: "e1e7962089419a0de68d513c7153555cf388338b25261ed978332abd581b8589"
37
+ },
38
+ runtime: {
39
+ repository: "thallylabs/thally",
40
+ commitSha: "2c73d8c312b290598a4335ef77c9e04d8cbe1b4b",
41
+ treeSha: "930c8a4974300649852769e4fcdab2798c4b3b79",
42
+ contentSource: "assets",
43
+ identityContractVersion: 1
44
+ },
45
+ starterVersion: 2
46
+ },
27
47
  {
28
48
  schemaVersion: 1,
29
49
  id: "2026-09-02.814f1f54.cef2fe3b",
@@ -3,7 +3,7 @@ import {
3
3
  initGit,
4
4
  installDeps,
5
5
  scaffold
6
- } from "./chunk-BBRZGMM6.js";
6
+ } from "./chunk-DFHL6TNL.js";
7
7
 
8
8
  // src/migrate/index.ts
9
9
  import { existsSync, mkdirSync, mkdtempSync, readFileSync, rmSync, writeFileSync } from "fs";
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  migrateDocs
4
- } from "./chunk-V5M5JVUF.js";
4
+ } from "./chunk-XX7RAC2Q.js";
5
5
  import {
6
6
  logo,
7
7
  readDocsJson,
@@ -9,14 +9,15 @@ import {
9
9
  slugify,
10
10
  success,
11
11
  writeDocsJson
12
- } from "./chunk-BBRZGMM6.js";
12
+ } from "./chunk-DFHL6TNL.js";
13
13
  import "./chunk-ORUAMPNF.js";
14
- import "./chunk-2RWSXKSV.js";
15
- import "./chunk-AC3VR55N.js";
16
- import "./chunk-3B6CW5VF.js";
14
+ import "./chunk-2XIP4T44.js";
15
+ import "./chunk-X7V4HXPA.js";
16
+ import "./chunk-XQWVBAUZ.js";
17
17
 
18
18
  // src/index.ts
19
19
  import { existsSync as existsSync3, readdirSync as readdirSync2 } from "fs";
20
+ import { createRequire } from "module";
20
21
  import { resolve as resolve2 } from "path";
21
22
 
22
23
  // src/prompts.ts
@@ -803,8 +804,10 @@ async function runTranslateCommand(locale, pages, force, apiKey, model, yes, pro
803
804
  }
804
805
 
805
806
  // src/index.ts
807
+ var packageMetadata = createRequire(import.meta.url)("../package.json");
806
808
  var args = process.argv.slice(2);
807
809
  var flags = args.filter((a) => a.startsWith("-"));
810
+ var versionArguments = /* @__PURE__ */ new Set(["--version", "-v", "-V", "version"]);
808
811
  var valueFlags = /* @__PURE__ */ new Set([
809
812
  "--api-key",
810
813
  "--branch",
@@ -858,6 +861,7 @@ Scaffold options:
858
861
  --install Install project dependencies after scaffolding
859
862
  --no-install Skip dependency installation without prompting
860
863
  -h, --help Show this help
864
+ -v, -V, --version Show the installed version
861
865
 
862
866
  Run create-thally-docs <command> --help for command-specific options.
863
867
  `;
@@ -1055,6 +1059,10 @@ async function runTranslateSubcommand() {
1055
1059
  await runTranslateCommand(locale, pages, force, apiKey, model, yes, projectDir);
1056
1060
  }
1057
1061
  async function main() {
1062
+ if (args.length === 1 && versionArguments.has(args[0])) {
1063
+ console.log(packageMetadata.version);
1064
+ return;
1065
+ }
1058
1066
  const subcommand = positional[0];
1059
1067
  const command = resolveCommand(subcommand);
1060
1068
  if (flags.includes("--help") || flags.includes("-h")) {
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  migrateDocs
4
- } from "../chunk-V5M5JVUF.js";
5
- import "../chunk-BBRZGMM6.js";
4
+ } from "../chunk-XX7RAC2Q.js";
5
+ import "../chunk-DFHL6TNL.js";
6
6
  import "../chunk-ORUAMPNF.js";
7
- import "../chunk-2RWSXKSV.js";
8
- import "../chunk-AC3VR55N.js";
9
- import "../chunk-3B6CW5VF.js";
7
+ import "../chunk-2XIP4T44.js";
8
+ import "../chunk-X7V4HXPA.js";
9
+ import "../chunk-XQWVBAUZ.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-3B6CW5VF.js";
6
+ } from "./chunk-XQWVBAUZ.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-BBRZGMM6.js";
4
+ } from "./chunk-DFHL6TNL.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-2RWSXKSV.js";
12
- import "./chunk-AC3VR55N.js";
11
+ } from "./chunk-2XIP4T44.js";
12
+ import "./chunk-X7V4HXPA.js";
13
13
  import {
14
14
  STABLE_SCAFFOLD_RELEASE
15
- } from "./chunk-3B6CW5VF.js";
15
+ } from "./chunk-XQWVBAUZ.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-AC3VR55N.js";
12
- import "./chunk-3B6CW5VF.js";
11
+ } from "./chunk-X7V4HXPA.js";
12
+ import "./chunk-XQWVBAUZ.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-2RWSXKSV.js";
4
+ } from "./chunk-2XIP4T44.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-AC3VR55N.js";
12
+ } from "./chunk-X7V4HXPA.js";
13
13
  import {
14
14
  STABLE_SCAFFOLD_RELEASE,
15
15
  SUPPORTED_SCAFFOLD_RELEASES
16
- } from "./chunk-3B6CW5VF.js";
16
+ } from "./chunk-XQWVBAUZ.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.26",
3
+ "version": "0.10.27",
4
4
  "description": "Scaffold an open-source Thally docs site for people, search engines, and AI tools.",
5
5
  "type": "module",
6
6
  "engines": {