From e9fcc2f820430902dcec6a276db25d5b875cd26a Mon Sep 17 00:00:00 2001 From: "o.drapeza" Date: Mon, 11 Sep 2023 14:22:32 +0300 Subject: [PATCH] feat: add tramvai template --- packages/import-utils/src/create-sandbox/templates.ts | 1 + packages/types/index.d.ts | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/import-utils/src/create-sandbox/templates.ts b/packages/import-utils/src/create-sandbox/templates.ts index 2c1f9a50..f5f5b395 100644 --- a/packages/import-utils/src/create-sandbox/templates.ts +++ b/packages/import-utils/src/create-sandbox/templates.ts @@ -32,6 +32,7 @@ export function getMainFile(template: ITemplate) { case "remix": case "vuepress": case "styleguidist": + case "tramvai": return "package.json"; default: return "src/index.js"; diff --git a/packages/types/index.d.ts b/packages/types/index.d.ts index b33e8414..1454e437 100644 --- a/packages/types/index.d.ts +++ b/packages/types/index.d.ts @@ -62,7 +62,8 @@ export type ITemplate = | "quasar" | "docusaurus" | "remix" - | "node"; + | "node" + | "tramvai"; export interface ISandbox { title: string;