@seip/blue-bird 0.2.2 → 0.2.4

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 CHANGED
@@ -10,17 +10,16 @@
10
10
 
11
11
  ## 🌟 Introduction / Introducción
12
12
 
13
- **Blue Bird** is a powerful, opinionated structure based on **Express** and **React**. It's designed to help developers build fast, scalable applications with hydrated components (Islands or Full views) and everything pre-configured.
13
+ **Blue Bird** is a powerful, opinionated structure based on **Express** and **React**. It's designed to help developers build fast, scalable applications,apis and everything pre-configured.
14
14
 
15
- **Blue Bird** es una estructura potente basada en **Express** y **React**. Está diseñada para ayudar a los desarrolladores a construir aplicaciones rápidas y escalables con componentes hidratados (Islas o vistas completas) y todo pre-configurado.
15
+ **Blue Bird** es una estructura potente basada en **Express** y **React**. Está diseñada para ayudar a los desarrolladores a construir aplicaciones rápidas ,apis escalables y todo pre-configurado.
16
16
 
17
17
 
18
18
 
19
19
  ## 🚀 Key Features / Características Clave
20
20
 
21
21
  - ⚡ **All-In-One**: Express, React, Vite, JWT Auth, and Validations ready to go.
22
- - 💎 **Flexible**: Extensible via standard Express `.use()` middleware.
23
- - 🏝️ **Island Architecture**: Hydrate only what you need with React.
22
+ - 💎 **Flexible**: Extensible via standard Express `.use()` middleware.
24
23
  - 🔐 **Secure**: Integrated JWT authentication and multi-language validation.
25
24
  - 📁 **Uploads**: Easy file handling with Multer-based helpers.
26
25
 
package/core/cli/init.js CHANGED
@@ -67,7 +67,8 @@ class ProjectInit {
67
67
  "start": "node --env-file=.env backend/index.js",
68
68
  "react": "blue-bird react",
69
69
  "init": "blue-bird",
70
- "route":"blue-bird route"
70
+ "route": "blue-bird route",
71
+ "component": "blue-bird component"
71
72
  };
72
73
 
73
74
  let updated = false;
@@ -107,11 +108,9 @@ const initializer = new ProjectInit();
107
108
  const args = process.argv.slice(2);
108
109
  const command = args[0];
109
110
 
110
- if (command === "react") {
111
- // Dynamically import ReactScaffold to avoid circular dependencies if any,
112
- // or just run it if it's separate.
113
- import("./react.js");
114
- } else {
115
- initializer.run();
116
- }
111
+ if (command === "react") import("./react.js");
112
+ else if (command === "route") import("./route.js")
113
+ else if (command === "component") import("./route.js")
114
+ else initializer.run();
115
+
117
116
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seip/blue-bird",
3
- "version": "0.2.2",
3
+ "version": "0.2.4",
4
4
  "description": "Express + React opinionated framework with SPA or API architecture and built-in JWT auth",
5
5
  "type": "module",
6
6
  "bin": {
@@ -28,7 +28,8 @@
28
28
  "create-react-app": "node core/cli/react.js",
29
29
  "react": "node core/cli/react.js",
30
30
  "init": "node core/cli/init.js",
31
- "route": "node core/cli/route.js"
31
+ "route": "node core/cli/route.js",
32
+ "component": "node core/cli/component.js"
32
33
  },
33
34
  "dependencies": {
34
35
  "chalk": "^5.6.2",