diff --git a/bin/cli.js b/bin/cli.js index 93cc70c..0307542 100644 --- a/bin/cli.js +++ b/bin/cli.js @@ -36,7 +36,7 @@ export default function Redirect() { redirect('/auth/login/'); } `, - authCatchAll: `export { default } from '@zen/core/auth/page'; + authCatchAll: `export { default } from '@zen/core/features/auth/page'; `, adminRedirect: `import { redirect } from 'next/navigation'; @@ -44,7 +44,7 @@ export default function Redirect() { redirect('/admin/dashboard'); } `, - adminCatchAll: `export { default } from '@zen/core/admin/page'; + adminCatchAll: `export { default } from '@zen/core/features/admin/page'; `, zenApiRoute: `export { GET, POST, PUT, DELETE, PATCH } from '@zen/core/zen/api'; `, @@ -83,7 +83,7 @@ async function initProject() { done('Cleaned default /app directory'); fs.writeJsonSync('./jsconfig.json', { - compilerOptions: { paths: { '@*': ['./*'] } }, + compilerOptions: { paths: { '@styles/*': ['./styles/*'], '@components/*': ['./components/*'] } }, }, { spaces: 2 }); done('Configured path aliases');