UI Extension Version

Print the latest installed version of a UI extension package. With --online, the latest version published to the NPM registry is checked too, which shows whether an update is available.

Command

dnx dotnet-charon -- EXTENSION VERSION --name charon-conversation-editor --online

#> {
#>   "name": "charon-conversation-editor",
#>   "installedVersion": "0.0.42",
#>   "onlineVersion": "0.0.43"
#> }

Parameters

--name

Name of the package, as written in its package.json.

--online

Also check the NPM registry for the latest published version.

--output

Path to the output file. If the file exists, it will be overwritten. Alternatively, you can output to Standard Error, Standard Output, /dev/null, or a URL. Defaults to out.

--outputFormat

Format of the output. Defaults to json.

--outputFormattingOptions

Additional options for specified format.

A version is null when the package is not installed, or not found online. The command exits with code 1 when neither is found.

This command supports universal parameters.

See also