@adinsure-ops/ops-cli 5.0.11 → 5.1.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/CHANGELOGS.md CHANGED
@@ -1,10 +1,16 @@
1
1
  # Changelogs
2
2
 
3
- ## next
3
+
4
+ ## 5.1.0: 2023-03-29
5
+
6
+ - LJADIRDSUP-13830: added verbose error output when downloading studio and installing the plugin into the VSCode
7
+ - LJADIRD-45744: removed Node.js v16 support, only supporting Node.js >=18
8
+
9
+ ## 5.0.11: 2023-03-26
4
10
 
5
11
  - LJADIRD-45711: updated regex for matching tags in the gitlab:next-nightly-tag command
6
12
 
7
- ## 5.0.10 2023-03-20
13
+ ## 5.0.10: 2023-03-20
8
14
 
9
15
  - LJADIRDSUP-13469: added gurads for checking if the npmrc file being read is a directory
10
16
 
@@ -32,7 +32,10 @@ class DownloadStudio extends CommandBase {
32
32
  installExtension(extensionPath) {
33
33
  return __awaiter(this, void 0, void 0, function* () {
34
34
  const cp = new ChildProcessCommand();
35
- yield cp.runCommand(['code', '--install-extension', extensionPath, '--force']);
35
+ const commandResult = yield cp.runCommand(['code', '--install-extension', extensionPath, '--force']);
36
+ if (commandResult.error) {
37
+ this.error(`${chalk.redBright('Installing into VSCode failed!')}\n${commandResult.error}`);
38
+ }
36
39
  });
37
40
  }
38
41
  findExtensionIfEnabled(studioVersion, enabled) {
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "5.0.11",
2
+ "version": "5.1.0",
3
3
  "commands": {
4
4
  "doctor": {
5
5
  "id": "doctor",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@adinsure-ops/ops-cli",
3
3
  "description": "Operations CLI for working with AdInsure",
4
- "version": "5.0.11",
4
+ "version": "5.1.0",
5
5
  "author": "Adacta Digital Service Department",
6
6
  "bin": {
7
7
  "ops": "./bin/run.js"
@@ -74,7 +74,7 @@
74
74
  "@types/node": "^20.5.7"
75
75
  },
76
76
  "engines": {
77
- "node": "^16 || ^18 || ^20"
77
+ "node": ">=18"
78
78
  },
79
79
  "files": [
80
80
  "/bin",