@basicbenframework/create 0.1.0 → 0.1.5
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
|
@@ -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.5",
|
|
4
4
|
"description": "Create a new BasicBen application",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"license": "MIT",
|
|
23
23
|
"repository": {
|
|
24
24
|
"type": "git",
|
|
25
|
-
"url": "https://github.com/BasicBenFramework/
|
|
25
|
+
"url": "https://github.com/BasicBenFramework/core"
|
|
26
26
|
},
|
|
27
27
|
"engines": {
|
|
28
28
|
"node": ">=24.14.0"
|
package/template/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# My BasicBen App
|
|
2
2
|
|
|
3
|
-
Built with [BasicBen](https://github.com/BasicBenFramework/
|
|
3
|
+
Built with [BasicBen](https://github.com/BasicBenFramework/core) — a full-stack React framework with zero runtime dependencies.
|
|
4
4
|
|
|
5
5
|
## Getting Started
|
|
6
6
|
|
|
@@ -56,4 +56,4 @@ Edit `basicben.config.js` to customize server settings, CORS, database, and more
|
|
|
56
56
|
|
|
57
57
|
## Documentation
|
|
58
58
|
|
|
59
|
-
Full documentation: [github.com/BasicBenFramework/
|
|
59
|
+
Full documentation: [github.com/BasicBenFramework/core](https://github.com/BasicBenFramework/core)
|
|
@@ -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/
|
|
@@ -107,7 +107,7 @@ export function GettingStarted() {
|
|
|
107
107
|
<h2 className="text-lg font-semibold mb-4">Resources</h2>
|
|
108
108
|
<div className="flex flex-wrap gap-3">
|
|
109
109
|
<a
|
|
110
|
-
href="https://github.com/BasicBenFramework/
|
|
110
|
+
href="https://github.com/BasicBenFramework/core"
|
|
111
111
|
target="_blank"
|
|
112
112
|
rel="noopener noreferrer"
|
|
113
113
|
className={`inline-flex items-center gap-2 px-4 py-2 rounded-lg ${t.btnSecondary} transition text-sm`}
|
|
@@ -85,7 +85,7 @@ export function Home() {
|
|
|
85
85
|
</div>
|
|
86
86
|
<div className="flex gap-3">
|
|
87
87
|
<Button onClick={() => navigate('/docs')}>Get Started</Button>
|
|
88
|
-
<Button variant="secondary" onClick={() => window.open('https://github.com/BasicBenFramework/
|
|
88
|
+
<Button variant="secondary" onClick={() => window.open('https://github.com/BasicBenFramework/core', '_blank')}>
|
|
89
89
|
GitHub
|
|
90
90
|
</Button>
|
|
91
91
|
</div>
|