The unified-ui-platform-sdk
library provides logging, HTTP, and telemetry services for Micro Frontends (MFE). It is published to the public npm repository (npmjs) because @wxcc-desktop/sdk
depends on some of its TypeScript type definitions.
To publish the unified-ui-platform-sdk
package to an external npm repository like npmjs.com, follow these steps:
-
Verify Membership
Ensure you are a member of the@uuip
project on npmjs.com. If not, contact your lead to request access. -
Update Version
⚠️ Important Step: Update Version
Increment the version number in thepackage.json
file according to semantic versioning. Ensure the version changes are merged into themain
branch before publishing. 🛠️📦 -
Run Publish Command
Execute the following command to publish the package:yarn publish:external
-
Login to npmjs
During the process, npm will prompt you to log in to npmjs via your browser. Complete the login process. -
Verify Publication
After a successful login, the new version of the package will be published to npmjs.com.