Deprecate a component
$bit deprecate <component-name>
$bit d <component-name>
Arguments
Argument | Description | Required |
---|---|---|
component-name | component name or component id | ✅ |
Options
Option | Option Alias | Description | Value Type |
---|---|---|---|
--new-id | - | if replaced by another component, enter the new component id. alternatively use "bit rename --deprecate" to do this automatically | string |
--range | - | enter a Semver range to deprecate specific versions. see https://www.npmjs.com/package/semver#ranges for the range syntax | string |