Template Dependency Syntax
The syntax you use to specify dependencies in the template-info.json file for templateVersion is
flexible. The value can take on any of the following.
- Choose any version.
- A specific version.
- Versions greater than or less than the one indicated.
Here is the syntax:
- If no version is specified, any version found is used. If a version is specified, but no operator (for example, 3.0), only that version is used.
- If the operator is “=” (=3.0), only that version is used.
- If the operator is “>” (>3.0), any app with a version greater than the specified version is used
- If the operator is “<” (<3.0), any app with a version less than the specified version is used.
- If the operator is “>=” (>=3.0), any app with a version greater than or equal to the specified version is used.
- If the operator is “<=” (<=3.0), any app with a version less than or equal to the specified version is used.