@zibby/cli 0.1.8 → 0.1.10
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zibby/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.10",
|
|
4
4
|
"description": "Zibby CLI - Test automation generator and runner",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"chalk": "^5.3.0",
|
|
38
38
|
"commander": "^12.0.0",
|
|
39
39
|
"dotenv": "^17.2.3",
|
|
40
|
-
"glob": "^
|
|
40
|
+
"glob": "^13.0.0",
|
|
41
41
|
"handlebars": "^4.7.8",
|
|
42
42
|
"inquirer": "^13.3.0",
|
|
43
43
|
"open": "^10.2.0",
|
package/src/auth/cli-login.js
CHANGED
|
@@ -272,7 +272,6 @@ export async function showLoginStatus(options = {}) {
|
|
|
272
272
|
// Verify token
|
|
273
273
|
if (token) {
|
|
274
274
|
try {
|
|
275
|
-
const fetch = (await import('node-fetch')).default;
|
|
276
275
|
const response = await fetch(`${apiUrl}/projects`, {
|
|
277
276
|
headers: { 'Authorization': `Bearer ${token}` }
|
|
278
277
|
});
|
|
@@ -343,7 +342,6 @@ export async function showLoginStatus(options = {}) {
|
|
|
343
342
|
if (token) {
|
|
344
343
|
try {
|
|
345
344
|
const oraSpinner = (await import('ora')).default;
|
|
346
|
-
const fetch = (await import('node-fetch')).default;
|
|
347
345
|
|
|
348
346
|
const spinner = oraSpinner('Verifying authentication...').start();
|
|
349
347
|
|
package/src/commands/upload.js
CHANGED
|
@@ -4,7 +4,6 @@ import { glob } from 'glob';
|
|
|
4
4
|
import chalk from 'chalk';
|
|
5
5
|
import ora from 'ora';
|
|
6
6
|
import dotenv from 'dotenv';
|
|
7
|
-
import fetch from 'node-fetch';
|
|
8
7
|
import { getApiUrl, getCurrentEnvironment, getFrontendUrl } from '../config/environments.js';
|
|
9
8
|
import { getSessionToken, getUserInfo } from '../config/config.js';
|
|
10
9
|
|
package/src/commands/workflow.js
CHANGED
|
@@ -3,7 +3,6 @@ import { resolve, join } from 'path';
|
|
|
3
3
|
import chalk from 'chalk';
|
|
4
4
|
import ora from 'ora';
|
|
5
5
|
import dotenv from 'dotenv';
|
|
6
|
-
import fetch from 'node-fetch';
|
|
7
6
|
import { getApiUrl, getCurrentEnvironment } from '../config/environments.js';
|
|
8
7
|
import { validateGraphConfig } from '@zibby/core/framework/graph-compiler.js';
|
|
9
8
|
import { generateWorkflowCode, generateNodeConfigsJson } from '@zibby/core/framework/code-generator.js';
|