@eik/cli 3.1.7 → 3.1.9

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/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [3.1.9](https://github.com/eik-lib/cli/compare/v3.1.8...v3.1.9) (2024-10-14)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** update dependency form-data to v4.0.1 ([e4e151c](https://github.com/eik-lib/cli/commit/e4e151c8cd4b3a2c2c94625b5701aac3c6c53814))
7
+
8
+ ## [3.1.8](https://github.com/eik-lib/cli/compare/v3.1.7...v3.1.8) (2024-09-17)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * login spinner obscuring input ([#600](https://github.com/eik-lib/cli/issues/600)) ([3c18a87](https://github.com/eik-lib/cli/commit/3c18a87945e0f59dd57f3b56688bbaf0fc1ee60e))
14
+
1
15
  ## [3.1.7](https://github.com/eik-lib/cli/compare/v3.1.6...v3.1.7) (2024-08-29)
2
16
 
3
17
 
package/commands/login.js CHANGED
@@ -33,7 +33,7 @@ export const builder = (yargs) => {
33
33
 
34
34
  export const handler = commandHandler(
35
35
  { command, options: ["server"] },
36
- async (argv, logger) => {
36
+ async (argv, logger, spinner) => {
37
37
  const { key, server } = argv;
38
38
 
39
39
  let k = key;
@@ -41,6 +41,7 @@ export const handler = commandHandler(
41
41
  let rl = null;
42
42
 
43
43
  if (!s || !k) {
44
+ spinner.stop();
44
45
  rl = readline.createInterface({
45
46
  input: process.stdin,
46
47
  output: process.stdout,
@@ -69,6 +70,7 @@ export const handler = commandHandler(
69
70
 
70
71
  if (rl) rl.close();
71
72
 
73
+ spinner.start();
72
74
  const token = await new Login({
73
75
  logger,
74
76
  key: k,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eik/cli",
3
- "version": "3.1.7",
3
+ "version": "3.1.9",
4
4
  "description": "CLI tool for publishing assets to an Eik server",
5
5
  "main": "./classes/index.js",
6
6
  "types": "./types/classes/index.d.ts",
@@ -43,7 +43,7 @@
43
43
  "bytes": "3.1.2",
44
44
  "chalk": "5.3.0",
45
45
  "date-fns": "3.6.0",
46
- "form-data": "4.0.0",
46
+ "form-data": "4.0.1",
47
47
  "gzip-size": "7.0.0",
48
48
  "make-dir": "5.0.0",
49
49
  "ora": "8.1.0",
@@ -58,19 +58,19 @@
58
58
  "@eik/eslint-config": "1.0.2",
59
59
  "@eik/prettier-config": "1.0.1",
60
60
  "@eik/semantic-release-config": "1.0.0",
61
- "@eik/service": "2.3.1",
61
+ "@eik/service": "2.3.2",
62
62
  "@eik/sink-memory": "1.1.2",
63
63
  "@eik/typescript-config": "1.0.0",
64
64
  "@types/yargs": "17.0.33",
65
65
  "cross-env": "7.0.3",
66
- "eslint": "9.8.0",
66
+ "eslint": "9.11.1",
67
67
  "fastify": "4.28.1",
68
68
  "fs-extra": "11.2.0",
69
- "npm-run-all": "4.1.5",
69
+ "npm-run-all2": "5.0.0",
70
70
  "prettier": "3.3.3",
71
71
  "semantic-release": "24.0.0",
72
72
  "semantic-release-slack-bot": "4.0.2",
73
- "tap": "21.0.0",
73
+ "tap": "21.0.1",
74
74
  "typescript": "5.5.4"
75
75
  }
76
76
  }