create-arktos 1.0.0 → 1.2.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 +12 -3
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -28,9 +28,18 @@ function createProject(projectName) {
28
28
  console.log('📁 Creating project directory...');
29
29
  fs.mkdirSync(projectName);
30
30
 
31
- // Copy template files
32
- console.log('📋 Copying template files...');
33
- copyDir(TEMPLATE_DIR, projectName);
31
+ // Copy src directory
32
+ console.log('📋 Copying source files...');
33
+ const targetSrcDir = path.join(projectName, 'src');
34
+ copyDir(TEMPLATE_DIR, targetSrcDir);
35
+
36
+ // Copy prisma directory
37
+ console.log('🗄️ Copying database schema...');
38
+ const prismaDir = path.join(ROOT_DIR, 'prisma');
39
+ const targetPrismaDir = path.join(projectName, 'prisma');
40
+ if (fs.existsSync(prismaDir)) {
41
+ copyDir(prismaDir, targetPrismaDir);
42
+ }
34
43
 
35
44
  // Copy template config files
36
45
  console.log('📝 Copying configuration files...');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-arktos",
3
- "version": "1.0.0",
3
+ "version": "1.2.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": {