4bnode 4.0.6 → 4.0.7

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/index.js CHANGED
@@ -97,6 +97,14 @@ async function createSkeletonApp(projectName) {
97
97
  }
98
98
  copyRecursiveSync(skeletonPath, targetPath);
99
99
  updatePackageName(targetPath, projectName);
100
+
101
+ // npm strips .gitignore from published packages — stored as _gitignore and renamed here.
102
+ const gitignoreSrc = path.join(targetPath, "_gitignore");
103
+ const gitignoreDest = path.join(targetPath, ".gitignore");
104
+ if (fs.existsSync(gitignoreSrc)) {
105
+ fs.renameSync(gitignoreSrc, gitignoreDest);
106
+ }
107
+
100
108
  scaffoldSpinner.succeed(chalk.hex("#00f260").bold("Project scaffolded"));
101
109
 
102
110
  // Ask for dashboard passkey
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "4bnode",
3
- "version": "4.0.6",
3
+ "version": "4.0.7",
4
4
  "description": "4bnode is a CLI-powered backend development platform with a built-in visual dashboard to generate, manage, and test Node.js/Express APIs faster.",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -0,0 +1,19 @@
1
+ # Dependencies
2
+ node_modules/
3
+
4
+ # Build output
5
+ dist/
6
+ build/
7
+ .next/
8
+
9
+ # Logs
10
+ *.log
11
+ npm-debug.log*
12
+ yarn-debug.log*
13
+ yarn-error.log*
14
+
15
+ # Editor / OS
16
+ .DS_Store
17
+ .vscode/
18
+ .idea/
19
+ *.swp