create-ailk 0.34.0 → 0.34.1
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/package.json +3 -3
- package/templates/apps/web/lib/hub-children.tsx +15 -11
- package/versions.json +47 -47
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-ailk",
|
|
3
|
-
"version": "0.34.
|
|
3
|
+
"version": "0.34.1",
|
|
4
4
|
"description": "Scaffolder for AI Launch Kit — `pnpm create ailk@latest <dir>` produces a starter repo consuming @working-theory/* from npm (per ADR 0007).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"tar": "^7.5.21"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@working-theory/schema": "0.
|
|
32
|
-
"@working-theory/templates": "0.
|
|
31
|
+
"@working-theory/schema": "0.58.0",
|
|
32
|
+
"@working-theory/templates": "0.58.0"
|
|
33
33
|
},
|
|
34
34
|
"repository": {
|
|
35
35
|
"type": "git",
|
|
@@ -318,26 +318,30 @@ export async function hubPageInput(
|
|
|
318
318
|
return card.link === undefined ? [] : [card.link.href];
|
|
319
319
|
}),
|
|
320
320
|
);
|
|
321
|
-
const
|
|
322
|
-
|
|
323
|
-
);
|
|
321
|
+
const loadSections = loaders.getPageSections ?? loadPageSections;
|
|
322
|
+
const declared = await loadSections(source.frontmatter);
|
|
324
323
|
// A prose hub renders its MDX body, never its declared sections, so its
|
|
325
324
|
// existing links are read from the body and its cards stand alone after it.
|
|
326
325
|
const linked = mdxBody
|
|
327
326
|
? bodyLinkPaths(source.body)
|
|
328
327
|
: linkedPaths(declared);
|
|
329
328
|
const generated = childCardsSection(linked, pages, config);
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
329
|
+
// #10929 D3 — the loader builds from the frontmatter renderPage hands it,
|
|
330
|
+
// which under the database adapter carries the published words; the child
|
|
331
|
+
// pages and their card section are computed once, above.
|
|
332
|
+
const place = (sections: typeof declared) => {
|
|
333
|
+
const placed =
|
|
334
|
+
generated === null
|
|
335
|
+
? sections
|
|
336
|
+
: mdxBody
|
|
337
|
+
? insertBeforeClosingCtas(sections, generated)
|
|
338
|
+
: placeChildCards(sections, generated, config.slug);
|
|
339
|
+
return config.mapSections ? config.mapSections(placed) : placed;
|
|
340
|
+
};
|
|
337
341
|
|
|
338
342
|
return {
|
|
339
343
|
...base,
|
|
340
|
-
getPageSections: async () =>
|
|
344
|
+
getPageSections: async (frontmatter) => place(await loadSections(frontmatter)),
|
|
341
345
|
...(mdxBody && { bodyMode: "mdx-body" as const }),
|
|
342
346
|
...(mdxBody &&
|
|
343
347
|
generated !== null && {
|
package/versions.json
CHANGED
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
{
|
|
2
|
-
"@working-theory/admin-ui": "0.
|
|
3
|
-
"@working-theory/aeo": "0.
|
|
4
|
-
"@working-theory/agent-context": "0.
|
|
2
|
+
"@working-theory/admin-ui": "0.58.0",
|
|
3
|
+
"@working-theory/aeo": "0.58.0",
|
|
4
|
+
"@working-theory/agent-context": "0.58.0",
|
|
5
5
|
"@working-theory/agent-contract": "0.1.0",
|
|
6
6
|
"@working-theory/agent-memory": "0.0.0",
|
|
7
7
|
"@working-theory/ai": "0.1.0",
|
|
8
|
-
"@working-theory/analytics": "0.
|
|
9
|
-
"@working-theory/api": "0.
|
|
10
|
-
"@working-theory/api-client": "0.
|
|
8
|
+
"@working-theory/analytics": "0.58.0",
|
|
9
|
+
"@working-theory/api": "0.58.0",
|
|
10
|
+
"@working-theory/api-client": "0.58.0",
|
|
11
11
|
"@working-theory/cda-filesystem": "0.0.0",
|
|
12
|
-
"@working-theory/cli": "0.
|
|
13
|
-
"@working-theory/common": "0.
|
|
12
|
+
"@working-theory/cli": "0.58.0",
|
|
13
|
+
"@working-theory/common": "0.58.0",
|
|
14
14
|
"@working-theory/consent": "0.1.0",
|
|
15
|
-
"@working-theory/content-adapters": "0.
|
|
16
|
-
"@working-theory/content-projection": "0.
|
|
17
|
-
"@working-theory/email": "0.
|
|
15
|
+
"@working-theory/content-adapters": "0.58.0",
|
|
16
|
+
"@working-theory/content-projection": "0.58.0",
|
|
17
|
+
"@working-theory/email": "0.58.0",
|
|
18
18
|
"@working-theory/env": "0.0.0",
|
|
19
|
-
"@working-theory/eslint-config": "0.
|
|
20
|
-
"@working-theory/fumadocs-schema": "0.
|
|
19
|
+
"@working-theory/eslint-config": "0.58.0",
|
|
20
|
+
"@working-theory/fumadocs-schema": "0.58.0",
|
|
21
21
|
"@working-theory/ids": "0.20.0",
|
|
22
|
-
"@working-theory/jsonld": "0.
|
|
23
|
-
"@working-theory/license": "0.
|
|
24
|
-
"@working-theory/mcp-server": "0.
|
|
25
|
-
"@working-theory/metadata": "0.
|
|
26
|
-
"@working-theory/observability": "0.
|
|
27
|
-
"@working-theory/page-renderer": "0.
|
|
22
|
+
"@working-theory/jsonld": "0.58.0",
|
|
23
|
+
"@working-theory/license": "0.58.0",
|
|
24
|
+
"@working-theory/mcp-server": "0.58.0",
|
|
25
|
+
"@working-theory/metadata": "0.58.0",
|
|
26
|
+
"@working-theory/observability": "0.58.0",
|
|
27
|
+
"@working-theory/page-renderer": "0.58.0",
|
|
28
28
|
"@working-theory/plugin-mcp": "0.1.3",
|
|
29
|
-
"@working-theory/schema": "0.
|
|
30
|
-
"@working-theory/schema-pack-registry": "0.
|
|
31
|
-
"@working-theory/schema-validator": "0.
|
|
32
|
-
"@working-theory/sections-registry": "0.
|
|
33
|
-
"@working-theory/site-config": "0.
|
|
34
|
-
"@working-theory/spoke-checkout": "0.7.
|
|
35
|
-
"@working-theory/stripe-client": "0.
|
|
36
|
-
"@working-theory/templates": "0.
|
|
37
|
-
"@working-theory/theme": "0.
|
|
38
|
-
"@working-theory/ui": "0.
|
|
39
|
-
"@working-theory/validation": "0.
|
|
40
|
-
"@working-theory/web-i18n": "0.
|
|
41
|
-
"@working-theory/admin": "0.12.
|
|
42
|
-
"@working-theory/api-commerce": "0.1.
|
|
43
|
-
"@working-theory/api-content-write": "0.7.
|
|
44
|
-
"@working-theory/api-hub": "0.4.
|
|
45
|
-
"@working-theory/api-multi-tenant": "0.2.
|
|
46
|
-
"@working-theory/api-scheduling": "0.4.
|
|
47
|
-
"@working-theory/api-signal-collectors": "0.4.
|
|
48
|
-
"@working-theory/api-workspace": "0.7.
|
|
29
|
+
"@working-theory/schema": "0.58.0",
|
|
30
|
+
"@working-theory/schema-pack-registry": "0.58.0",
|
|
31
|
+
"@working-theory/schema-validator": "0.58.0",
|
|
32
|
+
"@working-theory/sections-registry": "0.58.0",
|
|
33
|
+
"@working-theory/site-config": "0.58.0",
|
|
34
|
+
"@working-theory/spoke-checkout": "0.7.14",
|
|
35
|
+
"@working-theory/stripe-client": "0.58.0",
|
|
36
|
+
"@working-theory/templates": "0.58.0",
|
|
37
|
+
"@working-theory/theme": "0.58.0",
|
|
38
|
+
"@working-theory/ui": "0.58.0",
|
|
39
|
+
"@working-theory/validation": "0.58.0",
|
|
40
|
+
"@working-theory/web-i18n": "0.58.0",
|
|
41
|
+
"@working-theory/admin": "0.12.1",
|
|
42
|
+
"@working-theory/api-commerce": "0.1.12",
|
|
43
|
+
"@working-theory/api-content-write": "0.7.1",
|
|
44
|
+
"@working-theory/api-hub": "0.4.4",
|
|
45
|
+
"@working-theory/api-multi-tenant": "0.2.7",
|
|
46
|
+
"@working-theory/api-scheduling": "0.4.9",
|
|
47
|
+
"@working-theory/api-signal-collectors": "0.4.2",
|
|
48
|
+
"@working-theory/api-workspace": "0.7.1",
|
|
49
49
|
"@working-theory/billing-client": "0.0.0",
|
|
50
50
|
"@working-theory/branding": "0.0.0",
|
|
51
51
|
"@working-theory/license-client": "0.0.0",
|
|
52
52
|
"@working-theory/license-manifest": "0.0.0",
|
|
53
|
-
"@working-theory/mcp-scheduling": "0.3.
|
|
54
|
-
"@working-theory/mcp-signal-collectors": "0.2.
|
|
55
|
-
"@working-theory/mcp-workspace": "0.7.
|
|
53
|
+
"@working-theory/mcp-scheduling": "0.3.11",
|
|
54
|
+
"@working-theory/mcp-signal-collectors": "0.2.12",
|
|
55
|
+
"@working-theory/mcp-workspace": "0.7.1",
|
|
56
56
|
"@working-theory/partner-session": "0.0.0",
|
|
57
57
|
"@working-theory/preview-protocol": "0.0.0",
|
|
58
|
-
"@working-theory/ui-commerce": "0.23.
|
|
59
|
-
"@working-theory/ui-docs-blog": "0.23.
|
|
60
|
-
"@working-theory/ui-scheduling": "0.25.
|
|
61
|
-
"@working-theory/ui-signal-collectors": "0.28.
|
|
58
|
+
"@working-theory/ui-commerce": "0.23.36",
|
|
59
|
+
"@working-theory/ui-docs-blog": "0.23.36",
|
|
60
|
+
"@working-theory/ui-scheduling": "0.25.10",
|
|
61
|
+
"@working-theory/ui-signal-collectors": "0.28.2",
|
|
62
62
|
"@working-theory/web": "0.0.0",
|
|
63
63
|
"@working-theory/app-api": "1.0.0",
|
|
64
64
|
"@working-theory/mcp": "0.0.0",
|
|
65
|
-
"@working-theory/database": "0.
|
|
65
|
+
"@working-theory/database": "0.58.0"
|
|
66
66
|
}
|