create-thally-docs 0.10.2 → 0.10.4
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-2N74PW2Y.js → chunk-BRHTEN5M.js} +1 -1
- package/dist/{chunk-RLGB6QF3.js → chunk-G5OZBG72.js} +47 -7
- package/dist/{chunk-TMXBINSI.js → chunk-OEFD3ZGV.js} +2 -2
- package/dist/{chunk-DGK6XREP.js → chunk-ORJ3GC2S.js} +1 -1
- package/dist/{chunk-IJXZ4YRL.js → chunk-TTY4Z4DY.js} +1 -1
- package/dist/index.js +17 -7
- 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
|
@@ -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-08-
|
|
6
|
+
id: "2026-08-08.8965485a.5b9027f2",
|
|
7
7
|
source: {
|
|
8
8
|
repository: "thallylabs/starter",
|
|
9
|
-
commitSha: "
|
|
10
|
-
treeSha: "
|
|
11
|
-
archiveUrl: "https://codeload.github.com/thallylabs/starter/tar.gz/
|
|
9
|
+
commitSha: "8965485ac416408a3f6e8111dbdc9eb1e2f2e31c",
|
|
10
|
+
treeSha: "244d990199a80b1609fa625b308ad4f39c59ea1a",
|
|
11
|
+
archiveUrl: "https://codeload.github.com/thallylabs/starter/tar.gz/8965485ac416408a3f6e8111dbdc9eb1e2f2e31c",
|
|
12
12
|
manifestPath: "starter-release.json",
|
|
13
|
-
manifestSha256: "
|
|
13
|
+
manifestSha256: "e00e4aac7fb50c09f1d64b4d1734754dbb7869fbb95cf372e65d74eab1054b78"
|
|
14
14
|
},
|
|
15
15
|
runtime: {
|
|
16
16
|
repository: "thallylabs/thally",
|
|
17
|
-
commitSha: "
|
|
18
|
-
treeSha: "
|
|
17
|
+
commitSha: "5b9027f2d5a8e6fb271ee00bfd9787ca1b291643",
|
|
18
|
+
treeSha: "8896a29dfc7ba34c8a4b7f49b28f162ea56e9782",
|
|
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-08-06.e629b5a4.dda9cca1",
|
|
30
|
+
source: {
|
|
31
|
+
repository: "thallylabs/starter",
|
|
32
|
+
commitSha: "e629b5a4639a5e69288b92c3a2f31a6ab55f2f3e",
|
|
33
|
+
treeSha: "08acc5a5a11edaf26603f9ac4231f5e8f3859eea",
|
|
34
|
+
archiveUrl: "https://codeload.github.com/thallylabs/starter/tar.gz/e629b5a4639a5e69288b92c3a2f31a6ab55f2f3e",
|
|
35
|
+
manifestPath: "starter-release.json",
|
|
36
|
+
manifestSha256: "2935401c0a98d2c65f2853d2fca54e2e4e2655cab621448bf75f419834f1880b"
|
|
37
|
+
},
|
|
38
|
+
runtime: {
|
|
39
|
+
repository: "thallylabs/thally",
|
|
40
|
+
commitSha: "dda9cca1660700d3755dea1bda188e80aa889440",
|
|
41
|
+
treeSha: "053aca19bf42ae03399a7524c8287f1bd12d9344",
|
|
42
|
+
contentSource: "assets",
|
|
43
|
+
identityContractVersion: 1
|
|
44
|
+
},
|
|
45
|
+
starterVersion: 2
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
schemaVersion: 1,
|
|
49
|
+
id: "2026-08-05.9d281a7c.d44ad701",
|
|
50
|
+
source: {
|
|
51
|
+
repository: "thallylabs/starter",
|
|
52
|
+
commitSha: "9d281a7c209fa3ee187e325f87e72e7ad816f191",
|
|
53
|
+
treeSha: "8a46fb5d8f601251270ba3b477b6c786403c628b",
|
|
54
|
+
archiveUrl: "https://codeload.github.com/thallylabs/starter/tar.gz/9d281a7c209fa3ee187e325f87e72e7ad816f191",
|
|
55
|
+
manifestPath: "starter-release.json",
|
|
56
|
+
manifestSha256: "b662c9d156e04918ea5ff6713c3b6f93db544de6822d7bb8ea3b78ca9c3f6779"
|
|
57
|
+
},
|
|
58
|
+
runtime: {
|
|
59
|
+
repository: "thallylabs/thally",
|
|
60
|
+
commitSha: "d44ad701f7045e019be71717b6fddde451372509",
|
|
61
|
+
treeSha: "0d2a4379dcca251373c802b7c3ea04fffd87fe7a",
|
|
62
|
+
contentSource: "assets",
|
|
63
|
+
identityContractVersion: 1
|
|
64
|
+
},
|
|
65
|
+
starterVersion: 2
|
|
66
|
+
},
|
|
27
67
|
{
|
|
28
68
|
schemaVersion: 1,
|
|
29
69
|
id: "2026-08-05.04438581.baf29307",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
readStarterReleaseManifest
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-TTY4Z4DY.js";
|
|
5
5
|
import {
|
|
6
6
|
STABLE_SCAFFOLD_RELEASE
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-G5OZBG72.js";
|
|
8
8
|
|
|
9
9
|
// src/download.ts
|
|
10
10
|
import { Readable, Transform, pipeline } from "stream";
|
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-ORJ3GC2S.js";
|
|
5
5
|
import {
|
|
6
6
|
logo,
|
|
7
7
|
readDocsJson,
|
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
slugify,
|
|
10
10
|
success,
|
|
11
11
|
writeDocsJson
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-BRHTEN5M.js";
|
|
13
13
|
import "./chunk-ORUAMPNF.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-OEFD3ZGV.js";
|
|
15
|
+
import "./chunk-TTY4Z4DY.js";
|
|
16
|
+
import "./chunk-G5OZBG72.js";
|
|
17
17
|
|
|
18
18
|
// src/index.ts
|
|
19
19
|
import { existsSync as existsSync3, readdirSync as readdirSync2 } from "fs";
|
|
@@ -91,6 +91,16 @@ async function resolveAutoDetectedMigrationSource(sourceUrl, shouldPrompt) {
|
|
|
91
91
|
}
|
|
92
92
|
return sourceUrl;
|
|
93
93
|
}
|
|
94
|
+
function parseRepoSpec(spec) {
|
|
95
|
+
const trimmed = spec.trim();
|
|
96
|
+
const url = trimmed.match(/^(?:https?:\/\/)?(?:www\.)?github\.com\/([^/\s]+)\/([^/\s#?]+?)(?:\.git)?(?:[/#?].*)?$/i);
|
|
97
|
+
if (url) return { owner: url[1], repo: url[2] };
|
|
98
|
+
const ssh = trimmed.match(/^git@github\.com:([^/\s]+)\/([^/\s]+?)(?:\.git)?$/i);
|
|
99
|
+
if (ssh) return { owner: ssh[1], repo: ssh[2] };
|
|
100
|
+
const plain = trimmed.match(/^([A-Za-z0-9-_.]+)\/([A-Za-z0-9-_.]+)$/);
|
|
101
|
+
if (plain) return { owner: plain[1], repo: plain[2] };
|
|
102
|
+
return null;
|
|
103
|
+
}
|
|
94
104
|
async function gatherAnswers(dirArg, useDefaults, installPreference) {
|
|
95
105
|
let projectDir;
|
|
96
106
|
if (dirArg) {
|
|
@@ -134,10 +144,10 @@ async function gatherAnswers(dirArg, useDefaults, installPreference) {
|
|
|
134
144
|
});
|
|
135
145
|
if (enableTrack.trim().toLowerCase() === "y") {
|
|
136
146
|
const reposInput = await input({
|
|
137
|
-
message: " Which repo(s) should Thally watch? (comma-separated owner/repo, e.g. acme/api,acme/web):",
|
|
147
|
+
message: " Which repo(s) should Thally watch? (comma-separated owner/repo or GitHub URLs, e.g. acme/api,acme/web):",
|
|
138
148
|
default: ""
|
|
139
149
|
});
|
|
140
|
-
const parsed = reposInput.split(",").map(
|
|
150
|
+
const parsed = reposInput.split(",").map(parseRepoSpec).filter((r) => r !== null);
|
|
141
151
|
if (parsed.length > 0) trackRepos = parsed;
|
|
142
152
|
else console.log(" \u26A0 No valid owner/repo entries \u2014 skipping Track (add it later with `thally track add`).");
|
|
143
153
|
}
|
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-ORJ3GC2S.js";
|
|
5
|
+
import "../chunk-BRHTEN5M.js";
|
|
6
6
|
import "../chunk-ORUAMPNF.js";
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-OEFD3ZGV.js";
|
|
8
|
+
import "../chunk-TTY4Z4DY.js";
|
|
9
|
+
import "../chunk-G5OZBG72.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-BRHTEN5M.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-OEFD3ZGV.js";
|
|
12
|
+
import "./chunk-TTY4Z4DY.js";
|
|
13
13
|
import {
|
|
14
14
|
STABLE_SCAFFOLD_RELEASE
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-G5OZBG72.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-TTY4Z4DY.js";
|
|
12
|
+
import "./chunk-G5OZBG72.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-OEFD3ZGV.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-TTY4Z4DY.js";
|
|
13
13
|
import {
|
|
14
14
|
STABLE_SCAFFOLD_RELEASE,
|
|
15
15
|
SUPPORTED_SCAFFOLD_RELEASES
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-G5OZBG72.js";
|
|
17
17
|
|
|
18
18
|
// src/starter-update.ts
|
|
19
19
|
import {
|