feat(new): multi-runtime starter (node/deno/bun) via --runtime, shared + overlay templates

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
This commit is contained in:
chrnx committed 2026-07-12 13:11:12 -05:00
1 parent c63c121787
commit e8cd20b7ec
20 files changed
+173 -16

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
{
"compilerOptions": { "experimentalDecorators": true },
"unstable": ["sloppy-imports"],
"imports": { "@green-tea/core": "npm:@green-tea/core@^26.7.0-beta.0" },
"tasks": { "dev": "deno run --watch --allow-net --allow-read --allow-env src/main.ts" }
}
+1
View File
@@ -0,0 +1 @@
runtime = "deno"
+7
View File
@@ -0,0 +1,7 @@
import { createApp } from '@green-tea/core';
import { AppModule } from './app.module';
const app = createApp({ modules: [AppModule] });
Deno.serve({ port: 8000 }, app.fetch);
console.log('🍵 green-tea running on http://localhost:8000');