docs for operators

This commit is contained in:
KotIsOff 2025-08-26 02:10:16 +03:00
parent 01b3229aac
commit a0c66d56d8
2 changed files with 5 additions and 5 deletions

View File

@ -30,10 +30,10 @@ If prefix is not specified, '!' level will be used.
Example: '~randutil' - weak dependency 'randutil'. Example: '~randutil' - weak dependency 'randutil'.
Dependency version is indicated after '@' symbol. Dependency version is indicated after '@' symbol and have operators to restrict acceptable versions.
If version is not specified, '\*' (any) version will be used. If version is not specified, '\*' (any) version will be used.
Example: 'randutil@1.0' - dependency 'randutil' which requires version 1.0. Example: 'randutil@>=1.0' - dependency 'randutil' which requires version 1.0 or newer.
Example: Example:
```json ```json

View File

@ -30,12 +30,12 @@
- '~' - слабая зависимость - '~' - слабая зависимость
Отсутствие префикса интерпретируется как '!'. Отсутствие префикса интерпретируется как '!'.
Пример: '~randutil@1.0' - слабая зависимость 'randutil'. Пример: '~randutil' - слабая зависимость 'randutil'.
Версии зависимостей указываются с помощью постфикса через '@'. Версии зависимостей указываются после '@' и имеют операторы для ограничения допустимых версий.
Отсутствие версии зависимости интерпретируется как '\*', т.е. любая версия. Отсутствие версии зависимости интерпретируется как '\*', т.е. любая версия.
Пример: 'randutil@1.0' - зависимость 'randutil' версии 1.0. Пример: 'randutil@>=1.0' - зависимость 'randutil' версии 1.0 и старше.
Пример: Пример:
```json ```json