@clickview/ship-it 0.0.42-dev.1 → 0.0.42

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 (129) hide show
  1. package/Dockerfile +37 -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 +581 -564
  6. package/lib/src/api-clients/git-lab/GitLabMapper.js +122 -122
  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 +76 -76
  12. package/lib/src/commands/ConfigureProjectsCommand.js +84 -84
  13. package/lib/src/commands/CreateBranchCommand.js +100 -100
  14. package/lib/src/commands/CreateMergeRequestCommand.js +107 -107
  15. package/lib/src/commands/CreateNotesAuditCommand.js +84 -84
  16. package/lib/src/commands/CreateReleaseNotesCommand.js +95 -95
  17. package/lib/src/commands/CreateTrelloCardsCommand.js +76 -76
  18. package/lib/src/commands/InstallPackagesCommand.js +76 -76
  19. package/lib/src/commands/ListProjectsCommand.js +76 -76
  20. package/lib/src/commands/ReleaseCommand.js +136 -136
  21. package/lib/src/commands/StartProjectBuildsCommand.js +76 -76
  22. package/lib/src/commands/StatusCommand.js +93 -93
  23. package/lib/src/commands/TagMasterCommand.js +76 -76
  24. package/lib/src/commands/ToolingReleaseCommand.js +144 -0
  25. package/lib/src/commands/ValidateMergeRequestCommand.js +76 -76
  26. package/lib/src/commands/VersionCommand.js +76 -76
  27. package/lib/src/commands/index.js +32 -31
  28. package/lib/src/constants/CommandTypeMapping.js +22 -21
  29. package/lib/src/constants/GitLabMemberIds.js +6 -6
  30. package/lib/src/constants/MonorepoPackageJsonFiles.js +41 -41
  31. package/lib/src/constants/MonorepoProjectNames.js +16 -16
  32. package/lib/src/constants/ProjectNames.js +69 -69
  33. package/lib/src/constants/SlackUserEmailList.js +13 -13
  34. package/lib/src/constants/TeamCityBuildIDs.js +46 -46
  35. package/lib/src/constants/index.js +19 -19
  36. package/lib/src/errors/ShipItError.js +32 -32
  37. package/lib/src/errors/index.js +17 -17
  38. package/lib/src/index.js +18 -18
  39. package/lib/src/interfaces/Config.js +2 -2
  40. package/lib/src/interfaces/MergeRequestState.js +2 -2
  41. package/lib/src/interfaces/ProjectNames.js +2 -2
  42. package/lib/src/interfaces/ShipItCommand.js +2 -2
  43. package/lib/src/interfaces/ShipItTask.js +2 -2
  44. package/lib/src/interfaces/SourceBranch.js +2 -0
  45. package/lib/src/interfaces/VersionType.js +2 -2
  46. package/lib/src/interfaces/command-cli-options/DockerMilestoneCommandCliOptions.js +2 -2
  47. package/lib/src/interfaces/command-cli-options/MilestoneCommandCliOptions.js +2 -2
  48. package/lib/src/interfaces/command-cli-options/ReleaseCommandCliOptions.js +2 -2
  49. package/lib/src/interfaces/command-cli-options/StatusCommandCliOptions.js +2 -2
  50. package/lib/src/interfaces/command-cli-options/ToolingReleaseCommandCliOptions.js +2 -0
  51. package/lib/src/interfaces/command-cli-options/index.js +20 -19
  52. package/lib/src/interfaces/command-options/BaseCommandOptions.js +2 -2
  53. package/lib/src/interfaces/command-options/BumpPackagesCommandOptions.js +2 -2
  54. package/lib/src/interfaces/command-options/ConfigureProjectsOptions.js +2 -2
  55. package/lib/src/interfaces/command-options/DockerMilestoneCommandOptions.js +2 -2
  56. package/lib/src/interfaces/command-options/MilestoneCommandOptions.js +2 -2
  57. package/lib/src/interfaces/command-options/ReleaseCommandOptions.js +2 -2
  58. package/lib/src/interfaces/command-options/StatusCommandOptions.js +2 -2
  59. package/lib/src/interfaces/command-options/ToolingReleaseCommandOptions.js +2 -0
  60. package/lib/src/interfaces/command-options/ValidateMRCommandOptions.js +2 -2
  61. package/lib/src/interfaces/command-options/index.js +24 -23
  62. package/lib/src/interfaces/index.js +26 -26
  63. package/lib/src/interfaces/models/ApprovalRule.js +2 -2
  64. package/lib/src/interfaces/models/ApprovalRuleConfiguration.js +2 -2
  65. package/lib/src/interfaces/models/Branch.js +2 -2
  66. package/lib/src/interfaces/models/Commit.js +2 -2
  67. package/lib/src/interfaces/models/CommitFile.js +2 -2
  68. package/lib/src/interfaces/models/CreateApprovalRuleRequest.js +2 -2
  69. package/lib/src/interfaces/models/File.js +2 -2
  70. package/lib/src/interfaces/models/Group.js +2 -2
  71. package/lib/src/interfaces/models/Label.js +2 -2
  72. package/lib/src/interfaces/models/MergeRequest.js +2 -2
  73. package/lib/src/interfaces/models/Milestone.js +2 -2
  74. package/lib/src/interfaces/models/Project.js +2 -2
  75. package/lib/src/interfaces/models/ProjectConfig.js +9 -9
  76. package/lib/src/interfaces/models/ProtectedBranch.js +2 -2
  77. package/lib/src/interfaces/models/Release.js +2 -2
  78. package/lib/src/interfaces/models/Tag.js +2 -2
  79. package/lib/src/interfaces/models/index.js +32 -32
  80. package/lib/src/interfaces/view-models/MilestoneProject.js +2 -2
  81. package/lib/src/interfaces/view-models/index.js +17 -17
  82. package/lib/src/inversify.config.js +82 -79
  83. package/lib/src/services/GitLabService.js +556 -553
  84. package/lib/src/services/SlackService.js +142 -142
  85. package/lib/src/services/TeamCityService.js +37 -37
  86. package/lib/src/services/TrelloService.js +84 -84
  87. package/lib/src/services/index.js +20 -20
  88. package/lib/src/startup/AddMilestoneCommand.js +92 -88
  89. package/lib/src/startup/GetAction.js +68 -68
  90. package/lib/src/startup/SetupCommands.js +228 -191
  91. package/lib/src/tasks/BumpPackagesTask.js +230 -230
  92. package/lib/src/tasks/BumpVersionTxtTask.js +110 -110
  93. package/lib/src/tasks/{CommitPackageVersionsTask.js → ChangeMilestoneTask.js} +117 -116
  94. package/lib/src/tasks/CreateBranchTask.js +109 -104
  95. package/lib/src/tasks/CreateMergeRequestTask.js +126 -126
  96. package/lib/src/tasks/CreateNotesAuditTask.js +140 -140
  97. package/lib/src/tasks/CreateReleaseNotesTask.js +144 -144
  98. package/lib/src/tasks/InstallPackagesTask.js +409 -409
  99. package/lib/src/tasks/ListProjectsTask.js +87 -87
  100. package/lib/src/tasks/PopulateTrelloBoardTask.js +140 -140
  101. package/lib/src/tasks/StartMonorepoBuildTask.js +109 -109
  102. package/lib/src/tasks/StartProjectBuildsTask.js +164 -164
  103. package/lib/src/tasks/TagMasterTask.js +200 -196
  104. package/lib/src/tasks/ValidateCommitsTask.js +210 -210
  105. package/lib/src/tasks/ValidateDescriptionsTask.js +164 -178
  106. package/lib/src/tasks/ValidateMergeRequestTask.js +115 -115
  107. package/lib/src/tasks/ValidateTask.js +419 -419
  108. package/lib/src/tasks/VersionTask.js +98 -98
  109. package/lib/src/tasks/configure-projects/AddApprovalRulesTask.js +199 -199
  110. package/lib/src/tasks/configure-projects/CreateToolingBranchTask.js +138 -138
  111. package/lib/src/tasks/configure-projects/EnsureApprovalRulesTask.js +106 -106
  112. package/lib/src/tasks/configure-projects/index.js +18 -18
  113. package/lib/src/tasks/configure-projects/primitives/BaseConfigureProjectsTask.js +98 -98
  114. package/lib/src/tasks/index.js +34 -34
  115. package/lib/src/types.js +62 -60
  116. package/lib/src/utils/BranchNames.js +11 -11
  117. package/lib/src/utils/Commits.js +90 -82
  118. package/lib/src/utils/Csv.js +54 -54
  119. package/lib/src/utils/Descriptions.js +274 -274
  120. package/lib/src/utils/GroupIds.js +6 -6
  121. package/lib/src/utils/Logger.js +62 -62
  122. package/lib/src/utils/ProjectIds.js +48 -48
  123. package/lib/src/utils/Versions.js +20 -20
  124. package/lib/src/utils/index.js +22 -22
  125. package/package.json +50 -50
  126. package/dist/I3/I3 Notes Audit.csv +0 -127
  127. package/dist/J1/J1 Notes Audit.csv +0 -38
  128. package/dist/J2/J2 Notes Audit.csv +0 -52
  129. package/dist/L1/L1 Notes Audit.csv +0 -139
