create-thally-docs 0.10.26 → 0.10.28
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/{chunk-BBRZGMM6.js → chunk-IO2CLKFF.js} +1 -1
- package/dist/{chunk-2RWSXKSV.js → chunk-LUUWAXNS.js} +2 -2
- package/dist/{chunk-V5M5JVUF.js → chunk-P4HUXUE3.js} +1 -1
- package/dist/{chunk-3B6CW5VF.js → chunk-PTREHAPF.js} +47 -7
- package/dist/{chunk-AC3VR55N.js → chunk-Y7QAN77O.js} +1 -1
- package/dist/index.js +13 -5
- package/dist/migrate/index.js +5 -5
- package/dist/release.js +1 -1
- package/dist/scaffold.js +4 -4
- package/dist/starter-sync.js +2 -2
- package/dist/starter-update.js +3 -3
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
readStarterReleaseManifest
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-Y7QAN77O.js";
|
|
5
5
|
import {
|
|
6
6
|
STABLE_SCAFFOLD_RELEASE
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-PTREHAPF.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-
|
|
6
|
+
id: "2026-09-06.6e8530a7.782b7d9a",
|
|
7
7
|
source: {
|
|
8
8
|
repository: "thallylabs/starter",
|
|
9
|
-
commitSha: "
|
|
10
|
-
treeSha: "
|
|
11
|
-
archiveUrl: "https://codeload.github.com/thallylabs/starter/tar.gz/
|
|
9
|
+
commitSha: "6e8530a74b79d1c71092010407c42e163b85a2e1",
|
|
10
|
+
treeSha: "7d6bbdfcd0f89254741e487f967ee0fe76251068",
|
|
11
|
+
archiveUrl: "https://codeload.github.com/thallylabs/starter/tar.gz/6e8530a74b79d1c71092010407c42e163b85a2e1",
|
|
12
12
|
manifestPath: "starter-release.json",
|
|
13
|
-
manifestSha256: "
|
|
13
|
+
manifestSha256: "b03d2cc606b2d1165cf6e9b0f48f080206e684c831da1e390f39aaf5106c167a"
|
|
14
14
|
},
|
|
15
15
|
runtime: {
|
|
16
16
|
repository: "thallylabs/thally",
|
|
17
|
-
commitSha: "
|
|
18
|
-
treeSha: "
|
|
17
|
+
commitSha: "782b7d9a962ff81e65c131d05ce8ba8e6b9a3abe",
|
|
18
|
+
treeSha: "42df9c68238896755edb76256d6f2419da2623f2",
|
|
19
19
|
contentSource: "assets",
|
|
20
20
|
identityContractVersion: 1
|
|
21
21
|
},
|
|
@@ -24,6 +24,46 @@ 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.ad6e0a75.efeedb73",
|
|
30
|
+
source: {
|
|
31
|
+
repository: "thallylabs/starter",
|
|
32
|
+
commitSha: "ad6e0a7570624c33facf19a429a0576208729a4d",
|
|
33
|
+
treeSha: "5c6fa85e771e764c03ac289dc3077a825479e51c",
|
|
34
|
+
archiveUrl: "https://codeload.github.com/thallylabs/starter/tar.gz/ad6e0a7570624c33facf19a429a0576208729a4d",
|
|
35
|
+
manifestPath: "starter-release.json",
|
|
36
|
+
manifestSha256: "57b068c4987357716774aaef5c079950aa20195f463556c5b938781eaed5dfeb"
|
|
37
|
+
},
|
|
38
|
+
runtime: {
|
|
39
|
+
repository: "thallylabs/thally",
|
|
40
|
+
commitSha: "efeedb730981391650010c5d4db15374afb15150",
|
|
41
|
+
treeSha: "271d3f01d894e650c8d89296c0b57faa1ad4ee27",
|
|
42
|
+
contentSource: "assets",
|
|
43
|
+
identityContractVersion: 1
|
|
44
|
+
},
|
|
45
|
+
starterVersion: 2
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
schemaVersion: 1,
|
|
49
|
+
id: "2026-09-05.b8a69237.2c73d8c3",
|
|
50
|
+
source: {
|
|
51
|
+
repository: "thallylabs/starter",
|
|
52
|
+
commitSha: "b8a6923724e7dd7d16e75b50531e097a47e77682",
|
|
53
|
+
treeSha: "4e0426e44b4216e02e3c7dd50a543a7d1b94e959",
|
|
54
|
+
archiveUrl: "https://codeload.github.com/thallylabs/starter/tar.gz/b8a6923724e7dd7d16e75b50531e097a47e77682",
|
|
55
|
+
manifestPath: "starter-release.json",
|
|
56
|
+
manifestSha256: "e1e7962089419a0de68d513c7153555cf388338b25261ed978332abd581b8589"
|
|
57
|
+
},
|
|
58
|
+
runtime: {
|
|
59
|
+
repository: "thallylabs/thally",
|
|
60
|
+
commitSha: "2c73d8c312b290598a4335ef77c9e04d8cbe1b4b",
|
|
61
|
+
treeSha: "930c8a4974300649852769e4fcdab2798c4b3b79",
|
|
62
|
+
contentSource: "assets",
|
|
63
|
+
identityContractVersion: 1
|
|
64
|
+
},
|
|
65
|
+
starterVersion: 2
|
|
66
|
+
},
|
|
27
67
|
{
|
|
28
68
|
schemaVersion: 1,
|
|
29
69
|
id: "2026-09-02.814f1f54.cef2fe3b",
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
migrateDocs
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-P4HUXUE3.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-
|
|
12
|
+
} from "./chunk-IO2CLKFF.js";
|
|
13
13
|
import "./chunk-ORUAMPNF.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-LUUWAXNS.js";
|
|
15
|
+
import "./chunk-Y7QAN77O.js";
|
|
16
|
+
import "./chunk-PTREHAPF.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")) {
|
package/dist/migrate/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
migrateDocs
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-P4HUXUE3.js";
|
|
5
|
+
import "../chunk-IO2CLKFF.js";
|
|
6
6
|
import "../chunk-ORUAMPNF.js";
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-LUUWAXNS.js";
|
|
8
|
+
import "../chunk-Y7QAN77O.js";
|
|
9
|
+
import "../chunk-PTREHAPF.js";
|
|
10
10
|
export {
|
|
11
11
|
migrateDocs
|
|
12
12
|
};
|
package/dist/release.js
CHANGED
package/dist/scaffold.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
scaffold
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-IO2CLKFF.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-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-LUUWAXNS.js";
|
|
12
|
+
import "./chunk-Y7QAN77O.js";
|
|
13
13
|
import {
|
|
14
14
|
STABLE_SCAFFOLD_RELEASE
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-PTREHAPF.js";
|
|
16
16
|
export {
|
|
17
17
|
STABLE_SCAFFOLD_RELEASE,
|
|
18
18
|
STARTER_ARCHIVE_ROOT,
|
package/dist/starter-sync.js
CHANGED
|
@@ -8,8 +8,8 @@ import {
|
|
|
8
8
|
planStarterRuntimeSync,
|
|
9
9
|
readStarterReleaseManifest,
|
|
10
10
|
starterManifestSha256
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-Y7QAN77O.js";
|
|
12
|
+
import "./chunk-PTREHAPF.js";
|
|
13
13
|
export {
|
|
14
14
|
applyStarterRuntimeSyncPlan,
|
|
15
15
|
classifyStarterPath,
|
package/dist/starter-update.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
downloadStarter
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-LUUWAXNS.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-
|
|
12
|
+
} from "./chunk-Y7QAN77O.js";
|
|
13
13
|
import {
|
|
14
14
|
STABLE_SCAFFOLD_RELEASE,
|
|
15
15
|
SUPPORTED_SCAFFOLD_RELEASES
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-PTREHAPF.js";
|
|
17
17
|
|
|
18
18
|
// src/starter-update.ts
|
|
19
19
|
import {
|