@dbcube/cli 1.2.1 → 3.0.1

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/index.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dbcube/cli",
3
- "version": "1.2.1",
3
+ "version": "3.0.1",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "dbcube": "node src/index.js"
@@ -13,7 +13,7 @@
13
13
  "license": "ISC",
14
14
  "description": "",
15
15
  "dependencies": {
16
- "@dbcube/schema-builder": "^1.1.1",
16
+ "@dbcube/schema-builder": "^3.0.1",
17
17
  "@inquirer/prompts": "^7.8.6",
18
18
  "alwait": "^1.0.0",
19
19
  "chalk": "^5.6.2",
package/src/index.js CHANGED
@@ -72,7 +72,7 @@ async function executeCommand(command, commandArgs) {
72
72
  }
73
73
  } else {
74
74
  // Comando desconocido - mostrar help
75
- const { default: chalk } = await import('chalk');
75
+ const chalk = require('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);