@contentstack/cli-utilities 2.0.0-beta → 2.0.0-beta.10
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/lib/auth-handler.d.ts +5 -2
- package/lib/auth-handler.js +29 -29
- package/lib/chalk.d.ts +15 -0
- package/lib/chalk.js +66 -0
- package/lib/cli-ux.js +23 -10
- package/lib/config-handler.js +4 -4
- package/lib/constants/logging.d.ts +1 -1
- package/lib/constants/logging.js +3 -3
- package/lib/content-type-utils.d.ts +7 -0
- package/lib/content-type-utils.js +44 -0
- package/lib/contentstack-management-sdk.js +14 -4
- package/lib/contentstack-marketplace-sdk.d.ts +2 -2
- package/lib/contentstack-marketplace-sdk.js +1 -1
- package/lib/fs-utility/core.d.ts +0 -1
- package/lib/fs-utility/core.js +2 -6
- package/lib/fs-utility/helper.js +2 -3
- package/lib/helpers.d.ts +3 -1
- package/lib/helpers.js +14 -4
- package/lib/http-client/client.d.ts +2 -2
- package/lib/http-client/client.js +22 -2
- package/lib/http-client/http-response.d.ts +1 -1
- package/lib/http-client/http-response.js +1 -0
- package/lib/index.d.ts +4 -1
- package/lib/index.js +5 -1
- package/lib/inquirer-table-prompt.d.ts +49 -28
- package/lib/inquirer-table-prompt.js +144 -136
- package/lib/interfaces/index.d.ts +3 -1
- package/lib/logger/cli-error-handler.js +1 -1
- package/lib/logger/log.js +4 -4
- package/lib/logger/session-path.d.ts +5 -0
- package/lib/logger/session-path.js +18 -3
- package/lib/message-handler.d.ts +0 -3
- package/lib/message-handler.js +6 -10
- package/lib/progress-summary/cli-progress-manager.d.ts +3 -1
- package/lib/progress-summary/cli-progress-manager.js +46 -36
- package/lib/progress-summary/summary-manager.js +30 -30
- package/lib/proxy-helper.d.ts +42 -1
- package/lib/proxy-helper.js +183 -32
- package/package.json +28 -27
package/package.json
CHANGED
|
@@ -1,21 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentstack/cli-utilities",
|
|
3
|
-
"version": "2.0.0-beta",
|
|
3
|
+
"version": "2.0.0-beta.10",
|
|
4
4
|
"description": "Utilities for contentstack projects",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"prepack": "pnpm compile",
|
|
9
|
-
"
|
|
9
|
+
"build": "pnpm compile",
|
|
10
|
+
"clean": "rm -rf ./lib ./node_modules tsconfig.tsbuildinfo",
|
|
10
11
|
"compile": "tsc -b tsconfig.json",
|
|
11
|
-
"test
|
|
12
|
-
"
|
|
13
|
-
"test": "nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"",
|
|
14
|
-
"posttest": "npm run lint",
|
|
15
|
-
"lint": "eslint src/**/*.ts",
|
|
16
|
-
"format": "eslint src/**/*.ts --fix",
|
|
17
|
-
"test:unit": "mocha --forbid-only \"test/unit/**/*.test.ts\"",
|
|
18
|
-
"test:unit:report": "nyc --extension .ts mocha --forbid-only \"test/unit/**/*.test.ts\""
|
|
12
|
+
"test": "mocha \"test/unit/**/*.test.ts\"",
|
|
13
|
+
"lint": "eslint src/**/*.ts"
|
|
19
14
|
},
|
|
20
15
|
"repository": {
|
|
21
16
|
"type": "git",
|
|
@@ -32,53 +27,59 @@
|
|
|
32
27
|
"author": "contentstack",
|
|
33
28
|
"license": "MIT",
|
|
34
29
|
"dependencies": {
|
|
35
|
-
"@contentstack/management": "~1.
|
|
36
|
-
"@contentstack/marketplace-sdk": "^1.5.
|
|
37
|
-
"@oclif/core": "^4.
|
|
38
|
-
"axios": "^1.
|
|
39
|
-
"chalk": "^
|
|
30
|
+
"@contentstack/management": "~1.30.3",
|
|
31
|
+
"@contentstack/marketplace-sdk": "^1.5.2",
|
|
32
|
+
"@oclif/core": "^4.11.4",
|
|
33
|
+
"axios": "^1.16.1",
|
|
34
|
+
"chalk": "^5.6.2",
|
|
40
35
|
"cli-cursor": "^3.1.0",
|
|
41
36
|
"cli-progress": "^3.12.0",
|
|
42
37
|
"cli-table": "^0.3.11",
|
|
43
38
|
"conf": "^10.2.0",
|
|
44
39
|
"dotenv": "^16.6.1",
|
|
45
40
|
"figures": "^3.2.0",
|
|
46
|
-
"inquirer": "
|
|
41
|
+
"inquirer": "12.11.1",
|
|
47
42
|
"inquirer-search-checkbox": "^1.0.0",
|
|
48
43
|
"inquirer-search-list": "^1.2.6",
|
|
49
|
-
"js-yaml": "^4.
|
|
44
|
+
"js-yaml": "^4.2.0",
|
|
50
45
|
"klona": "^2.0.6",
|
|
51
|
-
"lodash": "^4.
|
|
46
|
+
"lodash": "^4.18.1",
|
|
52
47
|
"mkdirp": "^1.0.4",
|
|
53
48
|
"open": "^8.4.2",
|
|
54
49
|
"ora": "^5.4.1",
|
|
55
50
|
"papaparse": "^5.5.3",
|
|
56
|
-
"recheck": "~4.
|
|
51
|
+
"recheck": "~4.5.0",
|
|
57
52
|
"rxjs": "^6.6.7",
|
|
58
53
|
"traverse": "^0.6.11",
|
|
59
54
|
"tty-table": "^4.2.3",
|
|
60
55
|
"unique-string": "^2.0.0",
|
|
61
|
-
"uuid": "^
|
|
62
|
-
"
|
|
56
|
+
"short-uuid": "^6.0.3",
|
|
57
|
+
"uuid": "^14.0.0",
|
|
58
|
+
"winston": "^3.19.0",
|
|
63
59
|
"xdg-basedir": "^4.0.0"
|
|
64
60
|
},
|
|
61
|
+
"overrides": {
|
|
62
|
+
"@oclif/core": {
|
|
63
|
+
"picomatch": "^4.0.4"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
65
66
|
"devDependencies": {
|
|
66
67
|
"@types/chai": "^4.3.20",
|
|
67
|
-
"@types/inquirer": "^9.0.
|
|
68
|
+
"@types/inquirer": "^9.0.9",
|
|
68
69
|
"@types/mkdirp": "^1.0.2",
|
|
69
70
|
"@types/mocha": "^10.0.10",
|
|
70
|
-
"@types/node": "^
|
|
71
|
+
"@types/node": "^18.19.130",
|
|
71
72
|
"@types/sinon": "^21.0.0",
|
|
72
73
|
"@types/traverse": "^0.6.37",
|
|
73
74
|
"chai": "^4.5.0",
|
|
74
|
-
"eslint": "^
|
|
75
|
+
"eslint": "^10.5.0",
|
|
75
76
|
"eslint-config-oclif": "^6.0.62",
|
|
76
77
|
"eslint-config-oclif-typescript": "^3.1.14",
|
|
77
|
-
"fancy-test": "^2.0.42",
|
|
78
78
|
"mocha": "10.8.2",
|
|
79
79
|
"nyc": "^15.1.0",
|
|
80
|
-
"sinon": "^21.
|
|
80
|
+
"sinon": "^21.1.2",
|
|
81
|
+
"fancy-test": "^2.0.42",
|
|
81
82
|
"ts-node": "^10.9.2",
|
|
82
|
-
"typescript": "^
|
|
83
|
+
"typescript": "^5.9.3"
|
|
83
84
|
}
|
|
84
85
|
}
|