@adinsure-ops/ops-cli 5.4.2 → 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.
Files changed (82) hide show
  1. package/README.md +140 -2
  2. package/bin/run.js +2 -6
  3. package/lib/command.base.d.ts +7 -1
  4. package/lib/command.base.jira.d.ts +23 -5
  5. package/lib/command.base.jira.js +47 -12
  6. package/lib/command.base.js +37 -8
  7. package/lib/command.download.d.ts +11 -0
  8. package/lib/command.download.js +27 -0
  9. package/lib/commands/config/get.d.ts +1 -1
  10. package/lib/commands/config/list.js +1 -1
  11. package/lib/commands/config/set.d.ts +2 -2
  12. package/lib/commands/config/set.js +2 -2
  13. package/lib/commands/config/unset.d.ts +1 -1
  14. package/lib/commands/docker/update-image-version.d.ts +31 -3
  15. package/lib/commands/docker/update-image-version.js +112 -6
  16. package/lib/commands/doctor.d.ts +1 -1
  17. package/lib/commands/download/client.d.ts +7 -20
  18. package/lib/commands/download/client.js +12 -47
  19. package/lib/commands/download/identity-server.d.ts +7 -20
  20. package/lib/commands/download/identity-server.js +12 -47
  21. package/lib/commands/download/jmeter.d.ts +3 -3
  22. package/lib/commands/download/jmeter.js +9 -11
  23. package/lib/commands/download/keycloak-scim.d.ts +4 -4
  24. package/lib/commands/download/keycloak-scim.js +9 -11
  25. package/lib/commands/download/platform.d.ts +7 -20
  26. package/lib/commands/download/platform.js +12 -47
  27. package/lib/commands/download/scheduler.d.ts +7 -20
  28. package/lib/commands/download/scheduler.js +12 -47
  29. package/lib/commands/download/server.d.ts +7 -20
  30. package/lib/commands/download/server.js +12 -47
  31. package/lib/commands/download/signalr.d.ts +7 -20
  32. package/lib/commands/download/signalr.js +12 -47
  33. package/lib/commands/download/studio.d.ts +12 -24
  34. package/lib/commands/download/studio.js +14 -48
  35. package/lib/commands/gitlab/get-tag-pipeline.d.ts +7 -7
  36. package/lib/commands/gitlab/get-tag-pipeline.js +5 -5
  37. package/lib/commands/gitlab/next-nightly-tag.d.ts +7 -7
  38. package/lib/commands/gitlab/next-nightly-tag.js +6 -6
  39. package/lib/commands/jira/issue.d.ts +4 -4
  40. package/lib/commands/jira/issue.js +2 -2
  41. package/lib/commands/jira/labels.d.ts +8 -9
  42. package/lib/commands/jira/labels.js +11 -10
  43. package/lib/commands/log/add.d.ts +10 -5
  44. package/lib/commands/log/add.js +42 -13
  45. package/lib/commands/log/generate.d.ts +6 -6
  46. package/lib/commands/log/generate.js +16 -8
  47. package/lib/commands/log/validate.js +2 -2
  48. package/lib/commands/login.d.ts +25 -5
  49. package/lib/commands/login.js +162 -40
  50. package/lib/commands/login.ru.d.ts +2 -2
  51. package/lib/commands/login.ru.js +1 -1
  52. package/lib/commands/npm/check-publish.d.ts +4 -4
  53. package/lib/commands/npm/check-publish.js +1 -1
  54. package/lib/commands/npm/dependency-update.d.ts +17 -4
  55. package/lib/commands/npm/dependency-update.js +64 -41
  56. package/lib/commands/npm/publish.d.ts +5 -5
  57. package/lib/commands/npm/publish.js +2 -2
  58. package/lib/commands/nuget/dependency-update.d.ts +3 -3
  59. package/lib/commands/prepare-content.d.ts +3 -3
  60. package/lib/commands/prepare-content.js +24 -41
  61. package/lib/commands/sql.d.ts +17 -17
  62. package/lib/commands/sql.js +23 -27
  63. package/lib/commands/translate.d.ts +8 -8
  64. package/lib/commands/translate.js +10 -8
  65. package/lib/commands/version.d.ts +10 -10
  66. package/lib/commands/version.js +6 -7
  67. package/lib/lib/command.d.ts +5 -3
  68. package/lib/lib/command.js +44 -44
  69. package/lib/lib/config.js +1 -1
  70. package/lib/lib/gitlab.d.ts +3 -1
  71. package/lib/lib/gitlab.js +13 -7
  72. package/lib/lib/http.d.ts +37 -0
  73. package/lib/lib/http.js +278 -0
  74. package/lib/lib/npm.d.ts +7 -4
  75. package/lib/lib/npm.js +15 -6
  76. package/lib/lib/npmrc.js +3 -3
  77. package/lib/lib/yarnrc.js +3 -3
  78. package/lib/security/cache.js +1 -1
  79. package/lib/security/context.d.ts +10 -8
  80. package/lib/security/context.js +49 -64
  81. package/oclif.manifest.json +533 -532
  82. 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.2",
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
- "@azure/msal-node": "2.8.1",
12
- "@oclif/core": "3.26.6",
13
- "@oclif/plugin-help": "6.0.22",
14
- "@oclif/plugin-not-found": "3.1.9",
15
- "@oclif/plugin-warn-if-update-available": "3.0.19",
16
- "axios": "1.14.0",
17
- "chalk": "5.3.0",
18
- "fs-extra": "11.2.0",
19
- "globby": "14.0.1",
20
- "gray-matter": "4.0.3",
21
- "ini": "4.1.2",
22
- "inquirer": "9.2.21",
23
- "jira-client": "8.2.2",
24
- "jszip": "3.10.1",
25
- "lodash-es": "4.17.21",
26
- "minimatch": "9.0.4",
27
- "moment": "2.30.1",
28
- "oauth": "0.10.0",
29
- "open": "10.1.0",
30
- "replace-in-file": "7.1.0",
31
- "rimraf": "5.0.7",
32
- "semver": "7.6.2",
33
- "tough-cookie": "4.1.4",
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": "^9.2.0",
39
- "@istanbuljs/nyc-config-typescript": "^1.0.2",
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": "^4.3.16",
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.6",
49
- "@types/mock-fs": "^4.13.4",
43
+ "@types/mocha": "^10.0.10",
44
+ "@types/node": "^24.0.0",
50
45
  "@types/normalize-package-data": "^2.4.4",
