In case you would like to introduce changes to UIX SDK during integration with a service you will need:
- Local source code copy of service you integrate with UIX
- Local copy of UIX SDK monorepo
- Yalc
To use a local copy of SDK packages:
- Install all dependencies for the service project with
npm install
oryarn install
- Make necessary changes in UIX SDK
- Build SDK packages with
npm run build
- Publish packages to
yalc
and add them to your service project withnode scripts/publish-local-to.mjs <path to service project>
. Script automatically recognizes all used SDK packages in the service project and add them asyalc
dependencies. If service project does not use SDK yet all packages will be added.
Warning Do not commit
package.json
withyalc
dependencies. Before committing changes please specify correct SDK package version that you are going to release and remove all excessive SDK packages from your project.