Skip to content

Commit 8d281ef

Browse files
committed
Fix: process argv and update readme
1 parent 7d11ce4 commit 8d281ef

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
# Event Manager
21

3-
Event Manager is a web application for managing events. This application is built using Next.js and React, making it a flexible and efficient tool for handling events. It supports various features like calendar views, recurring events, and more.
42

53
## Table of Contents
64

bin/cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
const { execSync } = require('child_process')
44

5-
const repoName = process.argv(2)
5+
const repoName = process.argv[2]
66
const gitCheckoutCommand = `git clone --depth 1 https://github.com/rahadkc/nextjs-redux-starter ${repoName}`
77
const installDepsCommand = `cd ${repoName} && npm install`
88

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nextjs-typescript-redux-starter",
3-
"version": "1.0.0",
3+
"version": "1.0.2",
44
"bin": "./bin/cli.js",
55
"scripts": {
66
"dev": "next dev -p 3050",
@@ -79,6 +79,10 @@
7979
"tailwindcss": "^3.3.3",
8080
"typescript": "^5"
8181
},
82+
"repository": {
83+
"type": "git",
84+
"url": "https://github.com/rahadkc/nextjs-typescript-redux-jest-cypress-starter"
85+
},
8286
"engines": {
8387
"node": ">=16.0.0 <21.0.0"
8488
}

0 commit comments

Comments
 (0)