This is a tool used during build process of Origami components, to prepare them for publish on npm.
It gets run in the project directory of a component.
We remove the aliases field, and then the package is ready to publish.
Oh? You've got an Origami component you want to put on npm?
$ cd o-component $ latest_version=$(git tag | sort -V | tail -1 | grep -Eo '\d+\.\d+\.\d+') $ npx occ $latest $ npm publish --access public
If the above code does not work for your component, please contact Origami via Slack (#origami-support) or opening an issue on this repository.