@adinsure-ops/ops-cli 5.4.2-rc1 → 5.5.0-rc1
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 +140 -2
- package/bin/run.js +2 -6
- package/lib/command.base.d.ts +7 -1
- package/lib/command.base.jira.d.ts +23 -5
- package/lib/command.base.jira.js +47 -12
- package/lib/command.base.js +37 -8
- package/lib/command.download.d.ts +11 -0
- package/lib/command.download.js +27 -0
- package/lib/commands/config/get.d.ts +1 -1
- package/lib/commands/config/list.js +1 -1
- package/lib/commands/config/set.d.ts +2 -2
- package/lib/commands/config/set.js +2 -2
- package/lib/commands/config/unset.d.ts +1 -1
- package/lib/commands/docker/update-image-version.d.ts +31 -3
- package/lib/commands/docker/update-image-version.js +112 -6
- package/lib/commands/doctor.d.ts +1 -1
- package/lib/commands/download/client.d.ts +7 -20
- package/lib/commands/download/client.js +12 -47
- package/lib/commands/download/identity-server.d.ts +7 -20
- package/lib/commands/download/identity-server.js +12 -47
- package/lib/commands/download/jmeter.d.ts +3 -3
- package/lib/commands/download/jmeter.js +9 -11
- package/lib/commands/download/keycloak-scim.d.ts +4 -4
- package/lib/commands/download/keycloak-scim.js +9 -11
- package/lib/commands/download/platform.d.ts +7 -20
- package/lib/commands/download/platform.js +12 -47
- package/lib/commands/download/scheduler.d.ts +7 -20
- package/lib/commands/download/scheduler.js +12 -47
- package/lib/commands/download/server.d.ts +7 -20
- package/lib/commands/download/server.js +12 -47
- package/lib/commands/download/signalr.d.ts +7 -20
- package/lib/commands/download/signalr.js +12 -47
- package/lib/commands/download/studio.d.ts +12 -24
- package/lib/commands/download/studio.js +14 -48
- package/lib/commands/gitlab/get-tag-pipeline.d.ts +7 -7
- package/lib/commands/gitlab/get-tag-pipeline.js +5 -5
- package/lib/commands/gitlab/next-nightly-tag.d.ts +7 -7
- package/lib/commands/gitlab/next-nightly-tag.js +6 -6
- package/lib/commands/jira/issue.d.ts +4 -4
- package/lib/commands/jira/issue.js +2 -2
- package/lib/commands/jira/labels.d.ts +8 -9
- package/lib/commands/jira/labels.js +11 -10
- package/lib/commands/log/add.d.ts +10 -5
- package/lib/commands/log/add.js +42 -13
- package/lib/commands/log/generate.d.ts +6 -6
- package/lib/commands/log/generate.js +16 -8
- package/lib/commands/log/validate.js +2 -2
- package/lib/commands/login.d.ts +25 -5
- package/lib/commands/login.js +162 -40
- package/lib/commands/login.ru.d.ts +2 -2
- package/lib/commands/login.ru.js +1 -1
- package/lib/commands/npm/check-publish.d.ts +4 -4
- package/lib/commands/npm/check-publish.js +1 -1
- package/lib/commands/npm/dependency-update.d.ts +17 -4
- package/lib/commands/npm/dependency-update.js +64 -41
- package/lib/commands/npm/publish.d.ts +5 -5
- package/lib/commands/npm/publish.js +2 -2
- package/lib/commands/nuget/dependency-update.d.ts +3 -3
- package/lib/commands/prepare-content.d.ts +3 -3
- package/lib/commands/prepare-content.js +24 -41
- package/lib/commands/sql.d.ts +17 -17
- package/lib/commands/sql.js +23 -27
- package/lib/commands/translate.d.ts +8 -8
- package/lib/commands/translate.js +10 -8
- package/lib/commands/version.d.ts +10 -10
- package/lib/commands/version.js +6 -7
- package/lib/lib/command.d.ts +5 -3
- package/lib/lib/command.js +44 -44
- package/lib/lib/config.js +1 -1
- package/lib/lib/gitlab.d.ts +3 -1
- package/lib/lib/gitlab.js +13 -7
- package/lib/lib/http.d.ts +37 -0
- package/lib/lib/http.js +278 -0
- package/lib/lib/npm.d.ts +7 -4
- package/lib/lib/npm.js +15 -6
- package/lib/lib/npmrc.js +3 -3
- package/lib/lib/yarnrc.js +3 -3
- package/lib/security/cache.js +1 -1
- package/lib/security/context.d.ts +10 -8
- package/lib/security/context.js +49 -64
- package/oclif.manifest.json +533 -532
- package/package.json +71 -62
package/package.json
CHANGED
|
@@ -1,79 +1,68 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adinsure-ops/ops-cli",
|
|
3
3
|
"description": "Operations CLI for working with AdInsure",
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.5.0-rc1",
|
|
5
5
|
"author": "Adacta Digital Service Department",
|
|
6
6
|
"bin": {
|
|
7
7
|
"ops": "./bin/run.js"
|
|
8
8
|
},
|
|
9
9
|
"type": "module",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@
|
|
12
|
-
"@
|
|
13
|
-
"@oclif/
|
|
14
|
-
"@oclif/plugin-
|
|
15
|
-
"@oclif/plugin-
|
|
16
|
-
"
|
|
17
|
-
"chalk": "
|
|
18
|
-
"fs-extra": "11.
|
|
19
|
-
"globby": "
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"tslib": "2.6.2",
|
|
35
|
-
"yaml": "2.4.2"
|
|
11
|
+
"@11ty/gray-matter": "3.0.0",
|
|
12
|
+
"@azure/msal-node": "7.2.1",
|
|
13
|
+
"@oclif/core": "5.1.11",
|
|
14
|
+
"@oclif/plugin-help": "7.0.7",
|
|
15
|
+
"@oclif/plugin-not-found": "4.0.7",
|
|
16
|
+
"@oclif/plugin-warn-if-update-available": "4.0.5",
|
|
17
|
+
"chalk": "6.0.1",
|
|
18
|
+
"fs-extra": "11.4.1",
|
|
19
|
+
"globby": "16.2.4",
|
|
20
|
+
"ini": "6.0.0",
|
|
21
|
+
"inquirer": "14.2.5",
|
|
22
|
+
"jszip": "3.10.2",
|
|
23
|
+
"lodash-es": "4.18.1",
|
|
24
|
+
"minimatch": "11.0.5",
|
|
25
|
+
"moment": "2.31.0",
|
|
26
|
+
"open": "11.0.4",
|
|
27
|
+
"proxy-from-env": "2.1.0",
|
|
28
|
+
"replace-in-file": "9.0.0",
|
|
29
|
+
"rimraf": "6.1.4",
|
|
30
|
+
"semver": "7.8.6",
|
|
31
|
+
"tslib": "2.9.1",
|
|
32
|
+
"undici": "7.30.2",
|
|
33
|
+
"yaml": "2.9.1"
|
|
36
34
|
},
|
|
37
35
|
"devDependencies": {
|
|
38
|
-
"@eslint/js": "^
|
|
39
|
-
"@
|
|
40
|
-
"@oclif/test": "^3.2.15",
|
|
36
|
+
"@eslint/js": "^10.0.1",
|
|
37
|
+
"@oclif/test": "^5.0.3",
|
|
41
38
|
"@testdeck/mocha": "^0.3.3",
|
|
42
|
-
"@types/chai": "^
|
|
39
|
+
"@types/chai": "^5.2.3",
|
|
43
40
|
"@types/fs-extra": "^11.0.4",
|
|
44
41
|
"@types/ini": "^4.1.0",
|
|
45
|
-
"@types/inquirer": "^9.0.7",
|
|
46
|
-
"@types/jira-client": "^7.1.9",
|
|
47
42
|
"@types/lodash-es": "^4.17.12",
|
|
48
|
-
"@types/mocha": "^10.0.
|
|
49
|
-
"@types/
|
|
43
|
+
"@types/mocha": "^10.0.10",
|
|
44
|
+
"@types/node": "^24.0.0",
|
|
50
45
|
"@types/normalize-package-data": "^2.4.4",
|
|
51
|
-
"@types/
|
|
46
|
+
"@types/proxy-from-env": "1.0.4",
|
|
52
47
|
"@types/semver": "^7.5.8",
|
|
53
|
-
"@types/sinon": "^
|
|
54
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
55
|
-
"@typescript-eslint/parser": "^
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"mocha
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"nyc": "^15.1.0",
|
|
64
|
-
"oclif": "^4.10.10",
|
|
65
|
-
"sinon": "^17.0.1",
|
|
48
|
+
"@types/sinon": "^22.0.2",
|
|
49
|
+
"@typescript-eslint/eslint-plugin": "^8.72.1",
|
|
50
|
+
"@typescript-eslint/parser": "^8.72.1",
|
|
51
|
+
"c8": "^12.0.0",
|
|
52
|
+
"chai": "^6.3.0",
|
|
53
|
+
"eslint": "^10.14.0",
|
|
54
|
+
"mocha": "^12.0.3",
|
|
55
|
+
"nock": "^14.0.17",
|
|
56
|
+
"oclif": "^6.0.15",
|
|
57
|
+
"sinon": "^22.1.0",
|
|
66
58
|
"timekeeper": "^2.2.0",
|
|
67
59
|
"ts-mockito": "^2.6.1",
|
|
68
60
|
"ts-node": "^10.9.2",
|
|
69
|
-
"typescript": "^
|
|
70
|
-
"typescript-eslint": "^
|
|
71
|
-
},
|
|
72
|
-
"peerDependencies": {
|
|
73
|
-
"@types/node": "^24.0.0"
|
|
61
|
+
"typescript": "^6.0.3",
|
|
62
|
+
"typescript-eslint": "^8.72.1"
|
|
74
63
|
},
|
|
75
64
|
"engines": {
|
|
76
|
-
"node": ">=
|
|
65
|
+
"node": "^22.13.0 || >=24.0.0"
|
|
77
66
|
},
|
|
78
67
|
"files": [
|
|
79
68
|
"/bin",
|
|
@@ -121,17 +110,37 @@
|
|
|
121
110
|
"repository": "ops/ops-cli",
|
|
122
111
|
"scripts": {
|
|
123
112
|
"postpack": "rimraf oclif.manifest.json",
|
|
124
|
-
"prepack": "rimraf lib && tsc -b && oclif manifest",
|
|
125
|
-
"test": "
|
|
126
|
-
"test-unit": "mocha \"./test/**/*.spec.ts\"",
|
|
113
|
+
"prepack": "rimraf lib && tsc -b --force && oclif manifest",
|
|
114
|
+
"test": "c8 mocha --timeout 20000 --forbid-only \"test/**/*.test.ts\"",
|
|
115
|
+
"test-unit": "mocha --forbid-only \"./test/**/*.spec.ts\"",
|
|
127
116
|
"build": "tsc -b",
|
|
128
|
-
"test-with-coverage": "
|
|
129
|
-
"test-single": "
|
|
130
|
-
"test-single-with-coverage": "
|
|
131
|
-
"
|
|
117
|
+
"test-with-coverage": "c8 mocha --reporter=doc --timeout 20000 --forbid-only \"test/**/*.test.ts\" && node test/check-coverage.mjs",
|
|
118
|
+
"test-single": "c8 mocha --timeout 20000 --forbid-only",
|
|
119
|
+
"test-single-with-coverage": "c8 mocha --reporter=doc --timeout 20000 --forbid-only",
|
|
120
|
+
"lint": "yarn run lint:eslint",
|
|
121
|
+
"lint-fix": "yarn run lint-fix:eslint",
|
|
122
|
+
"lint:eslint": "eslint --quiet --config .eslint.config.js",
|
|
123
|
+
"lint-fix:eslint": "eslint --quiet --config .eslint.config.js --fix",
|
|
124
|
+
"eslint": "yarn run lint"
|
|
125
|
+
},
|
|
126
|
+
"c8": {
|
|
127
|
+
"all": true,
|
|
128
|
+
"include": [
|
|
129
|
+
"src/**/*.ts"
|
|
130
|
+
],
|
|
131
|
+
"exclude": [
|
|
132
|
+
"src/types/**",
|
|
133
|
+
"**/*.d.ts"
|
|
134
|
+
],
|
|
135
|
+
"reporter": [
|
|
136
|
+
"text",
|
|
137
|
+
"lcov",
|
|
138
|
+
"cobertura"
|
|
139
|
+
]
|
|
132
140
|
},
|
|
133
141
|
"types": "lib/index.d.ts",
|
|
134
142
|
"resolutions": {
|
|
135
|
-
"
|
|
143
|
+
"nock": "14.0.17",
|
|
144
|
+
"**/path-scurry/lru-cache": "11.5.3"
|
|
136
145
|
}
|
|
137
146
|
}
|