@dbcube/cli 1.1.50 → 1.1.52
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 +5 -5
- package/pnpm-workspace.yaml +3 -3
- package/src/index.js +2 -2
- package/dbcube.config.js +0 -15
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dbcube/cli",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.52",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dbcube": "node src/index.js"
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
"license": "ISC",
|
|
14
14
|
"description": "",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@dbcube/schema-builder": "^1.0.
|
|
17
|
-
"@inquirer/prompts": "^7.8.
|
|
16
|
+
"@dbcube/schema-builder": "^1.0.65",
|
|
17
|
+
"@inquirer/prompts": "^7.8.6",
|
|
18
18
|
"alwait": "^1.0.0",
|
|
19
19
|
"chalk": "^5.6.2",
|
|
20
20
|
"dotenv": "^17.2.2",
|
|
21
|
-
"fs-extra": "^11.3.
|
|
21
|
+
"fs-extra": "^11.3.2",
|
|
22
22
|
"glob": "^11.0.3",
|
|
23
|
-
"ora": "^
|
|
23
|
+
"ora": "^9.0.0"
|
|
24
24
|
}
|
|
25
25
|
}
|
package/pnpm-workspace.yaml
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
onlyBuiltDependencies:
|
|
2
|
-
- '@dbcube/core'
|
|
3
|
-
- better-sqlite3
|
|
1
|
+
onlyBuiltDependencies:
|
|
2
|
+
- '@dbcube/core'
|
|
3
|
+
- better-sqlite3
|
package/src/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
1
|
+
#!/usr/bin/env node
|
|
2
2
|
const path = require('path');
|
|
3
3
|
|
|
4
4
|
// Obtener los argumentos pasados al comando
|
|
@@ -72,7 +72,7 @@ async function executeCommand(command, commandArgs) {
|
|
|
72
72
|
}
|
|
73
73
|
} else {
|
|
74
74
|
// Comando desconocido - mostrar help
|
|
75
|
-
const chalk =
|
|
75
|
+
const { default: chalk } = await import('chalk');
|
|
76
76
|
console.log(`\n${chalk.red('❌ Unknown command:')} ${command} ${commandArgs.join(' ')}\n`);
|
|
77
77
|
console.log(`${chalk.cyan('Run')} ${chalk.yellow('npx dbcube help')} ${chalk.cyan('to see all available commands.')}\n`);
|
|
78
78
|
process.exit(1);
|
package/dbcube.config.js
DELETED