From 1cb67279242aef1559586492ccce59f877d9783b Mon Sep 17 00:00:00 2001 From: catalinaperalta Date: Fri, 17 Jan 2025 15:35:31 -0800 Subject: [PATCH] [tsp-client] support unbranded emitters (#9632) * support unbranded emitters * release prep * update search string * update changelog * wording --------- Co-authored-by: catalinaperalta --- tools/tsp-client/CHANGELOG.md | 5 +++++ tools/tsp-client/package-lock.json | 4 ++-- tools/tsp-client/package.json | 2 +- tools/tsp-client/src/fs.ts | 2 +- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/tools/tsp-client/CHANGELOG.md b/tools/tsp-client/CHANGELOG.md index 17ed4e0009d..d1047e36655 100644 --- a/tools/tsp-client/CHANGELOG.md +++ b/tools/tsp-client/CHANGELOG.md @@ -1,5 +1,10 @@ # Release +## 2025-01-17 - 0.15.3 + +- Add `generate-config-files` command to create `emitter-package.json` and `emitter-package-lock.json` files under the `/eng` directory. +- Support emitters with names starting with `@typespec/http-` to generate client libraries. + ## 2025-01-10 - 0.15.2 - Float `@autorest/openapi-to-typespec` version between `>=0.10.6 <1.0.0`. diff --git a/tools/tsp-client/package-lock.json b/tools/tsp-client/package-lock.json index de591e8a245..38023d2fa7b 100644 --- a/tools/tsp-client/package-lock.json +++ b/tools/tsp-client/package-lock.json @@ -1,12 +1,12 @@ { "name": "@azure-tools/typespec-client-generator-cli", - "version": "0.15.1", + "version": "0.15.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@azure-tools/typespec-client-generator-cli", - "version": "0.15.1", + "version": "0.15.3", "license": "MIT", "dependencies": { "@autorest/core": "^3.10.2", diff --git a/tools/tsp-client/package.json b/tools/tsp-client/package.json index 5b3c166831e..cdba38a335a 100644 --- a/tools/tsp-client/package.json +++ b/tools/tsp-client/package.json @@ -1,6 +1,6 @@ { "name": "@azure-tools/typespec-client-generator-cli", - "version": "0.15.1", + "version": "0.15.3", "description": "A tool to generate Azure SDKs from TypeSpec", "main": "dist/index.js", "homepage": "https://github.com/Azure/azure-sdk-tools/tree/main/tools/tsp-client#readme", diff --git a/tools/tsp-client/src/fs.ts b/tools/tsp-client/src/fs.ts index 94399d1f0df..36a725635e1 100644 --- a/tools/tsp-client/src/fs.ts +++ b/tools/tsp-client/src/fs.ts @@ -59,7 +59,7 @@ export async function getEmitterFromRepoConfig(emitterPath: string): Promise dep.startsWith(lang)); if (emitter) {