defineWidgetPackage and startWidgetPackage from the supported worker SDK.
Create the project
Link the Droplet
If the project is not linked yet:fluid.widget.config.ts. It does not change the package identity, version, or widget registrations in manifest.ts.
Start development
http://localhost:5174. Preview the package through a portal or builder. The command does not start a separate preview application.
Validate and build
Publish
Increment the semanticversion in manifest.ts, then run:
fluid widget push commits and pushes your source to the package’s repository on Fluid, then builds and publishes. Publication creates an immutable Droplet widget version. Use a new version for every published change. See Validate, build, and publish for how push differs from the template’s widget:publish script.
When the package appears in a portal
A published Droplet package appears in a company’s Portal Builder Widgets tab and portal only when all of these are true:- The company has installed the Droplet, and the installation is active. When the company uninstalls it, its widgets leave the catalog.
- The Droplet isn’t a draft, archived or suspended.
- The package has a published version. Publishing approves the upload automatically when its files check out.