51
- "@types/oauth": "^0.9.4",
46
+ "@types/proxy-from-env": "1.0.4",
52
47
  "@types/semver": "^7.5.8",
53
- "@types/sinon": "^17.0.3",
54
- "@typescript-eslint/eslint-plugin": "^7.9.0",
55
- "@typescript-eslint/parser": "^7.9.0",
56
- "chai": "^4.3.7",
57
- "eslint": "^9.2.0",
58
- "mocha": "^10.4.0",
59
- "mocha-typescript": "^1.1.17",
60
- "mock-fs": "^5.1.1",
61
- "mock-spawn": "^0.2.6",
62
- "nock": "^13.5.4",
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": "^5.4.5",
70
- "typescript-eslint": "^7.9.0"
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": ">=20"
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": "nyc --require ts-node/register --extension .ts mocha --timeout 20000 --forbid-only \"test/**/*.test.ts\"",
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": "nyc --require ts-node/register --extension .ts mocha --reporter=doc --timeout 20000 --forbid-only \"test/**/*.test.ts\"",
129
- "test-single": "nyc --require ts-node/register --extension .ts mocha --timeout 20000 --forbid-only",
130
- "test-single-with-coverage": "nyc --require ts-node/register --extension .ts mocha --reporter=doc --timeout 20000 --forbid-only",
131
- "eslint": "eslint --quiet --config .eslint.config.js --fix"
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
- "axios": "1.14.0"
143
+ "nock": "14.0.17",
144
+ "**/path-scurry/lru-cache": "11.5.3"
136
145
  }
137
146
  }