Deprecating a Component - acl-services/paprika GitHub Wiki
First update npmjs.org:
- In the component's package.json, prepend the description with "DEPRECATED - ".
- Run
yarn changeset
and mark the component for a patch. - Merge the above changes.
- Manually run the full release, or wait for it to run.
Once the release is done, clean up:
- If any other paprika components use the old package, replace those instances.
- Remove the component from .storybook/storyTree.js
- Delete the package from the codebase.
- Run
npm deprecate @paprika/oldpackage "Moved to @paprika/newpackage"