Publish a plugin privately
To publish a plugin to Portal Cloud, contact Spotify to receive a publishing token for your Portal Cloud instance. Next, set up your local environment to publish to your Portal Cloud instance:- Configure your plugin’s
package.jsonto add aregistrykey:
package.json
- Add a
.yarnrc.ymlwith thenpmAuthTokenkey defined with an environment variable:
- Export the publishing token you received from Spotify:
- Build your plugin:
- Publish your plugin:
- Repeat Step 5 for any other plugin packages (e.g. backend or common packages).
version field in your package.json file. This can be done manually, or with a change management tool like changesets.