@contentstack/cli-auth 1.8.0-beta.1 → 1.8.0
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 +1 -1
- package/lib/commands/auth/tokens/add.js +1 -1
- package/lib/interfaces/index.d.ts +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +12 -14
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/1.8.0
|
|
21
|
+
@contentstack/cli-auth/1.8.0 linux-x64 node-v22.22.1
|
|
22
22
|
$ csdx --help [COMMAND]
|
|
23
23
|
USAGE
|
|
24
24
|
$ csdx COMMAND
|
|
@@ -24,7 +24,7 @@ class TokensAddCommand extends base_command_1.BaseCommand {
|
|
|
24
24
|
skipAliasReplaceConfirmation }));
|
|
25
25
|
if (!isDelivery && !isManagement && !Boolean(environment)) {
|
|
26
26
|
cli_utilities_1.log.debug('No token type specified, requesting user input', this.contextDetails);
|
|
27
|
-
|
|
27
|
+
const tokenType = await (0, interactive_1.askTokenType)();
|
|
28
28
|
isDelivery = tokenType === 'delivery';
|
|
29
29
|
isManagement = tokenType === 'management';
|
|
30
30
|
cli_utilities_1.log.debug(`Token type selected: ${tokenType}`, this.contextDetails);
|
package/oclif.manifest.json
CHANGED
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": "1.8.0
|
|
4
|
+
"version": "1.8.0",
|
|
5
5
|
"author": "Contentstack",
|
|
6
6
|
"bugs": "https://github.com/contentstack/cli/issues",
|
|
7
7
|
"scripts": {
|
|
@@ -11,23 +11,21 @@
|
|
|
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
|
|
15
|
-
"
|
|
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": "~1.8.0
|
|
26
|
-
"@contentstack/cli-utilities": "~1.
|
|
27
|
-
"@oclif/core": "^4.3
|
|
18
|
+
"@contentstack/cli-command": "~1.8.0",
|
|
19
|
+
"@contentstack/cli-utilities": "~1.18.0",
|
|
20
|
+
"@oclif/core": "^4.8.3",
|
|
28
21
|
"@oclif/plugin-help": "^6.2.28",
|
|
29
22
|
"otplib": "^12.0.1"
|
|
30
23
|
},
|
|
24
|
+
"overrides": {
|
|
25
|
+
"@oclif/core": {
|
|
26
|
+
"picomatch": "^4.0.4"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
31
29
|
"devDependencies": {
|
|
32
30
|
"@fancy-test/nock": "^0.1.1",
|
|
33
31
|
"@oclif/plugin-help": "^6.2.28",
|
|
@@ -81,4 +79,4 @@
|
|
|
81
79
|
}
|
|
82
80
|
},
|
|
83
81
|
"repository": "contentstack/cli"
|
|
84
|
-
}
|
|
82
|
+
}
|