free-framework 4.6.2 → 4.6.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.
@@ -48,13 +48,6 @@ module.exports = function (name) {
48
48
  });
49
49
 
50
50
  // Wrap up
51
- console.log("\nšŸ“¦ Installing dependencies... (This may take a minute)");
52
- try {
53
- execSync("npm install", { cwd: targetDir, stdio: "inherit" });
54
- console.log("\nāœ… Enterprise Project Scaffolded Successfully!");
55
- console.log(`\nTo get started, run:\n cd ${name}\n free serve\n`);
56
- } catch (err) {
57
- console.log("\nāš ļø Scaffolding complete, but npm install failed. Please run 'npm install' manually.");
58
- console.log(`\nTo get started, run:\n cd ${name}\n npm install\n free serve\n`);
59
- }
51
+ console.log("\nāœ… Enterprise Project Scaffolded Successfully!");
52
+ console.log(`\nTo get started, run:\n cd ${name}\n npm install\n free serve\n`);
60
53
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "free-framework",
3
- "version": "4.6.2",
3
+ "version": "4.6.4",
4
4
  "description": "Professional Node.js engine for the .free language. Blazing-fast SSR, Islands Architecture, and built-in ORM.",
5
5
  "main": "index.js",
6
6
  "bin": {
package/runtime/server.js CHANGED
@@ -15,6 +15,7 @@ const { LRUCache } = require('lru-cache');
15
15
 
16
16
  class FreeServer {
17
17
  constructor() {
18
+ console.log(`[Free Engine] āš™ļø Runtime Core v4.6.3 initializing...`);
18
19
  this.app = new HyperExpress.Server();
19
20
  this.viewsPath = process.env.VIEWS_PATH || nodePath.join(process.cwd(), 'views');
20
21
  this.namedMiddlewares = {};
@@ -179,7 +180,7 @@ class FreeServer {
179
180
 
180
181
  start(port = 3000) {
181
182
  this.app.get('/health', (req, res) => res.send('OK'));
182
- this.app.listen(port).then(() => {
183
+ this.app.listen(port, '0.0.0.0').then(() => {
183
184
  const blueUnderline = "\x1b[34m\x1b[4m";
184
185
  const reset = "\x1b[0m";
185
186
  console.log(`⚔ Free Engine Ignite: ${blueUnderline}http://localhost:${port}${reset}`);