free-framework 4.5.0 → 4.5.2

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/bin/free.js CHANGED
@@ -161,11 +161,4 @@ program
161
161
  require("../cli/commands/bench")(options);
162
162
  });
163
163
 
164
- program
165
- .command("update")
166
- .description("Update Free Framework to the latest version")
167
- .action(() => {
168
- require("../cli/commands/update")();
169
- });
170
-
171
164
  program.parse(process.argv);
@@ -48,7 +48,13 @@ module.exports = function (name) {
48
48
  });
49
49
 
50
50
  // Wrap up
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`);
53
-
54
- };
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
+ }
60
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "free-framework",
3
- "version": "4.5.0",
3
+ "version": "4.5.2",
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": {