From c3f2f38c38531d91aa0d51b77fcf8165b76310f9 Mon Sep 17 00:00:00 2001 From: Brian Terlson Date: Fri, 12 Dec 2025 13:21:26 -0800 Subject: [PATCH 1/2] Take alloy 0.22 --- packages/emitter-framework/package.json | 12 +- .../components/class/declaration.test.tsx | 35 +---- .../components/enum/declaration.test.tsx | 5 +- .../json-converter-resolver.test.tsx | 1 - .../components/property/property.test.tsx | 1 - .../components/type-expression.test.tsx | 5 +- .../components/interface-declaration.test.tsx | 10 +- packages/http-client-js/package.json | 6 +- .../src/components/http-request.tsx | 3 +- .../test/scenarios/auth/basic_auth.md | 1 - .../test/scenarios/auth/bearer.md | 1 - .../test/scenarios/auth/client_parameters.md | 1 - .../test/scenarios/auth/key_credential.md | 1 - .../test/scenarios/auth/oauth2.md | 1 - .../scenarios/auth/sub_client_override.md | 2 - .../test/scenarios/client/dotted_namespace.md | 1 - .../test/scenarios/client/global_namespace.md | 1 - .../client/multiple_top_level_clients.md | 2 - .../test/scenarios/client/nested_client.md | 1 - .../test/scenarios/http-operations/basic.md | 1 - .../test/scenarios/http-operations/paging.md | 2 - .../http-operations/with-parameters.md | 1 - .../body_root_anonymous.md | 1 - .../constant_as_optional.md | 1 - .../default_value_as_optional.md | 1 - .../operation-parameters/no_content_type.md | 1 - .../operation-parameters/no_parameters.md | 1 - .../operation-parameters/only_optional.md | 1 - .../operation-parameters/only_required.md | 1 - .../operation-parameters/reserved_names.md | 1 - .../operation-parameters/spread_body.md | 1 - .../spread_with_nested.md | 1 - .../operation-parameters/union_body.md | 1 - .../with_body_property.md | 1 - .../operation-parameters/with_body_root.md | 1 - packages/http-client/package.json | 10 +- packages/tspd/package.json | 8 +- pnpm-lock.yaml | 134 +++++++++++------- pnpm-workspace.yaml | 2 + 39 files changed, 117 insertions(+), 144 deletions(-) diff --git a/packages/emitter-framework/package.json b/packages/emitter-framework/package.json index 3d2caecb5d7..3dc777012e5 100644 --- a/packages/emitter-framework/package.json +++ b/packages/emitter-framework/package.json @@ -55,16 +55,16 @@ "license": "MIT", "description": "", "peerDependencies": { - "@alloy-js/core": "^0.21.0", - "@alloy-js/csharp": "^0.21.0", - "@alloy-js/typescript": "^0.21.0", + "@alloy-js/core": "^0.22.0", + "@alloy-js/csharp": "^0.22.0", + "@alloy-js/typescript": "^0.22.0", "@typespec/compiler": "workspace:^" }, "devDependencies": { - "@alloy-js/cli": "^0.21.0", - "@alloy-js/core": "^0.21.0", + "@alloy-js/cli": "^0.22.0", + "@alloy-js/core": "^0.22.0", "@alloy-js/rollup-plugin": "^0.1.0", - "@alloy-js/typescript": "^0.21.0", + "@alloy-js/typescript": "^0.22.0", "@typespec/compiler": "workspace:^", "concurrently": "^9.1.2", "pathe": "^2.0.3", diff --git a/packages/emitter-framework/src/csharp/components/class/declaration.test.tsx b/packages/emitter-framework/src/csharp/components/class/declaration.test.tsx index 7a088c4fe4f..3f008f01893 100644 --- a/packages/emitter-framework/src/csharp/components/class/declaration.test.tsx +++ b/packages/emitter-framework/src/csharp/components/class/declaration.test.tsx @@ -36,10 +36,7 @@ it("renders an empty class declaration", async () => { , ).toRenderTo(` - class TestModel - { - - } + class TestModel {} `); }); @@ -88,14 +85,8 @@ it("renders a class declaration with properties using component override", async , ).toRenderTo(d` - class Foo - { - - } - class Bar - { - - } + class Foo {} + class Bar {} class TestModel { public required string Prop1 { get; set; } @@ -150,10 +141,7 @@ it("can override class name", async () => { , ).toRenderTo(` - class CustomClassName - { - - } + class CustomClassName {} `); }); @@ -168,10 +156,7 @@ it("renders a class with access modifiers", async () => { , ).toRenderTo(` - protected class TestModel - { - - } + protected class TestModel {} `); }); @@ -187,10 +172,7 @@ describe("from an interface", () => { , ).toRenderTo(` - class TestInterface - { - - } + class TestInterface {} `); }); @@ -229,10 +211,7 @@ it("renders a class with model members", async () => { , ).toRenderTo(` - class TestReference - { - - } + class TestReference {} class TestModel { public required TestReference Prop1 { get; set; } diff --git a/packages/emitter-framework/src/csharp/components/enum/declaration.test.tsx b/packages/emitter-framework/src/csharp/components/enum/declaration.test.tsx index a42039bb410..82b189d9eec 100644 --- a/packages/emitter-framework/src/csharp/components/enum/declaration.test.tsx +++ b/packages/emitter-framework/src/csharp/components/enum/declaration.test.tsx @@ -54,10 +54,7 @@ it("renders an empty enum declaration", async () => { , ).toRenderTo(` - enum TestEnum - { - - } + enum TestEnum {} `); }); diff --git a/packages/emitter-framework/src/csharp/components/json-converter/json-converter-resolver.test.tsx b/packages/emitter-framework/src/csharp/components/json-converter/json-converter-resolver.test.tsx index 2c64392835b..b62c901ba15 100644 --- a/packages/emitter-framework/src/csharp/components/json-converter/json-converter-resolver.test.tsx +++ b/packages/emitter-framework/src/csharp/components/json-converter/json-converter-resolver.test.tsx @@ -104,7 +104,6 @@ it("Resolve custom converter", async () => { [JsonConverter(typeof(FakeJsonConverter))] public required string Prop1 { get; set; } - internal sealed class FakeJsonConverter : JsonConverter { public override string Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) diff --git a/packages/emitter-framework/src/csharp/components/property/property.test.tsx b/packages/emitter-framework/src/csharp/components/property/property.test.tsx index 7444028b58e..1ebf1bf380d 100644 --- a/packages/emitter-framework/src/csharp/components/property/property.test.tsx +++ b/packages/emitter-framework/src/csharp/components/property/property.test.tsx @@ -233,7 +233,6 @@ describe("jsonAttributes", () => { [JsonConverter(typeof(TimeSpanIso8601JsonConverter))] public required TimeSpan Prop3 { get; set; } - // JsonConverter wont work as nested class, but good enough for test to verify the generated code. internal sealed class TimeSpanSecondsInt32JsonConverter : JsonConverter { diff --git a/packages/emitter-framework/src/csharp/components/type-expression.test.tsx b/packages/emitter-framework/src/csharp/components/type-expression.test.tsx index 5ef7e879fff..8a6354aa648 100644 --- a/packages/emitter-framework/src/csharp/components/type-expression.test.tsx +++ b/packages/emitter-framework/src/csharp/components/type-expression.test.tsx @@ -87,10 +87,7 @@ describe("Record map to IDictionary", () => { , ).toRenderTo(` - class Pet - { - - } + class Pet {} IDictionary `); }); diff --git a/packages/emitter-framework/test/typescript/components/interface-declaration.test.tsx b/packages/emitter-framework/test/typescript/components/interface-declaration.test.tsx index df1be061b03..7d350ed434d 100644 --- a/packages/emitter-framework/test/typescript/components/interface-declaration.test.tsx +++ b/packages/emitter-framework/test/typescript/components/interface-declaration.test.tsx @@ -213,9 +213,7 @@ describe("Typescript Interface", () => { , ).toRenderTo(` - export interface Foo extends Array { - - }`); + export interface Foo extends Array {}`); }); it("creates an interface for a model that 'is' a record ", async () => { @@ -223,7 +221,7 @@ describe("Typescript Interface", () => { namespace DemoService; model Foo is Record; - `); + `); const [namespace] = program.resolveTypeReference("DemoService"); const models = (namespace as Namespace).models; @@ -421,9 +419,7 @@ describe("Typescript Interface", () => { , ).toRenderTo(` - export interface Widget { - - }`); + export interface Widget {}`); }); it("can override interface name", async () => { diff --git a/packages/http-client-js/package.json b/packages/http-client-js/package.json index 4c544e9eafe..1ae36852252 100644 --- a/packages/http-client-js/package.json +++ b/packages/http-client-js/package.json @@ -53,14 +53,14 @@ "@typespec/rest": "workspace:^" }, "dependencies": { - "@alloy-js/core": "^0.21.0", - "@alloy-js/typescript": "^0.21.0", + "@alloy-js/core": "^0.22.0", + "@alloy-js/typescript": "^0.22.0", "@typespec/emitter-framework": "workspace:^", "@typespec/http-client": "workspace:^", "prettier": "~3.6.2" }, "devDependencies": { - "@alloy-js/cli": "^0.21.0", + "@alloy-js/cli": "^0.22.0", "@alloy-js/rollup-plugin": "^0.1.0", "@types/yargs": "~17.0.33", "@typespec/http": "workspace:^", diff --git a/packages/http-client-js/src/components/http-request.tsx b/packages/http-client-js/src/components/http-request.tsx index 5a9cebcc116..c7442aaac8e 100644 --- a/packages/http-client-js/src/components/http-request.tsx +++ b/packages/http-client-js/src/components/http-request.tsx @@ -38,8 +38,9 @@ export function HttpRequest(props: HttpRequestProps) { await client.pathUnchecked(${()}).${verb}(${()}) `} - + + {code` if (typeof options?.operationOptions?.onResponse === "function") { options?.operationOptions?.onResponse(response); diff --git a/packages/http-client-js/test/scenarios/auth/basic_auth.md b/packages/http-client-js/test/scenarios/auth/basic_auth.md index 34465b805ac..8da8fb1dae9 100644 --- a/packages/http-client-js/test/scenarios/auth/basic_auth.md +++ b/packages/http-client-js/test/scenarios/auth/basic_auth.md @@ -25,7 +25,6 @@ The client signature should include a positional parameter for credential of typ ```ts src/testClient.ts class TestClient export class TestClient { #context: TestClientContext; - constructor(endpoint: string, credential: BasicCredential, options?: TestClientOptions) { this.#context = createTestClientContext(endpoint, credential, options); } diff --git a/packages/http-client-js/test/scenarios/auth/bearer.md b/packages/http-client-js/test/scenarios/auth/bearer.md index 800db6476af..85a5fe5acdd 100644 --- a/packages/http-client-js/test/scenarios/auth/bearer.md +++ b/packages/http-client-js/test/scenarios/auth/bearer.md @@ -25,7 +25,6 @@ The client signature should include a positional parameter for credential of typ ```ts src/testClient.ts class TestClient export class TestClient { #context: TestClientContext; - constructor(endpoint: string, credential: BasicCredential, options?: TestClientOptions) { this.#context = createTestClientContext(endpoint, credential, options); } diff --git a/packages/http-client-js/test/scenarios/auth/client_parameters.md b/packages/http-client-js/test/scenarios/auth/client_parameters.md index 1051a2b4ab6..4ef2c1b08bd 100644 --- a/packages/http-client-js/test/scenarios/auth/client_parameters.md +++ b/packages/http-client-js/test/scenarios/auth/client_parameters.md @@ -26,7 +26,6 @@ TODO: Revisit if we need additional types since it will be difficult at runtime ```ts src/testClient.ts class TestClient export class TestClient { #context: TestClientContext; - constructor( endpoint: string, credential: BearerTokenCredential | ApiKeyCredential, diff --git a/packages/http-client-js/test/scenarios/auth/key_credential.md b/packages/http-client-js/test/scenarios/auth/key_credential.md index 470edddd234..df9bfae4f77 100644 --- a/packages/http-client-js/test/scenarios/auth/key_credential.md +++ b/packages/http-client-js/test/scenarios/auth/key_credential.md @@ -25,7 +25,6 @@ The client signature should include a positional parameter for credential of typ ```ts src/testClient.ts class TestClient export class TestClient { #context: TestClientContext; - constructor(endpoint: string, credential: ApiKeyCredential, options?: TestClientOptions) { this.#context = createTestClientContext(endpoint, credential, options); } diff --git a/packages/http-client-js/test/scenarios/auth/oauth2.md b/packages/http-client-js/test/scenarios/auth/oauth2.md index 7ea211f6c05..84ba781ce97 100644 --- a/packages/http-client-js/test/scenarios/auth/oauth2.md +++ b/packages/http-client-js/test/scenarios/auth/oauth2.md @@ -36,7 +36,6 @@ The client signature should include a positional parameter for credential of typ ```ts src/testClient.ts class TestClient export class TestClient { #context: TestClientContext; - constructor( endpoint: string, credential: OAuth2TokenCredential, diff --git a/packages/http-client-js/test/scenarios/auth/sub_client_override.md b/packages/http-client-js/test/scenarios/auth/sub_client_override.md index 1a3f7169e86..52aba4b8632 100644 --- a/packages/http-client-js/test/scenarios/auth/sub_client_override.md +++ b/packages/http-client-js/test/scenarios/auth/sub_client_override.md @@ -34,7 +34,6 @@ The subclient is not a child of the TestClient because they have different param ```ts src/testClient.ts class TestClient export class TestClient { #context: TestClientContext; - constructor(endpoint: string, credential: BasicCredential, options?: TestClientOptions) { this.#context = createTestClientContext(endpoint, credential, options); } @@ -49,7 +48,6 @@ The sub client shouldn't take a credential ```ts src/testClient.ts class SubClient export class SubClient { #context: SubClientContext; - constructor(endpoint: string, options?: SubClientOptions) { this.#context = createSubClientContext(endpoint, options); } diff --git a/packages/http-client-js/test/scenarios/client/dotted_namespace.md b/packages/http-client-js/test/scenarios/client/dotted_namespace.md index 79e5f707fad..0da7b1dc184 100644 --- a/packages/http-client-js/test/scenarios/client/dotted_namespace.md +++ b/packages/http-client-js/test/scenarios/client/dotted_namespace.md @@ -17,7 +17,6 @@ The client should match the last namespace. ```ts src/bazClient.ts class BazClient export class BazClient { #context: BazClientContext; - constructor(endpoint: string, options?: BazClientOptions) { this.#context = createBazClientContext(endpoint, options); } diff --git a/packages/http-client-js/test/scenarios/client/global_namespace.md b/packages/http-client-js/test/scenarios/client/global_namespace.md index 9ab813600c4..48257ec6a84 100644 --- a/packages/http-client-js/test/scenarios/client/global_namespace.md +++ b/packages/http-client-js/test/scenarios/client/global_namespace.md @@ -39,7 +39,6 @@ It should generate a client for the Global Namespace with a single operation `fo ```ts src/client.ts class Client export class Client { #context: ClientContext; - constructor(endpoint: string, options?: ClientOptions) { this.#context = createClientContext(endpoint, options); } diff --git a/packages/http-client-js/test/scenarios/client/multiple_top_level_clients.md b/packages/http-client-js/test/scenarios/client/multiple_top_level_clients.md index a108db64671..f33492f9597 100644 --- a/packages/http-client-js/test/scenarios/client/multiple_top_level_clients.md +++ b/packages/http-client-js/test/scenarios/client/multiple_top_level_clients.md @@ -37,7 +37,6 @@ import { get, type GetOptions } from "./api/fooClientOperations.js"; export class FooClient { #context: FooClientContext; - constructor(endpoint: string, options?: FooClientOptions) { this.#context = createFooClientContext(endpoint, options); } @@ -60,7 +59,6 @@ import type { BarItem } from "./models/models.js"; export class BarClient { #context: BarClientContext; - constructor(endpoint: string, options?: BarClientOptions) { this.#context = createBarClientContext(endpoint, options); } diff --git a/packages/http-client-js/test/scenarios/client/nested_client.md b/packages/http-client-js/test/scenarios/client/nested_client.md index f24b96f2b46..e7fdcaf3505 100644 --- a/packages/http-client-js/test/scenarios/client/nested_client.md +++ b/packages/http-client-js/test/scenarios/client/nested_client.md @@ -77,7 +77,6 @@ export class DemoServiceClient { } export class WidgetsClient { #context: WidgetsClientContext; - constructor(endpoint: string, options?: WidgetsClientOptions) { this.#context = createWidgetsClientContext(endpoint, options); } diff --git a/packages/http-client-js/test/scenarios/http-operations/basic.md b/packages/http-client-js/test/scenarios/http-operations/basic.md index 4b9d150286c..5ba7ab7591a 100644 --- a/packages/http-client-js/test/scenarios/http-operations/basic.md +++ b/packages/http-client-js/test/scenarios/http-operations/basic.md @@ -32,7 +32,6 @@ import { foo, type FooOptions } from "./api/testClientOperations.js"; export class TestClient { #context: TestClientContext; - constructor(endpoint: string, options?: TestClientOptions) { this.#context = createTestClientContext(endpoint, options); } diff --git a/packages/http-client-js/test/scenarios/http-operations/paging.md b/packages/http-client-js/test/scenarios/http-operations/paging.md index e9f1924cf88..4d763b04685 100644 --- a/packages/http-client-js/test/scenarios/http-operations/paging.md +++ b/packages/http-client-js/test/scenarios/http-operations/paging.md @@ -110,7 +110,6 @@ export interface LinkPageResponse { ```ts src/testClient.ts class TestClient export class TestClient { #context: TestClientContext; - constructor(endpoint: string, options?: TestClientOptions) { this.#context = createTestClientContext(endpoint, options); } @@ -233,7 +232,6 @@ export interface LinkPageResponse { ```ts src/testClient.ts class TestClient export class TestClient { #context: TestClientContext; - constructor(endpoint: string, options?: TestClientOptions) { this.#context = createTestClientContext(endpoint, options); } diff --git a/packages/http-client-js/test/scenarios/http-operations/with-parameters.md b/packages/http-client-js/test/scenarios/http-operations/with-parameters.md index bdc9c55edc9..b9fd5d5daa3 100644 --- a/packages/http-client-js/test/scenarios/http-operations/with-parameters.md +++ b/packages/http-client-js/test/scenarios/http-operations/with-parameters.md @@ -68,7 +68,6 @@ It should generate the client class with the read operation that calls the opera ```ts src/demoServiceClient.ts class WidgetsClient export class WidgetsClient { #context: WidgetsClientContext; - constructor(endpoint: string, options?: WidgetsClientOptions) { this.#context = createWidgetsClientContext(endpoint, options); } diff --git a/packages/http-client-js/test/scenarios/operation-parameters/body_root_anonymous.md b/packages/http-client-js/test/scenarios/operation-parameters/body_root_anonymous.md index 79e3e6f48fd..a33507c5ff6 100644 --- a/packages/http-client-js/test/scenarios/operation-parameters/body_root_anonymous.md +++ b/packages/http-client-js/test/scenarios/operation-parameters/body_root_anonymous.md @@ -69,7 +69,6 @@ export interface CreateOptions extends OperationOptions { ```ts src/testClient.ts class TestClient export class TestClient { #context: TestClientContext; - constructor(endpoint: string, options?: TestClientOptions) { this.#context = createTestClientContext(endpoint, options); } diff --git a/packages/http-client-js/test/scenarios/operation-parameters/constant_as_optional.md b/packages/http-client-js/test/scenarios/operation-parameters/constant_as_optional.md index 5e14c5d5961..6fbcd3786f6 100644 --- a/packages/http-client-js/test/scenarios/operation-parameters/constant_as_optional.md +++ b/packages/http-client-js/test/scenarios/operation-parameters/constant_as_optional.md @@ -44,7 +44,6 @@ export interface GetOptions extends OperationOptions { ```ts src/testClient.ts class TestClient export class TestClient { #context: TestClientContext; - constructor(endpoint: string, options?: TestClientOptions) { this.#context = createTestClientContext(endpoint, options); } diff --git a/packages/http-client-js/test/scenarios/operation-parameters/default_value_as_optional.md b/packages/http-client-js/test/scenarios/operation-parameters/default_value_as_optional.md index 009316bc196..ce338a13366 100644 --- a/packages/http-client-js/test/scenarios/operation-parameters/default_value_as_optional.md +++ b/packages/http-client-js/test/scenarios/operation-parameters/default_value_as_optional.md @@ -44,7 +44,6 @@ export interface GetOptions extends OperationOptions { ```ts src/testClient.ts class TestClient export class TestClient { #context: TestClientContext; - constructor(endpoint: string, options?: TestClientOptions) { this.#context = createTestClientContext(endpoint, options); } diff --git a/packages/http-client-js/test/scenarios/operation-parameters/no_content_type.md b/packages/http-client-js/test/scenarios/operation-parameters/no_content_type.md index 2953761e8d2..85297018a60 100644 --- a/packages/http-client-js/test/scenarios/operation-parameters/no_content_type.md +++ b/packages/http-client-js/test/scenarios/operation-parameters/no_content_type.md @@ -52,7 +52,6 @@ export interface GetOptions extends OperationOptions {} ```ts src/testClient.ts class TestClient export class TestClient { #context: TestClientContext; - constructor(endpoint: string, options?: TestClientOptions) { this.#context = createTestClientContext(endpoint, options); } diff --git a/packages/http-client-js/test/scenarios/operation-parameters/no_parameters.md b/packages/http-client-js/test/scenarios/operation-parameters/no_parameters.md index 5a0535ad286..a3397119395 100644 --- a/packages/http-client-js/test/scenarios/operation-parameters/no_parameters.md +++ b/packages/http-client-js/test/scenarios/operation-parameters/no_parameters.md @@ -40,7 +40,6 @@ export interface GetOptions extends OperationOptions {} ```ts src/testClient.ts class TestClient export class TestClient { #context: TestClientContext; - constructor(endpoint: string, options?: TestClientOptions) { this.#context = createTestClientContext(endpoint, options); } diff --git a/packages/http-client-js/test/scenarios/operation-parameters/only_optional.md b/packages/http-client-js/test/scenarios/operation-parameters/only_optional.md index b649326c3fa..3f5410bc972 100644 --- a/packages/http-client-js/test/scenarios/operation-parameters/only_optional.md +++ b/packages/http-client-js/test/scenarios/operation-parameters/only_optional.md @@ -52,7 +52,6 @@ export interface GetWithParamsOptions extends OperationOptions { ```ts src/testClient.ts class TestClient export class TestClient { #context: TestClientContext; - constructor(endpoint: string, options?: TestClientOptions) { this.#context = createTestClientContext(endpoint, options); } diff --git a/packages/http-client-js/test/scenarios/operation-parameters/only_required.md b/packages/http-client-js/test/scenarios/operation-parameters/only_required.md index 0c475bd1ce1..28e21c83cd9 100644 --- a/packages/http-client-js/test/scenarios/operation-parameters/only_required.md +++ b/packages/http-client-js/test/scenarios/operation-parameters/only_required.md @@ -48,7 +48,6 @@ export interface GetWithParamsOptions extends OperationOptions {} ```ts src/testClient.ts class TestClient export class TestClient { #context: TestClientContext; - constructor(endpoint: string, options?: TestClientOptions) { this.#context = createTestClientContext(endpoint, options); } diff --git a/packages/http-client-js/test/scenarios/operation-parameters/reserved_names.md b/packages/http-client-js/test/scenarios/operation-parameters/reserved_names.md index 6ee94d107a1..931bea77237 100644 --- a/packages/http-client-js/test/scenarios/operation-parameters/reserved_names.md +++ b/packages/http-client-js/test/scenarios/operation-parameters/reserved_names.md @@ -50,7 +50,6 @@ export interface GetOptions extends OperationOptions { ```ts src/testClient.ts class TestClient export class TestClient { #context: TestClientContext; - constructor(endpoint: string, options?: TestClientOptions) { this.#context = createTestClientContext(endpoint, options); } diff --git a/packages/http-client-js/test/scenarios/operation-parameters/spread_body.md b/packages/http-client-js/test/scenarios/operation-parameters/spread_body.md index f4aa2d4c3cf..424ac373a05 100644 --- a/packages/http-client-js/test/scenarios/operation-parameters/spread_body.md +++ b/packages/http-client-js/test/scenarios/operation-parameters/spread_body.md @@ -60,7 +60,6 @@ export interface CreateOptions extends OperationOptions { ```ts src/testClient.ts class TestClient export class TestClient { #context: TestClientContext; - constructor(endpoint: string, options?: TestClientOptions) { this.#context = createTestClientContext(endpoint, options); } diff --git a/packages/http-client-js/test/scenarios/operation-parameters/spread_with_nested.md b/packages/http-client-js/test/scenarios/operation-parameters/spread_with_nested.md index 625857d074f..800259148a7 100644 --- a/packages/http-client-js/test/scenarios/operation-parameters/spread_with_nested.md +++ b/packages/http-client-js/test/scenarios/operation-parameters/spread_with_nested.md @@ -72,7 +72,6 @@ export interface CreateOptions extends OperationOptions { ```ts src/testClient.ts class TestClient export class TestClient { #context: TestClientContext; - constructor(endpoint: string, options?: TestClientOptions) { this.#context = createTestClientContext(endpoint, options); } diff --git a/packages/http-client-js/test/scenarios/operation-parameters/union_body.md b/packages/http-client-js/test/scenarios/operation-parameters/union_body.md index 8e343c58270..725af219159 100644 --- a/packages/http-client-js/test/scenarios/operation-parameters/union_body.md +++ b/packages/http-client-js/test/scenarios/operation-parameters/union_body.md @@ -64,7 +64,6 @@ export interface SendOptions extends OperationOptions {} ```ts src/testClient.ts class TestClient export class TestClient { #context: TestClientContext; - constructor(endpoint: string, options?: TestClientOptions) { this.#context = createTestClientContext(endpoint, options); } diff --git a/packages/http-client-js/test/scenarios/operation-parameters/with_body_property.md b/packages/http-client-js/test/scenarios/operation-parameters/with_body_property.md index bb49188b003..ff0787efd73 100644 --- a/packages/http-client-js/test/scenarios/operation-parameters/with_body_property.md +++ b/packages/http-client-js/test/scenarios/operation-parameters/with_body_property.md @@ -57,7 +57,6 @@ export interface CreateOptions extends OperationOptions { ```ts src/testClient.ts class TestClient export class TestClient { #context: TestClientContext; - constructor(endpoint: string, options?: TestClientOptions) { this.#context = createTestClientContext(endpoint, options); } diff --git a/packages/http-client-js/test/scenarios/operation-parameters/with_body_root.md b/packages/http-client-js/test/scenarios/operation-parameters/with_body_root.md index bca7fc7ac98..a9f651a40cf 100644 --- a/packages/http-client-js/test/scenarios/operation-parameters/with_body_root.md +++ b/packages/http-client-js/test/scenarios/operation-parameters/with_body_root.md @@ -59,7 +59,6 @@ export interface CreateOptions extends OperationOptions { ```ts src/testClient.ts class TestClient export class TestClient { #context: TestClientContext; - constructor(endpoint: string, options?: TestClientOptions) { this.#context = createTestClientContext(endpoint, options); } diff --git a/packages/http-client/package.json b/packages/http-client/package.json index f7491d2b854..23021b990b9 100644 --- a/packages/http-client/package.json +++ b/packages/http-client/package.json @@ -23,17 +23,17 @@ } }, "peerDependencies": { - "@alloy-js/core": "^0.21.0", - "@alloy-js/typescript": "^0.21.0", + "@alloy-js/core": "^0.22.0", + "@alloy-js/typescript": "^0.22.0", "@typespec/compiler": "workspace:^", "@typespec/emitter-framework": "workspace:^", "@typespec/http": "workspace:^" }, "devDependencies": { - "@alloy-js/cli": "^0.21.0", - "@alloy-js/core": "^0.21.0", + "@alloy-js/cli": "^0.22.0", + "@alloy-js/core": "^0.22.0", "@alloy-js/rollup-plugin": "^0.1.0", - "@alloy-js/typescript": "^0.21.0", + "@alloy-js/typescript": "^0.22.0", "@types/node": "~24.10.1", "@typespec/compiler": "workspace:^", "@typespec/emitter-framework": "workspace:^", diff --git a/packages/tspd/package.json b/packages/tspd/package.json index 70fa6800950..39b982eb3e2 100644 --- a/packages/tspd/package.json +++ b/packages/tspd/package.json @@ -55,9 +55,9 @@ "!dist/test/**" ], "dependencies": { - "@alloy-js/core": "^0.21.0", - "@alloy-js/markdown": "^0.21.0", - "@alloy-js/typescript": "^0.21.0", + "@alloy-js/core": "^0.22.0", + "@alloy-js/markdown": "^0.22.0", + "@alloy-js/typescript": "^0.22.0", "@microsoft/api-extractor": "^7.52.1", "@microsoft/api-extractor-model": "^7.30.6", "@microsoft/tsdoc": "^0.16.0", @@ -71,7 +71,7 @@ "yargs": "~18.0.0" }, "devDependencies": { - "@alloy-js/cli": "^0.21.0", + "@alloy-js/cli": "^0.22.0", "@alloy-js/rollup-plugin": "^0.1.0", "@types/node": "~24.10.1", "@types/yargs": "~17.0.33", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d38e971f4e6..998b41bd937 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -412,21 +412,21 @@ importers: packages/emitter-framework: dependencies: '@alloy-js/csharp': - specifier: ^0.21.0 - version: 0.21.0 + specifier: ^0.22.0 + version: 0.22.0 devDependencies: '@alloy-js/cli': - specifier: ^0.21.0 - version: 0.21.0 + specifier: ^0.22.0 + version: 0.22.0 '@alloy-js/core': - specifier: ^0.21.0 - version: 0.21.0 + specifier: ^0.22.0 + version: 0.22.0 '@alloy-js/rollup-plugin': specifier: ^0.1.0 version: 0.1.0(@babel/core@7.28.5)(@types/babel__core@7.20.5)(rollup@4.49.0) '@alloy-js/typescript': - specifier: ^0.21.0 - version: 0.21.0 + specifier: ^0.22.0 + version: 0.22.0 '@typespec/compiler': specifier: workspace:^ version: link:../compiler @@ -680,17 +680,17 @@ importers: packages/http-client: devDependencies: '@alloy-js/cli': - specifier: ^0.21.0 - version: 0.21.0 + specifier: ^0.22.0 + version: 0.22.0 '@alloy-js/core': - specifier: ^0.21.0 - version: 0.21.0 + specifier: ^0.22.0 + version: 0.22.0 '@alloy-js/rollup-plugin': specifier: ^0.1.0 version: 0.1.0(@babel/core@7.28.5)(@types/babel__core@7.20.5)(rollup@4.49.0) '@alloy-js/typescript': - specifier: ^0.21.0 - version: 0.21.0 + specifier: ^0.22.0 + version: 0.22.0 '@types/node': specifier: ~24.10.1 version: 24.10.1 @@ -725,11 +725,11 @@ importers: packages/http-client-js: dependencies: '@alloy-js/core': - specifier: ^0.21.0 - version: 0.21.0 + specifier: ^0.22.0 + version: 0.22.0 '@alloy-js/typescript': - specifier: ^0.21.0 - version: 0.21.0 + specifier: ^0.22.0 + version: 0.22.0 '@typespec/compiler': specifier: workspace:^ version: link:../compiler @@ -747,8 +747,8 @@ importers: version: 3.6.2 devDependencies: '@alloy-js/cli': - specifier: ^0.21.0 - version: 0.21.0 + specifier: ^0.22.0 + version: 0.22.0 '@alloy-js/rollup-plugin': specifier: ^0.1.0 version: 0.1.0(@babel/core@7.28.5)(@types/babel__core@7.20.5)(rollup@4.49.0) @@ -2260,14 +2260,14 @@ importers: packages/tspd: dependencies: '@alloy-js/core': - specifier: ^0.21.0 - version: 0.21.0 + specifier: ^0.22.0 + version: 0.22.0 '@alloy-js/markdown': - specifier: ^0.21.0 - version: 0.21.0 + specifier: ^0.22.0 + version: 0.22.0 '@alloy-js/typescript': - specifier: ^0.21.0 - version: 0.21.0 + specifier: ^0.22.0 + version: 0.22.0 '@microsoft/api-extractor': specifier: ^7.52.1 version: 7.55.0(@types/node@24.10.1) @@ -2303,8 +2303,8 @@ importers: version: 18.0.0 devDependencies: '@alloy-js/cli': - specifier: ^0.21.0 - version: 0.21.0 + specifier: ^0.22.0 + version: 0.22.0 '@alloy-js/rollup-plugin': specifier: ^0.1.0 version: 0.1.0(@babel/core@7.28.5)(@types/babel__core@7.20.5)(rollup@4.49.0) @@ -2712,29 +2712,29 @@ packages: '@alloy-js/babel-preset@0.2.1': resolution: {integrity: sha512-vz9kvQwx5qBzHIw4ryqUaQqpgNOMBmkdDcV3e2zZfMq8Pp16ePFtvviHh6RwyLcvXQQClex3ZZy8ON9TifMnxw==} - '@alloy-js/cli@0.21.0': - resolution: {integrity: sha512-k1Rf6kbYPdMKYJ1pFmhbk0NpW7p/aL/HbmxpJxmF/tbXAhZmNO62f9JM4qF64jNnq9byq31PMBSOIAIZFLqa1A==} + '@alloy-js/cli@0.22.0': + resolution: {integrity: sha512-M9XeHxdSRIZnwCZrYkOIuLrQQfxyTuc7tJrMjJdOFgvShBjwZJG21iFhvvYp5Reeq+GFEbuGlviho3GSxd7szA==} engines: {node: '>=18.0.0'} hasBin: true - '@alloy-js/core@0.21.0': - resolution: {integrity: sha512-eIBllm+Lgk/AcV6QdipZAVlYPIp6RHmgz046GXBQeXZnTZXmPHURVFI18/FVuaK7K+uUt0eriPXIYXs4/Ja5rQ==} + '@alloy-js/core@0.22.0': + resolution: {integrity: sha512-cqa6CL2m3zfPXF64Zr7WIqOpSWyqFi7ojQJVzpMjOsb1zJhoQzKt28/FCI6++Na4QDeSynOmWGEvHZ7CDYXn4w==} - '@alloy-js/csharp@0.21.0': - resolution: {integrity: sha512-Tw3AQaHjwRTZB6L6QPoXFJOmjDQyyGb2gwwAKGnea7q/J6BmwNkBHvCSuVe21Nkhgb4/upivWFyP8zbtdVAE5A==} + '@alloy-js/csharp@0.22.0': + resolution: {integrity: sha512-3m0HveXIgR3hScVMZbG1y264YTgvDuSeZqR1ARTsk05RR6YUD/7MFxJd5IiT4fOYePgROWO7CuBllrTexfj0Yg==} - '@alloy-js/markdown@0.21.0': - resolution: {integrity: sha512-Er2aqWdolajWUrHxeqZoiK/Grdet2zaEr8ZtIbvv/M0sMz975p0ltijZNF3OnMde0wFlk1Jg14hkiitI9wFVgQ==} + '@alloy-js/markdown@0.22.0': + resolution: {integrity: sha512-VslLzyk9780MaEAKH/9LE7dPcxIxHEx/V3+MsoZ8nHK+rvpmnTblxFJpbkLvmhUf8Oq2hmgsvfv7jIauBGI0rQ==} - '@alloy-js/msbuild@0.21.0': - resolution: {integrity: sha512-QmMwF7eoYMdR5mX+8cIKb5F3Mgi3uQlFYrGYq92ht6BOc/XKyBXIwCXq6zqPMAT7nd2BHDD2hvgbL6nLS4QcGg==} + '@alloy-js/msbuild@0.22.0': + resolution: {integrity: sha512-Zi4bezFzQveW4u78qwSlIlscZd8y5OKCRitSOAiw0qLfF95L4+3wgQ6QpbYuqeRRZIa5kimhbogKTSrSxycrUg==} '@alloy-js/rollup-plugin@0.1.0': resolution: {integrity: sha512-MXR8mBdSh/pxMP8kIXAcMYKsm5yOWZ+igxcaRX1vBXFiHU4eK7gE/5q6Fk8Vdydh+MItWtgekwIhUWvcszdNFQ==} engines: {node: '>=18.0.0'} - '@alloy-js/typescript@0.21.0': - resolution: {integrity: sha512-SsxdYkXhrP8jjO2gENav9bHPHaonNrreW469RaOot3cRqhsHPA1RmBrzNPJov37YknzTg4Wlk0JsEFT4Qibgfg==} + '@alloy-js/typescript@0.22.0': + resolution: {integrity: sha512-jARBNxAA5aEhysleFFd7cGfjckkEXLCH9kDaJSH5xBOu4cU0v7q5TvAqgPlEIkhfOh2983XLX0nVtZu01p0UjQ==} '@antfu/install-pkg@1.1.0': resolution: {integrity: sha512-MGQsmw10ZyI+EJo45CdSER4zEb+p31LpDAFp2Z3gkSd1yqVZGi0Ebx++YTEMonJy4oChEMLsxZ64j8FH6sSqtQ==} @@ -4439,89 +4439,105 @@ packages: resolution: {integrity: sha512-excjX8DfsIcJ10x1Kzr4RcWe1edC9PquDRRPx3YVCvQv+U5p7Yin2s32ftzikXojb1PIFc/9Mt28/y+iRklkrw==} cpu: [arm64] os: [linux] + libc: [glibc] '@img/sharp-libvips-linux-arm@1.2.4': resolution: {integrity: sha512-bFI7xcKFELdiNCVov8e44Ia4u2byA+l3XtsAj+Q8tfCwO6BQ8iDojYdvoPMqsKDkuoOo+X6HZA0s0q11ANMQ8A==} cpu: [arm] os: [linux] + libc: [glibc] '@img/sharp-libvips-linux-ppc64@1.2.4': resolution: {integrity: sha512-FMuvGijLDYG6lW+b/UvyilUWu5Ayu+3r2d1S8notiGCIyYU/76eig1UfMmkZ7vwgOrzKzlQbFSuQfgm7GYUPpA==} cpu: [ppc64] os: [linux] + libc: [glibc] '@img/sharp-libvips-linux-riscv64@1.2.4': resolution: {integrity: sha512-oVDbcR4zUC0ce82teubSm+x6ETixtKZBh/qbREIOcI3cULzDyb18Sr/Wcyx7NRQeQzOiHTNbZFF1UwPS2scyGA==} cpu: [riscv64] os: [linux] + libc: [glibc] '@img/sharp-libvips-linux-s390x@1.2.4': resolution: {integrity: sha512-qmp9VrzgPgMoGZyPvrQHqk02uyjA0/QrTO26Tqk6l4ZV0MPWIW6LTkqOIov+J1yEu7MbFQaDpwdwJKhbJvuRxQ==} cpu: [s390x] os: [linux] + libc: [glibc] '@img/sharp-libvips-linux-x64@1.2.4': resolution: {integrity: sha512-tJxiiLsmHc9Ax1bz3oaOYBURTXGIRDODBqhveVHonrHJ9/+k89qbLl0bcJns+e4t4rvaNBxaEZsFtSfAdquPrw==} cpu: [x64] os: [linux] + libc: [glibc] '@img/sharp-libvips-linuxmusl-arm64@1.2.4': resolution: {integrity: sha512-FVQHuwx1IIuNow9QAbYUzJ+En8KcVm9Lk5+uGUQJHaZmMECZmOlix9HnH7n1TRkXMS0pGxIJokIVB9SuqZGGXw==} cpu: [arm64] os: [linux] + libc: [musl] '@img/sharp-libvips-linuxmusl-x64@1.2.4': resolution: {integrity: sha512-+LpyBk7L44ZIXwz/VYfglaX/okxezESc6UxDSoyo2Ks6Jxc4Y7sGjpgU9s4PMgqgjj1gZCylTieNamqA1MF7Dg==} cpu: [x64] os: [linux] + libc: [musl] '@img/sharp-linux-arm64@0.34.5': resolution: {integrity: sha512-bKQzaJRY/bkPOXyKx5EVup7qkaojECG6NLYswgktOZjaXecSAeCWiZwwiFf3/Y+O1HrauiE3FVsGxFg8c24rZg==} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} cpu: [arm64] os: [linux] + libc: [glibc] '@img/sharp-linux-arm@0.34.5': resolution: {integrity: sha512-9dLqsvwtg1uuXBGZKsxem9595+ujv0sJ6Vi8wcTANSFpwV/GONat5eCkzQo/1O6zRIkh0m/8+5BjrRr7jDUSZw==} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} cpu: [arm] os: [linux] + libc: [glibc] '@img/sharp-linux-ppc64@0.34.5': resolution: {integrity: sha512-7zznwNaqW6YtsfrGGDA6BRkISKAAE1Jo0QdpNYXNMHu2+0dTrPflTLNkpc8l7MUP5M16ZJcUvysVWWrMefZquA==} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} cpu: [ppc64] os: [linux] + libc: [glibc] '@img/sharp-linux-riscv64@0.34.5': resolution: {integrity: sha512-51gJuLPTKa7piYPaVs8GmByo7/U7/7TZOq+cnXJIHZKavIRHAP77e3N2HEl3dgiqdD/w0yUfiJnII77PuDDFdw==} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} cpu: [riscv64] os: [linux] + libc: [glibc] '@img/sharp-linux-s390x@0.34.5': resolution: {integrity: sha512-nQtCk0PdKfho3eC5MrbQoigJ2gd1CgddUMkabUj+rBevs8tZ2cULOx46E7oyX+04WGfABgIwmMC0VqieTiR4jg==} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} cpu: [s390x] os: [linux] + libc: [glibc] '@img/sharp-linux-x64@0.34.5': resolution: {integrity: sha512-MEzd8HPKxVxVenwAa+JRPwEC7QFjoPWuS5NZnBt6B3pu7EG2Ge0id1oLHZpPJdn3OQK+BQDiw9zStiHBTJQQQQ==} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} cpu: [x64] os: [linux] + libc: [glibc] '@img/sharp-linuxmusl-arm64@0.34.5': resolution: {integrity: sha512-fprJR6GtRsMt6Kyfq44IsChVZeGN97gTD331weR1ex1c1rypDEABN6Tm2xa1wE6lYb5DdEnk03NZPqA7Id21yg==} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} cpu: [arm64] os: [linux] + libc: [musl] '@img/sharp-linuxmusl-x64@0.34.5': resolution: {integrity: sha512-Jg8wNT1MUzIvhBFxViqrEhWDGzqymo3sV7z7ZsaWbZNDLXRJZoRGrjulp60YYtV4wfY8VIKcWidjojlLcWrd8Q==} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} cpu: [x64] os: [linux] + libc: [musl] '@img/sharp-wasm32@0.34.5': resolution: {integrity: sha512-OdWTEiVkY2PHwqkbBI8frFxQQFekHaSSkUIJkwzclWZe64O1X4UlUjqqqLaPbUpMOQk6FBu/HtlGXNblIs0huw==} @@ -5554,24 +5570,28 @@ packages: engines: {node: '>= 10'} cpu: [arm64] os: [linux] + libc: [glibc] '@reflink/reflink-linux-arm64-musl@0.1.19': resolution: {integrity: sha512-37iO/Dp6m5DDaC2sf3zPtx/hl9FV3Xze4xoYidrxxS9bgP3S8ALroxRK6xBG/1TtfXKTvolvp+IjrUU6ujIGmA==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] + libc: [musl] '@reflink/reflink-linux-x64-gnu@0.1.19': resolution: {integrity: sha512-jbI8jvuYCaA3MVUdu8vLoLAFqC+iNMpiSuLbxlAgg7x3K5bsS8nOpTRnkLF7vISJ+rVR8W+7ThXlXlUQ93ulkw==} engines: {node: '>= 10'} cpu: [x64] os: [linux] + libc: [glibc] '@reflink/reflink-linux-x64-musl@0.1.19': resolution: {integrity: sha512-e9FBWDe+lv7QKAwtKOt6A2W/fyy/aEEfr0g6j/hWzvQcrzHCsz07BNQYlNOjTfeytrtLU7k449H1PI95jA4OjQ==} engines: {node: '>= 10'} cpu: [x64] os: [linux] + libc: [musl] '@reflink/reflink-win32-arm64-msvc@0.1.19': resolution: {integrity: sha512-09PxnVIQcd+UOn4WAW73WU6PXL7DwGS6wPlkMhMg2zlHHG65F3vHepOw06HFCq+N42qkaNAc8AKIabWvtk6cIQ==} @@ -5664,61 +5684,73 @@ packages: resolution: {integrity: sha512-OVSQgEZDVLnTbMq5NBs6xkmz3AADByCWI4RdKSFNlDsYXdFtlxS59J+w+LippJe8KcmeSSM3ba+GlsM9+WwC1w==} cpu: [arm] os: [linux] + libc: [glibc] '@rollup/rollup-linux-arm-musleabihf@4.49.0': resolution: {integrity: sha512-ZnfSFA7fDUHNa4P3VwAcfaBLakCbYaxCk0jUnS3dTou9P95kwoOLAMlT3WmEJDBCSrOEFFV0Y1HXiwfLYJuLlA==} cpu: [arm] os: [linux] + libc: [musl] '@rollup/rollup-linux-arm64-gnu@4.49.0': resolution: {integrity: sha512-Z81u+gfrobVK2iV7GqZCBfEB1y6+I61AH466lNK+xy1jfqFLiQ9Qv716WUM5fxFrYxwC7ziVdZRU9qvGHkYIJg==} cpu: [arm64] os: [linux] + libc: [glibc] '@rollup/rollup-linux-arm64-musl@4.49.0': resolution: {integrity: sha512-zoAwS0KCXSnTp9NH/h9aamBAIve0DXeYpll85shf9NJ0URjSTzzS+Z9evmolN+ICfD3v8skKUPyk2PO0uGdFqg==} cpu: [arm64] os: [linux] + libc: [musl] '@rollup/rollup-linux-loongarch64-gnu@4.49.0': resolution: {integrity: sha512-2QyUyQQ1ZtwZGiq0nvODL+vLJBtciItC3/5cYN8ncDQcv5avrt2MbKt1XU/vFAJlLta5KujqyHdYtdag4YEjYQ==} cpu: [loong64] os: [linux] + libc: [glibc] '@rollup/rollup-linux-ppc64-gnu@4.49.0': resolution: {integrity: sha512-k9aEmOWt+mrMuD3skjVJSSxHckJp+SiFzFG+v8JLXbc/xi9hv2icSkR3U7uQzqy+/QbbYY7iNB9eDTwrELo14g==} cpu: [ppc64] os: [linux] + libc: [glibc] '@rollup/rollup-linux-riscv64-gnu@4.49.0': resolution: {integrity: sha512-rDKRFFIWJ/zJn6uk2IdYLc09Z7zkE5IFIOWqpuU0o6ZpHcdniAyWkwSUWE/Z25N/wNDmFHHMzin84qW7Wzkjsw==} cpu: [riscv64] os: [linux] + libc: [glibc] '@rollup/rollup-linux-riscv64-musl@4.49.0': resolution: {integrity: sha512-FkkhIY/hYFVnOzz1WeV3S9Bd1h0hda/gRqvZCMpHWDHdiIHn6pqsY3b5eSbvGccWHMQ1uUzgZTKS4oGpykf8Tw==} cpu: [riscv64] os: [linux] + libc: [musl] '@rollup/rollup-linux-s390x-gnu@4.49.0': resolution: {integrity: sha512-gRf5c+A7QiOG3UwLyOOtyJMD31JJhMjBvpfhAitPAoqZFcOeK3Kc1Veg1z/trmt+2P6F/biT02fU19GGTS529A==} cpu: [s390x] os: [linux] + libc: [glibc] '@rollup/rollup-linux-x64-gnu@4.40.0': resolution: {integrity: sha512-RcDGMtqF9EFN8i2RYN2W+64CdHruJ5rPqrlYw+cgM3uOVPSsnAQps7cpjXe9be/yDp8UC7VLoCoKC8J3Kn2FkQ==} cpu: [x64] os: [linux] + libc: [glibc] '@rollup/rollup-linux-x64-gnu@4.49.0': resolution: {integrity: sha512-BR7+blScdLW1h/2hB/2oXM+dhTmpW3rQt1DeSiCP9mc2NMMkqVgjIN3DDsNpKmezffGC9R8XKVOLmBkRUcK/sA==} cpu: [x64] os: [linux] + libc: [glibc] '@rollup/rollup-linux-x64-musl@4.49.0': resolution: {integrity: sha512-hDMOAe+6nX3V5ei1I7Au3wcr9h3ktKzDvF2ne5ovX8RZiAHEtX1A5SNNk4zt1Qt77CmnbqT+upb/umzoPMWiPg==} cpu: [x64] os: [linux] + libc: [musl] '@rollup/rollup-win32-arm64-msvc@4.49.0': resolution: {integrity: sha512-wkNRzfiIGaElC9kXUT+HLx17z7D0jl+9tGYRKwd8r7cUqTL7GYAvgUY++U2hK6Ar7z5Z6IRRoWC8kQxpmM7TDA==} @@ -13710,7 +13742,7 @@ snapshots: - '@babel/core' - supports-color - '@alloy-js/cli@0.21.0': + '@alloy-js/cli@0.22.0': dependencies: '@alloy-js/babel-preset': 0.2.1(@babel/core@7.28.5) '@babel/core': 7.28.5 @@ -13720,7 +13752,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@alloy-js/core@0.21.0': + '@alloy-js/core@0.22.0': dependencies: '@vue/reactivity': 3.5.24 cli-table3: 0.6.5 @@ -13728,22 +13760,22 @@ snapshots: picocolors: 1.1.1 prettier: 3.6.2 - '@alloy-js/csharp@0.21.0': + '@alloy-js/csharp@0.22.0': dependencies: - '@alloy-js/core': 0.21.0 - '@alloy-js/msbuild': 0.21.0 + '@alloy-js/core': 0.22.0 + '@alloy-js/msbuild': 0.22.0 change-case: 5.4.4 marked: 16.4.2 pathe: 2.0.3 - '@alloy-js/markdown@0.21.0': + '@alloy-js/markdown@0.22.0': dependencies: - '@alloy-js/core': 0.21.0 + '@alloy-js/core': 0.22.0 yaml: 2.8.1 - '@alloy-js/msbuild@0.21.0': + '@alloy-js/msbuild@0.22.0': dependencies: - '@alloy-js/core': 0.21.0 + '@alloy-js/core': 0.22.0 change-case: 5.4.4 marked: 16.4.2 pathe: 2.0.3 @@ -13759,9 +13791,9 @@ snapshots: - rollup - supports-color - '@alloy-js/typescript@0.21.0': + '@alloy-js/typescript@0.22.0': dependencies: - '@alloy-js/core': 0.21.0 + '@alloy-js/core': 0.22.0 change-case: 5.4.4 pathe: 2.0.3 diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index e50b318c16e..e161307424c 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -12,3 +12,5 @@ overrides: # Minimum age (in minutes) for a new dependency version to be able to be used. minimumReleaseAge: 2880 # 2 days +minimumReleaseAgeExclude: + - "@alloy-js/*" From d1c055344b5edf930ee04d910e4367fbfe4149e6 Mon Sep 17 00:00:00 2001 From: Brian Terlson Date: Fri, 12 Dec 2025 13:22:04 -0800 Subject: [PATCH 2/2] changes --- .chronus/changes/alloy-0.22-2025-11-12-13-21-52.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .chronus/changes/alloy-0.22-2025-11-12-13-21-52.md diff --git a/.chronus/changes/alloy-0.22-2025-11-12-13-21-52.md b/.chronus/changes/alloy-0.22-2025-11-12-13-21-52.md new file mode 100644 index 00000000000..723a280c815 --- /dev/null +++ b/.chronus/changes/alloy-0.22-2025-11-12-13-21-52.md @@ -0,0 +1,10 @@ +--- +changeKind: dependencies +packages: + - "@typespec/emitter-framework" + - "@typespec/http-client-js" + - "@typespec/http-client" + - "@typespec/tspd" +--- + +Update to alloy 0.22 \ No newline at end of file