@toptal/davinci-ci 2.0.5-alpha-SP-2753-add-danger-file-command-option.14 → 2.0.5-alpha-SP-2807-move-naming-convention-to-overrides.17

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toptal/davinci-ci",
3
- "version": "2.0.5-alpha-SP-2753-add-danger-file-command-option.14+317c7dd3",
3
+ "version": "2.0.5-alpha-SP-2807-move-naming-convention-to-overrides.17+e8b07018",
4
4
  "description": "Continuos integrations tools for frontend projects",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -32,9 +32,9 @@
32
32
  "dependencies": {
33
33
  "@commitlint/cli": "^17.0.2",
34
34
  "@commitlint/config-conventional": "^17.0.2",
35
- "@toptal/davinci-cli-shared": "1.5.5-alpha-SP-2753-add-danger-file-command-option.14+317c7dd3",
35
+ "@toptal/davinci-cli-shared": "1.5.5-alpha-SP-2807-move-naming-convention-to-overrides.17+e8b07018",
36
36
  "danger": "^11.0.5",
37
37
  "markdown-table": "^2.0.0"
38
38
  },
39
- "gitHead": "317c7dd36d80cc460057a0ceb3b45bf60db3f4bc"
39
+ "gitHead": "e8b07018e30fc654d7f6d3f84987ab7884fc4dbd"
40
40
  }
@@ -15,20 +15,12 @@ const commandOptions = [
15
15
  label: 'checks commit message quality locally',
16
16
  name: '--local',
17
17
  },
18
- {
19
- label: 'checks commit message quality locally',
20
- name: '--local',
21
- },
22
- {
23
- label: 'specify custom danger file',
24
- name: '--dangerfile',
25
- },
26
18
  ]
27
19
 
28
20
  const dangerCommand = ({ options }) => {
29
21
  print.green('Running danger check...')
30
22
 
31
- const { local, dangerfile, ...rest } = options
23
+ const { local, ...rest } = options
32
24
 
33
25
  const conventionalCommitsDangerfilePath = files.getPackageFilePath(
34
26
  '@toptal/davinci-ci',
@@ -39,10 +31,9 @@ const dangerCommand = ({ options }) => {
39
31
  'src/configs/danger/toptal/dangerfile.js'
40
32
  )
41
33
 
42
- const dangerfilePath =
43
- dangerfile ?? davinciProjectConfig.master.conventionalCommits
44
- ? conventionalCommitsDangerfilePath
45
- : toptalCommitsDangerfilePath
34
+ const dangerfilePath = davinciProjectConfig.master.conventionalCommits
35
+ ? conventionalCommitsDangerfilePath
36
+ : toptalCommitsDangerfilePath
46
37
 
47
38
  runSync(
48
39
  'yarn',