nicoalbanese / kirimase

Build full-stack Next.js apps, incredibly fast
https://kirimase.dev
MIT License
2.39k stars 107 forks source link

Default layout auth util import does not take alias into account #144

Closed yursky closed 3 months ago

yursky commented 4 months ago

Config File

{
  "hasSrc": true,
  "packages": [
    "shadcn-ui",
    "prisma",
    "lucia",
    "resend"
  ],
  "preferredPackageManager": "bun",
  "t3": false,
  "alias": "~",
  "rootPath": "src/",
  "componentLib": "shadcn-ui",
  "orm": "prisma",
  "driver": "pg",
  "auth": "lucia"
}

Describe the bug

To Reproduce Steps to reproduce the behavior:

  1. Generate a new kirimase project with a default auth layout and a modified import alias on nextjs
  2. Build fails

Expected behavior Import should take alias into account when generate the default layout

Screenshots

Screenshot 2024-02-18 at 9 44 35 PM