Private betav0.1.0
Docs
Format developer documentation

format update

Move your project to a Format release, updating every Format package together.

Manages the version your Format project is running on. Use this CLI to update, downgrade versions or fix mismatched package versions.

# Updates all Format packages to the latest stable version
format update latest

# Updates/downgrades to Format version 1.0.2
format update 1.0.2

# Applies the version in your configuration file, updating any packages that don't match it
format update

The entire Format platform runs off a single version number. This keeps versioning predictable and simple to manage. You set your exact version in your format.config.json and all Format packages will install at exactly that pinned version. We don't support symbols you might be used to using, such as ~ or ^. You must specify an exact version.

You should avoid setting versions on Format packages in your package.json. The version key in your configuration file is a single source of truth to manage your Format version.

Reference

NameDescription
An exact release like 0.1.2, or latest for the newest. Omit it to apply the release already pinned in your config. The version field is the source of truth, and editing it by hand then running format update is a supported flow.

Details

[version]

Description
An exact release like 0.1.2, or latest for the newest. Omit it to apply the release already pinned in your config. The version field is the source of truth, and editing it by hand then running format update is a supported flow.
Type
argument
Was this page helpful?