@clickview/ship-it 0.0.32 → 0.0.33

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 (175) hide show
  1. package/Dockerfile +33 -33
  2. package/README.md +48 -48
  3. package/config.json +19 -19
  4. package/lib/config.json +20 -20
  5. package/lib/src/api-clients/git-lab/GitLabApiClient.js +439 -439
  6. package/lib/src/api-clients/git-lab/GitLabMapper.js +82 -82
  7. package/lib/src/api-clients/index.js +20 -20
  8. package/lib/src/api-clients/slack/SlackApiClient.js +206 -206
  9. package/lib/src/api-clients/team-city/TeamCityApiClient.js +100 -100
  10. package/lib/src/api-clients/trello/TrelloApiClient.js +145 -145
  11. package/lib/src/commands/BumpPackagesCommand.js +84 -84
  12. package/lib/src/commands/CreateBranchCommand.js +100 -100
  13. package/lib/src/commands/CreateMergeRequestCommand.js +107 -107
  14. package/lib/src/commands/CreateNotesAuditCommand.js +84 -84
  15. package/lib/src/commands/CreateReleaseNotesCommand.js +95 -95
  16. package/lib/src/commands/CreateTrelloCardsCommand.js +77 -77
  17. package/lib/src/commands/InstallPackagesCommand.js +76 -76
  18. package/lib/src/commands/ListProjectsCommand.js +76 -76
  19. package/lib/src/commands/ReleaseCommand.js +129 -129
  20. package/lib/src/commands/StartProjectBuildsCommand.js +76 -76
  21. package/lib/src/commands/StatusCommand.js +88 -88
  22. package/lib/src/commands/TagMasterCommand.js +76 -76
  23. package/lib/src/commands/ValidateMergeRequestCommand.js +76 -76
  24. package/lib/src/commands/VersionCommand.js +76 -76
  25. package/lib/src/commands/index.js +30 -30
  26. package/lib/src/constants/CommandTypeMapping.js +20 -20
  27. package/lib/src/constants/GitLabMemberIds.js +6 -6
  28. package/lib/src/constants/MonorepoPackageJsonFiles.js +17 -17
  29. package/lib/src/constants/MonorepoProjectNames.js +16 -16
  30. package/lib/src/constants/ProjectNames.js +68 -68
  31. package/lib/src/constants/SlackUserEmailList.js +13 -13
  32. package/lib/src/constants/TeamCityBuildIDs.js +45 -45
  33. package/lib/src/constants/index.js +19 -19
  34. package/lib/src/errors/ShipItError.js +32 -32
  35. package/lib/src/errors/index.js +17 -17
  36. package/lib/src/index.js +18 -18
  37. package/lib/src/interfaces/Config.js +2 -2
  38. package/lib/src/interfaces/MergeRequestState.js +2 -2
  39. package/lib/src/interfaces/ProjectNames.js +2 -2
  40. package/lib/src/interfaces/ShipItCommand.js +2 -2
  41. package/lib/src/interfaces/ShipItTask.js +2 -2
  42. package/lib/src/interfaces/VersionType.js +2 -2
  43. package/lib/src/interfaces/command-cli-options/MilestoneCommandCliOptions.js +2 -2
  44. package/lib/src/interfaces/command-cli-options/ReleaseCommandCliOptions.js +2 -2
  45. package/lib/src/interfaces/command-cli-options/StatusCommandCliOptions.js +2 -2
  46. package/lib/src/interfaces/command-cli-options/index.js +19 -19
  47. package/lib/src/interfaces/command-options/BaseCommandOptions.js +2 -2
  48. package/lib/src/interfaces/command-options/BumpPackagesCommandOptions.js +2 -2
  49. package/lib/src/interfaces/command-options/DockerMilestoneCommandOptions.js +2 -2
  50. package/lib/src/interfaces/command-options/MilestoneCommandOptions.js +2 -2
  51. package/lib/src/interfaces/command-options/ReleaseCommandOptions.js +2 -2
  52. package/lib/src/interfaces/command-options/StatusCommandOptions.js +2 -2
  53. package/lib/src/interfaces/command-options/ValidateMRCommandOptions.js +2 -2
  54. package/lib/src/interfaces/command-options/index.js +22 -22
  55. package/lib/src/interfaces/index.js +26 -26
  56. package/lib/src/interfaces/models/Branch.js +2 -2
  57. package/lib/src/interfaces/models/Commit.js +2 -2
  58. package/lib/src/interfaces/models/CommitFile.js +2 -2
  59. package/lib/src/interfaces/models/File.js +2 -2
  60. package/lib/src/interfaces/models/Label.js +2 -2
  61. package/lib/src/interfaces/models/MergeRequest.js +2 -2
  62. package/lib/src/interfaces/models/Milestone.js +2 -2
  63. package/lib/src/interfaces/models/Project.js +2 -2
  64. package/lib/src/interfaces/models/ProjectConfig.js +9 -9
  65. package/lib/src/interfaces/models/Release.js +2 -2
  66. package/lib/src/interfaces/models/Tag.js +2 -2
  67. package/lib/src/interfaces/models/index.js +26 -26
  68. package/lib/src/interfaces/view-models/MilestoneProject.js +2 -2
  69. package/lib/src/interfaces/view-models/index.js +17 -17
  70. package/lib/src/inversify.config.js +75 -75
  71. package/lib/src/services/GitLabService.js +508 -508
  72. package/lib/src/services/SlackService.js +142 -142
  73. package/lib/src/services/TeamCityService.js +37 -37
  74. package/lib/src/services/TrelloService.js +84 -84
  75. package/lib/src/services/index.js +20 -20
  76. package/lib/src/startup/AddMilestoneCommand.js +96 -96
  77. package/lib/src/startup/GetAction.js +68 -68
  78. package/lib/src/startup/SetupCommands.js +168 -168
  79. package/lib/src/tasks/BumpPackagesTask.js +229 -229
  80. package/lib/src/tasks/BumpVersionTxtTask.js +110 -110
  81. package/lib/src/tasks/CommitPackageVersionsTask.js +116 -116
  82. package/lib/src/tasks/CreateBranchTask.js +104 -104
  83. package/lib/src/tasks/CreateMergeRequestTask.js +118 -118
  84. package/lib/src/tasks/CreateNotesAuditTask.js +140 -140
  85. package/lib/src/tasks/CreateReleaseNotesTask.js +144 -144
  86. package/lib/src/tasks/InstallPackagesTask.js +407 -407
  87. package/lib/src/tasks/ListProjectsTask.js +87 -87
  88. package/lib/src/tasks/PopulateTrelloBoardTask.js +140 -140
  89. package/lib/src/tasks/StartMonorepoBuildTask.js +109 -109
  90. package/lib/src/tasks/StartProjectBuildsTask.js +170 -170
  91. package/lib/src/tasks/TagMasterTask.js +186 -186
  92. package/lib/src/tasks/ValidateCommitsTask.js +143 -143
  93. package/lib/src/tasks/ValidateDescriptionsTask.js +178 -178
  94. package/lib/src/tasks/ValidateMergeRequestTask.js +115 -115
  95. package/lib/src/tasks/ValidateTask.js +419 -419
  96. package/lib/src/tasks/VersionTask.js +98 -98
  97. package/lib/src/tasks/index.js +34 -34
  98. package/lib/src/types.js +57 -57
  99. package/lib/src/utils/BranchNames.js +11 -11
  100. package/lib/src/utils/Commits.js +55 -55
  101. package/lib/src/utils/Csv.js +54 -54
  102. package/lib/src/utils/Descriptions.js +274 -274
  103. package/lib/src/utils/GroupIds.js +6 -6
  104. package/lib/src/utils/Logger.js +62 -62
  105. package/lib/src/utils/ProjectIds.js +47 -47
  106. package/lib/src/utils/Versions.js +20 -20
  107. package/lib/src/utils/index.js +22 -22
  108. package/package.json +50 -50
  109. package/dist/F1/Analytics Web.md +0 -8
  110. package/dist/F1/AutoCaptions.md +0 -30
  111. package/dist/F1/Classroom.Api.md +0 -23
  112. package/dist/F1/ClickView Online.md +0 -17
  113. package/dist/F1/ClickView.Curator.md +0 -100
  114. package/dist/F1/ClickView.EmailService.md +0 -53
  115. package/dist/F1/ClickView.OnlineApi.md +0 -13
  116. package/dist/F1/Clients.md +0 -19
  117. package/dist/F1/Domain.Api.md +0 -23
  118. package/dist/F1/Exchange.Web.md +0 -8
  119. package/dist/F1/Image.Api.md +0 -8
  120. package/dist/F1/Integrations.Api.md +0 -23
  121. package/dist/F1/Krakend.md +0 -8
  122. package/dist/F1/Library Editor.md +0 -0
  123. package/dist/F1/Lite.md +0 -60
  124. package/dist/F1/Master.Api.md +0 -58
  125. package/dist/F1/Master.Auth.md +0 -22
  126. package/dist/F1/Objects.Api.md +0 -12
  127. package/dist/F1/Permissions.Api.md +0 -12
  128. package/dist/F1/RealtimeSalesforceSync.md +0 -14
  129. package/dist/F1/Release Notes.md +0 -990
  130. package/dist/F1/Search.Api.md +0 -12
  131. package/dist/F1/StreamableLearning.Web.md +0 -35
  132. package/dist/F1/Users.Api.md +0 -13
  133. package/dist/F1/VideoProcessorService.md +0 -23
  134. package/dist/F1/clickview.md +0 -321
  135. package/dist/F2/Analytics Web.md +0 -7
  136. package/dist/F2/Batch.Api.md +0 -27
  137. package/dist/F2/ClickView Online.md +0 -12
  138. package/dist/F2/ClickView.Curator.md +0 -166
  139. package/dist/F2/Clients.md +0 -14
  140. package/dist/F2/CurriculumIngestion.Api.md +0 -13
  141. package/dist/F2/Discover.Api.md +0 -64
  142. package/dist/F2/Domain.Api.md +0 -16
  143. package/dist/F2/Exchange.Web.md +0 -7
  144. package/dist/F2/Krakend.md +0 -12
  145. package/dist/F2/Library Editor.md +0 -11
  146. package/dist/F2/Lite.md +0 -30
  147. package/dist/F2/Objects.Api.md +0 -12
  148. package/dist/F2/Release Notes.md +0 -759
  149. package/dist/F2/Search.Api.md +0 -30
  150. package/dist/F2/Share.Api.md +0 -12
  151. package/dist/F2/StreamableLearning.Web.md +0 -14
  152. package/dist/F2/Subjects.API.md +0 -12
  153. package/dist/F2/Tv.Web.md +0 -8
  154. package/dist/F2/Users.Api.md +0 -21
  155. package/dist/F2/clickview.md +0 -200
  156. package/dist/F2/shortcode-api.md +0 -8
  157. package/dist/F3.1/Analytics Web.md +0 -8
  158. package/dist/F3.1/ClickView.Curator.md +0 -14
  159. package/dist/F3.1/Discover.Api.md +0 -14
  160. package/dist/F3.1/Domain.Api.md +0 -7
  161. package/dist/F3.1/Exchange.Web.md +0 -8
  162. package/dist/F3.1/Library Editor.md +0 -8
  163. package/dist/F3.1/Lite.md +0 -8
  164. package/dist/F3.1/Objects.Api.md +0 -7
  165. package/dist/F3.1/Release Notes.md +0 -207
  166. package/dist/F3.1/Search.Api.md +0 -14
  167. package/dist/F3.1/Share.Api.md +0 -10
  168. package/dist/F3.1/Subjects.API.md +0 -35
  169. package/dist/F3.1/VideoViews.Api.md +0 -7
  170. package/dist/F3.1/clickview.md +0 -28
  171. package/lib/src/commands/CreateTestingNotesCommand.js +0 -84
  172. package/lib/src/commands/StartConsumingProjectBuildsCommand.js +0 -76
  173. package/lib/src/tasks/CreateTestingNotesTask.js +0 -135
  174. package/lib/src/tasks/MergeMasterToDevTask.js +0 -147
  175. package/lib/src/tasks/StartConsumingProjectBuildsTask.js +0 -149
