@adinsure-ops/ops-cli 5.1.3 → 5.2.1

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/LICENSE CHANGED
@@ -1 +1 @@
1
- (c) Copyright 2023 Adacta d.o.o., all rights reserved.
1
+ (c) Copyright 2024 Adacta d.o.o., all rights reserved.
@@ -20,7 +20,7 @@ export default class Sql extends CommandBase<typeof Sql> {
20
20
  'column-type': import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
21
21
  };
22
22
  private readonly _moduleTypes;
23
- private readonly _dbmsType;
23
+ private _dbmsTypes;
24
24
  /**
25
25
  * Get unique Script ID zip by specified version
26
26
  * @param {string} version The version of Identity Server
@@ -37,6 +37,7 @@ export default class Sql extends CommandBase<typeof Sql> {
37
37
  handleLayer(scriptDbmsFolder: string, scriptLayer: string, scriptType: string, dbmsFormat: string): Promise<string>;
38
38
  sqlExtendScriptGeneration(tableSchema: string | undefined, tableName: string | undefined, columnName: string | undefined, columnType: string | undefined): Promise<string>;
39
39
  oradcExtendScriptGeneration(tableSchema: string | undefined, tableName: string | undefined, columnName: string | undefined, columnType: string | undefined): Promise<string>;
40
+ postgresExtendScriptGeneration(tableSchema: string | undefined, tableName: string | undefined, columnName: string | undefined, columnType: string | undefined): Promise<string>;
40
41
  checkExtendParameters(): Promise<string[]>;
41
42
  run(): Promise<void>;
42
43
  }
@@ -21,7 +21,23 @@ class Sql extends CommandBase {
21
21
  reins: 'Reinsurance',
22
22
  shared: 'Shared',
23
23
  };
24
- this._dbmsType = ['sql', 'oradc'];
24
+ this._dbmsTypes = [
25
+ {
26
+ name: 'sql',
27
+ scriptLocation: undefined,
28
+ extendGenerator: this.sqlExtendScriptGeneration
29
+ },
30
+ {
31
+ name: 'oradc',
32
+ scriptLocation: undefined,
33
+ extendGenerator: this.oradcExtendScriptGeneration
34
+ },
35
+ {
36
+ name: 'postgres',
37
+ scriptLocation: undefined,
38
+ extendGenerator: this.postgresExtendScriptGeneration
39
+ }
40
+ ];
25
41
  }
26
42
  /**
27
43
  * Get unique Script ID zip by specified version
@@ -122,12 +138,19 @@ BEGIN
122
138
  end;`;
123
139
  });
124
140
  }
141
+ postgresExtendScriptGeneration(tableSchema, tableName, columnName, columnType) {
142
+ return __awaiter(this, void 0, void 0, function* () {
143
+ return `ALTER TABLE IF EXISTS ${tableSchema}.${tableName}
144
+ ADD COLUMN IF NOT EXISTS ${columnName} ${columnType};
145
+ `;
146
+ });
147
+ }
125
148
  checkExtendParameters() {
126
149
  return __awaiter(this, void 0, void 0, function* () {
127
150
  const { flags } = yield this.parse(Sql);
128
151
  const arrayOfParameters = [];
129
152
  if (flags['table-schema'] === undefined) {
130
- arrayOfParameters.push('table-scehma');
153
+ arrayOfParameters.push('table-schema');
131
154
  }
132
155
  if (flags['table-name'] === undefined) {
133
156
  arrayOfParameters.push('table-name');
@@ -218,13 +241,12 @@ end;`;
218
241
  if (!(yield fs.pathExists(scriptsRootFolder))) {
219
242
  this.error(`Could not resolve database scripts folder: ${scriptsRootFolder}`);
220
243
  }
221
- const scriptFolderLocations = [];
222
- for (const dbmsFormat of this._dbmsType) {
223
- const scriptDbmsFolder = path.resolve(scriptsRootFolder, dbmsFormat);
244
+ for (const dbmsFormat of this._dbmsTypes) {
245
+ const scriptDbmsFolder = path.resolve(scriptsRootFolder, dbmsFormat.name);
224
246
  if (yield fs.pathExists(scriptDbmsFolder)) {
225
247
  let scriptFolder = path.resolve(scriptDbmsFolder, scriptType);
226
248
  if (scriptLayer !== undefined) {
227
- scriptFolder = yield this.handleLayer(scriptDbmsFolder, scriptLayer, scriptType, dbmsFormat);
249
+ scriptFolder = yield this.handleLayer(scriptDbmsFolder, scriptLayer, scriptType, dbmsFormat.name);
228
250
  }
229
251
  if (scriptModule !== undefined) {
230
252
  scriptFolder = path.resolve(scriptFolder, this._moduleTypes[scriptModule]);
@@ -233,7 +255,7 @@ end;`;
233
255
  this.warn(`Could not resolve existing database scripts folder. Creating folder: ${scriptFolder}`);
234
256
  yield fs.mkdir(scriptFolder);
235
257
  }
236
- scriptFolderLocations.push(scriptFolder);
258
+ dbmsFormat.scriptLocation = scriptFolder;
237
259
  }
238
260
  }
239
261
  // Validation of parameters succeed. Requesting new SQL script ID and creating file.
@@ -247,27 +269,12 @@ end;`;
247
269
  scriptId = (yield this.getScriptId(version.version)).data;
248
270
  this.log(`Got: '${chalk.green(scriptId)}'`);
249
271
  }
250
- // Check if the operation is Extend
251
- if (scriptType === 'Extend') {
252
- // The first file will always be in \sql\ folder for mssql
253
- // and the second one will always be in \oradc\ for oracle db
254
- let sqlOrOradc = 0;
255
- for (const scriptFolder of scriptFolderLocations) {
256
- const scriptsFilePath = path.resolve(scriptFolder, `${scriptId}.sql`);
257
- // The values in flags such as table-schema, which are passed into the sql generation function can never be undefined as they
258
- // are checked prior to executing this code, so the functions are defined in a way where they can intake an undefined parameter
259
- // only due to typescript.
260
- yield (sqlOrOradc ? fs.writeFile(scriptsFilePath, yield this.oradcExtendScriptGeneration(flags['table-schema'], flags['table-name'], flags['column-name'], flags['column-type'])) : fs.writeFile(scriptsFilePath, yield this.sqlExtendScriptGeneration(flags['table-schema'], flags['table-name'], flags['column-name'], flags['column-type'])));
261
- this.log(`${chalk.yellow(scriptsFilePath)}`);
262
- sqlOrOradc++;
263
- }
264
- }
265
- else {
266
- for (const scriptFolder of scriptFolderLocations) {
267
- const scriptsFilePath = path.resolve(scriptFolder, `${scriptId}.sql`);
268
- yield fs.writeFile(scriptsFilePath, '');
269
- this.log(`${chalk.yellow(scriptsFilePath)}`);
270
- }
272
+ const usedDbmsTypes = this._dbmsTypes.filter(it => it.scriptLocation !== undefined);
273
+ for (const usedDbmsType of usedDbmsTypes) {
274
+ const scriptsFilePath = path.resolve(usedDbmsType.scriptLocation, `${scriptId}.sql`);
275
+ const content = scriptType === 'Extend' ? yield usedDbmsType.extendGenerator(flags['table-schema'], flags['table-name'], flags['column-name'], flags['column-type']) : '';
276
+ yield fs.writeFile(scriptsFilePath, content);
277
+ this.log(`${chalk.yellow(scriptsFilePath)}`);
271
278
  }
272
279
  });
273
280
  }
@@ -467,6 +467,169 @@
467
467
  "update-image-version.js"
468
468
  ]
469
469
  },
470
+ "gitlab:get-tag-pipeline": {
471
+ "aliases": [],
472
+ "args": {
473
+ "tag": {
474
+ "description": "Tag",
475
+ "name": "tag",
476
+ "required": true
477
+ }
478
+ },
479
+ "description": "get pipeline status for tag",
480
+ "examples": [
481
+ "$ ops gitlab:get-tag-pipeline 17.0.0"
482
+ ],
483
+ "flags": {
484
+ "pat": {
485
+ "description": "Token from user that has permissions to list and create tags",
486
+ "env": "PRIVATE_TOKEN",
487
+ "name": "pat",
488
+ "required": true,
489
+ "hasDynamicHelp": false,
490
+ "multiple": false,
491
+ "type": "option"
492
+ },
493
+ "host": {
494
+ "description": "Server hostname",
495
+ "env": "CI_SERVER_URL",
496
+ "name": "host",
497
+ "required": true,
498
+ "default": "https://git.adacta-fintech.com",
499
+ "hasDynamicHelp": false,
500
+ "multiple": false,
501
+ "type": "option"
502
+ },
503
+ "project": {
504
+ "description": "Project ID",
505
+ "env": "CI_PROJECT_ID",
506
+ "name": "project",
507
+ "required": true,
508
+ "default": "413",
509
+ "hasDynamicHelp": false,
510
+ "multiple": false,
511
+ "type": "option"
512
+ },
513
+ "wait": {
514
+ "description": "Wait for pipeline to finish",
515
+ "name": "wait",
516
+ "allowNo": false,
517
+ "type": "boolean"
518
+ },
519
+ "timeout": {
520
+ "description": "Timeout for wait command in seconds (defaults to 120 seconds)",
521
+ "name": "timeout",
522
+ "default": "120",
523
+ "hasDynamicHelp": false,
524
+ "multiple": false,
525
+ "type": "option"
526
+ },
527
+ "delay": {
528
+ "description": "Delay of check in seconds (defaults to 5 seconds)",
529
+ "name": "delay",
530
+ "default": "5",
531
+ "hasDynamicHelp": false,
532
+ "multiple": false,
533
+ "type": "option"
534
+ }
535
+ },
536
+ "hasDynamicHelp": false,
537
+ "hiddenAliases": [],
538
+ "id": "gitlab:get-tag-pipeline",
539
+ "pluginAlias": "@adinsure-ops/ops-cli",
540
+ "pluginName": "@adinsure-ops/ops-cli",
541
+ "pluginType": "core",
542
+ "strict": true,
543
+ "usage": "gitlab:get-tag-pipeline <tag>",
544
+ "isESM": true,
545
+ "relativePath": [
546
+ "lib",
547
+ "commands",
548
+ "gitlab",
549
+ "get-tag-pipeline.js"
550
+ ]
551
+ },
552
+ "gitlab:next-nightly-tag": {
553
+ "aliases": [],
554
+ "args": {
555
+ "version": {
556
+ "description": "Tag version",
557
+ "name": "version",
558
+ "required": true
559
+ }
560
+ },
561
+ "description": "creates new gitlab tag",
562
+ "examples": [
563
+ "$ ops gitlab:next-nightly-tag 17.0.0"
564
+ ],
565
+ "flags": {
566
+ "pat": {
567
+ "description": "Token from user that has permissions to list and create tags",
568
+ "env": "PRIVATE_TOKEN",
569
+ "name": "pat",
570
+ "required": true,
571
+ "hasDynamicHelp": false,
572
+ "multiple": false,
573
+ "type": "option"
574
+ },
575
+ "host": {
576
+ "description": "Server hostname",
577
+ "env": "CI_SERVER_URL",
578
+ "name": "host",
579
+ "required": true,
580
+ "default": "https://git.adacta-fintech.com",
581
+ "hasDynamicHelp": false,
582
+ "multiple": false,
583
+ "type": "option"
584
+ },
585
+ "project": {
586
+ "description": "Project ID",
587
+ "env": "CI_PROJECT_ID",
588
+ "name": "project",
589
+ "required": true,
590
+ "default": "413",
591
+ "hasDynamicHelp": false,
592
+ "multiple": false,
593
+ "type": "option"
594
+ },
595
+ "reference": {
596
+ "description": "Reference to create tag on (branch, commit, tag)",
597
+ "env": "CI_COMMIT_REF_NAME",
598
+ "name": "reference",
599
+ "required": true,
600
+ "hasDynamicHelp": false,
601
+ "multiple": false,
602
+ "type": "option"
603
+ },
604
+ "outputVersionOnly": {
605
+ "description": "output only version instead of pretty output",
606
+ "name": "outputVersionOnly",
607
+ "allowNo": false,
608
+ "type": "boolean"
609
+ },
610
+ "dryRun": {
611
+ "description": "Only printout version and don't create it",
612
+ "name": "dryRun",
613
+ "allowNo": false,
614
+ "type": "boolean"
615
+ }
616
+ },
617
+ "hasDynamicHelp": false,
618
+ "hiddenAliases": [],
619
+ "id": "gitlab:next-nightly-tag",
620
+ "pluginAlias": "@adinsure-ops/ops-cli",
621
+ "pluginName": "@adinsure-ops/ops-cli",
622
+ "pluginType": "core",
623
+ "strict": true,
624
+ "usage": "gitlab:next-nightly-tag <version>",
625
+ "isESM": true,
626
+ "relativePath": [
627
+ "lib",
628
+ "commands",
629
+ "gitlab",
630
+ "next-nightly-tag.js"
631
+ ]
632
+ },
470
633
  "download:client": {
471
634
  "aliases": [
472
635
  "download:client"
@@ -890,169 +1053,6 @@
890
1053
  "studio.js"
891
1054
  ]
892
1055
  },
893
- "gitlab:get-tag-pipeline": {
894
- "aliases": [],
895
- "args": {
896
- "tag": {
897
- "description": "Tag",
898
- "name": "tag",
899
- "required": true
900
- }
901
- },
902
- "description": "get pipeline status for tag",
903
- "examples": [
904
- "$ ops gitlab:get-tag-pipeline 17.0.0"
905
- ],
906
- "flags": {
907
- "pat": {
908
- "description": "Token from user that has permissions to list and create tags",
909
- "env": "PRIVATE_TOKEN",
910
- "name": "pat",
911
- "required": true,
912
- "hasDynamicHelp": false,
913
- "multiple": false,
914
- "type": "option"
915
- },
916
- "host": {
917
- "description": "Server hostname",
918
- "env": "CI_SERVER_URL",
919
- "name": "host",
920
- "required": true,
921
- "default": "https://git.adacta-fintech.com",
922
- "hasDynamicHelp": false,
923
- "multiple": false,
924
- "type": "option"
925
- },
926
- "project": {
927
- "description": "Project ID",
928
- "env": "CI_PROJECT_ID",
929
- "name": "project",
930
- "required": true,
931
- "default": "413",
932
- "hasDynamicHelp": false,
933
- "multiple": false,
934
- "type": "option"
935
- },
936
- "wait": {
937
- "description": "Wait for pipeline to finish",
938
- "name": "wait",
939
- "allowNo": false,
940
- "type": "boolean"
941
- },
942
- "timeout": {
943
- "description": "Timeout for wait command in seconds (defaults to 120 seconds)",
944
- "name": "timeout",
945
- "default": "120",
946
- "hasDynamicHelp": false,
947
- "multiple": false,
948
- "type": "option"
949
- },
950
- "delay": {
951
- "description": "Delay of check in seconds (defaults to 5 seconds)",
952
- "name": "delay",
953
- "default": "5",
954
- "hasDynamicHelp": false,
955
- "multiple": false,
956
- "type": "option"
957
- }
958
- },
959
- "hasDynamicHelp": false,
960
- "hiddenAliases": [],
961
- "id": "gitlab:get-tag-pipeline",
962
- "pluginAlias": "@adinsure-ops/ops-cli",
963
- "pluginName": "@adinsure-ops/ops-cli",
964
- "pluginType": "core",
965
- "strict": true,
966
- "usage": "gitlab:get-tag-pipeline <tag>",
967
- "isESM": true,
968
- "relativePath": [
969
- "lib",
970
- "commands",
971
- "gitlab",
972
- "get-tag-pipeline.js"
973
- ]
974
- },
975
- "gitlab:next-nightly-tag": {
976
- "aliases": [],
977
- "args": {
978
- "version": {
979
- "description": "Tag version",
980
- "name": "version",
981
- "required": true
982
- }
983
- },
984
- "description": "creates new gitlab tag",
985
- "examples": [
986
- "$ ops gitlab:next-nightly-tag 17.0.0"
987
- ],
988
- "flags": {
989
- "pat": {
990
- "description": "Token from user that has permissions to list and create tags",
991
- "env": "PRIVATE_TOKEN",
992
- "name": "pat",
993
- "required": true,
994
- "hasDynamicHelp": false,
995
- "multiple": false,
996
- "type": "option"
997
- },
998
- "host": {
999
- "description": "Server hostname",
1000
- "env": "CI_SERVER_URL",
1001
- "name": "host",
1002
- "required": true,
1003
- "default": "https://git.adacta-fintech.com",
1004
- "hasDynamicHelp": false,
1005
- "multiple": false,
1006
- "type": "option"
1007
- },
1008
- "project": {
1009
- "description": "Project ID",
1010
- "env": "CI_PROJECT_ID",
1011
- "name": "project",
1012
- "required": true,
1013
- "default": "413",
1014
- "hasDynamicHelp": false,
1015
- "multiple": false,
1016
- "type": "option"
1017
- },
1018
- "reference": {
1019
- "description": "Reference to create tag on (branch, commit, tag)",
1020
- "env": "CI_COMMIT_REF_NAME",
1021
- "name": "reference",
1022
- "required": true,
1023
- "hasDynamicHelp": false,
1024
- "multiple": false,
1025
- "type": "option"
1026
- },
1027
- "outputVersionOnly": {
1028
- "description": "output only version instead of pretty output",
1029
- "name": "outputVersionOnly",
1030
- "allowNo": false,
1031
- "type": "boolean"
1032
- },
1033
- "dryRun": {
1034
- "description": "Only printout version and don't create it",
1035
- "name": "dryRun",
1036
- "allowNo": false,
1037
- "type": "boolean"
1038
- }
1039
- },
1040
- "hasDynamicHelp": false,
1041
- "hiddenAliases": [],
1042
- "id": "gitlab:next-nightly-tag",
1043
- "pluginAlias": "@adinsure-ops/ops-cli",
1044
- "pluginName": "@adinsure-ops/ops-cli",
1045
- "pluginType": "core",
1046
- "strict": true,
1047
- "usage": "gitlab:next-nightly-tag <version>",
1048
- "isESM": true,
1049
- "relativePath": [
1050
- "lib",
1051
- "commands",
1052
- "gitlab",
1053
- "next-nightly-tag.js"
1054
- ]
1055
- },
1056
1056
  "jira:issue": {
1057
1057
  "aliases": [],
1058
1058
  "args": {
@@ -1589,5 +1589,5 @@
1589
1589
  ]
1590
1590
  }
1591
1591
  },
1592
- "version": "5.1.3"
1592
+ "version": "5.2.1"
1593
1593
  }
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.1.3",
4
+ "version": "5.2.1",
5
5
  "author": "Adacta Digital Service Department",
6
6
  "bin": {
7
7
  "ops": "./bin/run.js"
package/CHANGELOGS.md DELETED
@@ -1,202 +0,0 @@
1
- # Changelogs
2
-
3
- ## 5.1.3: 2024-07-19
4
-
5
- - LJADIRD-46495: make the `ops npm:dependency-update` command process `package.json` files in hidden (sub)directories, too.
6
-
7
- ## 5.1.2: 2024-07-04
8
-
9
- - LJADIRD-43932: updated all core (oclif) and non-core dependencies
10
- - LJADIRDSUP-15178: added acquiring token by refreshToken functionality into security context
11
- - LJADIRD-47453: updated create-nightly-tag regex to match correct versions and create new tag
12
-
13
- ## 5.1.1: 2024-05-13
14
-
15
- - LJADIRD-46524: added more verbose output to the security context when aquiring token
16
-
17
- ## 5.1.0: 2024-03-29
18
-
19
- - LJADIRDSUP-13830: added verbose error output when downloading studio and installing the plugin into the VSCode
20
- - LJADIRD-45744: removed Node.js v16 support, only supporting Node.js >=18
21
-
22
- ## 5.0.11: 2024-03-26
23
-
24
- - LJADIRD-45711: updated regex for matching tags in the gitlab:next-nightly-tag command
25
-
26
- ## 5.0.10: 2024-03-20
27
-
28
- - LJADIRDSUP-13469: added gurads for checking if the npmrc file being read is a directory
29
-
30
- ## 5.0.9: 2024-01-03
31
-
32
- - ops-cli sql command is now case insensitive
33
- - LJADIRDSUP-12244: axios already returns json and doesn't need to be parsed again
34
-
35
- ## 5.0.8: 2023-12-22
36
-
37
- - gitlab:get-nightly-tag command request is fixed since the parameters in the HTTP header were misconfigured
38
-
39
- ## 5.0.7: 2023-12-18
40
-
41
- - Sql command can now accept aruguments in lowercase as well as with a capital first letter
42
- - Bugfix: sql path will now stop capitalizing the extend, migration, data and schema directory
43
-
44
- ## 5.0.6: 2023-12-14
45
-
46
- - Node 16 support added
47
-
48
- ## 5.0.5: 2023-11-20
49
-
50
- - Fixed the ops-cli releasing cycle as a few minor releases were not uploaded to npm.js
51
-
52
- ## 5.0.4: 2023-09-27
53
-
54
- - Fixed version command's post request, where the headers were actually stored in the body
55
-
56
- ## 5.0.3: 2023-09-25
57
-
58
- - Updated node engine support to also include 20.x and deprecated the use of 14.x
59
-
60
- ## 5.0.2: 2023-09-14
61
-
62
- - Fixed download commands and their output flag
63
- - Fixed translate command to have correct url in the get request
64
-
65
- ## 5.0.1: 2023-09-12
66
-
67
- - Updated ops-cli to the stable version 5.x
68
- - Prepare-content command is back! But with a differenct syntax than before, so check the README
69
- - Faster performance and updated dependencies
70
-
71
- ## 5.0.0: 2023-09-08
72
-
73
- - Added --description flag to the log command. It accepts the description of the changelog which will be used
74
- - Added --force flag to the log command. It creates folder structure if missing
75
- - Added --keep flag to the download:studio command
76
- - Bugfixes
77
- - Security patching: the project was migrated to a new oclif framework from the old one
78
- - Performace tuning
79
- - [DEPRECATED] Deprecation and removal of the prepare-content command
80
- - [REMOVED] `--servicePrincipal` login is no longer available or required. 'AZURE_CLIENT_ID' and 'AZURE_CLIENT_SECRET' environment variables are required with every command in order to use service principal.
81
-
82
- ## 4.8.3: 2023-08-22
83
-
84
- - Bugfixes; sql command was fixed so that even when Extend was not used it required its parameters
85
- - Security patches in library dependencies
86
-
87
- ## 4.8.2: 2023-07-28
88
-
89
- - Sql command can now generate a template for mssql and oracle, for extending an sql table with a column
90
-
91
- ## 4.8.1: 2023-06-01
92
-
93
- - Added --force option to login command, to forcefully replace the old auth token
94
- - Added --retry option to publush command, to retry publishing a package multiple times in case of 4xx or 5xx http errors
95
-
96
- ## 4.8.0: 2023-05-01
97
-
98
- - VERSION files now don't need to be trimmed (they can have leading or trailing whitespace characters) in order for commands to read it properly
99
- - Added two new commands (usage in README file):
100
- - download:jmeter-examples
101
- - download:keycloak-scim
102
-
103
- ## 4.7.0: 2023-03-22
104
-
105
- - Fixed bug in `download:studio` when flag `-i` was always required in case we used `-o` flag
106
- - Download of signalr is now also supported
107
- - Improved description for download topic, it now displays information on downloading individual components
108
- - Update command is no longer supported. Instead the update available warning provides information on available update options
109
-
110
- ## 4.6.0: 2023-02-15
111
-
112
- - Doctor no longer checks for `vsts-npm-auth` package
113
- - When installing studio you can pass parameter `s` to skip installation in case the selected version is already installed
114
-
115
- ## 4.5.2: 2023-01-12
116
-
117
- - Limit description length for sql scripts
118
-
119
- ## 4.5.1: 2022-12-13
120
-
121
- - Fixed release version for windows and linux packages
122
-
123
- ## 4.5.0: 2022-10-05
124
-
125
- - Add `--major` flag for sql script generation
126
- - Add `SQL_SCRIPT_VERSION` to force script generation
127
-
128
- ## 4.4.0: 2022-10-03
129
-
130
- - Added parameters for offline sql script creation
131
- - Ability to recover from prerelease tag when creating db scripts
132
-
133
- ## 4.3.0: 2022-07-27
134
-
135
- - Added command `npm:dependency-update` to update dependencies on packages in workspace defined by filter
136
- - Added command `nuget:dependency-update` to update dependencies on packages in workspace defined by filter
137
- - Improve error handling in translation fetching
138
- - Improve warning output when npm publish fails
139
-
140
- ## 4.2.0: 2022-07-15
141
-
142
- - Added command `gitlab:get-tag-pipeline` to track pipeline status and wait for pipeline to finish
143
- - Added `--outputVersionOnly` to `gitlab:next-nightly-tag` to output only version
144
-
145
- ## 4.1.0: 2022-06-15
146
-
147
- - `vsix` file is removed after installation when `-i` flag is used
148
-
149
- ## 4.0.0: 2021-05-31
150
-
151
- - New auth options
152
- - [DEPRECATED] `--servicePrincipal` login is no longer available or required. 'AZURE_CLIENT_ID' and 'AZURE_CLIENT_SECRET' environment variables are required with every command in order to use service principal.
153
-
154
- ## 3.9.0: 2021-05-30
155
-
156
- - Additional options for translations output filename
157
-
158
- ## 3.8.1: 2021-05-17
159
-
160
- - Fix GitLab next nightly tag when tags with `test` and `qa` annotation exists
161
-
162
- ## 3.8.0: 2021-05-05
163
-
164
- - Added GitLab next nightly tag
165
-
166
- ## 3.7.0: 2021-04-28
167
-
168
- - Added download commands for AdInsure Server, Client, IdentityServer and Scheduler
169
-
170
- ## 3.6.1: 2021-12-02
171
-
172
- - Improve workspace search pattern for npm publish
173
-
174
- ## 3.6.0: 2021-11-30
175
-
176
- - Add ability to transform files with prepare-content
177
-
178
- ## 3.5.0: 2021-11-24
179
-
180
- - Renaming prepare-content command
181
-
182
- ## 3.4.0: 2021-10-24
183
-
184
- - Added Jira command for listing labels and setting them
185
- - Added Jira command for listing issue
186
-
187
- ## 3.3.1: 2021-10-16
188
-
189
- - Exclude should be optional for npm:publish
190
-
191
- ## 3.3.0: 2021-10-14
192
-
193
- - Introduced npm check command
194
- - Introcuced npm publish command
195
- - Introduced doctor command
196
- - Introduced download:platform and download:studio command
197
-
198
- ## 3.2.4: 2021-10-09
199
-
200
- - Ignore VERSION file when using 'new' command
201
- - Unexpected token in JSON files should not stop execution
202
- - Introduce `--exclude-dir` parameter for `version` command