@_xtribe/cli 1.0.12 → 1.0.14
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/index.js +20 -0
- package/package.json +3 -1
package/index.js
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Default entry point for npx @_xtribe/cli
|
|
5
|
+
* This runs the full installation process
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
// Execute the installer in a way that preserves require.main
|
|
9
|
+
const { spawn } = require('child_process');
|
|
10
|
+
const path = require('path');
|
|
11
|
+
|
|
12
|
+
const installerPath = path.join(__dirname, 'install-tribe.js');
|
|
13
|
+
const child = spawn(process.execPath, [installerPath, ...process.argv.slice(2)], {
|
|
14
|
+
stdio: 'inherit',
|
|
15
|
+
env: process.env
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
child.on('exit', (code) => {
|
|
19
|
+
process.exit(code || 0);
|
|
20
|
+
});
|
package/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@_xtribe/cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.14",
|
|
4
4
|
"description": "TRIBE multi-agent development system - Zero to productive with one command",
|
|
5
5
|
"main": "install-tribe.js",
|
|
6
6
|
"bin": {
|
|
7
|
+
"cli": "./index.js",
|
|
7
8
|
"install-tribe": "./install-tribe.js",
|
|
8
9
|
"setup-path": "./setup-path.js"
|
|
9
10
|
},
|
|
@@ -35,6 +36,7 @@
|
|
|
35
36
|
"registry": "https://registry.npmjs.org/"
|
|
36
37
|
},
|
|
37
38
|
"files": [
|
|
39
|
+
"index.js",
|
|
38
40
|
"install-tribe.js",
|
|
39
41
|
"setup-path.js",
|
|
40
42
|
"README.md",
|