create-arktos 1.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/bin/cli.js +8 -0
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -32,6 +32,14 @@ function createProject(projectName) {
32
32
  console.log('📋 Copying template files...');
33
33
  copyDir(TEMPLATE_DIR, projectName);
34
34
 
35
+ // Copy prisma directory
36
+ console.log('🗄️ Copying database schema...');
37
+ const prismaDir = path.join(ROOT_DIR, 'prisma');
38
+ const targetPrismaDir = path.join(projectName, 'prisma');
39
+ if (fs.existsSync(prismaDir)) {
40
+ copyDir(prismaDir, targetPrismaDir);
41
+ }
42
+
35
43
  // Copy template config files
36
44
  console.log('📝 Copying configuration files...');
37
45
  copyTemplateFiles(projectName);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-arktos",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "🚀 A modern Node.js backend boilerplate with TypeScript, Express, JWT authentication, Prisma ORM, PostgreSQL, and Resend email service. Includes complete authentication flow, security middleware, and database management.",
5
5
  "main": "bin/cli.js",
6
6
  "bin": {