From 72a4c988b1b782d1ed50110d2ae79be59ef94d70 Mon Sep 17 00:00:00 2001 From: Seweryn Kras Date: Tue, 2 Jul 2024 10:04:17 +0200 Subject: [PATCH] feat: disable react templates due to a critical bug --- src/new/new.action.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/new/new.action.ts b/src/new/new.action.ts index 4cc35ed..c928674 100644 --- a/src/new/new.action.ts +++ b/src/new/new.action.ts @@ -55,8 +55,12 @@ async function getTemplate(providedTemplate?: string): Promise { { name: "ts-node-esm", hint: "TypeScript CLI application (ESM)" }, { name: "js-node", hint: "Plain Javascript CLI application (CommonJS)" }, { name: "js-node-esm", hint: "Plain Javascript CLI application (ESM)" }, - { name: "react-js", hint: "React web application (with Vite and plain Javascript)" }, - { name: "react-ts", hint: "React web application (with Vite and Typescript)" }, + { + name: "(coming soon) react-js", + hint: "React web application (with Vite and plain Javascript)", + disabled: true, + }, + { name: "(coming soon) react-ts", hint: "React web application (with Vite and Typescript)", disabled: true }, // { name: "js-webapp", hint: "Plain Javascript Express based web application" }, ], })) as { template: string };