CLI Reference
/
deprecate
Deprecate a component
$bit deprecate <component-name>
Copiedcopy
$bit d <component-name>
Copiedcopy

Arguments

ArgumentDescriptionRequired
component-namecomponent name or component id

Options

OptionOption AliasDescriptionValue Type
--new-id-if replaced by another component, enter the new component id. alternatively use "bit rename --deprecate" to do this automaticallystring
--range-enter a Semver range to deprecate specific versions. see https://www.npmjs.com/package/semver#ranges for the range syntaxstring