View Source LightningCSS.Versions (lightning_css v0.5.0)

This module groups functions to read default and remote versions of Lightning CSS.

Summary

Functions

Returns the version of the lightning_css executable.

Returns the version of Lightning CSS that this package should use.

Returns the most recent Lightning CSS version known by this package.

Returns the configured version falling back to the latest if there's no version configured.

Functions

Returns the version of the lightning_css executable.

Returns {:ok, version_string} on success or :error when the executable is not available.

@spec configured() :: String.t() | nil

Returns the version of Lightning CSS that this package should use.

@spec latest() :: String.t()

Returns the most recent Lightning CSS version known by this package.

@spec to_use() :: String.t()

Returns the configured version falling back to the latest if there's no version configured.