neatnode 3.0.2 → 3.0.3

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": "neatnode",
3
- "version": "3.0.2",
3
+ "version": "3.0.3",
4
4
  "description": "Plug & Play Node.js backend starter templates — build REST APIs, socket servers, and more in seconds.",
5
5
  "bin": {
6
6
  "neatnode": "./bin/index.js"
@@ -32,8 +32,6 @@ export async function createProject({ projectName, templatePath, includeCrud, cr
32
32
  console.log("🗑️ Removing CRUD files...");
33
33
  removeCrud(targetPath, crudName);
34
34
  removeCrudReferences(path.join(targetPath, "src", "app.js"));
35
- } else {
36
- console.log("✅ Including CRUD functionality...");
37
35
  }
38
36
 
39
37
  console.log(`✅ Project "${projectName}" created successfully!`);
@@ -2,7 +2,7 @@ import fs from "fs";
2
2
  import path from "path";
3
3
 
4
4
  export async function copyTemplate(srcDir, destDir, replacements = {}, ) {
5
- const ignoreList = ["node_modules", ".git", ".env", "package-lock.json"];
5
+ const ignoreList = ["node_modules", ".git", ".env", "package-lock.json", ".npmignore", "logs"];
6
6
 
7
7
  if (!fs.existsSync(destDir)) {
8
8
  fs.mkdirSync(destDir, { recursive: true });