This contains all the frontend SDK that enable our customers to seamlessly integrate Unidy into their frontend applications. We always keep in mind, that our customers have no developer resources or technical knowledge.
Install bun following the instructions on bun.sh.
# setup the central used node_modules
bun installThis is a bun monorepo using bun. The node_module on the root folder structure are shared between all packages/SDK libraries that can be found in the packages folder. Refer to the individual package README files on how to develop and release them.
Each package is released independently. First go to the package folder. Update the version in the package.json.
Run the build command, which will also update the generated README.md files in the package folder:
bun run buildMake a release commit with the updated README.md and package.json files and push it to the main branch.
Login (with the unidy-dev account) to npmjs to be able to publish:
npm loginPublish the package to npm (if you release a development version add a tag to avoid setting the latest tag to the release --tag next):
bun publish --access publicIf you need to tag a previous package as latest use the npm dist-tag command:
npm dist-tag add @unidy.io/<package>@<version> latestIMPORTANT: Use the latest version of the released SDK on the Unidy SDK Demo page, showcasing the new features and improvements.