Skip to content

server verify models and application `package.json` `engines.ub`

Pavel Mashliakovskiy requested to merge feat/checkEngine into master

Models and application package.json can contain engines.ub section - a minimal version of UB server for this model. Server throws if it's version is less than specified in engine.ub. The only supported semantic is >=. Example:

{
  "name": "@unitybase/uba",
  "engines": {
    "ub": ">=5.22.15"
  }
}

Merge request reports