-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: support engines property #152
Conversation
Since we agreed not to have any additional validation for semver here, it's ready for review. Question: Do we agree on It should be |
packages/zeebe-element-templates-json-schema/src/defs/engines.json
Outdated
Show resolved
Hide resolved
packages/zeebe-element-templates-json-schema/src/defs/engines.json
Outdated
Show resolved
Hide resolved
packages/zeebe-element-templates-json-schema/src/defs/engines.json
Outdated
Show resolved
Hide resolved
packages/zeebe-element-templates-json-schema/test/spec/validationSpec.js
Outdated
Show resolved
Hide resolved
`engines` is a new property that allows templates to declare compatibility with other run-time provided engines. Closes #146
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed, including a manual test.
Added additional test for "no camunda provided", improved descriptions, and fixed validationSpec
to prevent undetected use of it.only
in the future 🏁
feat: support <engines> field in schema validation See https://github.com/camunda/element-templates-json-schema/blob/main/packages/zeebe-element-templates-json-schema/CHANGELOG.md#0210 Related to camunda/element-templates-json-schema#152
feat: support <engines> field in schema validation See https://github.com/camunda/element-templates-json-schema/blob/main/packages/zeebe-element-templates-json-schema/CHANGELOG.md#0210 Related to camunda/element-templates-json-schema#152
feat: support <engines> field in schema validation See https://github.com/camunda/element-templates-json-schema/blob/main/packages/zeebe-element-templates-json-schema/CHANGELOG.md#0210 Related to camunda/element-templates-json-schema#152
feat: support <engines> field in schema validation See https://github.com/camunda/element-templates-json-schema/blob/main/packages/zeebe-element-templates-json-schema/CHANGELOG.md#0210 Related to camunda/element-templates-json-schema#152
Closes #146
Add
engines
property to include a list of platforms and their versions compatible with element template.