docs for dependency version

This commit is contained in:
KotIsOff 2025-08-23 16:43:42 +03:00
parent 74238d0844
commit f91b734aea
2 changed files with 11 additions and 1 deletions

View File

@ -30,6 +30,11 @@ If prefix is not specified, '!' level will be used.
Example: '~randutil' - weak dependency 'randutil'.
Dependency version is indicated by postfix after '@' symbol.
If postfix is not specified, '*' (any) version will be used.
Example: 'randutil@1.0' - dependency 'randutil' which requires version 1.0.
Example:
```json
{

View File

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