@basicbenframework/create 0.1.4 → 0.1.6
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 +3 -1
- package/package.json +2 -2
- package/template/gitignore +31 -0
package/index.js
CHANGED
|
@@ -176,7 +176,9 @@ function copyDir(src, dest) {
|
|
|
176
176
|
|
|
177
177
|
for (const entry of entries) {
|
|
178
178
|
const srcPath = join(src, entry.name)
|
|
179
|
-
|
|
179
|
+
// Rename gitignore to .gitignore (npm strips dotfiles during publish)
|
|
180
|
+
const destName = entry.name === 'gitignore' ? '.gitignore' : entry.name
|
|
181
|
+
const destPath = join(dest, destName)
|
|
180
182
|
|
|
181
183
|
if (entry.isDirectory()) {
|
|
182
184
|
copyDir(srcPath, destPath)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@basicbenframework/create",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"description": "Create a new BasicBen application",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -25,6 +25,6 @@
|
|
|
25
25
|
"url": "https://github.com/BasicBenFramework/core"
|
|
26
26
|
},
|
|
27
27
|
"engines": {
|
|
28
|
-
"node": ">=
|
|
28
|
+
"node": ">=25.8.1"
|
|
29
29
|
}
|
|
30
30
|
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# Dependencies
|
|
2
|
+
node_modules/
|
|
3
|
+
|
|
4
|
+
# Build output
|
|
5
|
+
dist/
|
|
6
|
+
|
|
7
|
+
# Environment
|
|
8
|
+
.env
|
|
9
|
+
.env.local
|
|
10
|
+
.env.*.local
|
|
11
|
+
|
|
12
|
+
# Database
|
|
13
|
+
*.db
|
|
14
|
+
*.sqlite
|
|
15
|
+
|
|
16
|
+
# IDE
|
|
17
|
+
.idea/
|
|
18
|
+
.vscode/
|
|
19
|
+
*.swp
|
|
20
|
+
*.swo
|
|
21
|
+
|
|
22
|
+
# OS
|
|
23
|
+
.DS_Store
|
|
24
|
+
Thumbs.db
|
|
25
|
+
|
|
26
|
+
# Logs
|
|
27
|
+
*.log
|
|
28
|
+
npm-debug.log*
|
|
29
|
+
|
|
30
|
+
# Test coverage
|
|
31
|
+
coverage/
|