Comparing version 6.1.1 to 6.1.2
@@ -5,3 +5,9 @@ #!/usr/bin/env node | ||
const path = require('path'); | ||
const { red, yellow, underline, bold } = require('chalk'); | ||
const { | ||
red, | ||
yellow, | ||
underline, | ||
bold, | ||
magenta | ||
} = require('chalk'); | ||
@@ -187,3 +193,3 @@ const { promisify } = require('util'); | ||
console.error('Created .bpmnlintrc file'); | ||
console.error(`Created ${magenta('.bpmnlintrc')} file`); | ||
process.exit(0); | ||
@@ -193,3 +199,3 @@ } | ||
if (cli.input.length === 0) { | ||
console.log('Error: bpmn file path missing.'); | ||
console.log('Error: bpmn file path missing'); | ||
process.exit(1); | ||
@@ -323,3 +329,7 @@ } | ||
? `Error: Could not read ${ configOverridePath }` | ||
: 'Error: Could not locate local .bpmnlintrc file, please create one: https://github.com/bpmn-io/bpmnlint#configuration' | ||
: `Error: Could not locate local ${ magenta('.bpmnlintrc') } file. Create one via | ||
${magenta('bpmnlint --init')} | ||
Learn more about configuring bpmnlint: https://github.com/bpmn-io/bpmnlint#configuration` | ||
); | ||
@@ -326,0 +336,0 @@ |
@@ -9,2 +9,6 @@ # Changelog | ||
## 6.1.2 | ||
* `FIX`: exclude event-based sub-processes from `no-disconnected` check ([#31](https://github.com/bpmn-io/bpmnlint/issues/31)) | ||
## 6.1.1 | ||
@@ -16,3 +20,3 @@ | ||
* `FEAT`: resolve local rules in plug-ins without prefix ([`640e411a`](https://github.com/bpmn-io/bpmnlint/commit/ 640e411ac8c6045198bd09b79b5c53c6e29e251c)) | ||
* `FEAT`: resolve local rules in plug-ins without prefix ([`640e411a`](https://github.com/bpmn-io/bpmnlint/commit/640e411ac8c6045198bd09b79b5c53c6e29e251c)) | ||
@@ -19,0 +23,0 @@ ## 6.0.0 |
{ | ||
"name": "bpmnlint", | ||
"description": "Validate your BPMN diagrams based on configurable lint rules", | ||
"version": "6.1.1", | ||
"version": "6.1.2", | ||
"main": "lib/index.js", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
@@ -20,3 +20,3 @@ const { | ||
'bpmn:Event' | ||
])) { | ||
]) || node.triggeredByEvent) { | ||
return; | ||
@@ -37,2 +37,2 @@ } | ||
}; | ||
}; |
@@ -6,3 +6,3 @@ const { | ||
/** | ||
* A rule that verifies that there exists no disconnected | ||
* A rule that verifies that there are no disconnected | ||
* flow elements, i.e. elements without incoming | ||
@@ -9,0 +9,0 @@ * _or_ outgoing sequence flows |
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
837528
62
1304