You can publish your hubs to the npm registry and share them with the community. Users can install your hub from Settings -> My Hub -> Install Hub -> type in the name of your hub package.
1

Login to npm

Make sure you are logged in to npm. If not, please run:
npm login
2

Rename Hub

Rename the hub name in package.json to something unique or related to your organization’s scope (e.g., @my-org/hub-PIECE_NAME). You can find it at packages/hubs/PIECE_NAME/package.json.
Don’t forget to increase the version number in package.json for each new release.
3

Publish

Replace PIECE_FOLDER_NAME with the name of the folder.
Run the following command:
npm run publish-hub PIECE_FOLDER_NAME
Congratulations! You can now import the hub from the settings page.