From 2a5cca40ece50cc9058a82e5317c1f20de8c9277 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 11 Feb 2025 03:32:15 +0000 Subject: [PATCH 1/3] chore(deps): bump MSTest.TestFramework from 3.6.4 to 3.7.3 Bumps [MSTest.TestFramework](https://github.com/microsoft/testfx) from 3.6.4 to 3.7.3. - [Release notes](https://github.com/microsoft/testfx/releases) - [Changelog](https://github.com/microsoft/testfx/blob/main/docs/Changelog.md) - [Commits](https://github.com/microsoft/testfx/compare/v3.6.4...v3.7.3) --- updated-dependencies: - dependency-name: MSTest.TestFramework dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .../GraphODataTemplateWriter.Test.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GraphODataTemplateWriter.Test/GraphODataTemplateWriter.Test.csproj b/GraphODataTemplateWriter.Test/GraphODataTemplateWriter.Test.csproj index bd65ad134..e9ed6f798 100644 --- a/GraphODataTemplateWriter.Test/GraphODataTemplateWriter.Test.csproj +++ b/GraphODataTemplateWriter.Test/GraphODataTemplateWriter.Test.csproj @@ -21,7 +21,7 @@ 3.7.1 - 3.6.4 + 3.7.3 \ No newline at end of file From dad6a65a597fbf8d6aa4f6c715b1d4e9b31323ed Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Thu, 13 Feb 2025 09:17:16 -0500 Subject: [PATCH 2/3] chore: updates provisioning script for ts packages --- scripts/create-typescript-root-package.ps1 | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/scripts/create-typescript-root-package.ps1 b/scripts/create-typescript-root-package.ps1 index b7a9c6c83..55d8053df 100644 --- a/scripts/create-typescript-root-package.ps1 +++ b/scripts/create-typescript-root-package.ps1 @@ -68,13 +68,7 @@ Set-Content -Path "$targetLocation/package.json" -Value ($targetPackageJson | Co $dependencies = @( $packageName.ToLower(), - "tslib", - "guid-typescript", - "@microsoft/kiota-abstractions", - "@microsoft/kiota-serialization-form", - "@microsoft/kiota-serialization-json", - "@microsoft/kiota-serialization-multipart", - "@microsoft/kiota-serialization-text" + "tslib" ) foreach($dependency in $dependencies) { npm i -S $dependency -w $finalPackageName.ToLower() From f40c1e83b9861d10639f983b9ae53bad15853f8f Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Thu, 13 Feb 2025 09:20:57 -0500 Subject: [PATCH 3/3] fix: do not register serialization classes for TS --- scripts/generate-typescript.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/generate-typescript.ps1 b/scripts/generate-typescript.ps1 index 8e481c0c7..a7bca75d0 100644 --- a/scripts/generate-typescript.ps1 +++ b/scripts/generate-typescript.ps1 @@ -25,7 +25,7 @@ $rootSegments = Get-ChildItem -Directory -Exclude $modelsPackageDirectoryName -P foreach($rootSegment in $rootSegments) { $fluentAPIPackageDirectoryPath = "$targetDirectory/$modelsPackageDirectoryName-$rootSegment" Write-Host "generating segment $rootSegment" - Invoke-Expression "$kiotaPath generate -o $fluentAPIPackageDirectoryPath -d $descriptionPath -c $($rootSegment.Substring(0,1).ToUpper() + $rootSegment.Substring(1))ServiceClient -l TypeScript -n github.com/microsoftgraph/msgraph-sdk-typescript/ -e '/me' -e '/me/**' -i '/$rootSegment' -i '/$rootSegment/**' $additionalArguments" + Invoke-Expression "$kiotaPath generate -o $fluentAPIPackageDirectoryPath -d $descriptionPath -c $($rootSegment.Substring(0,1).ToUpper() + $rootSegment.Substring(1))ServiceClient -l TypeScript -n github.com/microsoftgraph/msgraph-sdk-typescript/ -e '/me' -e '/me/**' -i '/$rootSegment' -i '/$rootSegment/**' -s none --ds none $additionalArguments" Invoke-Expression "$PSScriptRoot\fix-typescript-fluent-packages-imports.ps1 -targetDirectory '$fluentAPIPackageDirectoryPath' -packageName '$packageName'" } $modelsPackagePath = "$targetDirectory/$modelsPackageDirectoryName"