neex 0.7.7 → 0.7.8

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
@@ -7,7 +7,7 @@
7
7
  </picture>
8
8
  </a>
9
9
 
10
- # Neex v0.7.7
10
+ # Neex v0.7.8
11
11
 
12
12
  ### Neex - Modern Fullstack Framework Built on Express and Next.js. Fast to Start, Easy to Build, Ready to Deploy.
13
13
 
@@ -3,29 +3,18 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.runInit = void 0;
4
4
  // src/commands/init-commands.ts
5
5
  const child_process_1 = require("child_process");
6
- const os_1 = require("os");
7
6
  function runInit(args) {
8
- // Handle cross-platform npx command
9
- const isWindows = (0, os_1.platform)() === 'win32';
10
- const command = isWindows ? 'npx.cmd' : 'npx';
11
- console.log('Initializing new project...');
12
- const child = (0, child_process_1.spawn)(command, ['create-neex', ...args], {
7
+ // No extra logs, just run the command.
8
+ const child = (0, child_process_1.spawn)('npx', ['create-neex', ...args], {
13
9
  stdio: 'inherit',
14
- shell: isWindows,
15
- env: process.env
10
+ shell: true
16
11
  });
17
12
  child.on('close', (code) => {
18
- if (code === 0) {
19
- console.log('Project initialized successfully!');
20
- }
21
- else {
22
- console.error(`Process exited with code ${code}`);
23
- }
13
+ // The process exit code will be inherited from the child process.
24
14
  process.exit(code !== null && code !== void 0 ? code : 1);
25
15
  });
26
16
  child.on('error', (err) => {
27
- console.error('Failed to start npx create-neex:', err.message);
28
- console.error('Make sure npm/npx is installed and accessible');
17
+ console.error('Failed to start npx create-neex:', err);
29
18
  process.exit(1);
30
19
  });
31
20
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "neex",
3
- "version": "0.7.7",
3
+ "version": "0.7.8",
4
4
  "description": "The Modern Build System for Polyrepo-in-Monorepo Architecture",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/src/index.d.ts",