@@ -1,62 +1,62 @@
1
- "use strict";
2
- var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
3
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
4
- if (ar || !(i in from)) {
5
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
6
- ar[i] = from[i];
7
- }
8
- }
9
- return to.concat(ar || Array.prototype.slice.call(from));
10
- };
11
- var __importDefault = (this && this.__importDefault) || function (mod) {
12
- return (mod && mod.__esModule) ? mod : { "default": mod };
13
- };
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.Logger = void 0;
16
- require("reflect-metadata");
17
- var chalk_1 = __importDefault(require("chalk"));
18
- exports.Logger = {
19
- logSuccess: function (message) {
20
- var optionalParams = [];
21
- for (var _i = 1; _i < arguments.length; _i++) {
22
- optionalParams[_i - 1] = arguments[_i];
23
- }
24
- console.log(chalk_1.default.green.apply(chalk_1.default, __spreadArray([message], optionalParams, false)));
25
- },
26
- logInfo: function (message) {
27
- var optionalParams = [];
28
- for (var _i = 1; _i < arguments.length; _i++) {
29
- optionalParams[_i - 1] = arguments[_i];
30
- }
31
- console.log(chalk_1.default.grey.apply(chalk_1.default, __spreadArray([message], optionalParams, false)));
32
- },
33
- logMessage: function (message) {
34
- var optionalParams = [];
35
- for (var _i = 1; _i < arguments.length; _i++) {
36
- optionalParams[_i - 1] = arguments[_i];
37
- }
38
- console.log(chalk_1.default.white.apply(chalk_1.default, __spreadArray([message], optionalParams, false)));
39
- },
40
- logWarning: function (message) {
41
- var optionalParams = [];
42
- for (var _i = 1; _i < arguments.length; _i++) {
43
- optionalParams[_i - 1] = arguments[_i];
44
- }
45
- console.log(chalk_1.default.yellow.apply(chalk_1.default, __spreadArray([message], optionalParams, false)));
46
- },
47
- logError: function (message) {
48
- var optionalParams = [];
49
- for (var _i = 1; _i < arguments.length; _i++) {
50
- optionalParams[_i - 1] = arguments[_i];
51
- }
52
- console.log(chalk_1.default.red.apply(chalk_1.default, __spreadArray([message], optionalParams, false)));
53
- },
54
- logJson: function (json) {
55
- console.log(json);
56
- },
57
- logTask: function (title) {
58
- exports.Logger.logInfo('\n-------------------------------------');
59
- exports.Logger.logInfo(title);
60
- exports.Logger.logInfo('-------------------------------------\n');
61
- }
62
- };
1
+ "use strict";
2
+ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
3
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
4
+ if (ar || !(i in from)) {
5
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
6
+ ar[i] = from[i];
7
+ }
8
+ }
9
+ return to.concat(ar || Array.prototype.slice.call(from));
10
+ };
11
+ var __importDefault = (this && this.__importDefault) || function (mod) {
12
+ return (mod && mod.__esModule) ? mod : { "default": mod };
13
+ };
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.Logger = void 0;
16
+ require("reflect-metadata");
17
+ var chalk_1 = __importDefault(require("chalk"));
18
+ exports.Logger = {
19
+ logSuccess: function (message) {
20
+ var optionalParams = [];
21
+ for (var _i = 1; _i < arguments.length; _i++) {
22
+ optionalParams[_i - 1] = arguments[_i];
23
+ }
24
+ console.log(chalk_1.default.green.apply(chalk_1.default, __spreadArray([message], optionalParams, false)));
25
+ },
26
+ logInfo: function (message) {
27
+ var optionalParams = [];
28
+ for (var _i = 1; _i < arguments.length; _i++) {
29
+ optionalParams[_i - 1] = arguments[_i];
30
+ }
31
+ console.log(chalk_1.default.grey.apply(chalk_1.default, __spreadArray([message], optionalParams, false)));
32
+ },
33
+ logMessage: function (message) {
34
+ var optionalParams = [];
35
+ for (var _i = 1; _i < arguments.length; _i++) {
36
+ optionalParams[_i - 1] = arguments[_i];
37
+ }
38
+ console.log(chalk_1.default.white.apply(chalk_1.default, __spreadArray([message], optionalParams, false)));
39
+ },
40
+ logWarning: function (message) {
41
+ var optionalParams = [];
42
+ for (var _i = 1; _i < arguments.length; _i++) {
43
+ optionalParams[_i - 1] = arguments[_i];
44
+ }
45
+ console.log(chalk_1.default.yellow.apply(chalk_1.default, __spreadArray([message], optionalParams, false)));
46
+ },
47
+ logError: function (message) {
48
+ var optionalParams = [];
49
+ for (var _i = 1; _i < arguments.length; _i++) {
50
+ optionalParams[_i - 1] = arguments[_i];
51
+ }
52
+ console.log(chalk_1.default.red.apply(chalk_1.default, __spreadArray([message], optionalParams, false)));
53
+ },
54
+ logJson: function (json) {
55
+ console.log(json);
56
+ },
57
+ logTask: function (title) {
58
+ exports.Logger.logInfo('\n-------------------------------------');
59
+ exports.Logger.logInfo(title);
60
+ exports.Logger.logInfo('-------------------------------------\n');
61
+ }
62
+ };
@@ -1,47 +1,47 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ProjectIds = void 0;
4
- var lodash_1 = require("lodash");
5
- var constants_1 = require("../constants");
6
- var errors_1 = require("../errors");
7
- exports.ProjectIds = {
8
- MONOREPO_PROJECT_ID: constants_1.PROJECT_NAMES.frontend.monorepo,
9
- /**
10
- * This allows project names to be passed into the CLI.
11
- * For example `ship-it release -m S2 -p lite`
12
- */
13
- getProjectIds: function (projects) {
14
- var projectIds = [];
15
- for (var _i = 0, projects_1 = projects; _i < projects_1.length; _i++) {
16
- var project = projects_1[_i];
17
- if (!isNaN(+project)) {
18
- projectIds.push(project);
19
- continue;
20
- }
21
- var mappedId = getMappedId(project);
22
- if (!mappedId)
23
- throw new errors_1.ShipItError("Could not find project id mapping for ".concat(project));
24
- projectIds.push(mappedId);
25
- }
26
- return (0, lodash_1.uniq)(projectIds);
27
- }
28
- };
29
- function getMappedId(project) {
30
- for (var projectGroup in constants_1.PROJECT_NAMES) {
31
- var projectGroupIds = constants_1.PROJECT_NAMES[projectGroup];
32
- if (projectGroupIds[project])
33
- return projectGroupIds[project];
34
- // Support arguments such as "emailapi"
35
- if (projectGroupIds[project.replace('api', '')])
36
- return projectGroupIds[project.replace('api', '')];
37
- // Support arguments such as "emailservice"
38
- if (projectGroupIds[project.replace('service', '')])
39
- return projectGroupIds[project.replace('service', '')];
40
- // Support arguments such as "launchweb"
41
- if (projectGroupIds[project.replace('web', '')])
42
- return projectGroupIds[project.replace('web', '')];
43
- // Support arguments such as "hydrationapp"
44
- if (projectGroupIds[project.replace('app', '')])
45
- return projectGroupIds[project.replace('app', '')];
46
- }
47
- }
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ProjectIds = void 0;
4
+ var lodash_1 = require("lodash");
5
+ var constants_1 = require("../constants");
6
+ var errors_1 = require("../errors");
7
+ exports.ProjectIds = {
8
+ MONOREPO_PROJECT_ID: constants_1.PROJECT_NAMES.frontend.monorepo,
9
+ /**
10
+ * This allows project names to be passed into the CLI.
11
+ * For example `ship-it release -m S2 -p lite`
12
+ */
13
+ getProjectIds: function (projects) {
14
+ var projectIds = [];
15
+ for (var _i = 0, projects_1 = projects; _i < projects_1.length; _i++) {
16
+ var project = projects_1[_i];
17
+ if (!isNaN(+project)) {
18
+ projectIds.push(project);
19
+ continue;
20
+ }
21
+ var mappedId = getMappedId(project);
22
+ if (!mappedId)
23
+ throw new errors_1.ShipItError("Could not find project id mapping for ".concat(project));
24
+ projectIds.push(mappedId);
25
+ }
26
+ return (0, lodash_1.uniq)(projectIds);
27
+ }
28
+ };
29
+ function getMappedId(project) {
30
+ for (var projectGroup in constants_1.PROJECT_NAMES) {
31
+ var projectGroupIds = constants_1.PROJECT_NAMES[projectGroup];
32
+ if (projectGroupIds[project])
33
+ return projectGroupIds[project];
34
+ // Support arguments such as "emailapi"
35
+ if (projectGroupIds[project.replace('api', '')])
36
+ return projectGroupIds[project.replace('api', '')];
37
+ // Support arguments such as "emailservice"
38
+ if (projectGroupIds[project.replace('service', '')])
39
+ return projectGroupIds[project.replace('service', '')];
40
+ // Support arguments such as "launchweb"
41
+ if (projectGroupIds[project.replace('web', '')])
42
+ return projectGroupIds[project.replace('web', '')];
43
+ // Support arguments such as "hydrationapp"
44
+ if (projectGroupIds[project.replace('app', '')])
45
+ return projectGroupIds[project.replace('app', '')];
46
+ }
47
+ }
@@ -1,20 +1,20 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.Versions = void 0;
7
- var semver_1 = __importDefault(require("semver"));
8
- exports.Versions = {
9
- getNextVersion: function (currentVersion, type) {
10
- var curr = new semver_1.default.SemVer(currentVersion);
11
- switch (type) {
12
- case 'major':
13
- return "".concat(curr.major + 1, ".0.0");
14
- case 'minor':
15
- return "".concat(curr.major, ".").concat(curr.minor + 1, ".0");
16
- case 'patch':
17
- return "".concat(curr.major, ".").concat(curr.minor, ".").concat(curr.patch + 1);
18
- }
19
- }
20
- };
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.Versions = void 0;
7
+ var semver_1 = __importDefault(require("semver"));
8
+ exports.Versions = {
9
+ getNextVersion: function (currentVersion, type) {
10
+ var curr = new semver_1.default.SemVer(currentVersion);
11
+ switch (type) {
12
+ case 'major':
13
+ return "".concat(curr.major + 1, ".0.0");
14
+ case 'minor':
15
+ return "".concat(curr.major, ".").concat(curr.minor + 1, ".0");
16
+ case 'patch':
17
+ return "".concat(curr.major, ".").concat(curr.minor, ".").concat(curr.patch + 1);
18
+ }
19
+ }
20
+ };
@@ -1,22 +1,22 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./BranchNames"), exports);
18
- __exportStar(require("./Commits"), exports);
19
- __exportStar(require("./Descriptions"), exports);
20
- __exportStar(require("./Logger"), exports);
21
- __exportStar(require("./ProjectIds"), exports);
22
- __exportStar(require("./Versions"), exports);
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./BranchNames"), exports);
18
+ __exportStar(require("./Commits"), exports);
19
+ __exportStar(require("./Descriptions"), exports);
20
+ __exportStar(require("./Logger"), exports);
21
+ __exportStar(require("./ProjectIds"), exports);
22
+ __exportStar(require("./Versions"), exports);
package/package.json CHANGED
@@ -1,50 +1,50 @@
1
- {
2
- "name": "@clickview/ship-it",
3
- "version": "0.0.32",
4
- "description": "Release Manager",
5
- "main": "./lib/index.js",
6
- "bin": {
7
- "ship-it": "./lib/src/index.js"
8
- },
9
- "scripts": {
10
- "start": "npm run lint && ts-node --files src/index.ts",
11
- "build": "npm run lint && tsc -p . && tsc-alias -p tsconfig.json",
12
- "lint": "eslint . --ext .ts"
13
- },
14
- "repository": {
15
- "type": "git",
16
- "url": "https://gitlab.cvinternal.net/front-end/ship-it.git"
17
- },
18
- "author": "Joshua Taylor, Shale Kuzmanovski",
19
- "license": "ISC",
20
- "dependencies": {
21
- "@gitbeaker/node": "35.6.0",
22
- "@slack/webhook": "7.0.2",
23
- "@slack/web-api":"6.11.2",
24
- "chalk": "4.1.2",
25
- "commander": "9.1.0",
26
- "fast-csv": "4.3.6",
27
- "fs-extra": "10.0.1",
28
- "inversify": "6.0.1",
29
- "lodash": "4.17.21",
30
- "reflect-metadata": "0.1.13",
31
- "semver": "7.3.5",
32
- "teamcity-rest-api": "0.0.8",
33
- "trello": "0.11.0"
34
- },
35
- "devDependencies": {
36
- "@clickview/eslint-config": "1.0.3",
37
- "@types/fs-extra": "9.0.13",
38
- "@types/lodash": "4.14.181",
39
- "@types/node": "17.0.23",
40
- "@types/semver": "7.3.9",
41
- "@typescript-eslint/eslint-plugin": "5.17.0",
42
- "@typescript-eslint/parser": "5.17.0",
43
- "eslint": "8.12.0",
44
- "eslint-plugin-react-hooks": "4.4.0",
45
- "ts-node": "10.7.0",
46
- "tsc-alias": "1.6.6",
47
- "tsconfig-paths": "3.14.1",
48
- "typescript": "4.6.3"
49
- }
50
- }
1
+ {
2
+ "name": "@clickview/ship-it",
3
+ "version": "0.0.33",
4
+ "description": "Release Manager",
5
+ "main": "./lib/index.js",
6
+ "bin": {
7
+ "ship-it": "./lib/src/index.js"
8
+ },
9
+ "scripts": {
10
+ "start": "npm run lint && ts-node --files src/index.ts",
11
+ "build": "npm run lint && tsc -p . && tsc-alias -p tsconfig.json",
12
+ "lint": "eslint . --ext .ts"
13
+ },
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "https://gitlab.cvinternal.net/front-end/ship-it.git"
17
+ },
18
+ "author": "Joshua Taylor, Shale Kuzmanovski",
19
+ "license": "ISC",
20
+ "dependencies": {
21
+ "@gitbeaker/node": "35.6.0",
22
+ "@slack/webhook": "7.0.2",
23
+ "@slack/web-api":"6.11.2",
24
+ "chalk": "4.1.2",
25
+ "commander": "9.1.0",
26
+ "fast-csv": "4.3.6",
27
+ "fs-extra": "10.0.1",
28
+ "inversify": "6.0.1",
29
+ "lodash": "4.17.21",
30
+ "reflect-metadata": "0.1.13",
31
+ "semver": "7.3.5",
32
+ "teamcity-rest-api": "0.0.8",
33
+ "trello": "0.11.0"
34
+ },
35
+ "devDependencies": {
36
+ "@clickview/eslint-config": "1.0.3",
37
+ "@types/fs-extra": "9.0.13",
38
+ "@types/lodash": "4.14.181",
39
+ "@types/node": "17.0.23",
40
+ "@types/semver": "7.3.9",
41
+ "@typescript-eslint/eslint-plugin": "5.17.0",
42
+ "@typescript-eslint/parser": "5.17.0",
43
+ "eslint": "8.12.0",
44
+ "eslint-plugin-react-hooks": "4.4.0",
45
+ "ts-node": "10.7.0",
46
+ "tsc-alias": "1.6.6",
47
+ "tsconfig-paths": "3.14.1",
48
+ "typescript": "4.6.3"
49
+ }
50
+ }
@@ -1,8 +0,0 @@
1
-
2
- # Code changes
3
- - Add new illos and remove old illos.
4
-
5
-
6
- # Testing
7
- - Implements ANLT-107
8
-
@@ -1,30 +0,0 @@
1
-
2
- # Code changes
3
- - Move all amazon transcribe logic to `ClickView.AutoCaptions.Aws`
4
- - Change `IAmazonTranscribeClient` to `ITranscriptionProcessor`. Closes CORE-1374
5
- - Introduce new domain models instead of using the aws client models
6
- - Now contains `TranscriptionSubtitle` which has the subtitle content as a string instead of returning urls
7
- - `AmazonTranscribeClient` changes:
8
- - Will now download the subtitle instead of leaving it up to `CaptionTaskProcessor`
9
- - Moved CdnMapping call into this service as other processors need want to use the cdn for public access
10
-
11
- - Add `Directory.Build.props` to control common properties
12
- - nullable is now enabled for all projects
13
- - Misc nullable fixes
14
- - `LanguageHelper` changes
15
- - Define a default language for when we return a default language. HashSet does not guarantee ordering so FIrst might not be whats expected
16
- - Update build files to their latest versions
17
- - Use the runtime docker image not aspnet as this is not an aspnet project
18
-
19
- - Replace local master api client with `ClickView.Clients.Master`
20
-
21
- - Update all packages to their latest versions
22
- - Replace `Serilog.AspNetCore` with `Serilog.Extensions.Hosting` since we are not in an aspnetcore context
23
-
24
-
25
- # Testing
26
- - CORE-1374
27
-
28
-
29
-
30
-
@@ -1,23 +0,0 @@
1
-
2
- # Before release
3
- * [ ] Add the following curator group ids to octo variables for production (same curator groups as user api)
4
- * 5485
5
- * 9518351
6
- * 3699822
7
- * 7204452
8
- * 1550457
9
- * 2046458
10
- * 2046453
11
- * 14069509
12
- * 67079832
13
- * 67080194
14
- * 67080437
15
-
16
-
17
- # Code changes
18
- * Add support to allow curator group users to add students to a classroom on behalf of customers in curator
19
-
20
-
21
- # Testing
22
- * INBOX-5335
23
-
@@ -1,17 +0,0 @@
1
-
2
- # Customer changes
3
- - Fix disabled users being shown the change password UI. Fixes INBOX-5227
4
-
5
-
6
- # Code changes
7
- - Remove `LastSignInDate` Min check that redirects to the change password screen. This should always be handled by auth now
8
- - Added check for if the user is disabled in `OnActionExecuting`. If they are, log the user out and redirect to the `/` root
9
- - Reduce the user cache time from 5min to 1min
10
- - Don't ignore default values in `BaseRedisDataStructure`
11
- - **Note**: This could be potentially a spicy change
12
- - This was changed to fix a bug where the UserProfile.Status was disabled but the `BaseMediaObject.Status was the default value. Ignore would then remove it because the "base" value was the default
13
-
14
-
15
- # Testing
16
- - INBOX-5227
17
-
@@ -1,100 +0,0 @@
1
-
2
- # Before release
3
- * Please add `streamableLibraryId` config property to octo. Production id = `78688869`
4
-
5
- * Update image client to latest nuget package
6
-
7
-
8
- # Dependencies
9
- * Merge after !1314
10
-
11
- - [x] Merge and release after https://gitlab.cvinternal.net/clickview/back-end/users.api/-/merge_requests/243
12
-
13
-
14
- # Customer changes
15
- * The `Content Pipeline` fixes a bug when a video's metada (e.g. description) is updated in the curator web, and if the video has any clips, the video type will be changed from `video` to `clip`
16
- *
17
-
18
- - Add streamable learning to nav
19
-
20
- - Assignees will now display their avatar
21
-
22
-
23
- # Code changes
24
- * The `Content Pipeline` updates `RightsLine` video status to `Published` after publishing videos
25
-
26
- * VideoUpdateEventHandler.HandleAsync() uses clip id rather the video id to update clip properties in mongo db
27
-
28
- * Added regions field to videos. Implements CC-823
29
-
30
- * Added null check when trying to get user token
31
-
32
- * Added parent video id and filters for clips. Implements CC-820
33
-
34
- * Added an endpoint to get dashboard videos. Implements CC-816
35
-
36
- * Added topic template column for dashboards. Implements CC-814
37
-
38
- * Supports new thumbnailText field for videos. Implements CC-812
39
-
40
- * Added `source` column. Implements CC-822
41
- * Added filters for `source` column
42
-
43
- * Fixed a bug where dashboard wasn't being updated correctly. Fixes CC-815
44
-
45
- * Fixed a bug where clip's interactive wasn't being synced. Fixes CC-811
46
-
47
- * Added priority column for all entities. Implements CC-804
48
- * Added filters for priority column. Implements CC-807
49
- * Using priority column to sort. Implements CC-818
50
- * When updating priority on a curated topic, it automatically cascade down to the videos and classification associated with that topic. Implements CC-808
51
- * Add an endpoint for setting priority. Implements CC-806
52
-
53
- * Using image client in curation studio project. Implements INBOX-5381
54
-
55
- * Fixed classroom search serialisation. Fixes INBOX-5336
56
-
57
- Added users.api endpoints with support to customerless users:
58
- * `GET` `ajax/user/{id}`: Get user by Id
59
- * `POST` `ajax/users/delete`: Delete users object
60
- * `PUT` `ajax/users/update-status`: Update user statuses (if customer is not passed, it will just update users' statuses if there's no customer).
61
- Implements CC-758
62
-
63
-
64
- # Testing
65
-
66
- * Find a video that has at least one clip created in the curator web.
67
- * Modify any video's metadata field e.g. description
68
- * Now check the video in the `Content Pipeline` doesn't change to `clip`
69
-
70
- Implements CC-823
71
-
72
-
73
-
74
- Implements CC-820
75
-
76
- Implements CC-816
77
-
78
- Implements CC-814
79
-
80
- Implements CC-812
81
-
82
- Implements CC-822
83
-
84
- Fixes CC-815
85
-
86
- Fixes CC-811
87
-
88
- * Implements CC-804
89
- * Implements CC-818
90
- * Implements CC-808
91
- * Implements CC-807
92
- * Implements CC-806
93
-
94
-
95
- Implements INBOX-5381
96
-
97
- Fixes INBOX-5336
98
-
99
- Implements CC-758
100
-
@@ -1,53 +0,0 @@
1
-
2
- # Before release
3
- - Move smtp settings to be under the `stmp:legacy` key instead of just `smtp`
4
-
5
- - Remove all regional resources from octo
6
-
7
- - Set `queues:notification:concurrentTaskCount` to
8
- - prod = `5` (current value is 10 but that seems high?)
9
- - nonprod = 1
10
-
11
-
12
- # Code changes
13
- - Move config out of Models project and into the main web project. Closes CORE-1365
14
-
15
- - Null check user and email before doing any more work (If the user has no email, theres no point in fetching the video objects etc)
16
- - Enable nullable on more projects
17
-
18
- - Added ability to define multiple smtp servers. Implements CORE-1362
19
- - Can define `weight` to do a weighted round robin load balancing
20
- - Rename `IClickViewEmailManager` to `IEmailSender`
21
- - Rename `ClickViewEmailManager` to `SmtpEmailSender`
22
-
23
- - Add an `obsolete` key to the template configuration, that will log an error any time an obsolete template is used
24
-
25
- - Removed the passing of `AppConfig` to all notifications
26
- - Added `ThumbnailHepler` to generate thumbnails (basically the same code that was in `BaseNotification`)
27
- - Added `LinkGenerator` to generate links to Manage and Lite (when we dont have `AppLinks`)
28
-
29
- - Remove regional resources and use app links and launch for (Closes CORE-1364):
30
- - `VideoAvailableNotification (Workspace)`
31
- - `VideoAvailableNotification (Exchange)`
32
- - `EditedVideoAvailable`
33
-
34
- - Use `ClickView.GoodStuff.Hosting.Queue` for the `EmailNotificationWorker`
35
- - Reduce the default prefetch count of `EmailNotificationWorker` from 10 to 1
36
-
37
- * Added null checks in `ClickView.EmailService.Notifications` project. Fixes INBOX-5691
38
- * File scoped namespace
39
-
40
-
41
- # Testing
42
-
43
-
44
- - CORE-1362
45
-
46
- - Implements CORE-1368
47
-
48
-
49
- - CORE-1364
50
-
51
-
52
- Fixes INBOX-5691
53
-
@@ -1,13 +0,0 @@
1
-
2
- # Customer changes
3
- - Fixes lite users not being able to login with multiple customers via SAML. Fixes INBOX-5858
4
-
5
-
6
- # Code changes
7
- - Remove multiple user profile check during update user call
8
- - Remove migrate user call as all users should be in master api now
9
-
10
-
11
- # Testing
12
- - INBOX-5858
13
-