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

+2 -5
View File
@@ -6,7 +6,7 @@ use crate::runtime::{self, Runtime};
fn command_for(rt: Runtime) -> (&'static str, Vec<&'static str>) {
match rt {
Runtime::Deno => ("deno", vec!["task", "dev"]),
Runtime::Bun => ("bun", vec!["--watch", "run", "dev"]),
Runtime::Bun => ("bun", vec!["run", "dev"]),
Runtime::Node => ("npm", vec!["run", "dev"]),
}
}
@@ -38,10 +38,7 @@ mod tests {
}
#[test]
fn bun_watch() {
assert_eq!(
command_for(Runtime::Bun),
("bun", vec!["--watch", "run", "dev"])
);
assert_eq!(command_for(Runtime::Bun), ("bun", vec!["run", "dev"]));
}
#[test]
fn node_watch() {