create-thally-docs 0.10.0 → 0.10.2
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-GTGHYJXS.js → chunk-2N74PW2Y.js} +1 -1
- package/dist/{chunk-GAFCLXU4.js → chunk-DGK6XREP.js} +1 -1
- package/dist/{chunk-KXJT2MG5.js → chunk-IJXZ4YRL.js} +1 -1
- package/dist/{chunk-WMHBVXWW.js → chunk-RLGB6QF3.js} +27 -7
- package/dist/{chunk-ENQIF6MA.js → chunk-TMXBINSI.js} +2 -2
- package/dist/index.js +5 -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 +18 -6
- 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-05.
|
|
6
|
+
id: "2026-08-05.9d281a7c.d44ad701",
|
|
7
7
|
source: {
|
|
8
8
|
repository: "thallylabs/starter",
|
|
9
|
-
commitSha: "
|
|
10
|
-
treeSha: "
|
|
11
|
-
archiveUrl: "https://codeload.github.com/thallylabs/starter/tar.gz/
|
|
9
|
+
commitSha: "9d281a7c209fa3ee187e325f87e72e7ad816f191",
|
|
10
|
+
treeSha: "8a46fb5d8f601251270ba3b477b6c786403c628b",
|
|
11
|
+
archiveUrl: "https://codeload.github.com/thallylabs/starter/tar.gz/9d281a7c209fa3ee187e325f87e72e7ad816f191",
|
|
12
12
|
manifestPath: "starter-release.json",
|
|
13
|
-
manifestSha256: "
|
|
13
|
+
manifestSha256: "b662c9d156e04918ea5ff6713c3b6f93db544de6822d7bb8ea3b78ca9c3f6779"
|
|
14
14
|
},
|
|
15
15
|
runtime: {
|
|
16
16
|
repository: "thallylabs/thally",
|
|
17
|
-
commitSha: "
|
|
18
|
-
treeSha: "
|
|
17
|
+
commitSha: "d44ad701f7045e019be71717b6fddde451372509",
|
|
18
|
+
treeSha: "0d2a4379dcca251373c802b7c3ea04fffd87fe7a",
|
|
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-08-05.04438581.baf29307",
|
|
30
|
+
source: {
|
|
31
|
+
repository: "thallylabs/starter",
|
|
32
|
+
commitSha: "04438581a402d02e9f4308ff047c4c4a48d8169f",
|
|
33
|
+
treeSha: "c962a01b3b8b24ffdb65671c2f7805a47175ba42",
|
|
34
|
+
archiveUrl: "https://codeload.github.com/thallylabs/starter/tar.gz/04438581a402d02e9f4308ff047c4c4a48d8169f",
|
|
35
|
+
manifestPath: "starter-release.json",
|
|
36
|
+
manifestSha256: "e019c6416c6c6872114cdf9d9b5eec6579873f46f826748cf39254fd16628392"
|
|
37
|
+
},
|
|
38
|
+
runtime: {
|
|
39
|
+
repository: "thallylabs/thally",
|
|
40
|
+
commitSha: "baf2930771baf449238bd6c68101ceb3af33ee96",
|
|
41
|
+
treeSha: "56f8217b4da6740015e4775d2ce0aeb60bc167a0",
|
|
42
|
+
contentSource: "assets",
|
|
43
|
+
identityContractVersion: 1
|
|
44
|
+
},
|
|
45
|
+
starterVersion: 2
|
|
46
|
+
},
|
|
27
47
|
{
|
|
28
48
|
schemaVersion: 1,
|
|
29
49
|
id: "2026-08-05.d5fef916.f3817263",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
readStarterReleaseManifest
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-IJXZ4YRL.js";
|
|
5
5
|
import {
|
|
6
6
|
STABLE_SCAFFOLD_RELEASE
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-RLGB6QF3.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-DGK6XREP.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-2N74PW2Y.js";
|
|
13
13
|
import "./chunk-ORUAMPNF.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-TMXBINSI.js";
|
|
15
|
+
import "./chunk-IJXZ4YRL.js";
|
|
16
|
+
import "./chunk-RLGB6QF3.js";
|
|
17
17
|
|
|
18
18
|
// src/index.ts
|
|
19
19
|
import { existsSync as existsSync3, readdirSync as readdirSync2 } from "fs";
|
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-DGK6XREP.js";
|
|
5
|
+
import "../chunk-2N74PW2Y.js";
|
|
6
6
|
import "../chunk-ORUAMPNF.js";
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-TMXBINSI.js";
|
|
8
|
+
import "../chunk-IJXZ4YRL.js";
|
|
9
|
+
import "../chunk-RLGB6QF3.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-2N74PW2Y.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-TMXBINSI.js";
|
|
12
|
+
import "./chunk-IJXZ4YRL.js";
|
|
13
13
|
import {
|
|
14
14
|
STABLE_SCAFFOLD_RELEASE
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-RLGB6QF3.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-IJXZ4YRL.js";
|
|
12
|
+
import "./chunk-RLGB6QF3.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-TMXBINSI.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-IJXZ4YRL.js";
|
|
13
13
|
import {
|
|
14
14
|
STABLE_SCAFFOLD_RELEASE,
|
|
15
15
|
SUPPORTED_SCAFFOLD_RELEASES
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-RLGB6QF3.js";
|
|
17
17
|
|
|
18
18
|
// src/starter-update.ts
|
|
19
19
|
import {
|
|
@@ -56,13 +56,25 @@ function resolveStarterReleaseFromManifest(source, releases = SUPPORTED_SCAFFOLD
|
|
|
56
56
|
parseStarterReleaseManifest(source, matching[0]);
|
|
57
57
|
return matching[0];
|
|
58
58
|
}
|
|
59
|
-
function assertForwardRelease(previous, target) {
|
|
59
|
+
function assertForwardRelease(previous, target, releases) {
|
|
60
60
|
if (previous.source.repository !== target.source.repository || previous.source.manifestPath !== target.source.manifestPath) {
|
|
61
61
|
throw new Error("Starter updates cannot cross repository or manifest contracts.");
|
|
62
62
|
}
|
|
63
|
-
if (previous.source.commitSha
|
|
63
|
+
if (previous.source.commitSha === target.source.commitSha) return;
|
|
64
|
+
if (previous.starterVersion > target.starterVersion) {
|
|
64
65
|
throw new Error("The installed CLI does not contain a newer starter release.");
|
|
65
66
|
}
|
|
67
|
+
if (previous.starterVersion === target.starterVersion) {
|
|
68
|
+
const targetIndex = releases.findIndex(
|
|
69
|
+
(release) => release.source.commitSha === target.source.commitSha
|
|
70
|
+
);
|
|
71
|
+
const previousIndex = releases.findIndex(
|
|
72
|
+
(release) => release.source.commitSha === previous.source.commitSha
|
|
73
|
+
);
|
|
74
|
+
if (targetIndex === -1 || previousIndex === -1 || previousIndex <= targetIndex) {
|
|
75
|
+
throw new Error("The installed CLI does not contain a newer starter release.");
|
|
76
|
+
}
|
|
77
|
+
}
|
|
66
78
|
}
|
|
67
79
|
async function updateStarterProject(options) {
|
|
68
80
|
const targetRelease = options.targetRelease ?? STABLE_SCAFFOLD_RELEASE;
|
|
@@ -73,7 +85,7 @@ async function updateStarterProject(options) {
|
|
|
73
85
|
downstreamManifest,
|
|
74
86
|
releases
|
|
75
87
|
);
|
|
76
|
-
assertForwardRelease(previousRelease, targetRelease);
|
|
88
|
+
assertForwardRelease(previousRelease, targetRelease, releases);
|
|
77
89
|
if (previousRelease.source.commitSha === targetRelease.source.commitSha) {
|
|
78
90
|
return {
|
|
79
91
|
previousRelease,
|