bpmnlint-plugin-camunda-compat 0.3.0 → 0.4.0
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 +14 -0
- package/index.js +3 -3
- package/package.json +1 -1
- package/rules/camunda-cloud-1-0.js +1 -1
- package/rules/camunda-cloud-1-1.js +1 -1
- package/rules/camunda-cloud-1-2.js +1 -1
- package/rules/camunda-cloud-1-3.js +1 -1
- package/rules/{camunda-cloud-1-4-checks.js → camunda-cloud-8-0-checks.js} +0 -0
- package/rules/camunda-cloud-8-0.js +5 -0
- package/rules/utils/rule.js +3 -3
- package/rules/camunda-cloud-1-4.js +0 -5
package/CHANGELOG.md
CHANGED
@@ -6,6 +6,20 @@ All notable changes to [bpmnlint-plugin-camunda-compat](https://github.com/camun
|
|
6
6
|
|
7
7
|
___Note:__ Yet to be released changes appear here._
|
8
8
|
|
9
|
+
## 0.4.0
|
10
|
+
* `CHORE`: rename `Cloud` `1.4` to `8.0` ([#14](https://github.com/camunda/bpmnlint-plugin-camunda-compat/pull/14))
|
11
|
+
* `CHORE`: rename `Cloud` to `Platform`/`Zeebe` ([#15](https://github.com/camunda/bpmnlint-plugin-camunda-compat/pull/15))
|
12
|
+
|
13
|
+
## 0.3.0
|
14
|
+
* `FEAT`: support multiInstance for subprocesses with cloud 1.0 ([#6](https://github.com/camunda/bpmnlint-plugin-camunda-compat/pull/6))
|
15
|
+
* `FEAT`: add Camunda Platform rules ([#5](https://github.com/camunda/bpmnlint-plugin-camunda-compat/pull/5))
|
16
|
+
* `FEAT`: add Camunda Cloud 1.4 rule ([#5](https://github.com/camunda/bpmnlint-plugin-camunda-compat/pull/5))
|
17
|
+
* `TEST`: add Cloud 1.1, 1.2, 1.3 integration tests ([#4](https://github.com/camunda/bpmnlint-plugin-camunda-compat/pull/4))
|
18
|
+
* `TEST`: verify exported configs ([#5](https://github.com/camunda/bpmnlint-plugin-camunda-compat/pull/5))
|
19
|
+
* `DEPS`: fix security audit warnings ([#6](https://github.com/camunda/bpmnlint-plugin-camunda-compat/pull/6))
|
20
|
+
* `DOCS`: update link to documentation
|
21
|
+
* `DOCS`: link Camunda Cloud and Platform BPMN coverage
|
22
|
+
|
9
23
|
## 0.2.0
|
10
24
|
|
11
25
|
* `FEAT`: early return if execution platform does not match
|
package/index.js
CHANGED
@@ -6,7 +6,7 @@ module.exports = {
|
|
6
6
|
'camunda-cloud-1-1': 'error',
|
7
7
|
'camunda-cloud-1-2': 'error',
|
8
8
|
'camunda-cloud-1-3': 'error',
|
9
|
-
'camunda-cloud-
|
9
|
+
'camunda-cloud-8-0': 'error',
|
10
10
|
'camunda-platform-7-15': 'error',
|
11
11
|
'camunda-platform-7-16': 'error',
|
12
12
|
'camunda-platform-7-17': 'error'
|
@@ -18,7 +18,7 @@ module.exports = {
|
|
18
18
|
'camunda-cloud-1-1': 'error',
|
19
19
|
'camunda-cloud-1-2': 'error',
|
20
20
|
'camunda-cloud-1-3': 'error',
|
21
|
-
'camunda-cloud-
|
21
|
+
'camunda-cloud-8-0': 'error',
|
22
22
|
'camunda-platform-7-15': 'error',
|
23
23
|
'camunda-platform-7-16': 'error',
|
24
24
|
'camunda-platform-7-17': 'error'
|
@@ -30,7 +30,7 @@ module.exports = {
|
|
30
30
|
'camunda-cloud-1-1': 'error',
|
31
31
|
'camunda-cloud-1-2': 'error',
|
32
32
|
'camunda-cloud-1-3': 'error',
|
33
|
-
'camunda-cloud-
|
33
|
+
'camunda-cloud-8-0': 'error'
|
34
34
|
}
|
35
35
|
},
|
36
36
|
platform: {
|
package/package.json
CHANGED
File without changes
|
package/rules/utils/rule.js
CHANGED
@@ -11,7 +11,7 @@ const {
|
|
11
11
|
|
12
12
|
const { toSemverMinor } = require('./engine-profile');
|
13
13
|
|
14
|
-
module.exports.createRule = function(ruleExecutionPlatform, ruleExecutionPlatformVersion, checks) {
|
14
|
+
module.exports.createRule = function(ruleExecutionPlatform, ruleExecutionPlatformVersion, checks, executionPlatformLabel) {
|
15
15
|
return () => {
|
16
16
|
return {
|
17
17
|
check: (node, reporter) => {
|
@@ -32,11 +32,11 @@ module.exports.createRule = function(ruleExecutionPlatform, ruleExecutionPlatfor
|
|
32
32
|
const result = checkNode(node, checks);
|
33
33
|
|
34
34
|
if (result === false) {
|
35
|
-
reporter.report(node.get('id') || '', `Element of type <${ node.$type }> not supported by ${ ruleExecutionPlatform } ${ toSemverMinor(ruleExecutionPlatformVersion) }`);
|
35
|
+
reporter.report(node.get('id') || '', `Element of type <${ node.$type }> not supported by ${ executionPlatformLabel || ruleExecutionPlatform } ${ toSemverMinor(ruleExecutionPlatformVersion) }`);
|
36
36
|
}
|
37
37
|
|
38
38
|
if (isString(result)) {
|
39
|
-
reporter.report(node.get('id') || '', `Element of type <${ result }> not supported by ${ ruleExecutionPlatform } ${ toSemverMinor(ruleExecutionPlatformVersion) }`);
|
39
|
+
reporter.report(node.get('id') || '', `Element of type <${ result }> not supported by ${ executionPlatformLabel || ruleExecutionPlatform } ${ toSemverMinor(ruleExecutionPlatformVersion) }`);
|
40
40
|
}
|
41
41
|
}
|
42
42
|
};
|