create-fluxstack 1.0.8 ā 1.0.10
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/README.md +3 -2
- package/create-fluxstack.ts +5 -5
- package/package-template.json +1 -2
- package/package.json +6 -2
package/README.md
CHANGED
|
@@ -189,8 +189,7 @@ docker run -p 3000:3000 my-app
|
|
|
189
189
|
|
|
190
190
|
## š§ Requirements
|
|
191
191
|
|
|
192
|
-
- **Bun** >= 1.
|
|
193
|
-
- **Node.js** >= 18.0.0 (fallback)
|
|
192
|
+
- **Bun** >= 1.2.0 (required)
|
|
194
193
|
|
|
195
194
|
### Install Bun
|
|
196
195
|
```bash
|
|
@@ -201,6 +200,8 @@ curl -fsSL https://bun.sh/install | bash
|
|
|
201
200
|
powershell -c "irm bun.sh/install.ps1|iex"
|
|
202
201
|
```
|
|
203
202
|
|
|
203
|
+
> **Note**: FluxStack is built specifically for Bun runtime. Node.js is not supported.
|
|
204
|
+
|
|
204
205
|
## šØ Customization
|
|
205
206
|
|
|
206
207
|
### Adding API Routes
|
package/create-fluxstack.ts
CHANGED
|
@@ -43,7 +43,7 @@ program
|
|
|
43
43
|
process.exit(1)
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
console.log(chalk.cyan(
|
|
46
|
+
console.log(chalk.cyan(`\nš Creating FluxStack project: ${chalk.bold(projectName)}`))
|
|
47
47
|
console.log(chalk.gray(`š Location: ${projectPath}`))
|
|
48
48
|
|
|
49
49
|
// Create project directory
|
|
@@ -230,15 +230,15 @@ Built with ā¤ļø using FluxStack
|
|
|
230
230
|
}
|
|
231
231
|
|
|
232
232
|
// Success message
|
|
233
|
-
console.log(chalk.green('
|
|
234
|
-
console.log(chalk.cyan('
|
|
233
|
+
console.log(chalk.green('\nš Project created successfully!'))
|
|
234
|
+
console.log(chalk.cyan('\nNext steps:'))
|
|
235
235
|
console.log(chalk.white(` cd ${projectName}`))
|
|
236
236
|
if (!options.install) {
|
|
237
237
|
console.log(chalk.white(` bun install`))
|
|
238
238
|
}
|
|
239
239
|
console.log(chalk.white(` bun run dev`))
|
|
240
|
-
console.log(chalk.magenta('
|
|
241
|
-
console.log(chalk.gray('
|
|
240
|
+
console.log(chalk.magenta('\nHappy coding with the divine Bun runtime! ā”š„'))
|
|
241
|
+
console.log(chalk.gray('\nVisit http://localhost:3000 when ready!'))
|
|
242
242
|
|
|
243
243
|
} catch (error) {
|
|
244
244
|
spinner.fail('ā Failed to create project')
|
package/package-template.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-fluxstack",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.10",
|
|
4
4
|
"description": "ā” Modern full-stack TypeScript framework with Elysia + React + Bun",
|
|
5
5
|
"keywords": ["framework", "full-stack", "typescript", "elysia", "react", "bun", "vite"],
|
|
6
6
|
"author": "FluxStack Team",
|
|
@@ -81,5 +81,9 @@
|
|
|
81
81
|
"react": "^19.1.0",
|
|
82
82
|
"react-dom": "^19.1.0",
|
|
83
83
|
"vite": "^7.0.4"
|
|
84
|
-
}
|
|
84
|
+
},
|
|
85
|
+
"engines": {
|
|
86
|
+
"bun": ">=1.2.0"
|
|
87
|
+
},
|
|
88
|
+
"preferredPackageManager": "bun"
|
|
85
89
|
}
|