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.md accordingly.
Related skills
Installs
1
GitHub Stars
873
First Seen
3 days ago