standard-monorepo
Advanced tools
Comparing version 0.2.2 to 0.2.3
@@ -18,3 +18,4 @@ "use strict"; | ||
const msg = `Found ${circDeps.length} circular dependencies in the project, please fix these as soon as possible. | ||
${circDeps.map((cycle) => cycle.join(' -> ')).join('\n')}`; | ||
${circDeps.map((cycle) => cycle.join(' -> ')).join('\n\n')}`; | ||
if (flags.fail && circDeps.length > flags.max) | ||
@@ -21,0 +22,0 @@ this.error('[FAIL] ' + msg); |
{ | ||
"name": "standard-monorepo", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"author": "Flávio Carvalho", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -22,3 +22,3 @@ # standard-monorepo | ||
$ standard-monorepo (-v|--version|version) | ||
standard-monorepo/0.2.2 darwin-x64 node-v14.15.1 | ||
standard-monorepo/0.2.3 darwin-x64 node-v14.15.1 | ||
$ standard-monorepo --help [COMMAND] | ||
@@ -56,3 +56,3 @@ USAGE | ||
_See code: [src/commands/circular-deps.ts](https://github.com/imflavio/standard-monorepo/blob/v0.2.2/src/commands/circular-deps.ts)_ | ||
_See code: [src/commands/circular-deps.ts](https://github.com/imflavio/standard-monorepo/blob/v0.2.3/src/commands/circular-deps.ts)_ | ||
@@ -86,3 +86,3 @@ ## `standard-monorepo commit [COMMIT]` | ||
_See code: [src/commands/commit.ts](https://github.com/imflavio/standard-monorepo/blob/v0.2.2/src/commands/commit.ts)_ | ||
_See code: [src/commands/commit.ts](https://github.com/imflavio/standard-monorepo/blob/v0.2.3/src/commands/commit.ts)_ | ||
@@ -122,3 +122,3 @@ ## `standard-monorepo help [COMMAND]` | ||
_See code: [src/commands/list.ts](https://github.com/imflavio/standard-monorepo/blob/v0.2.2/src/commands/list.ts)_ | ||
_See code: [src/commands/list.ts](https://github.com/imflavio/standard-monorepo/blob/v0.2.3/src/commands/list.ts)_ | ||
<!-- commandsstop --> |
@@ -44,4 +44,5 @@ import { Command, flags } from '@oclif/command' | ||
} circular dependencies in the project, please fix these as soon as possible. | ||
${circDeps.map((cycle) => cycle.join(' -> ')).join('\n')}` | ||
${circDeps.map((cycle) => cycle.join(' -> ')).join('\n\n')}` | ||
if (flags.fail && circDeps.length > flags.max) this.error('[FAIL] ' + msg) | ||
@@ -48,0 +49,0 @@ else this.log('[WARNING] ' + msg) |
Sorry, the diff of this file is not supported yet
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
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
56517