diff --git a/bin/cli.js b/bin/cli.js index 38e4144..510cf6c 100644 --- a/bin/cli.js +++ b/bin/cli.js @@ -85,7 +85,7 @@ const installedDeps = runCommand(installDepsCommand); if(!installedDeps) process.exit(-1); replaceTextOnFile({ - file: '../package.json', + file: `./${repoName}/package.json`, arrOfObjectsBeReplaced: [ { textToBeReplaced: `"bin": "./bin/cli.js",`, diff --git a/package.json b/package.json index 8dcb66a..99894ab 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@aleleba/create-react-ssr", - "version": "3.0.40", + "version": "3.0.41", "description": "Starter Kit of server side render of react", "bin": "./bin/cli.js", "main": "src/server/index",