Skip to content

Commit f465183

Browse files
committed
get rid of entrypoint in kernel json
1 parent e8fa57a commit f465183

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@onkernel/sdk",
3-
"version": "0.1.0-alpha.4",
3+
"version": "0.1.0-alpha.5",
44
"description": "The official TypeScript library for the Kernel API",
55
"author": "Kernel <>",
66
"types": "dist/index.d.ts",

src/core/app-framework.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ export interface KernelAction {
1515
}
1616

1717
export interface KernelJson {
18-
entrypoint: string;
1918
apps: KernelAppJson[];
2019
}
2120

@@ -134,9 +133,9 @@ class KernelAppRegistry {
134133
/**
135134
* Export the registry as JSON
136135
*/
137-
exportJSON(entrypointRelpath: string): string {
136+
exportJSON(): string {
138137
const apps = this.getApps().map((app) => app.toJSON());
139-
return JSON.stringify({ apps, entrypoint: entrypointRelpath } as KernelJson, null, 2);
138+
return JSON.stringify({ apps } as KernelJson, null, 2);
140139
}
141140
}
142141

0 commit comments

Comments
 (0)