Skip to content

Commit 0915c70

Browse files
Merge branch 'main' into feat/simplify-pattern-list-actions
2 parents 0ea5885 + 5eee7d6 commit 0915c70

File tree

59 files changed

+1490
-659
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+1490
-659
lines changed

deno.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@
116116
"merkle-reference": "npm:merkle-reference@^2.2.0",
117117
"multiformats": "npm:multiformats@^13.3.2",
118118
"turndown": "npm:turndown@^7.1.2",
119-
"zod": "npm:zod@^3.24.1"
119+
"zod": "npm:zod@^3.24.1",
120+
"@commontools/schema-generator/cell-brand": "./packages/schema-generator/src/typescript/cell-brand.ts"
120121
}
121122
}

packages/deno-web-test/utils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ async function copy(src: string, dest: string): Promise<void> {
8181
} else if (stat.isDirectory) {
8282
await copyDir(src, dest);
8383
} else {
84+
await Deno.mkdir(path.dirname(dest), { recursive: true });
8485
await Deno.copyFile(src, dest);
8586
}
8687
}

packages/patterns/default-app.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import {
33
Cell,
44
derive,
55
handler,
6-
lift,
76
NAME,
87
navigateTo,
98
recipe,
@@ -99,10 +98,6 @@ const spawnNote = handler<void, void>((_, __) => {
9998
}));
10099
});
101100

102-
const getCharmName = lift(({ charm }: { charm: MinimalCharm }) => {
103-
return charm?.[NAME] || "Untitled Charm";
104-
});
105-
106101
export default recipe<CharmsListInput, CharmsListOutput>(
107102
"DefaultCharmList",
108103
(_) => {
@@ -186,6 +181,7 @@ export default recipe<CharmsListInput, CharmsListOutput>(
186181
<tbody>
187182
{allCharms.map((charm) => (
188183
<tr>
184+
<td>{charm?.[NAME] || "Untitled Charm"}</td>
189185
<td>
190186
<a
191187
className="pattern-link"

packages/schema-generator/deno.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
"version": "0.1.0",
44
"exports": {
55
".": "./src/index.ts",
6-
"./interface": "./src/interface.ts"
6+
"./interface": "./src/interface.ts",
7+
"./typescript/cell-brand": "./src/typescript/cell-brand.ts",
8+
"./typescript/type-traversal": "./src/typescript/type-traversal.ts"
79
},
810
"imports": {
911
"typescript": "npm:typescript",

0 commit comments

Comments
 (0)