refactor: move inline templates to files and bump version to 1.3.8

This commit is contained in:
2026-04-15 17:53:07 -04:00
parent 527fdea4de
commit aeb5fb782b
12 changed files with 36 additions and 71 deletions
+1
View File
@@ -0,0 +1 @@
@zen:registry=https://git.hyko.cx/api/packages/zen/npm/
@@ -0,0 +1 @@
export { default } from '@zen/core/features/admin/page';
+5
View File
@@ -0,0 +1,5 @@
import { redirect } from 'next/navigation';
export default function Redirect() {
redirect('/admin/dashboard');
}
@@ -0,0 +1 @@
export { default } from '@zen/core/features/auth/page';
+5
View File
@@ -0,0 +1,5 @@
import { redirect } from 'next/navigation';
export default function Redirect() {
redirect('/auth/login/');
}
+1
View File
@@ -0,0 +1 @@
export { default, generateMetadata } from '@zen/core/modules/page';
+1
View File
@@ -0,0 +1 @@
export { GET, POST, PUT, DELETE, PATCH } from '@zen/core/zen/api';
+6
View File
@@ -0,0 +1,6 @@
export async function register() {
if (process.env.NEXT_RUNTIME === 'nodejs') {
const { initializeZen } = await import('@zen/core');
await initializeZen();
}
}
+8
View File
@@ -0,0 +1,8 @@
{
"compilerOptions": {
"paths": {
"@styles/*": ["./styles/*"],
"@components/*": ["./components/*"]
}
}
}
+6
View File
@@ -0,0 +1,6 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
devIndicators: false,
};
export default nextConfig;