@toptal/davinci-monorepo 7.1.1 → 7.1.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # @toptal/davinci-monorepo
2
2
 
3
+ ## 7.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1937](https://github.com/toptal/davinci/pull/1937) [`8b6806a6`](https://github.com/toptal/davinci/commit/8b6806a6ad1ef3f190e1e9e6a287aed12970b27f) Thanks [@dmaklygin](https://github.com/dmaklygin)! - ---
8
+
9
+ - apply identical formatting and success messages to all command logs.
10
+
11
+ - Updated dependencies [[`8b6806a6`](https://github.com/toptal/davinci/commit/8b6806a6ad1ef3f190e1e9e6a287aed12970b27f)]:
12
+ - @toptal/davinci-cli-shared@2.2.3
13
+
3
14
  ## 7.1.1
4
15
 
5
16
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toptal/davinci-monorepo",
3
- "version": "7.1.1",
3
+ "version": "7.1.2",
4
4
  "description": "Monorepo utility tools",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -34,7 +34,7 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@oclif/core": "^1.16.1",
37
- "@toptal/davinci-cli-shared": "2.2.2",
37
+ "@toptal/davinci-cli-shared": "2.2.3",
38
38
  "chalk": "^4.1.2",
39
39
  "dependency-cruiser": "^12.5.0",
40
40
  "execa": "^5.1.1",
@@ -7,7 +7,7 @@ import getGraphCyclePaths from '../utils/get-graph-cycle-paths.js'
7
7
  import getCircularityErrorMessage from '../utils/get-circularity-error-message.js'
8
8
 
9
9
  const detectCircularityCommand = () => {
10
- print.green('Running circular dependencies check...\n')
10
+ print.header('Running circular dependencies check')
11
11
 
12
12
  const workspaces = getWorkspaces(path.resolve())
13
13
  const workspacesGraph = makeWorkspacesGraph(workspaces)
@@ -18,7 +18,7 @@ const detectCircularityCommand = () => {
18
18
  process.exit(1)
19
19
  }
20
20
 
21
- print.green('No circular dependencies found.\n')
21
+ print.success('No circular dependencies found.')
22
22
  }
23
23
 
24
24
  const detectCircularityCommandCreator = {
@@ -8,7 +8,7 @@ export const graphGenerateCommand = async ({
8
8
  outputFile,
9
9
  ...depcruiseOptions
10
10
  }) => {
11
- console.log(print.davinciGradient('Dependency graph generator\n'))
11
+ print.header('Dependency graph generator')
12
12
 
13
13
  const spinner = print.startSpinner('Getting Packages Locations...\n', {
14
14
  prefixText: '[GRAPH GENERATOR]',
@@ -91,7 +91,7 @@ const proceedPackagesMetric = (packagesGraph, metrics, metricKeysList = []) => {
91
91
  * @param options: {metric: string}
92
92
  */
93
93
  const metricsCommand = options => {
94
- print.green('Start calculating quality metrics...')
94
+ print.header('Start calculating quality metrics')
95
95
 
96
96
  const {
97
97
  metric: metricKeys = '',