@kuldi/create-nestjs 1.1.8 → 1.1.9

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kuldi/create-nestjs",
3
- "version": "1.1.8",
3
+ "version": "1.1.9",
4
4
  "type": "module",
5
5
  "description": "Scaffolding tool for Kuli Digital NestJS Boilerplate",
6
6
  "main": "src/cli.js",
package/src/cli.js CHANGED
@@ -183,7 +183,7 @@ async function run() {
183
183
  }
184
184
 
185
185
  console.log(chalk.cyan(` npx prisma migrate dev`));
186
- console.log(chalk.cyan(` npx prisma db seed`));
186
+ console.log(chalk.cyan(` npm run prisma:seed`));
187
187
  console.log(chalk.cyan(` npm run start:dev\n`));
188
188
  console.log(chalk.gray(`Happy Coding! - Kuli Digital\n`));
189
189
  }
@@ -47,7 +47,7 @@ npx prisma generate
47
47
  npx prisma migrate dev
48
48
 
49
49
  # Seed the database with default roles and users
50
- npx prisma db seed
50
+ npm run prisma:seed
51
51
  ```
52
52
 
53
53
  ## 💻 Running the Application
@@ -97,7 +97,7 @@ Once the application is running, you can access the Swagger UI documentation at:
97
97
 
98
98
  ## 👥 Default Seeded Users
99
99
 
100
- If you ran `npx prisma db seed`, you can log in with the following default credentials:
100
+ If you ran `npm run prisma:seed`, you can log in with the following default credentials:
101
101
 
102
102
  **👑 Admin User:**
103
103
  - Email: `admin@kulidigital.com`
@@ -5,4 +5,7 @@ export default defineConfig({
5
5
  datasource: {
6
6
  url: env('DATABASE_URL'),
7
7
  },
8
+ migrations: {
9
+ seed: 'ts-node prisma/seeder/index.ts',
10
+ },
8
11
  });