herdux-cli 0.2.0 → 0.2.2

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/README.md CHANGED
@@ -8,9 +8,11 @@
8
8
 
9
9
  A fast, interactive CLI that removes friction from daily local database workflows, especially when juggling multiple instances and large datasets.
10
10
 
11
- ![Version](https://img.shields.io/badge/version-0.1.0-blue.svg)
11
+ ![Version](https://img.shields.io/badge/version-0.2.1-blue.svg)
12
12
  ![License](https://img.shields.io/badge/license-MIT-green.svg)
13
13
  ![Node](https://img.shields.io/badge/node-18%2B-43853d.svg)
14
+ [![GitHub Sponsors](https://img.shields.io/badge/Sponsor-%E2%9D%A4-pink?style=flat&logo=github)](https://github.com/sponsors/eduardozaniboni)
15
+ [![Buy Me A Coffee](https://img.shields.io/badge/Buy_Me_A_Coffee-FFDD00?style=flat&logo=buy-me-a-coffee&logoColor=black)](https://www.buymeacoffee.com/eduardozaniboni)
14
16
 
15
17
  > Optimized for local and development environments. Production use is supported with explicit configuration.
16
18
 
@@ -369,6 +371,15 @@ npm run dev
369
371
 
370
372
  ---
371
373
 
374
+ ## ☕ Support the Project
375
+
376
+ If **Herdux** has saved you hours of debugging and database wrangling, consider supporting the project! It helps keep it active and open-source.
377
+
378
+ <a href="https://github.com/sponsors/eduardozaniboni" target="_blank"><img src="https://img.shields.io/badge/Sponsor-%E2%9D%A4-pink?style=for-the-badge&logo=github" alt="GitHub Sponsors"></a>
379
+ <a href="https://www.buymeacoffee.com/eduardozaniboni" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" style="height: 28px !important;width: 100px !important;" ></a>
380
+
381
+ ---
382
+
372
383
  ## 📄 License
373
384
 
374
385
  MIT
package/README.pt-BR.md CHANGED
@@ -8,9 +8,11 @@
8
8
 
9
9
  Uma CLI rápida e interativa que remove a fricção dos workflows diários com bancos de dados locais, especialmente ao lidar com múltiplas instâncias e grandes datasets.
10
10
 
11
- ![Version](https://img.shields.io/badge/version-0.1.0-blue.svg)
11
+ ![Version](https://img.shields.io/badge/version-0.2.1-blue.svg)
12
12
  ![License](https://img.shields.io/badge/license-MIT-green.svg)
13
13
  ![Node](https://img.shields.io/badge/node-18%2B-43853d.svg)
14
+ [![GitHub Sponsors](https://img.shields.io/badge/Sponsor-%E2%9D%A4-pink?style=flat&logo=github)](https://github.com/sponsors/eduardozaniboni)
15
+ [![Buy Me A Coffee](https://img.shields.io/badge/Buy_Me_A_Coffee-FFDD00?style=flat&logo=buy-me-a-coffee&logoColor=black)](https://www.buymeacoffee.com/eduardozaniboni)
14
16
 
15
17
  > Otimizado para ambientes locais e de desenvolvimento. O uso em produção é suportado com configuração explícita.
16
18
 
@@ -368,6 +370,15 @@ npm run dev
368
370
 
369
371
  ---
370
372
 
373
+ ## ☕ Apoie o Projeto
374
+
375
+ Se o **Herdux** tem te salvado horas de dores de cabeça com bancos de dados, considere apoiar o projeto! Isso ajuda demais a mantê-lo ativo e open-source.
376
+
377
+ <a href="https://github.com/sponsors/eduardozaniboni" target="_blank"><img src="https://img.shields.io/badge/Sponsor-%E2%9D%A4-pink?style=for-the-badge&logo=github" alt="GitHub Sponsors"></a>
378
+ <a href="https://www.buymeacoffee.com/eduardozaniboni" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" style="height: 28px !important;width: 100px !important;" ></a>
379
+
380
+ ---
381
+
371
382
  ## 📄 Licença
372
383
 
373
384
  MIT
package/dist/index.js CHANGED
@@ -9,12 +9,18 @@ import { registerRestoreCommand } from "./commands/restore.js";
9
9
  import { registerConfigCommand } from "./commands/config.js";
10
10
  import { registerCleanCommand } from "./commands/clean.js";
11
11
  import { registerDoctorCommand } from "./commands/doctor.js";
12
+ import { join, dirname } from "path";
13
+ import { fileURLToPath } from "url";
14
+ import { readFileSync } from "fs";
15
+ const __dirname = dirname(fileURLToPath(import.meta.url));
16
+ const pkgPath = join(__dirname, "..", "package.json");
17
+ const pkg = JSON.parse(readFileSync(pkgPath, "utf-8"));
12
18
  const program = new Command();
13
19
  program
14
20
  .name("herdux")
15
21
  .helpCommand(false)
16
22
  .description("A modern CLI to Database management")
17
- .version("0.1.2")
23
+ .version(pkg.version)
18
24
  .option("-H, --host <host>", "Database host")
19
25
  .option("-p, --port <port>", "Database port (auto-detected if omitted)")
20
26
  .option("-U, --user <user>", "Database user")
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAE7D,MAAM,OAAO,GAAG,IAAI,OAAO,EAAE,CAAC;AAE9B,OAAO;KACJ,IAAI,CAAC,QAAQ,CAAC;KACd,WAAW,CAAC,KAAK,CAAC;KAClB,WAAW,CAAC,qCAAqC,CAAC;KAClD,OAAO,CAAC,OAAO,CAAC;KAChB,MAAM,CAAC,mBAAmB,EAAE,eAAe,CAAC;KAC5C,MAAM,CAAC,mBAAmB,EAAE,0CAA0C,CAAC;KACvE,MAAM,CAAC,mBAAmB,EAAE,eAAe,CAAC;KAC5C,MAAM,CAAC,2BAA2B,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AAS,GAAG,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;AAC1D,MAAM,OAAO,GAAG,IAAI,CAAC,SAAS,EAAE,IAAI,EAAE,cAAc,CAAC,CAAC;AACtD,MAAM,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;AAEvD,MAAM,OAAO,GAAG,IAAI,OAAO,EAAE,CAAC;AAE9B,OAAO;KACJ,IAAI,CAAC,QAAQ,CAAC;KACd,WAAW,CAAC,KAAK,CAAC;KAClB,WAAW,CAAC,qCAAqC,CAAC;KAClD,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC;KACpB,MAAM,CAAC,mBAAmB,EAAE,eAAe,CAAC;KAC5C,MAAM,CAAC,mBAAmB,EAAE,0CAA0C,CAAC;KACvE,MAAM,CAAC,mBAAmB,EAAE,eAAe,CAAC;KAC5C,MAAM,CAAC,2BAA2B,EAAE,mBAAmB,CAAC;KACxD,MAAM,CAAC,qBAAqB,EAAE,wCAAwC,CAAC,CAAC;AAE3E,sBAAsB,CAAC,OAAO,CAAC,CAAC;AAChC,mBAAmB,CAAC,OAAO,CAAC,CAAC;AAC7B,qBAAqB,CAAC,OAAO,CAAC,CAAC;AAC/B,mBAAmB,CAAC,OAAO,CAAC,CAAC;AAC7B,qBAAqB,CAAC,OAAO,CAAC,CAAC;AAC/B,sBAAsB,CAAC,OAAO,CAAC,CAAC;AAChC,qBAAqB,CAAC,OAAO,CAAC,CAAC;AAC/B,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAC9B,qBAAqB,CAAC,OAAO,CAAC,CAAC;AAE/B,OAAO,CAAC,KAAK,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "herdux-cli",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "Modern Database workflow CLI focused on developer experience, safety, and automation.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -29,7 +29,17 @@
29
29
  "backup",
30
30
  "restore"
31
31
  ],
32
- "author": "",
32
+ "funding": [
33
+ {
34
+ "type": "github",
35
+ "url": "https://github.com/sponsors/eduardozaniboni"
36
+ },
37
+ {
38
+ "type": "buymeacoffee",
39
+ "url": "https://www.buymeacoffee.com/eduardozaniboni"
40
+ }
41
+ ],
42
+ "author": "Eduardo Zaniboni",
33
43
  "license": "MIT",
34
44
  "dependencies": {
35
45
  "chalk": "^5.6.2",