@contentstack/cli-auth 2.0.0-beta.10 → 2.0.0-beta.12

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
@@ -18,7 +18,7 @@ $ npm install -g @contentstack/cli-auth
18
18
  $ csdx COMMAND
19
19
  running command...
20
20
  $ csdx (--version)
21
- @contentstack/cli-auth/2.0.0-beta.10 linux-x64 node-v22.22.1
21
+ @contentstack/cli-auth/2.0.0-beta.12 linux-x64 node-v22.22.2
22
22
  $ csdx --help [COMMAND]
23
23
  USAGE
24
24
  $ csdx COMMAND
@@ -12,7 +12,7 @@ export interface InquirePayload {
12
12
  name: string;
13
13
  message: string;
14
14
  choices?: Array<any>;
15
- transformer?: Function;
15
+ transformer?: (value: any) => any;
16
16
  }
17
17
  export interface User {
18
18
  email: string;
@@ -359,5 +359,5 @@
359
359
  ]
360
360
  }
361
361
  },
362
- "version": "2.0.0-beta.10"
362
+ "version": "2.0.0-beta.12"
363
363
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@contentstack/cli-auth",
3
3
  "description": "Contentstack CLI plugin for authentication activities",
4
- "version": "2.0.0-beta.10",
4
+ "version": "2.0.0-beta.12",
5
5
  "author": "Contentstack",
6
6
  "bugs": "https://github.com/contentstack/cli/issues",
7
7
  "scripts": {
@@ -11,41 +11,36 @@
11
11
  "postpack": "rm -f oclif.manifest.json",
12
12
  "prepack": "pnpm compile && oclif manifest && oclif readme",
13
13
  "version": "oclif readme && git add README.md",
14
- "test:report": "tsc -p test && nyc --reporter=lcov --extension .ts mocha --forbid-only \"test/**/*.test.ts\"",
15
- "pretest": "tsc -p test",
16
- "test": "nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"",
17
- "posttest": "npm run lint",
18
- "lint": "eslint src/**/*.ts",
19
- "format": "eslint src/**/*.ts --fix",
20
- "test:integration": "mocha --forbid-only \"test/integration/*.test.ts\"",
21
- "test:unit": "mocha --forbid-only \"test/unit/**/*.test.ts\"",
22
- "test:unit:report": "nyc --extension .ts mocha --forbid-only \"test/unit/**/*.test.ts\""
14
+ "test": "mocha \"test/unit/**/*.test.ts\"",
15
+ "lint": "eslint src/**/*.ts"
23
16
  },
24
17
  "dependencies": {
25
- "@contentstack/cli-command": "~2.0.0-beta.5",
26
- "@contentstack/cli-utilities": "~2.0.0-beta.5",
27
- "@oclif/core": "^4.3.0",
28
- "@oclif/plugin-help": "^6.2.28",
18
+ "@contentstack/cli-command": "~2.0.0-beta.7",
19
+ "@contentstack/cli-utilities": "~2.0.0-beta.8",
20
+ "@oclif/core": "^4.10.5",
29
21
  "otplib": "^12.0.1"
30
22
  },
23
+ "overrides": {
24
+ "@oclif/core": {
25
+ "picomatch": "^4.0.4"
26
+ }
27
+ },
31
28
  "devDependencies": {
32
- "@fancy-test/nock": "^0.1.1",
33
- "@oclif/plugin-help": "^6.2.28",
34
29
  "@oclif/test": "^4.1.13",
35
30
  "@types/chai": "^4.3.20",
36
- "@types/mkdirp": "^1.0.2",
37
31
  "@types/mocha": "^8.2.3",
38
32
  "@types/node": "^14.18.63",
39
- "@types/sinon": "^21.0.0",
33
+ "@types/sinon": "^21.0.1",
40
34
  "chai": "^4.5.0",
41
35
  "dotenv": "^16.4.7",
42
- "eslint": "^8.57.1",
36
+ "eslint": "^9.26.0",
43
37
  "eslint-config-oclif": "^5.2.2",
44
38
  "eslint-config-oclif-typescript": "^3.1.14",
45
39
  "mocha": "10.8.2",
40
+ "nock": "^13.5.6",
46
41
  "nyc": "^15.1.0",
47
- "oclif": "^4.17.46",
48
- "sinon": "^21.0.1",
42
+ "oclif": "^4.23.0",
43
+ "sinon": "^21.1.2",
49
44
  "ts-node": "^10.9.2",
50
45
  "typescript": "^4.9.5"
51
46
  },