From 949bb11ebf1ab23cc0c87c820f192c465f0c8e89 Mon Sep 17 00:00:00 2001 From: David Justo Date: Thu, 6 Apr 2023 14:01:12 -0700 Subject: [PATCH 1/4] first draft of cleanup --- ...AzureFunctions.PowerShell.Durable.SDK.psd1 | 77 ++++--------------- 1 file changed, 13 insertions(+), 64 deletions(-) diff --git a/src/AzureFunctions.PowerShell.Durable.SDK.psd1 b/src/AzureFunctions.PowerShell.Durable.SDK.psd1 index f24135f..0749f19 100644 --- a/src/AzureFunctions.PowerShell.Durable.SDK.psd1 +++ b/src/AzureFunctions.PowerShell.Durable.SDK.psd1 @@ -1,8 +1,4 @@ -@{ - - # Script module or binary module file associated with this manifest. - # RootModule = '' - +@{ # Version number of this module. ModuleVersion = '0.0.1' @@ -22,43 +18,19 @@ Copyright = '(c) Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module - Description = 'Alpha release of the Durable Functions SDK for PowerShell. This package is to be used exclusively with the Azure Functions PowerShell worker.' + Description = 'Initial release of the Durable Functions SDK for PowerShell. This package is to be used exclusively with the Azure Functions PowerShell worker.' # Minimum version of the PowerShell engine required by this module PowerShellVersion = '7.2' - # Name of the PowerShell host required by this module - # PowerShellHostName = '' - - # Minimum version of the PowerShell host required by this module - # PowerShellHostVersion = '' - - # Minimum version of Microsoft .NET Framework required by this module. This prerequisite is valid for the PowerShell Desktop edition only. - # DotNetFrameworkVersion = '' - - # Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only. - # ClrVersion = '' - - # Processor architecture (None, X86, Amd64) required by this module - # ProcessorArchitecture = '' - - # Modules that must be imported into the global environment prior to importing this module - # RequiredModules = @() - - # Assemblies that must be loaded prior to importing this module - # RequiredAssemblies = @() - - # Script files (.ps1) that are run in the caller's environment prior to importing this module. - # ScriptsToProcess = @() - # Type files (.ps1xml) to be loaded when importing this module - # TypesToProcess = @() + # TypesToProcess = @() # TODO: use this for pretty-printing DF tasks # Format files (.ps1xml) to be loaded when importing this module - # FormatsToProcess = @() + # FormatsToProcess = @() # TODO: use this for pretty-printing DF tasks # Modules to import as nested modules of the module specified in RootModule/ModuleToProcess - NestedModules = @('.\AzureFunctions.PowerShell.Durable.SDK.dll', '.\AzureFunctions.PowerShell.Durable.SDK.psm1') + NestedModules = @('./AzureFunctions.PowerShell.Durable.SDK.dll', './AzureFunctions.PowerShell.Durable.SDK.psm1') # Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export. FunctionsToExport = @( @@ -91,52 +63,29 @@ 'Wait-ActivityFunction' ) - # DSC resources to export from this module - # DscResourcesToExport = @() - - # List of all modules packaged with this module - # ModuleList = @() - - # List of all files packaged with this module - # FileList = @() - # Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell. PrivateData = @{ PSData = @{ # Tags applied to this module. These help with module discovery in online galleries. - # Tags = @() + Tags = @('Microsoft', 'Azure', 'Functions', 'Serverless', 'Cloud', 'Workflows', 'Durable', 'DUrableTask') # A URL to the license for this module. - # LicenseUri = '' + # LicenseUri = '' #TODO: add license # A URL to the main website for this project. - # ProjectUri = '' - - # A URL to an icon representing this module. - # IconUri = '' + # ProjectUri = '' #TODO: list repo URL # ReleaseNotes of this module - # ReleaseNotes = '' + # ReleaseNotes = '' #TODO: add relase notes. # Prerelease string of this module - Prerelease = 'alpha' - - # Flag to indicate whether the module requires explicit user acceptance for install/update/save - # RequireLicenseAcceptance = $false - - # External dependent modules of this module - # ExternalModuleDependencies = @() + Prerelease = 'alpha' # TODO: remove alpha on initial release. } # End of PSData hashtable - - } # End of PrivateData hashtable - + } # End of PrivateData hashtable + # HelpInfo URI of this module - # HelpInfoURI = '' - - # Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix. - # DefaultCommandPrefix = '' - + # HelpInfoURI = '' # TODO: explore } \ No newline at end of file From 6b4e931935b3714bc7c8b7100784397911256223 Mon Sep 17 00:00:00 2001 From: David Justo Date: Tue, 30 May 2023 09:14:35 -0700 Subject: [PATCH 2/4] rev ver to 1.0.0 --- src/AzureFunctions.PowerShell.Durable.SDK.psd1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/AzureFunctions.PowerShell.Durable.SDK.psd1 b/src/AzureFunctions.PowerShell.Durable.SDK.psd1 index 919b04a..addbe44 100644 --- a/src/AzureFunctions.PowerShell.Durable.SDK.psd1 +++ b/src/AzureFunctions.PowerShell.Durable.SDK.psd1 @@ -1,6 +1,6 @@ @{ # Version number of this module. - ModuleVersion = '0.0.2' + ModuleVersion = '1.0.0' # Supported PSEditions CompatiblePSEditions = @('Core') @@ -76,10 +76,10 @@ Tags = @('Microsoft', 'Azure', 'Functions', 'Serverless', 'Cloud', 'Workflows', 'Durable', 'DUrableTask') # A URL to the license for this module. - # LicenseUri = '' #TODO: add license + LicenseUri = 'https://github.com/Azure/azure-functions-durable-powershell/blob/main/LICENSE' # A URL to the main website for this project. - # ProjectUri = '' #TODO: list repo URL + ProjectUri = 'https://github.com/Azure/azure-functions-durable-powershell' # ReleaseNotes of this module # ReleaseNotes = '' #TODO: add relase notes. From f89b57472219b39d0339d83940773bbb796a1741 Mon Sep 17 00:00:00 2001 From: David Justo Date: Tue, 30 May 2023 10:12:55 -0700 Subject: [PATCH 3/4] Update src/AzureFunctions.PowerShell.Durable.SDK.psd1 Co-authored-by: Michael Peng --- src/AzureFunctions.PowerShell.Durable.SDK.psd1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AzureFunctions.PowerShell.Durable.SDK.psd1 b/src/AzureFunctions.PowerShell.Durable.SDK.psd1 index addbe44..22c592b 100644 --- a/src/AzureFunctions.PowerShell.Durable.SDK.psd1 +++ b/src/AzureFunctions.PowerShell.Durable.SDK.psd1 @@ -73,7 +73,7 @@ PSData = @{ # Tags applied to this module. These help with module discovery in online galleries. - Tags = @('Microsoft', 'Azure', 'Functions', 'Serverless', 'Cloud', 'Workflows', 'Durable', 'DUrableTask') + Tags = @('Microsoft', 'Azure', 'Functions', 'Serverless', 'Cloud', 'Workflows', 'Durable', 'DurableTask') # A URL to the license for this module. LicenseUri = 'https://github.com/Azure/azure-functions-durable-powershell/blob/main/LICENSE' From 311279d541a02502197f84bca7e09f60192f8104 Mon Sep 17 00:00:00 2001 From: David Justo Date: Tue, 30 May 2023 10:13:01 -0700 Subject: [PATCH 4/4] Update src/AzureFunctions.PowerShell.Durable.SDK.psd1 Co-authored-by: Michael Peng --- src/AzureFunctions.PowerShell.Durable.SDK.psd1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AzureFunctions.PowerShell.Durable.SDK.psd1 b/src/AzureFunctions.PowerShell.Durable.SDK.psd1 index 22c592b..95bcf8c 100644 --- a/src/AzureFunctions.PowerShell.Durable.SDK.psd1 +++ b/src/AzureFunctions.PowerShell.Durable.SDK.psd1 @@ -82,7 +82,7 @@ ProjectUri = 'https://github.com/Azure/azure-functions-durable-powershell' # ReleaseNotes of this module - # ReleaseNotes = '' #TODO: add relase notes. + # ReleaseNotes = '' #TODO: add release notes. # Prerelease string of this module Prerelease = 'alpha' # TODO: remove alpha on initial release.