zerostart-cli 0.0.41 → 0.0.42
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/out/cli.js +4 -3
- package/package.json +2 -1
package/out/cli.js
CHANGED
|
@@ -50,6 +50,7 @@ const GitHubServiceCLI_1 = require("./services/GitHubServiceCLI");
|
|
|
50
50
|
const VercelManager_1 = require("./managers/VercelManager");
|
|
51
51
|
const NetlifyManager_1 = require("./managers/NetlifyManager");
|
|
52
52
|
const child_process_1 = require("child_process");
|
|
53
|
+
const open_1 = __importDefault(require("open"));
|
|
53
54
|
const program = new commander_1.Command();
|
|
54
55
|
// Basic ASCII banner
|
|
55
56
|
function showBanner() {
|
|
@@ -61,9 +62,9 @@ function showBanner() {
|
|
|
61
62
|
console.log(chalk_1.default.cyan('------------------------------------------------------------'));
|
|
62
63
|
console.log();
|
|
63
64
|
}
|
|
64
|
-
function openUrl(url) {
|
|
65
|
-
|
|
66
|
-
(0,
|
|
65
|
+
async function openUrl(url) {
|
|
66
|
+
console.log(chalk_1.default.cyan('🌐 Opening GitHub in your browser...'));
|
|
67
|
+
await (0, open_1.default)(url);
|
|
67
68
|
}
|
|
68
69
|
function showGitHubTokenHelp() {
|
|
69
70
|
const tokenUrl = 'https://github.com/settings/tokens/new?scopes=repo&description=ZeroStart%20CLI%20Token';
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"zerostart": "./out/cli.js"
|
|
6
6
|
},
|
|
7
7
|
"description": "Create and deploy a complete project with one command.",
|
|
8
|
-
"version": "0.0.
|
|
8
|
+
"version": "0.0.42",
|
|
9
9
|
"engines": {
|
|
10
10
|
"vscode": "^1.85.0"
|
|
11
11
|
},
|
|
@@ -43,6 +43,7 @@
|
|
|
43
43
|
"chalk": "^4.1.2",
|
|
44
44
|
"commander": "^14.0.3",
|
|
45
45
|
"inquirer": "^9.3.8",
|
|
46
|
+
"open": "^8.4.2",
|
|
46
47
|
"ora": "^5.4.1"
|
|
47
48
|
}
|
|
48
49
|
}
|