kirimase
kirimase copied to clipboard
Init fails, due to next.config not having the expected file extension.
Config File
{
"hasSrc": true,
"packages": [
"shadcn-ui",
"drizzle"
],
"preferredPackageManager": "npm",
"t3": false,
"alias": "@",
"analytics": true,
"rootPath": "src/",
"componentLib": "shadcn-ui",
"driver": "sqlite",
"provider": "turso",
"orm": "drizzle"
}
Describe the bug
when running npx kirimase init
the cli is unable to find a next.config.mjs
file. I currently has a legacy dependency (contentlayer) in this project and because of it we are forced to use the .cjs
extension instead.
To Reproduce Steps to reproduce the behavior:
- Rename
next.config.mjs
tonext.config.cjs
- Run
npx kirimase init
on the project root - See error
Expected behavior I hope that the cli would be robust enough to able to check to see if any next-config is available and apply the changes to that file regardless of the extension used in the project.
Screenshots
~
Desktop (please complete the following information):
- OS: macOS Sonoma
- Browser: Arc
Additional context n/a