From 8a3a886ba96b686abe0bcaece56b6d39952a694b Mon Sep 17 00:00:00 2001 From: raj-vc Date: Wed, 20 Dec 2023 11:28:59 +0530 Subject: [PATCH] changes: update folder name --- config/{nextjs => react}/.eslintrc.json | 0 index.js | 10 +++++----- 2 files changed, 5 insertions(+), 5 deletions(-) rename config/{nextjs => react}/.eslintrc.json (100%) diff --git a/config/nextjs/.eslintrc.json b/config/react/.eslintrc.json similarity index 100% rename from config/nextjs/.eslintrc.json rename to config/react/.eslintrc.json diff --git a/index.js b/index.js index eb7b585..97d77a6 100644 --- a/index.js +++ b/index.js @@ -25,16 +25,16 @@ const reactPackagesInstallCmd = ({ install, devInstall, forceCMD }) => { }; const reactEslintConfigCmd = () => { - const configPath = resolve(__dirname, `./config/nextjs/.eslintrc.json`); + const configPath = resolve(__dirname, `./config/react/.eslintrc.json`); copyFileSync(configPath, ".eslintrc.json"); }; const packagesInstallCmds = { - nextjs: reactPackagesInstallCmd, + react: reactPackagesInstallCmd, }; const eslintConfigCmds = { - nextjs: reactEslintConfigCmd, + react: reactEslintConfigCmd, }; async function init() { @@ -60,8 +60,8 @@ async function init() { message: "Select a technology", choices: [ { - name: "NextJs", - value: "nextjs", + name: "React", + value: "react", }, { name: "Angular",