why-gitlab
Advanced tools
Comparing version 1.5.0 to 1.6.0
{ | ||
"name": "why-gitlab", | ||
"description": "Why GitLab? DevSecOps", | ||
"version": "1.5.0", | ||
"version": "1.6.0", | ||
"author": "sink @sinkcup", | ||
@@ -6,0 +6,0 @@ "main": "src/main.js", |
@@ -202,5 +202,5 @@ /* eslint-disable no-console */ | ||
const solutionObjectiveMap = { | ||
DevOps: ['code-quality', 'git-workflow', 'reduce-defects'], | ||
DevSecOps: ['code-quality', 'git-workflow', 'reduce-defects', 'security'], | ||
DevOps: ['automated-deployment', 'code-quality', 'git-workflow', 'reduce-defects'], | ||
}; | ||
solutionObjectiveMap.DevSecOps = solutionObjectiveMap.DevOps.concat(['security']); | ||
objectives = solutionObjectiveMap[argv.solution]; | ||
@@ -207,0 +207,0 @@ } else if (!yargChoiceIsEmpty(argv.objectives)) { |
@@ -54,2 +54,3 @@ import os from 'os'; | ||
expect(whyGitlab.getObjectives()).toEqual([ | ||
{ path: 'automated-deployment', name: '提高部署效率', notice: '提高部署效率' }, | ||
{ path: 'code-quality', name: '提高代码质量', notice: '提高代码质量(如:书写规范、复杂度)' }, | ||
@@ -72,2 +73,8 @@ { path: 'git-workflow', name: '规范 Git 流程', notice: '规范 Git 流程(如:代码关联需求)' }, | ||
{ | ||
objective: { path: 'automated-deployment', name: '提高部署效率', notice: '提高部署效率' }, | ||
features: [ | ||
{ path: 'gitops-premium', name: 'GitOps' }, | ||
], | ||
}, | ||
{ | ||
objective: { path: 'code-quality', name: '提高代码质量', notice: '提高代码质量(如:书写规范、复杂度)' }, | ||
@@ -74,0 +81,0 @@ features: [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 2 instances in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3181804
72
682
10