@timbrix/cli 0.3.0 → 0.3.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.
package/README.md CHANGED
@@ -171,7 +171,7 @@ Configuration is stored in `~/.timbrix/config.json`:
171
171
  {
172
172
  "bearerToken": "eyJhbGc...",
173
173
  "email": "user@example.com",
174
- "baseUrl": "http://localhost:3001/api"
174
+ "baseUrl": "http://localhost:3001"
175
175
  }
176
176
  ```
177
177
 
@@ -20,7 +20,7 @@ export default class Login extends Command {
20
20
  "base-url": Flags.string({
21
21
  char: "u",
22
22
  description: "API base URL",
23
- default: "http://localhost:3001/api",
23
+ default: "http://localhost:3001",
24
24
  }),
25
25
  };
26
26
  async run() {
@@ -1 +1 @@
1
- {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../src/commands/sat/regimenes/list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAS,MAAM,aAAa,CAAA;AAQ5C,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,OAAO;IACnD,OAAgB,WAAW,SAAgC;IAE3D,OAAgB,QAAQ,WAIvB;IAED,OAAgB,KAAK;;MAMpB;IAEY,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAsClC"}
1
+ {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../src/commands/sat/regimenes/list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAS,MAAM,aAAa,CAAA;AAQ5C,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,OAAO;IACnD,OAAgB,WAAW,SAAgC;IAE3D,OAAgB,QAAQ,WAIvB;IAED,OAAgB,KAAK;;MAMpB;IAEY,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAmClC"}
@@ -1 +1 @@
1
- {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../src/commands/sat/usos-cfdi/list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAS,MAAM,aAAa,CAAA;AAQ5C,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,OAAO;IAClD,OAAgB,WAAW,SAA0B;IAErD,OAAgB,QAAQ,WAKvB;IAED,OAAgB,KAAK;;;MAUpB;IAEY,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAmClC"}
1
+ {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../src/commands/sat/usos-cfdi/list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAS,MAAM,aAAa,CAAA;AAQ5C,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,OAAO;IAClD,OAAgB,WAAW,SAA0B;IAErD,OAAgB,QAAQ,WAKvB;IAED,OAAgB,KAAK;;;MAUpB;IAEY,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAgClC"}
@@ -33,7 +33,7 @@ export class AuthManager {
33
33
  * Get base URL
34
34
  */
35
35
  static getBaseUrl() {
36
- return config.get("baseUrl") || "http://localhost:3001/api";
36
+ return config.get("baseUrl") || "http://localhost:3001";
37
37
  }
38
38
  /**
39
39
  * Check if user is authenticated
@@ -21,7 +21,7 @@
21
21
  "char": "u",
22
22
  "description": "API base URL",
23
23
  "name": "base-url",
24
- "default": "http://localhost:3001/api",
24
+ "default": "http://localhost:3001",
25
25
  "hasDynamicHelp": false,
26
26
  "multiple": false,
27
27
  "type": "option"
@@ -1368,5 +1368,5 @@
1368
1368
  ]
1369
1369
  }
1370
1370
  },
1371
- "version": "0.3.0"
1371
+ "version": "0.3.1"
1372
1372
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@timbrix/cli",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "CLI tool for Timbrix API",
5
5
  "author": "Ivan Sotelo",
6
6
  "bin": {
@@ -26,28 +26,28 @@
26
26
  "registry": "https://registry.npmjs.org/"
27
27
  },
28
28
  "dependencies": {
29
- "@inquirer/prompts": "^8.3.2",
30
- "@oclif/core": "^4.10.3",
31
- "@oclif/plugin-help": "^6.2.41",
32
- "@oclif/plugin-plugins": "^5.4.59",
33
- "chalk": "^5.6.2",
29
+ "@inquirer/prompts": "^8.5.2",
30
+ "@oclif/core": "^4.13.2",
31
+ "@oclif/plugin-help": "^6.2.55",
32
+ "@oclif/plugin-plugins": "^5.4.86",
33
+ "chalk": "^6.0.0",
34
34
  "cli-table3": "^0.6.5",
35
35
  "conf": "^15.1.0",
36
- "ky": "^1.14.3",
37
- "ora": "^9.3.0",
36
+ "ky": "^2.0.2",
37
+ "ora": "^9.4.1",
38
38
  "update-notifier": "^7.3.1",
39
- "@timbrix/sdk": "0.3.0"
39
+ "@timbrix/sdk": "0.3.1"
40
40
  },
41
41
  "devDependencies": {
42
- "@types/node": "^25.5.0",
42
+ "@types/node": "^26.1.2",
43
43
  "@types/update-notifier": "^6.0.8",
44
- "eslint": "^9.39.4",
45
- "oclif": "^4.22.96",
44
+ "eslint": "^10.8.0",
45
+ "oclif": "^4.23.29",
46
46
  "shx": "^0.4.0",
47
- "tsx": "^4.21.0",
48
- "typescript": "^5.9.3",
49
- "@repo/typescript-config": "0.1.0",
50
- "@repo/eslint-config": "0.1.0"
47
+ "tsx": "^4.23.1",
48
+ "typescript": "^6.0.3",
49
+ "@repo/eslint-config": "0.1.1",
50
+ "@repo/typescript-config": "0.1.0"
51
51
  },
52
52
  "oclif": {
53
53
  "bin": "timbrix",