create-thally-docs 0.10.92 → 0.10.94
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-DKR5XNOD.js → chunk-53BTIUGV.js} +3 -3
- package/dist/{chunk-GB4BGGSG.js → chunk-BVAPRROZ.js} +1 -1
- package/dist/{chunk-XZH663XI.js → chunk-HPYS4ZXZ.js} +1 -1
- package/dist/{chunk-FULPVQVR.js → chunk-KC7QI76U.js} +2 -2
- package/dist/{chunk-LVS42N2U.js → chunk-LBDWCRKT.js} +9 -2
- package/dist/{chunk-EID7VZKZ.js → chunk-Q2CL6GEI.js} +27 -7
- package/dist/index.js +5 -5
- package/dist/migrate/index.d.ts +3 -1
- 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 +4 -4
- package/dist/starter-upgrade-canary.js +4 -4
- package/package.json +3 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
downloadStarter
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-KC7QI76U.js";
|
|
5
5
|
import {
|
|
6
6
|
applyStarterRuntimeSyncPlan,
|
|
7
7
|
captureTargetPrecondition,
|
|
@@ -10,11 +10,11 @@ import {
|
|
|
10
10
|
planStarterRuntimeSync,
|
|
11
11
|
readStarterReleaseManifest,
|
|
12
12
|
starterManifestSha256
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-BVAPRROZ.js";
|
|
14
14
|
import {
|
|
15
15
|
STABLE_SCAFFOLD_RELEASE,
|
|
16
16
|
SUPPORTED_SCAFFOLD_RELEASES
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-Q2CL6GEI.js";
|
|
18
18
|
|
|
19
19
|
// src/starter-update.ts
|
|
20
20
|
import {
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
} from "./chunk-L2YCVQBR.js";
|
|
5
5
|
import {
|
|
6
6
|
readStarterReleaseManifest
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-BVAPRROZ.js";
|
|
8
8
|
import {
|
|
9
9
|
STABLE_SCAFFOLD_RELEASE
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-Q2CL6GEI.js";
|
|
11
11
|
|
|
12
12
|
// src/download.ts
|
|
13
13
|
import { Readable, Transform, pipeline } from "stream";
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
installDeps,
|
|
9
9
|
runProjectCommand,
|
|
10
10
|
scaffold
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-HPYS4ZXZ.js";
|
|
12
12
|
import {
|
|
13
13
|
pruneMissingSiteLinks
|
|
14
14
|
} from "./chunk-UG3OXVLE.js";
|
|
@@ -26,6 +26,7 @@ import {
|
|
|
26
26
|
importSourceRef,
|
|
27
27
|
hydrateRemoteApiSpecs,
|
|
28
28
|
migrateUrl,
|
|
29
|
+
runUrlMigration,
|
|
29
30
|
parseGitHubRepositoryUrl,
|
|
30
31
|
sourceRefOversizeReason
|
|
31
32
|
} from "@thallylabs/migrate";
|
|
@@ -194,6 +195,7 @@ async function discoverMigration(options) {
|
|
|
194
195
|
platform: options.platform,
|
|
195
196
|
maxPages: options.maxPages
|
|
196
197
|
};
|
|
198
|
+
if (options.urlMigration) return runUrlMigration({ ...discovery, fetcher: options.fetcher, ...options.urlMigration }).then((run) => run.bundle);
|
|
197
199
|
return options.fetcher ? migrateUrl({ ...discovery, fetcher: options.fetcher }) : discoverUrl(discovery);
|
|
198
200
|
}, "Public documentation discovered");
|
|
199
201
|
}
|
|
@@ -308,6 +310,10 @@ async function migrateDocs(options) {
|
|
|
308
310
|
}
|
|
309
311
|
terminal.info("Validating imported documentation...");
|
|
310
312
|
const validation = await validateMigration(projectDir, options.skipValidation, installationFailed);
|
|
313
|
+
if (bundle.urlMigrationValidation && bundle.urlMigrationValidation.status !== "passed") {
|
|
314
|
+
validation.content = "failed";
|
|
315
|
+
validation.messages.push(`Source evidence validation is ${bundle.urlMigrationValidation.status}; ${bundle.urlMigrationValidation.issues.length} issue(s) require review.`);
|
|
316
|
+
}
|
|
311
317
|
const quarantinedPages = (bundle.quarantinedFiles ?? []).filter((file) => /\.mdx?$/i.test(file.path)).length;
|
|
312
318
|
const reportPath = projectPath(projectDir, "migration-report.json");
|
|
313
319
|
writeFileSync(reportPath, `${JSON.stringify({
|
|
@@ -322,7 +328,8 @@ async function migrateDocs(options) {
|
|
|
322
328
|
quarantinedAssets: (bundle.quarantinedFiles?.length ?? 0) - quarantinedPages,
|
|
323
329
|
droppedGatedPages: bundle.droppedGatedPages ?? 0,
|
|
324
330
|
warnings: bundle.warnings,
|
|
325
|
-
validation
|
|
331
|
+
validation,
|
|
332
|
+
...bundle.urlMigrationValidation ? { sourceValidation: bundle.urlMigrationValidation } : {}
|
|
326
333
|
}, null, 2)}
|
|
327
334
|
`);
|
|
328
335
|
for (const message of validation.messages) terminal.warn(message);
|
|
@@ -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-10-
|
|
6
|
+
id: "2026-10-16.9da45779.7bbdec81",
|
|
7
7
|
source: {
|
|
8
8
|
repository: "thallylabs/starter",
|
|
9
|
-
commitSha: "
|
|
10
|
-
treeSha: "
|
|
11
|
-
archiveUrl: "https://codeload.github.com/thallylabs/starter/tar.gz/
|
|
9
|
+
commitSha: "9da457794031d6429f99123084d252abc80f867c",
|
|
10
|
+
treeSha: "7fa2539d64718f8c20cf066194d204b5965a7024",
|
|
11
|
+
archiveUrl: "https://codeload.github.com/thallylabs/starter/tar.gz/9da457794031d6429f99123084d252abc80f867c",
|
|
12
12
|
manifestPath: "starter-release.json",
|
|
13
|
-
manifestSha256: "
|
|
13
|
+
manifestSha256: "1973b1729c8067924021d02cbc68df95a9cae8bf125fe53d744f963713aaf44e"
|
|
14
14
|
},
|
|
15
15
|
runtime: {
|
|
16
16
|
repository: "thallylabs/thally",
|
|
17
|
-
commitSha: "
|
|
18
|
-
treeSha: "
|
|
17
|
+
commitSha: "7bbdec81ba4932831ee4a1d0c7e5aa20e47d7d6c",
|
|
18
|
+
treeSha: "1033799748f20310c85054707ff11ab16f0fccd6",
|
|
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-10-14.ec81d6cd.6b1843c8",
|
|
30
|
+
source: {
|
|
31
|
+
repository: "thallylabs/starter",
|
|
32
|
+
commitSha: "ec81d6cd5ea11d56cebd38d50460ff84f287ce75",
|
|
33
|
+
treeSha: "8e7468ae1acfb4ffd65ebbae2b7e7244e254930f",
|
|
34
|
+
archiveUrl: "https://codeload.github.com/thallylabs/starter/tar.gz/ec81d6cd5ea11d56cebd38d50460ff84f287ce75",
|
|
35
|
+
manifestPath: "starter-release.json",
|
|
36
|
+
manifestSha256: "174bc665720e24ca38ece94ac3380fa889b547a7cdcc34f313896eb6efeb9929"
|
|
37
|
+
},
|
|
38
|
+
runtime: {
|
|
39
|
+
repository: "thallylabs/thally",
|
|
40
|
+
commitSha: "6b1843c8d1662555324237a951d2df0b94a4c8ce",
|
|
41
|
+
treeSha: "11f06dac9c92fb605ce0270af51910d1259993c8",
|
|
42
|
+
contentSource: "assets",
|
|
43
|
+
identityContractVersion: 1
|
|
44
|
+
},
|
|
45
|
+
starterVersion: 2
|
|
46
|
+
},
|
|
27
47
|
{
|
|
28
48
|
schemaVersion: 1,
|
|
29
49
|
id: "2026-10-14.6314febd.16426d1c",
|
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-LBDWCRKT.js";
|
|
5
5
|
import {
|
|
6
6
|
parseFrontmatter,
|
|
7
7
|
runCheck
|
|
@@ -13,17 +13,17 @@ import {
|
|
|
13
13
|
scaffold,
|
|
14
14
|
slugify,
|
|
15
15
|
success
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-HPYS4ZXZ.js";
|
|
17
17
|
import "./chunk-UG3OXVLE.js";
|
|
18
18
|
import "./chunk-J7255UQA.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-KC7QI76U.js";
|
|
20
20
|
import {
|
|
21
21
|
acquireTerminalAccent,
|
|
22
22
|
formatHelp,
|
|
23
23
|
terminal
|
|
24
24
|
} from "./chunk-L2YCVQBR.js";
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-BVAPRROZ.js";
|
|
26
|
+
import "./chunk-Q2CL6GEI.js";
|
|
27
27
|
|
|
28
28
|
// src/index.ts
|
|
29
29
|
import { existsSync as existsSync2, readdirSync } from "fs";
|
package/dist/migrate/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MigrationPlatform, MigrationFetcher, SourceRefMapping, MigrationBundle, MigrationWarning } from '@thallylabs/migrate';
|
|
1
|
+
import { MigrationPlatform, MigrationFetcher, UrlMigrationRunOptions, SourceRefMapping, MigrationBundle, MigrationWarning } from '@thallylabs/migrate';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Validate authored navigation and links against the routes the runtime can
|
|
@@ -41,6 +41,8 @@ interface MigrateOptions {
|
|
|
41
41
|
platform?: MigrationPlatform;
|
|
42
42
|
/** Optional host fetch boundary; used by Thally Cloud adapters and tests. */
|
|
43
43
|
fetcher?: MigrationFetcher;
|
|
44
|
+
/** Enable evidence-bearing browser capture, durable checkpoints and resume. */
|
|
45
|
+
urlMigration?: Omit<UrlMigrationRunOptions, 'sourceUrl'>;
|
|
44
46
|
/** Explicitly opt out of content/build gates; the report remains unverified. */
|
|
45
47
|
skipValidation?: boolean;
|
|
46
48
|
/** Mintlify `sourceRef` repositories to import, from `--source-ref owner/repo=<path>`. */
|
package/dist/migrate/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
migrateDocs
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-LBDWCRKT.js";
|
|
5
5
|
import "../chunk-KDLP27DS.js";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-HPYS4ZXZ.js";
|
|
7
7
|
import "../chunk-UG3OXVLE.js";
|
|
8
8
|
import "../chunk-J7255UQA.js";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-KC7QI76U.js";
|
|
10
10
|
import "../chunk-L2YCVQBR.js";
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-BVAPRROZ.js";
|
|
12
|
+
import "../chunk-Q2CL6GEI.js";
|
|
13
13
|
export {
|
|
14
14
|
migrateDocs
|
|
15
15
|
};
|
package/dist/release.js
CHANGED
package/dist/scaffold.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
scaffold
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-HPYS4ZXZ.js";
|
|
5
5
|
import "./chunk-UG3OXVLE.js";
|
|
6
6
|
import "./chunk-J7255UQA.js";
|
|
7
7
|
import {
|
|
@@ -9,12 +9,12 @@ import {
|
|
|
9
9
|
STARTER_COMMIT_SHA,
|
|
10
10
|
STARTER_REPOSITORY,
|
|
11
11
|
validateStarterArchiveEntry
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-KC7QI76U.js";
|
|
13
13
|
import "./chunk-L2YCVQBR.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-BVAPRROZ.js";
|
|
15
15
|
import {
|
|
16
16
|
STABLE_SCAFFOLD_RELEASE
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-Q2CL6GEI.js";
|
|
18
18
|
export {
|
|
19
19
|
STABLE_SCAFFOLD_RELEASE,
|
|
20
20
|
STARTER_ARCHIVE_ROOT,
|
package/dist/starter-sync.js
CHANGED
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
planStarterRuntimeSync,
|
|
10
10
|
readStarterReleaseManifest,
|
|
11
11
|
starterManifestSha256
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-BVAPRROZ.js";
|
|
13
|
+
import "./chunk-Q2CL6GEI.js";
|
|
14
14
|
export {
|
|
15
15
|
applyStarterRuntimeSyncPlan,
|
|
16
16
|
captureTargetPrecondition,
|
package/dist/starter-update.js
CHANGED
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
resolveStarterUpdateBase,
|
|
7
7
|
starterReleaseProviderError,
|
|
8
8
|
updateStarterProject
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-53BTIUGV.js";
|
|
10
|
+
import "./chunk-KC7QI76U.js";
|
|
11
11
|
import "./chunk-L2YCVQBR.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-BVAPRROZ.js";
|
|
13
|
+
import "./chunk-Q2CL6GEI.js";
|
|
14
14
|
export {
|
|
15
15
|
fetchStarterReleaseHint,
|
|
16
16
|
resolveManualReviewMutations,
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
updateStarterProject
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-53BTIUGV.js";
|
|
5
5
|
import {
|
|
6
6
|
downloadStarter
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-KC7QI76U.js";
|
|
8
8
|
import "./chunk-L2YCVQBR.js";
|
|
9
9
|
import {
|
|
10
10
|
classifyStarterPath,
|
|
11
11
|
mergeStarterOwnershipContracts,
|
|
12
12
|
readStarterReleaseManifest
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-BVAPRROZ.js";
|
|
14
14
|
import {
|
|
15
15
|
STABLE_SCAFFOLD_RELEASE,
|
|
16
16
|
SUPPORTED_SCAFFOLD_RELEASES
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-Q2CL6GEI.js";
|
|
18
18
|
|
|
19
19
|
// src/starter-upgrade-canary.ts
|
|
20
20
|
import { createHash } from "crypto";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-thally-docs",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.94",
|
|
4
4
|
"description": "Scaffold an open-source Thally docs site for people, search engines, and AI tools.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
"@anthropic-ai/sdk": "^0.36.0",
|
|
54
54
|
"@clack/prompts": "^0.11.0",
|
|
55
55
|
"@inquirer/prompts": "^7.0.0",
|
|
56
|
-
"@thallylabs/core": "0.2.
|
|
57
|
-
"@thallylabs/migrate": "0.2.
|
|
56
|
+
"@thallylabs/core": "0.2.13",
|
|
57
|
+
"@thallylabs/migrate": "0.2.28",
|
|
58
58
|
"p-limit": "^6.1.0",
|
|
59
59
|
"remark-mdx": "^3.1.1",
|
|
60
60
|
"remark-parse": "^11.0.0",
|