@clickview/ship-it 0.0.39 → 0.0.41
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/Dockerfile +33 -33
- package/README.md +48 -48
- package/config.json +19 -19
- package/dist/I3/I3 Notes Audit.csv +127 -0
- package/dist/J1/J1 Notes Audit.csv +38 -0
- package/dist/J2/J2 Notes Audit.csv +52 -0
- package/dist/L1/L1 Notes Audit.csv +139 -0
- package/lib/config.json +20 -20
- package/lib/src/api-clients/git-lab/GitLabApiClient.js +561 -439
- package/lib/src/api-clients/git-lab/GitLabMapper.js +122 -82
- package/lib/src/api-clients/index.js +20 -20
- package/lib/src/api-clients/slack/SlackApiClient.js +206 -206
- package/lib/src/api-clients/team-city/TeamCityApiClient.js +100 -100
- package/lib/src/api-clients/trello/TrelloApiClient.js +145 -145
- package/lib/src/commands/BumpPackagesCommand.js +76 -76
- package/lib/src/commands/ConfigureProjectsCommand.js +84 -0
- package/lib/src/commands/CreateBranchCommand.js +100 -100
- package/lib/src/commands/CreateMergeRequestCommand.js +107 -107
- package/lib/src/commands/CreateNotesAuditCommand.js +84 -84
- package/lib/src/commands/CreateReleaseNotesCommand.js +95 -95
- package/lib/src/commands/CreateTrelloCardsCommand.js +77 -77
- package/lib/src/commands/InstallPackagesCommand.js +76 -76
- package/lib/src/commands/ListProjectsCommand.js +76 -76
- package/lib/src/commands/ReleaseCommand.js +136 -129
- package/lib/src/commands/StartProjectBuildsCommand.js +76 -76
- package/lib/src/commands/StatusCommand.js +93 -88
- package/lib/src/commands/TagMasterCommand.js +76 -76
- package/lib/src/commands/ValidateMergeRequestCommand.js +76 -76
- package/lib/src/commands/VersionCommand.js +76 -76
- package/lib/src/commands/index.js +31 -30
- package/lib/src/constants/CommandTypeMapping.js +21 -20
- package/lib/src/constants/GitLabMemberIds.js +6 -6
- package/lib/src/constants/MonorepoPackageJsonFiles.js +41 -41
- package/lib/src/constants/MonorepoProjectNames.js +16 -16
- package/lib/src/constants/ProjectNames.js +69 -69
- package/lib/src/constants/SlackUserEmailList.js +13 -13
- package/lib/src/constants/TeamCityBuildIDs.js +46 -46
- package/lib/src/constants/index.js +19 -19
- package/lib/src/errors/ShipItError.js +32 -32
- package/lib/src/errors/index.js +17 -17
- package/lib/src/index.js +18 -18
- package/lib/src/interfaces/Config.js +2 -2
- package/lib/src/interfaces/MergeRequestState.js +2 -2
- package/lib/src/interfaces/ProjectNames.js +2 -2
- package/lib/src/interfaces/ShipItCommand.js +2 -2
- package/lib/src/interfaces/ShipItTask.js +2 -2
- package/lib/src/interfaces/VersionType.js +2 -2
- package/lib/src/interfaces/command-cli-options/MilestoneCommandCliOptions.js +2 -2
- package/lib/src/interfaces/command-cli-options/ReleaseCommandCliOptions.js +2 -2
- package/lib/src/interfaces/command-cli-options/StatusCommandCliOptions.js +2 -2
- package/lib/src/interfaces/command-cli-options/index.js +19 -19
- package/lib/src/interfaces/command-options/BaseCommandOptions.js +2 -2
- package/lib/src/interfaces/command-options/BumpPackagesCommandOptions.js +2 -2
- package/lib/src/interfaces/command-options/ConfigureProjectsOptions.js +2 -0
- package/lib/src/interfaces/command-options/DockerMilestoneCommandOptions.js +2 -2
- package/lib/src/interfaces/command-options/MilestoneCommandOptions.js +2 -2
- package/lib/src/interfaces/command-options/ReleaseCommandOptions.js +2 -2
- package/lib/src/interfaces/command-options/StatusCommandOptions.js +2 -2
- package/lib/src/interfaces/command-options/ValidateMRCommandOptions.js +2 -2
- package/lib/src/interfaces/command-options/index.js +23 -22
- package/lib/src/interfaces/index.js +26 -26
- package/lib/src/interfaces/models/ApprovalRule.js +2 -0
- package/lib/src/interfaces/models/ApprovalRuleConfiguration.js +2 -0
- package/lib/src/interfaces/models/Branch.js +2 -2
- package/lib/src/interfaces/models/Commit.js +2 -2
- package/lib/src/interfaces/models/CommitFile.js +2 -2
- package/lib/src/interfaces/models/CreateApprovalRuleRequest.js +2 -0
- package/lib/src/interfaces/models/File.js +2 -2
- package/lib/src/interfaces/models/Group.js +2 -0
- package/lib/src/interfaces/models/Label.js +2 -2
- package/lib/src/interfaces/models/MergeRequest.js +2 -2
- package/lib/src/interfaces/models/Milestone.js +2 -2
- package/lib/src/interfaces/models/Project.js +2 -2
- package/lib/src/interfaces/models/ProjectConfig.js +9 -9
- package/lib/src/interfaces/models/ProtectedBranch.js +2 -0
- package/lib/src/interfaces/models/Release.js +2 -2
- package/lib/src/interfaces/models/Tag.js +2 -2
- package/lib/src/interfaces/models/index.js +32 -26
- package/lib/src/interfaces/view-models/MilestoneProject.js +2 -2
- package/lib/src/interfaces/view-models/index.js +17 -17
- package/lib/src/inversify.config.js +79 -74
- package/lib/src/services/GitLabService.js +544 -510
- package/lib/src/services/SlackService.js +142 -142
- package/lib/src/services/TeamCityService.js +37 -37
- package/lib/src/services/TrelloService.js +84 -84
- package/lib/src/services/index.js +20 -20
- package/lib/src/startup/AddMilestoneCommand.js +96 -96
- package/lib/src/startup/GetAction.js +68 -68
- package/lib/src/startup/SetupCommands.js +180 -168
- package/lib/src/tasks/BumpPackagesTask.js +230 -230
- package/lib/src/tasks/BumpVersionTxtTask.js +110 -110
- package/lib/src/tasks/CommitPackageVersionsTask.js +116 -0
- package/lib/src/tasks/CreateBranchTask.js +104 -104
- package/lib/src/tasks/CreateMergeRequestTask.js +118 -118
- package/lib/src/tasks/CreateNotesAuditTask.js +140 -140
- package/lib/src/tasks/CreateReleaseNotesTask.js +144 -144
- package/lib/src/tasks/InstallPackagesTask.js +415 -415
- package/lib/src/tasks/ListProjectsTask.js +87 -87
- package/lib/src/tasks/PopulateTrelloBoardTask.js +140 -140
- package/lib/src/tasks/StartMonorepoBuildTask.js +109 -109
- package/lib/src/tasks/StartProjectBuildsTask.js +170 -170
- package/lib/src/tasks/TagMasterTask.js +189 -189
- package/lib/src/tasks/ValidateCommitsTask.js +143 -143
- package/lib/src/tasks/ValidateDescriptionsTask.js +178 -178
- package/lib/src/tasks/ValidateMergeRequestTask.js +115 -115
- package/lib/src/tasks/ValidateTask.js +419 -419
- package/lib/src/tasks/VersionTask.js +98 -98
- package/lib/src/tasks/configure-projects/AddApprovalRulesTask.js +199 -0
- package/lib/src/tasks/configure-projects/CreateToolingBranchTask.js +138 -0
- package/lib/src/tasks/configure-projects/EnsureApprovalRulesTask.js +106 -0
- package/lib/src/tasks/configure-projects/index.js +18 -0
- package/lib/src/tasks/configure-projects/primitives/BaseConfigureProjectsTask.js +98 -0
- package/lib/src/tasks/index.js +34 -33
- package/lib/src/types.js +60 -56
- package/lib/src/utils/BranchNames.js +11 -11
- package/lib/src/utils/Commits.js +55 -55
- package/lib/src/utils/Csv.js +54 -54
- package/lib/src/utils/Descriptions.js +274 -274
- package/lib/src/utils/GroupIds.js +6 -6
- package/lib/src/utils/Logger.js +62 -62
- package/lib/src/utils/ProjectIds.js +47 -47
- package/lib/src/utils/Versions.js +20 -20
- package/lib/src/utils/index.js +22 -22
- package/package.json +50 -50
package/lib/config.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
{
|
|
2
|
-
"gitLab": {
|
|
3
|
-
"accessToken": "glpat-d9TACyfNj3uaetfbGiPp",
|
|
4
|
-
"url": "https://gitlab.cvinternal.net"
|
|
5
|
-
},
|
|
6
|
-
"teamCity": {
|
|
7
|
-
"url": "http://build.cvinternal.net/",
|
|
8
|
-
"username": "shale.kuzmanovski",
|
|
9
|
-
"password": "hock-inflame-prodigy-unstrap"
|
|
10
|
-
},
|
|
11
|
-
"slack": {
|
|
12
|
-
"botToken": "xoxb-10474490612-6484075093633-vEo2cgvi7nma9DDSzPEXWDrw",
|
|
13
|
-
"channelId": "C03DX0DSG3F"
|
|
14
|
-
},
|
|
15
|
-
"trello": {
|
|
16
|
-
"apiKey": "6e887685d44e94ae9a680c010c4b622d",
|
|
17
|
-
"apiToken": "ATTA558c8969ce04b46fb9c9d6f645aa51be7f1c9dbb9b6f5f6f85ae6da2a209c1f39AAC612F",
|
|
18
|
-
"boardId": "3edi3xiO"
|
|
19
|
-
}
|
|
20
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"gitLab": {
|
|
3
|
+
"accessToken": "glpat-d9TACyfNj3uaetfbGiPp",
|
|
4
|
+
"url": "https://gitlab.cvinternal.net"
|
|
5
|
+
},
|
|
6
|
+
"teamCity": {
|
|
7
|
+
"url": "http://build.cvinternal.net/",
|
|
8
|
+
"username": "shale.kuzmanovski",
|
|
9
|
+
"password": "hock-inflame-prodigy-unstrap"
|
|
10
|
+
},
|
|
11
|
+
"slack": {
|
|
12
|
+
"botToken": "xoxb-10474490612-6484075093633-vEo2cgvi7nma9DDSzPEXWDrw",
|
|
13
|
+
"channelId": "C03DX0DSG3F"
|
|
14
|
+
},
|
|
15
|
+
"trello": {
|
|
16
|
+
"apiKey": "6e887685d44e94ae9a680c010c4b622d",
|
|
17
|
+
"apiToken": "ATTA558c8969ce04b46fb9c9d6f645aa51be7f1c9dbb9b6f5f6f85ae6da2a209c1f39AAC612F",
|
|
18
|
+
"boardId": "3edi3xiO"
|
|
19
|
+
}
|
|
20
|
+
}
|