Azure / Azure/azure-sdk-tools

Update-javascript-GeneratedSdks should not use Typespec-project scripts

Open
#9,420 2 comments 0 reactions 0 assignees View on GitHub
Central-EngSys
Dominant language
C#
Stars
135
Forks
260
Avg merge
3d 1h
Merged PRs (30d)
143

Description

Current function `Update-javascript-GeneratedSdks` in the [LanguageSettings.ps1](https://github.com/Azure/azure-sdk-for-js/blob/main/eng/scripts/Language-Settings.ps1#L367) file has a dependency on `TypeSpec-Project-Sync.ps1` and `TypeSpec-Project-Generate.ps1`. These should be replaced with the usage of `tsp-client`

Contributor guide

Open the contributing guide

Research direction

Start in eng/scripts/Language-Settings.ps1 at Update-javascript-GeneratedSdks, then inspect the referenced TypeSpec-Project-Sync.ps1 and TypeSpec-Project-Generate.ps1 scripts to understand the current flow. Replace those dependencies with tsp-client usage and verify that JavaScript generated SDK updates work without invoking the TypeSpec project scripts.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, powershell
Domain
build-system, tooling
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.