Describe the bug
command kirimase init is still running even if a folder has basic package.json file and app folder within it.
To Reproduce
Steps to reproduce the behavior:
Create an empty folder
initialise package.json file using command npm init
create app folder within
Now run the coammnd kirimase init
Expected behavior
command should exit execution while throwing the msg. " No Next.js project detected. Please create a Next.js project and then run kirimase init within that directory. "
Screenshots
Desktop (please complete the following information):
OS: Linux ( Debian )
Browser Firefox
Version Latest
Additional context
This can be prevented by adding more checks in the line 13 of file src/commands/init/index.ts
Describe the bug command
kirimase init
is still running even if a folder has basic package.json file and app folder within it.To Reproduce Steps to reproduce the behavior:
npm init
kirimase init
Expected behavior command should exit execution while throwing the msg. " No Next.js project detected. Please create a Next.js project and then run
kirimase init
within that directory. "Screenshots
Desktop (please complete the following information):
Additional context This can be prevented by adding more checks in the line 13 of file
src/commands/init/index.ts