Skip to content

Commit

Permalink
feat : change in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Puskar-Roy committed Dec 4, 2023
1 parent d18f1ea commit 5cbf04f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
11 changes: 7 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "lets-create-api",
"version": "1.0.0",
"description": "",
"main": "indexAn awesome CLI tool designed to accelerate the creation of Backend projects, making it effortless to build RESTful APIs with various backend and database technology combinations.",
"version": "1.0.3",
"description": "An awesome CLI tool designed to accelerate the creation of Backend projects, making it effortless to build RESTful APIs with various backend and database technology combinations.",
"main": "index.js",
"bin": {
"lets-create-api": "index.js"
},
Expand Down Expand Up @@ -33,5 +33,8 @@
"dependencies": {
"colorette": "^2.0.20",
"enquirer": "^2.4.1"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com"
}
}
}
2 changes: 1 addition & 1 deletion src/utils/githubPush.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const handleGitHubFlow = async (repoName) => {
const githubRepoLink = repoLinkResponse.repoLink
const removeOriginCommand = `cd ${repoName} && git remote remove origin`
const changeOriginCommand = `cd ${repoName} && git remote add origin ${githubRepoLink}`
const pushToNewRepoCommand = `cd ${repoName} && git push -u origin master`
const pushToNewRepoCommand = `cd ${repoName} && git push -u origin main`

const removeOrigin = runCommand(removeOriginCommand)
if (!removeOrigin) process.exit(-1)
Expand Down

0 comments on commit 5cbf04f

Please # to comment.