@@ -1,6 +1,6 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GroupIds = void 0;
4
- exports.GroupIds = {
5
- CLICKVIEW: 1069
6
- };
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GroupIds = void 0;
4
+ exports.GroupIds = {
5
+ CLICKVIEW: 1069
6
+ };
@@ -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,48 +1,48 @@
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
- if (projects === void 0) { projects = []; }
15
- var projectIds = [];
16
- for (var _i = 0, projects_1 = projects; _i < projects_1.length; _i++) {
17
- var project = projects_1[_i];
18
- if (!isNaN(+project)) {
19
- projectIds.push(project);
20
- continue;
21
- }
22
- var mappedId = getMappedId(project);
23
- if (!mappedId)
24
- throw new errors_1.ShipItError("Could not find project id mapping for ".concat(project));
25
- projectIds.push(mappedId);
26
- }
27
- return (0, lodash_1.uniq)(projectIds);
28
- }
29
- };
30
- function getMappedId(project) {
31
- for (var projectGroup in constants_1.PROJECT_NAMES) {
32
- var projectGroupIds = constants_1.PROJECT_NAMES[projectGroup];
33
- if (projectGroupIds[project])
34
- return projectGroupIds[project];
35
- // Support arguments such as "emailapi"
36
- if (projectGroupIds[project.replace('api', '')])
37
- return projectGroupIds[project.replace('api', '')];
38
- // Support arguments such as "emailservice"
39
- if (projectGroupIds[project.replace('service', '')])
40
- return projectGroupIds[project.replace('service', '')];
41
- // Support arguments such as "launchweb"
42
- if (projectGroupIds[project.replace('web', '')])
43
- return projectGroupIds[project.replace('web', '')];
44
- // Support arguments such as "hydrationapp"
45
- if (projectGroupIds[project.replace('app', '')])
46
- return projectGroupIds[project.replace('app', '')];
47
- }
48
- }
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
+ if (projects === void 0) { projects = []; }
15
+ var projectIds = [];
16
+ for (var _i = 0, projects_1 = projects; _i < projects_1.length; _i++) {
17
+ var project = projects_1[_i];
18
+ if (!isNaN(+project)) {
19
+ projectIds.push(project);
20
+ continue;
21
+ }
22
+ var mappedId = getMappedId(project);
23
+ if (!mappedId)
24
+ throw new errors_1.ShipItError("Could not find project id mapping for ".concat(project));
25
+ projectIds.push(mappedId);
26
+ }
27
+ return (0, lodash_1.uniq)(projectIds);
28
+ }
29
+ };
30
+ function getMappedId(project) {
31
+ for (var projectGroup in constants_1.PROJECT_NAMES) {
32
+ var projectGroupIds = constants_1.PROJECT_NAMES[projectGroup];
33
+ if (projectGroupIds[project])
34
+ return projectGroupIds[project];
35
+ // Support arguments such as "emailapi"
36
+ if (projectGroupIds[project.replace('api', '')])
37
+ return projectGroupIds[project.replace('api', '')];
38
+ // Support arguments such as "emailservice"
39
+ if (projectGroupIds[project.replace('service', '')])
40
+ return projectGroupIds[project.replace('service', '')];
41
+ // Support arguments such as "launchweb"
42
+ if (projectGroupIds[project.replace('web', '')])
43
+ return projectGroupIds[project.replace('web', '')];
44
+ // Support arguments such as "hydrationapp"
45
+ if (projectGroupIds[project.replace('app', '')])
46
+ return projectGroupIds[project.replace('app', '')];
47
+ }
48
+ }
@@ -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.42-dev.1",
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.8.1",
22
- "@slack/web-api": "^6.11.2",
23
- "@slack/webhook": "^7.0.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.6.3",
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.42",
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,127 +0,0 @@
1
- projectName,mrTitle,mrAuthor,mrAssignee,mrUrl,notes
2
- Search.Api,Fix user search for curators,Jorge Arai,Prad Nepal,https://gitlab.cvinternal.net/clickview/back-end/search.api/-/merge_requests/246,* Fixes users' search in Curator
3
- Search.Api,Fix curators user search,Jorge Arai,Prad Nepal,https://gitlab.cvinternal.net/clickview/back-end/search.api/-/merge_requests/245,- Fixes users' search in Curator
4
- clickview,Lite - Update time point style,Nan Chen,Mathew Ly,https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/4762,"# Lite
5
- * Update interactive time point tag background color to light-blue for users who has `Has play page V2` domain option set to true;
6
- *
7
- * ![Screenshot 2024-07-22 at 2.20.26 pm.png](/uploads/89e32e76ebf5a4abf5ff4c8bf15b9e70/Screenshot_2024-07-22_at_2.20.26_pm.png){width=550 height=169}
8
- * Update Points of interest time point tag background color in the new play page (feature switch with `Has play page V2` domain option).
9
- * ![Screenshot 2024-07-22 at 2.21.51 pm.png](/uploads/5f7a9050936ac95d82d29034d3b3b356/Screenshot_2024-07-22_at_2.21.51_pm.png){width=364 height=164}"
10
- clickview,Lite: Accesibility 2,Mathew Ly,Shale Kuzmanovski,https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/4761,"# Lite
11
- - Implement keyboard accessibility for sliding widgets
12
- - Implement skip to main content link
13
- - Announce status updates for alerts, updated states and errors to screen readers
14
- - Fix various accessibility and keyboard navigation issues"
15
- clickview,Curator - Hide pins when resizing column,Nan Chen,Mathew Ly,https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/4759,"# Curator
16
- * Prevent pins from showing when resizing the Content pipeline column"
17
- clickview,Player: Menu hover styles fix,Shale Kuzmanovski,Boris Berak,https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/4757,"# Player
18
- - Fix a minor CSS bug that was preventing the first menu item in the player from having a hover css effect applied. Fixes INBOX-6942.
19
-
20
- ![image](/uploads/15fc5968a7a8a636b8142589b798cafb/image.png)"
21
- clickview,Lite: Password protected share link button,Shale Kuzmanovski,Nan Chen,https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/4756,"# Lite
22
- - Updated the submit button on the password protected share link form, so that it's consistently sized with the input."
23
- clickview,Auth: a11y,Shale Kuzmanovski,Mathew Ly,https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/4753,"# Auth
24
- - Fixing a few accessibility issues:
25
- - CLV-0052: Remove alt text from layout imagers
26
- - CLV-0053: Provide a title for our logos
27
- - CLV-0058: associate error with input aria-errormessage
28
- - CLV-0060: Auth email buttons are now keyboard accessible"
29
- clickview,Lite - series hover style,Nan Chen,Shale Kuzmanovski,https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/4752,"# Lite
30
- * Now in Lite, the series tall poster have a new hover look.
31
- ![image.png](/uploads/ad7c6a010e0a848061418a5725b9cb04/image.png)"
32
- clickview,Lite: Topic widget improvements,Shale Kuzmanovski,Nan Chen,https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/4751,"# Lite
33
- - Updating our topic widgets' styling. Implements LTE-2703"
34
- clickview,Streamable: Zipcode not postcode,Shale Kuzmanovski,Boris Berak,https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/4748,"# Streamable Learning
35
- - Updated the livestream booking form and contact us form to ask for a ""zipcode or city"" rather than a ""postcode or suburb"". Fixes INBOX-7160."
36
- clickview,Lite - Add count to topic banner,Nan Chen,Shale Kuzmanovski,https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/4745,"# Lite
37
- * In the dashboard for a top-level topic, a details section was added to the banner under the title. It will show the count for child topics/videos/resources.
38
- ![Screenshot 2024-07-17 at 2.56.10 pm.png](/uploads/1a085a41a02e2c577db882e5179242e5/Screenshot_2024-07-17_at_2.56.10_pm.png)"
39
- clickview,Lite - PlaypageV2 heading update,Nan Chen,Boris Berak,https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/4743,"# Lite
40
- * Update the new play page (feature switch by `Has play page V2` domain option) section heading style to all be h4 style. Remove the heading for the video details section."
41
- clickview,Lite - Add image fallback to SubjectStatsWidgetItem,Nan Chen,Mathew Ly,https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/4739,"# Lite
42
- - Add a fallback image for the topic stats widget when the images are loading
43
-
44
- ![Screenshot 2024-07-16 at 1.39.31 pm.png](/uploads/dd44917a64e4aae098aff4a94a5f317a/Screenshot_2024-07-16_at_1.39.31_pm.png)"
45
- clickview,Player: Better image questions,Shale Kuzmanovski,Mathew Ly,https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/4738,"# Lite
46
- - Multiple choice interactive questions with images have been improved. Implements LTE-2724.
47
- - Images will now display in a 2x2 grid.
48
- - Image answers no longer require text, however either all answers must have text, or none must have text.
49
- - When only 2 questions show, they will display slightly wider
50
-
51
- ![image](/uploads/189b3dc8bbca13e54f1f01e87ca42698/image.png)
52
-
53
- ![image](/uploads/27f96517dd602bbe7c4dd5634f66fd93/image.png)"
54
- clickview,Lite - Add confirm step creating account when sso available,Nan Chen,Michael McDonnell,https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/4727,"# Lite
55
- * For customers who has SSO set up, when trying to create a new account, an extra step to confirm was added.
56
- ![image.png](/uploads/733817956fff2c5e198a8229c6eb1c5a/image.png)"
57
- clickview,Lite: NP Upgrade ratings banner,Shale Kuzmanovski,Mathew Ly,https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/4725,"# Lite
58
- - Added a banner to the content permissions page during a lite upgrade. This banner informs the user to manage their content permissions from online during the upgrade. Fixes INBOX-7083.
59
-
60
- ![example](https://i.imgur.com/ahJyhXj.png)"
61
- clickview,Lite: UI permission checks,Mathew Ly,Shale Kuzmanovski,https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/4717,"# Lite
62
- - Add permission checks so that when an admin manages student permissions it will reflect on the UI for students
63
- - Remove content referring to a feature when user doesn't have permission"
64
- clickview,Lite: Manage group permissions settings,Mathew Ly,Shale Kuzmanovski,https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/4716,"# Lite
65
- - Implement manage student permission settings for admins to toggle features for year groups"
66
- clickview,Topic directory - Support classifications widget,Nan Chen,Joshua Taylor,https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/4715,"# Curator
67
- * Now in the directory topic dashboard, you can add `List of children topics` widget with `Large fixed pills with stats` template. You can chose one topic (that is a topic right under a top-level topic) to display all the children topics from that topic."
68
- clickview,Discover: New releases widgets,Joshua Taylor,Mathew Ly,https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/4712,"# Curator
69
- - Curators can now use the ""New releases"" topic video widget on Discover
70
- - Curators can now use the ""New curated topics"" widget on Discover"
71
- clickview,Lite - Add new videos badge,Nan Chen,Mathew Ly,https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/4705,"# Lite
72
- * In the Discover dashboard, \`Explore my subjects\` widget, an 'x new videos this month' badge should be displayed when a topic has new videos for users who have the 'Has topic directory' domain option switched on.
73
- ![image.png](/uploads/9a4203f71025639425475774fd5baefa/image.png)
74
-
75
- # Curator
76
- * In the Discover dashboard editor, \`Explore my subjects\` widget, an 'x new videos this month' badge should be displayed when a topic has new videos."
77
- clickview,Discover - Update the Explore my subjects widget,Nan Chen,Joshua Taylor,https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/4701,"# Lite
78
- - Now in the Discover dashboard 'Explore my subjects', presentation switch items were added for users with the \`Has topic directories\` domain option switched on. You can click them to switch presentations between your available presentations.![Screenshot_2024-07-09_at_8.59.19_am](/uploads/878c55afffb1771577e4be034e36e117/Screenshot_2024-07-09_at_8.59.19_am.png)
79
-
80
- # Curator
81
- * Now for the Discover dashboard editor in Curation Studio, the hard-coded presentation switch items were added to `Editable small fixed pills` template"
82
- clickview,Lite: Topic new videos this month fix,Joshua Taylor,Nan Chen,https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/4700,"# Lite
83
- - (dev only) Fixed the ""X new videos this month"" badge not showing on topics."
84
- clickview,Lite: Video list polish,Joshua Taylor,Nan Chen,https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/4699,"# Lite
85
- - Fixed a bug where the video list dashboards would display the company name as the sub text for video items instead of series name
86
- - Updated topic video list dashboards to handle when a video list dashboard only has content for the ""Other videos"" list, by changing the heading to say just ""Videos"" instead of ""Other videos"""
87
- clickview,Shared: Historical Breadcrumbs,Shale Kuzmanovski,Mathew Ly,https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/4698,"# Lite
88
- - When a user has the `play_page_v2` option enabled, the play pages will now display breadcrumbs that are contextual, based on the last page the user was one. Below is a list of potential breadcrumbs that may show. Implements LTE-2666.
89
- - `LIBRARY` -> `FOLDER[]`
90
- - Discover
91
- - My Videos
92
- - My Videos -> `FOLDER[]`
93
- - Search results
94
- - `PRESENTATION` -> `TOPIC[]`
95
- - Movies + TV
96
- - Movies + TV -> `TOPIC[]`
97
- - Movies + TV -> `COMPANY`
98
- - Playlists
99
- - Playlists -> `PLAYLIST`
100
- - Discover -> `SERIES`
101
- - New Releases
102
- - Calendar
103
- - Watch history
104
- - Favourites"
105
- clickview,Content Pipeline: Adjustable column sizes,Joshua Taylor,Mathew Ly,https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/4696,"# Curator
106
- - Updated the content pipeline to support resizing column widths."
107
- clickview,Lite: Update classrooms ui to support name up to 255 characters,Mathew Ly,Nan Chen,https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/4693,"# Lite
108
- - Update classrooms ui to support name up to 255 characters"
109
- clickview,Lite - Question list in preview interactive page,Nan Chen,Shale Kuzmanovski,https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/4682,"# Lite
110
- - For users who have the `PlayPageV2` feature switched on, a question list was added to the interactive preview page.
111
- ![Screenshare-2024-07-031_56_16PM-ezgif.com-video-to-gif-converter](/uploads/004dbc16985289e537207db0e66460b6/Screenshare-2024-07-031_56_16PM-ezgif.com-video-to-gif-converter.gif)"
112
- clickview,Shared - Add topic dashboard toc mobile version,Nan Chen,Shale Kuzmanovski,https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/4679,"# Lite
113
- * Now a topic dashboard with a table of contents will also display the table of contents on a smaller device (window width smaller 992px).
114
- ![image.png](/uploads/0cf951961d6204a92bc040bd8710d826/image.png){width=338 height=289}
115
-
116
- # Curator
117
- * Now in the topic dashboard preview panel in the Curation studio, a table of contents will be displayed as it is in Lite. (Clicking TOC item will not trigger any interaction in Curator)"
118
- Integrations.Api,Add slack integration feedback,Jorge Arai,Ryan Wang,https://gitlab.cvinternal.net/clickview/front-end/integrations.api/-/merge_requests/151,- Give praise feedback should be sent to a proper Slack channel
119
- Integrations.Api,Add email feedback,Jorge Arai,Ryan Wang,https://gitlab.cvinternal.net/clickview/front-end/integrations.api/-/merge_requests/150,"- Feedback for the following forms should be sent to support team email:
120
- - Raise Issue
121
- - Report Bug
122
- - Feedback for the following forms should be sent to content team email:
123
- - Request livestream
124
- - Request video"
125
- Objects.Api,CanDownload VA update,Prad Nepal,Shale Kuzmanovski,https://gitlab.cvinternal.net/clickview/back-end/objects.api/-/merge_requests/345,* Learners of the platform will no longer be able to download TV content in Australia and UK regions. Implements INBOX-7091
126
- Braze Client,DX fixes,Nischal Shrestha,Shale Kuzmanovski,https://gitlab.cvinternal.net/clickview/front-end/braze-client/-/merge_requests/21,- Added new `BrazeClient` which has alot of abstraction over `BrazeApiClient` to help with common methods. Implements LTE-2686.
127
- ClickViewInteractiveForiOS,Update guidance tags,John Allen,John Allen,https://gitlab.cvinternal.net/clickview/mobile/ClickViewInteractiveForiOS/-/merge_requests/297,- Update guidance badges to match Lite web. Closes IOS-405.
@@ -1,38 +0,0 @@
1
- projectName,mrTitle,mrAuthor,mrAssignee,mrUrl,notes
2
- ClickView.OnlineApi,order device by name,Ryan Wang,Cameron Hill,https://gitlab.cvinternal.net/clickview/back-end/ClickView.OnlineApi/-/merge_requests/432,* Display a list of apple tv devices in an alphabetical order.
3
- clickview,Support for student Vivi casting,Boris Berak,Shale Kuzmanovski,https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/4811,"# Lite
4
- - Vivi customers who had previously allowed students to cast to Vivi devices in Online will now be able to do the same in NP by going to the Vivi settings page and enabling the `Student casting` toggle.
5
- - ![CleanShot_2024-08-07_at_16.45.01](/uploads/040fc52d458e5614ee0ee58088680161/CleanShot_2024-08-07_at_16.45.01.png)"
6
- clickview,Lite - Fix toc scroll,Nan Chen,Joshua Taylor,https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/4800,"# Lite
7
- * Fixed an issue on our topic pages where if you click on an item in the table of contents once, then scroll to somewhere else on the page, then click on that same item a second time, you would not get taken to it's position on the page again."
8
- clickview,Lite: JBTD Onboarding for teachers update,Nischal Shrestha,Joshua Taylor,https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/4796,"# Lite
9
- - Updated teacher usage intentions onboarding screen. Implements LTE-2736."
10
- clickview,User manager: User exports,Shale Kuzmanovski,Joshua Taylor,https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/4789,"# Lite
11
- - Fixed a bug where user exports were timing out. User exports are now requested and sent to the user's email address when they are ready. Fixes INBOX-7061.
12
-
13
- ![image](/uploads/b1f9d2073ac2bc782239b30d277351c0/image.png)
14
-
15
- # Curator
16
- - Fixed a bug where user exports were timing out. User exports are now requested and sent to the user's email address when they are ready. Fixes INBOX-7061."
17
- clickview,Lite: Chunk our useVideoMixin to 50 items at a time,Shale Kuzmanovski,Joshua Taylor,https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/4788,"# Lite
18
- - Fixed a bug preventing classroom guide, resources and interactives showing in new releases."
19
- clickview,Streamable: Update livestream past event styles,Mathew Ly,Shale Kuzmanovski,https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/4787,"# Streamable Learning
20
- - Update Streamable Livestream styles for past events"
21
- clickview,Lite: Related folder videos,Shale Kuzmanovski,Mathew Ly,https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/4785,"# Lite
22
- - Will now see related folders if clicking into a video from a folder. Implements INBOX-7169."
23
- clickview,Curator: Company description max length,Shale Kuzmanovski,Mathew Ly,https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/4783,"# Curator
24
- - Update the max length for company descriptions to `4096`. A value that was selected based on the longest current company description from the SL ingestion. Fixes INBOX-7195."
25
- clickview,Player: Illustration interaction,Shale Kuzmanovski,Mathew Ly,https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/4769,"# Lite
26
- - [Internal Release] Added the ability for us to add experimental interaction types without releasing them to the general access.
27
- - [Internal Release] Added a new question type: Illustrate. This question type, which was an idea from the hackathon, allows teachers to prompt students to draw their answer, facilitating creating questions that require higher order thinking. Implements LTE-2765.
28
-
29
- ![example](https://i.imgur.com/yPIfXv0.png)
30
-
31
- ![example](https://i.imgur.com/lmV7Gss.png)
32
-
33
- # Reports
34
- - [Internal Release] Illustration questions will now appear in the results of any interactive that had the new question type."
35
- ClickView.EmailService,Add user list report,Jorge Arai,Ryan Wang,https://gitlab.cvinternal.net/clickview/back-end/ClickView.EmailService/-/merge_requests/294,"- Added email template to send user list report:
36
-
37
- ![image](/uploads/868e8553e51e7f583b365ed71ed412fa/image.png)"
38
- WebPlayer,Remove api call to get resource from home api,Cameron Hill,Ryan Wang,https://gitlab.cvinternal.net/clickview/back-end/WebPlayer/-/merge_requests/123,- Fix edge cases where resources did not always show on videos