@dbcube/cli 5.0.3 → 5.0.4
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/bun.lock +3 -3
- package/package.json +2 -2
- package/src/commands/help.js +1 -1
- package/src/commands/run/database/create/addDatabaseConfig.js +3 -3
- package/src/commands/run/database/create/createDatabase.js +4 -4
- package/src/commands/run/database/create/index.js +3 -3
- package/src/commands/run/seeder/add.js +1 -1
- package/src/commands/run/table/fresh.js +1 -1
- package/src/commands/run/table/refresh.js +1 -1
- package/src/commands/run/trigger/fresh.js +1 -1
- package/src/commands/update.js +2 -2
- package/src/commands/version.js +1 -1
- package/src/lib/ProgressIndicator.js +2 -2
package/bun.lock
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"": {
|
|
5
5
|
"name": "@dbcube/cli",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@dbcube/schema-builder": "^5.0.
|
|
7
|
+
"@dbcube/schema-builder": "^5.0.5",
|
|
8
8
|
"@inquirer/prompts": "^8.2.0",
|
|
9
9
|
"alwait": "^1.0.0",
|
|
10
10
|
"chalk": "4.1.2",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"ora": "5.4.1",
|
|
22
22
|
},
|
|
23
23
|
"packages": {
|
|
24
|
-
"@dbcube/core": ["@dbcube/core@5.0.
|
|
24
|
+
"@dbcube/core": ["@dbcube/core@5.0.5", "", { "dependencies": { "chalk": "4.1.2", "deasync": "^0.1.31", "follow-redirects": "^1.15.11", "ora": "5.4.1", "unzipper": "^0.12.3" }, "bin": { "dbcube-core": "dist/bin.cjs" } }, "sha512-uwj1yyL8MxMPEOB5JlefqSZk4DO8wtQQqGHwDBt60mTPD/QJ4O1dm8vFtyKn6uNy2n7hk7OlioHdNL62Ma/ZUw=="],
|
|
25
25
|
|
|
26
|
-
"@dbcube/schema-builder": ["@dbcube/schema-builder@5.0.
|
|
26
|
+
"@dbcube/schema-builder": ["@dbcube/schema-builder@5.0.5", "", { "dependencies": { "@dbcube/core": "^5.0.5", "chalk": "^5.6.2", "ora": "^9.1.0" } }, "sha512-69SAnqzVIQCBjuwUW/kZGw57SHgtuEDiuO9xARlUcjoy2H5hl1Me2L7i8DFKEN4eH6vyykLN3op8pMSXjkSXIg=="],
|
|
27
27
|
|
|
28
28
|
"@inquirer/ansi": ["@inquirer/ansi@2.0.3", "", {}, "sha512-g44zhR3NIKVs0zUesa4iMzExmZpLUdTLRMCStqX3GE5NT6VkPcxQGJ+uC8tDgBUC/vB1rUhUd55cOf++4NZcmw=="],
|
|
29
29
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dbcube/cli",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.4",
|
|
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": "^5.0.
|
|
16
|
+
"@dbcube/schema-builder": "^5.0.5",
|
|
17
17
|
"@inquirer/prompts": "^8.2.0",
|
|
18
18
|
"alwait": "^1.0.0",
|
|
19
19
|
"chalk": "4.1.2",
|
package/src/commands/help.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
const
|
|
2
|
-
const
|
|
1
|
+
const chalk = require('chalk');
|
|
2
|
+
const alwait = require('alwait');
|
|
3
3
|
const ConfigFileUtils = require('../../../../utils/ConfigFileUtils');
|
|
4
4
|
const path = require('path');
|
|
5
5
|
|
|
6
6
|
// Importar las funciones de @inquirer/prompts
|
|
7
7
|
const { select, input, password, confirm, Separator } = require('@inquirer/prompts');
|
|
8
|
-
const
|
|
8
|
+
const ora = require('ora');
|
|
9
9
|
const Config = require('../../../../utils/Config');
|
|
10
10
|
|
|
11
11
|
// Obtener los argumentos pasados al comando
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
const
|
|
1
|
+
const chalk = require('chalk');
|
|
2
|
+
const alwait = require('alwait');
|
|
3
|
+
const ora = require('ora');
|
|
4
|
+
const Schema = require('@dbcube/schema-builder');
|
|
5
5
|
|
|
6
6
|
// Obtener los argumentos pasados al comando
|
|
7
7
|
const args = process.argv.slice(2);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const
|
|
2
|
-
const
|
|
1
|
+
const chalk = require('chalk');
|
|
2
|
+
const alwait = require('alwait');
|
|
3
3
|
const ConfigFileUtils = require('../../../../utils/ConfigFileUtils');
|
|
4
4
|
const { select, input } = require('@inquirer/prompts');
|
|
5
|
-
const
|
|
5
|
+
const ora = require('ora');
|
|
6
6
|
const { execSync } = require('child_process');
|
|
7
7
|
const path = require('path');
|
|
8
8
|
|
package/src/commands/update.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const
|
|
3
|
-
const
|
|
2
|
+
const chalk = require('chalk');
|
|
3
|
+
const ora = require('ora');
|
|
4
4
|
const path = require('path');
|
|
5
5
|
const fs = require('fs');
|
|
6
6
|
const https = require('https');
|
package/src/commands/version.js
CHANGED