@kuldi/create-nestjs 1.1.8 → 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.
- package/README.md +4 -1
- package/package.json +1 -1
- package/src/cli.js +1 -1
- package/template/README.md +2 -2
- package/template/prisma.config.ts +3 -0
package/README.md
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
<h1>🚀 @kuldi/create-nestjs</h1>
|
|
3
|
+
<p>
|
|
4
|
+
<a href="https://www.npmjs.com/package/@kuldi/create-nestjs"><img src="https://img.shields.io/npm/v/@kuldi/create-nestjs.svg?style=flat-square" alt="NPM Version" /></a>
|
|
5
|
+
</p>
|
|
3
6
|
<p>The official, interactive, and lightning-fast scaffolding tool for <b>Kuli Digital's NestJS Boilerplate</b>.</p>
|
|
4
7
|
</div>
|
|
5
8
|
|
|
@@ -23,7 +26,7 @@ npm create @kuldi/nestjs@latest my-app
|
|
|
23
26
|
Or, to create the project in your **current directory**:
|
|
24
27
|
|
|
25
28
|
```bash
|
|
26
|
-
npm create @kuldi/nestjs .
|
|
29
|
+
npm create @kuldi/nestjs@latest .
|
|
27
30
|
```
|
|
28
31
|
|
|
29
32
|
### Note on Global Installations (Optional)
|
package/package.json
CHANGED
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(`
|
|
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
|
}
|
package/template/README.md
CHANGED
|
@@ -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
|
-
|
|
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 `
|
|
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`
|