update-emitter
Installation
SKILL.md
Run eng/scripts/Update-Emitter.ps1 to update eng/emitter-package.json to the latest @azure-tools/typespec-rust version and regenerate the lock file.
Regenerating clients
After updating the emitter, service crates should be regenerated to pick up the new version.
Service owners should regenerate only their own service crates. To regenerate a single crate, run tsp-client update from within the crate directory:
cd sdk/{service-directory}/{crate-directory}
tsp-client update
To regenerate all crates under a service directory:
find sdk/{service-directory} -name tsp-location.yaml -execdir tsp-client update \;
After regenerating
- Build and test each affected crate to verify correctness.
- Review any changes to public APIs and update each crate's
CHANGELOG.mdaccordingly.
Related skills