The VS Code of video editing, built for agents.
TypeScript
Update JSX version handling in projects.ts
konstantin-paulusb087c67c481e
diff --git a/apps/desktop/src/projects.ts b/apps/desktop/src/projects.tsindex c24b8ef0..1f5a366b 100644--- a/apps/desktop/src/projects.ts+++ b/apps/desktop/src/projects.ts@@ -470,7 +470,7 @@ function packageName(name: string): string {}// Types only: the editor supplies the runtime when it mounts the project.-const JSX_VERSION = () => `^${app.getVersion()}`;+const JSX_VERSION = "latest";const SOLID_VERSION = "^1.9.10";/**@@ -509,7 +509,7 @@ const packageJson = (name: string, displayName: string): PackageJson => ({main: "index.tsx",scripts: { ...SCRIPTS },devDependencies: {- "@diffusionstudio/jsx": JSX_VERSION(),+ "@diffusionstudio/jsx": JSX_VERSION,"solid-js": SOLID_VERSION,},});