@itayzrihan/create-box-app 1.0.1 → 1.0.2
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/bin/create-box-app.js +3 -1
- package/package.json +1 -1
- package/template/_gitignore +27 -0
package/bin/create-box-app.js
CHANGED
|
@@ -69,7 +69,9 @@ function copyDir(src, dest) {
|
|
|
69
69
|
|
|
70
70
|
files.forEach(file => {
|
|
71
71
|
const srcPath = path.join(src, file);
|
|
72
|
-
|
|
72
|
+
// Rename _gitignore back to .gitignore (npm ignores .gitignore files)
|
|
73
|
+
const destFile = file === '_gitignore' ? '.gitignore' : file;
|
|
74
|
+
const destPath = path.join(dest, destFile);
|
|
73
75
|
const stat = fs.statSync(srcPath);
|
|
74
76
|
|
|
75
77
|
if (stat.isDirectory()) {
|
package/package.json
CHANGED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Dependencies
|
|
2
|
+
node_modules/
|
|
3
|
+
|
|
4
|
+
# Build output
|
|
5
|
+
dist/
|
|
6
|
+
|
|
7
|
+
# Logs
|
|
8
|
+
*.log
|
|
9
|
+
npm-debug.log*
|
|
10
|
+
|
|
11
|
+
# OS files
|
|
12
|
+
.DS_Store
|
|
13
|
+
Thumbs.db
|
|
14
|
+
|
|
15
|
+
# IDE (keep .vscode for settings)
|
|
16
|
+
.idea/
|
|
17
|
+
*.swp
|
|
18
|
+
*.swo
|
|
19
|
+
|
|
20
|
+
# Environment variables (if you add any)
|
|
21
|
+
.env
|
|
22
|
+
.env.local
|
|
23
|
+
.env.*.local
|
|
24
|
+
|
|
25
|
+
# Debug
|
|
26
|
+
*.pid
|
|
27
|
+
*.seed
|