Once you have generated your SDK, you can publish it to a package manager so that other developers can use it. You'll need to ensure you have set the correct metadata in your liblab config file, including the SDK version before publishing.
In the liblab config file, you can set the following metadata for any SDK language, and this will be added to the package manifest:
|The version number of your SDK.|
|The authors of the SDK. Not supported for Java SDKs.|
|The homepage of the SDK.|
For Java, you can also set:
|The group ID of the SDK.|
For Python you can also set:
|The name of the Python package for PyPi.|
|The PyPi Trove classifiers.|
|The PyPi project URLs.|
For TypeScript you can also set:
|The scope for the NPM package name.|
|The NPM package name.|
Publishing to a package manager
Depending on the language you have generated your SDK for, you can publish to the following package managers:
Publish your TypeScript SDK
You can find instructions to publish your TypeScript SDK to the NPM repository in the NPM documentation.
Publish your Java SDK
You can find instructions to publish your Java SDK to the Maven Central Repository in the Sonatype central repository documentation.
Publish your Python SDK
You can find instructions to publish your Python SDK to the PyPI repository in the PyPI documentation.