1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Add clarification to the engines.lens string format

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2022-05-09 13:42:59 -04:00
parent d29b5643b0
commit 78c456afd9

View File

@ -42,7 +42,7 @@ Some of the most-important fields include:
Lens uses this ID to uniquely identify your extension. Lens uses this ID to uniquely identify your extension.
- `main`: the extension's entry point run in `main` process. - `main`: the extension's entry point run in `main` process.
- `renderer`: the extension's entry point run in `renderer` process. - `renderer`: the extension's entry point run in `renderer` process.
- `engines.lens`: the minimum version of Lens API that the extension depends upon. - `engines.lens`: the minimum version of Lens API that the extension depends upon. We only support the `~` range, which is also optional to specify, and only major and minor version numbers. Meaning that `~5.4` and `5.4` both mean the same thing, and the patch version in `5.4.2` is ignored.
```javascript ```javascript
{ {