feat(package): support JSR package version (#6502)

---------

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
This commit is contained in:
Caleb Cox
2025-03-02 04:49:47 -06:00
committed by GitHub
parent 721e7f11f1
commit bd2321a12f
4 changed files with 92 additions and 0 deletions
+1
View File
@@ -3426,6 +3426,7 @@ package, and shows its current version. The module currently supports `npm`, `ni
- [**npm**](https://docs.npmjs.com/cli/commands/npm) The `npm` package version is extracted from the `package.json` present
in the current directory
- [**JSR**](https://jsr.io/) The `jsr` package version is extracted from the `jsr.json`/`jsr.jsonc` or `deno.json`/`deno.jsonc` present in the current directory
- [**Cargo**](https://doc.rust-lang.org/cargo/) The `cargo` package version is extracted from the `Cargo.toml` present in the current directory
- [**Nimble**](https://github.com/nim-lang/nimble) - The `nimble` package version is extracted from the `*.nimble` file present in the current directory with the `nimble dump` command
- [**Poetry**](https://python-poetry.org/) The `poetry` package version is extracted from the `pyproject.toml` present