Skip to content

Commit

Permalink
changes: update folder name
Browse files Browse the repository at this point in the history
  • Loading branch information
raj-vc committed Dec 20, 2023
1 parent fe87ac2 commit 8a3a886
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
File renamed without changes.
10 changes: 5 additions & 5 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand All @@ -60,8 +60,8 @@ async function init() {
message: "Select a technology",
choices: [
{
name: "NextJs",
value: "nextjs",
name: "React",
value: "react",
},
{
name: "Angular",
Expand Down

0 comments on commit 8a3a886

Please sign in to comment.