create-prod-backend 1.4.7 → 1.4.8

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/package.json +1 -1
  2. package/src/index.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-prod-backend",
3
- "version": "1.4.7",
3
+ "version": "1.4.8",
4
4
  "description": "A cli tool to generate a production-ready backend boilerplate with Express.js, MongoDB, and essential features.",
5
5
  "main": "index.js",
6
6
  "bin": {
package/src/index.js CHANGED
@@ -27,7 +27,7 @@ export default async function runCLI() {
27
27
  await createProject(answer);
28
28
 
29
29
  console.log(chalk.green(`\n${chalk.bold(answer.projectName)} project created successfully!\n`));
30
- console.log(chalk.yellow("You can change Docker file according to your need"));
30
+ if(answer.useDocker) console.log(chalk.yellow("You can change Docker file according to your need"));
31
31
  console.log(chalk.yellow("Happy coding! :)"));
32
32
  } catch (error) {
33
33
  console.error(chalk.red(("Error:", error.message)));