From da8beab264b4b4bc8cb84e88e155902dfde3b43d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 2 Jul 2026 18:23:42 +0000 Subject: [PATCH 1/3] Initial plan From 2bf2908d00430b1908b023836fdd3589d51bc8fe Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 2 Jul 2026 18:27:29 +0000 Subject: [PATCH 2/3] fix: use compiler version for standalone CLI distribution versioning Co-authored-by: timotheeguerin <1031227+timotheeguerin@users.noreply.github.com> --- .../changes/fix-standalone-cli-version-sync-2026-7-2.md | 7 +++++++ eng/tsp-core/pipelines/jobs/cli/publish-artifacts.yml | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 .chronus/changes/fix-standalone-cli-version-sync-2026-7-2.md diff --git a/.chronus/changes/fix-standalone-cli-version-sync-2026-7-2.md b/.chronus/changes/fix-standalone-cli-version-sync-2026-7-2.md new file mode 100644 index 00000000000..c7d9c3af70b --- /dev/null +++ b/.chronus/changes/fix-standalone-cli-version-sync-2026-7-2.md @@ -0,0 +1,7 @@ +--- +changeKind: fix +packages: + - "@typespec/standalone-cli" +--- + +Use compiler version for standalone CLI distribution versioning to fix version mismatch between `tsp --version` output and package manager listings (Scoop, winget, Homebrew). diff --git a/eng/tsp-core/pipelines/jobs/cli/publish-artifacts.yml b/eng/tsp-core/pipelines/jobs/cli/publish-artifacts.yml index f4cadc6b746..f1d3e4f36df 100644 --- a/eng/tsp-core/pipelines/jobs/cli/publish-artifacts.yml +++ b/eng/tsp-core/pipelines/jobs/cli/publish-artifacts.yml @@ -24,7 +24,7 @@ jobs: echo "##vso[task.setvariable variable=PACKAGE_VERSION;isOutput=true]$PACKAGE_VERSION" displayName: Get package version name: SetPackageVersion - workingDirectory: $(Build.SourcesDirectory)/packages/standalone + workingDirectory: $(Build.SourcesDirectory)/packages/compiler - deployment: PublishCliArtifacts environment: typespec-cli From 4e2b4c4bec196bd4ba78c3b3a599e3ba86b441ef Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 2 Jul 2026 18:39:03 +0000 Subject: [PATCH 3/3] fix: move standalone-cli to typespec-stable version policy and align version to 1.13.0 Co-authored-by: timotheeguerin <1031227+timotheeguerin@users.noreply.github.com> --- .chronus/changes/fix-standalone-cli-version-sync-2026-7-2.md | 2 +- .chronus/config.yaml | 2 +- eng/tsp-core/pipelines/jobs/cli/publish-artifacts.yml | 2 +- packages/standalone/package.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.chronus/changes/fix-standalone-cli-version-sync-2026-7-2.md b/.chronus/changes/fix-standalone-cli-version-sync-2026-7-2.md index c7d9c3af70b..5195a81fffe 100644 --- a/.chronus/changes/fix-standalone-cli-version-sync-2026-7-2.md +++ b/.chronus/changes/fix-standalone-cli-version-sync-2026-7-2.md @@ -4,4 +4,4 @@ packages: - "@typespec/standalone-cli" --- -Use compiler version for standalone CLI distribution versioning to fix version mismatch between `tsp --version` output and package manager listings (Scoop, winget, Homebrew). +Align standalone CLI version with `@typespec/compiler` version to fix mismatch between `tsp --version` output and package manager listings (Scoop, winget, Homebrew). diff --git a/.chronus/config.yaml b/.chronus/config.yaml index 39eb1f5dd5b..9aa01425708 100644 --- a/.chronus/config.yaml +++ b/.chronus/config.yaml @@ -43,6 +43,7 @@ versionPolicies: - "@typespec/json-schema" - "typespec-vscode" - "@typespec/prettier-plugin-typespec" + - "@typespec/standalone-cli" - name: typespec-preview type: lockstep @@ -59,7 +60,6 @@ versionPolicies: - "@typespec/sse" - "@typespec/streams" - "@typespec/xml" - - "@typespec/standalone-cli" - name: standalone type: independent diff --git a/eng/tsp-core/pipelines/jobs/cli/publish-artifacts.yml b/eng/tsp-core/pipelines/jobs/cli/publish-artifacts.yml index f1d3e4f36df..f4cadc6b746 100644 --- a/eng/tsp-core/pipelines/jobs/cli/publish-artifacts.yml +++ b/eng/tsp-core/pipelines/jobs/cli/publish-artifacts.yml @@ -24,7 +24,7 @@ jobs: echo "##vso[task.setvariable variable=PACKAGE_VERSION;isOutput=true]$PACKAGE_VERSION" displayName: Get package version name: SetPackageVersion - workingDirectory: $(Build.SourcesDirectory)/packages/compiler + workingDirectory: $(Build.SourcesDirectory)/packages/standalone - deployment: PublishCliArtifacts environment: typespec-cli diff --git a/packages/standalone/package.json b/packages/standalone/package.json index c6364e9be17..f6b24295433 100644 --- a/packages/standalone/package.json +++ b/packages/standalone/package.json @@ -1,7 +1,7 @@ { "name": "@typespec/standalone-cli", "private": true, - "version": "0.83.0", + "version": "1.13.0", "author": "Microsoft Corporation", "description": "TypeSpec Standalone CLI", "homepage": "https://typespec.io",