From 6aea0ff08d88e49e5d12bcafe75956bf2e04bff4 Mon Sep 17 00:00:00 2001 From: Tyler James Leonhardt Date: Thu, 12 Apr 2018 11:33:18 -0700 Subject: [PATCH] fix up versions and psd1 info (#20) --- .../Microsoft.PowerShell.IoT.BME280.psd1 | 19 +++++++++--- .../Microsoft.PowerShell.IoT.Plant.psd1 | 19 +++++++++--- .../Microsoft.PowerShell.IoT.SSD1306.psd1 | 19 +++++++++--- .../Microsoft.PowerShell.IoT.psd1 | 31 ++++++++++++++++--- 4 files changed, 71 insertions(+), 17 deletions(-) diff --git a/Examples/Microsoft.PowerShell.IoT.BME280/Microsoft.PowerShell.IoT.BME280.psd1 b/Examples/Microsoft.PowerShell.IoT.BME280/Microsoft.PowerShell.IoT.BME280.psd1 index af1bb75..6d20470 100644 --- a/Examples/Microsoft.PowerShell.IoT.BME280/Microsoft.PowerShell.IoT.BME280.psd1 +++ b/Examples/Microsoft.PowerShell.IoT.BME280/Microsoft.PowerShell.IoT.BME280.psd1 @@ -7,12 +7,23 @@ CompanyName="Microsoft Corporation" Copyright="© Microsoft Corporation. All rights reserved." Description='PowerShell module for working with Bosch Sensortec BME280 sensor.' - ModuleVersion="1.0.0.0" - PowerShellVersion="3.0" + ModuleVersion="0.1.0" FunctionsToExport = @('Get-BME280ChipID','Get-BME280Data','Get-BME280Device') - DotNetFrameworkVersion = 4.5 CmdletsToExport = '*' AliasesToExport = @() NestedModules=@('Microsoft.PowerShell.IoT','Microsoft.PowerShell.IoT.BME280.psm1') - HelpInfoURI = 'https://go.microsoft.com/fwlink/?LinkId=393254' + HelpInfoURI = 'https://github.com/PowerShell/PowerShell-IoT' + # 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 = 'IoT','RaspberryPi','Raspbian','BME280' + + # A URL to the license for this module. + LicenseUri = 'https://github.com/PowerShell/PowerShell-IoT/blob/master/LICENSE.txt' + + # A URL to the main website for this project. + ProjectUri = 'https://github.com/PowerShell/PowerShell-IoT' + } + } } diff --git a/Examples/Microsoft.PowerShell.IoT.Plant/Microsoft.PowerShell.IoT.Plant.psd1 b/Examples/Microsoft.PowerShell.IoT.Plant/Microsoft.PowerShell.IoT.Plant.psd1 index 81d7885..6af9cec 100644 --- a/Examples/Microsoft.PowerShell.IoT.Plant/Microsoft.PowerShell.IoT.Plant.psd1 +++ b/Examples/Microsoft.PowerShell.IoT.Plant/Microsoft.PowerShell.IoT.Plant.psd1 @@ -7,12 +7,23 @@ CompanyName="Microsoft Corporation" Copyright="© Microsoft Corporation. All rights reserved." Description='PowerShell module for plant growth' - ModuleVersion="1.0.0.0" - PowerShellVersion="3.0" + ModuleVersion="0.1.0" FunctionsToExport = '*' - DotNetFrameworkVersion = 4.5 CmdletsToExport = '*' AliasesToExport = @() NestedModules=@('Microsoft.PowerShell.IoT','Microsoft.PowerShell.IoT.Plant.psm1') - HelpInfoURI = 'https://go.microsoft.com/fwlink/?LinkId=393254' + HelpInfoURI = 'https://github.com/PowerShell/PowerShell-IoT' + # 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 = 'IoT','RaspberryPi','Raspbian','Plant' + + # A URL to the license for this module. + LicenseUri = 'https://github.com/PowerShell/PowerShell-IoT/blob/master/LICENSE.txt' + + # A URL to the main website for this project. + ProjectUri = 'https://github.com/PowerShell/PowerShell-IoT' + } + } } diff --git a/Examples/Microsoft.PowerShell.IoT.SSD1306/Microsoft.PowerShell.IoT.SSD1306.psd1 b/Examples/Microsoft.PowerShell.IoT.SSD1306/Microsoft.PowerShell.IoT.SSD1306.psd1 index 9b8f494..c28ad2e 100644 --- a/Examples/Microsoft.PowerShell.IoT.SSD1306/Microsoft.PowerShell.IoT.SSD1306.psd1 +++ b/Examples/Microsoft.PowerShell.IoT.SSD1306/Microsoft.PowerShell.IoT.SSD1306.psd1 @@ -7,12 +7,23 @@ CompanyName="Microsoft Corporation" Copyright="© Microsoft Corporation. All rights reserved." Description='PowerShell module for working with SSD1306 I2C OLED display.' - ModuleVersion="1.0.0.0" - PowerShellVersion="3.0" + ModuleVersion="0.1.0" FunctionsToExport = @('New-OledDisplay','Set-OledText') - DotNetFrameworkVersion = 4.5 CmdletsToExport = '*' AliasesToExport = @() NestedModules=@('Microsoft.PowerShell.IoT','Microsoft.PowerShell.IoT.SSD1306.psm1') - HelpInfoURI = 'https://go.microsoft.com/fwlink/?LinkId=393254' + HelpInfoURI = 'https://github.com/PowerShell/PowerShell-IoT' + # 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 = 'IoT','RaspberryPi','Raspbian','SSD1306' + + # A URL to the license for this module. + LicenseUri = 'https://github.com/PowerShell/PowerShell-IoT/blob/master/LICENSE.txt' + + # A URL to the main website for this project. + ProjectUri = 'https://github.com/PowerShell/PowerShell-IoT' + } + } } diff --git a/src/Microsoft.PowerShell.IoT/Microsoft.PowerShell.IoT.psd1 b/src/Microsoft.PowerShell.IoT/Microsoft.PowerShell.IoT.psd1 index 7c62898..962586e 100644 --- a/src/Microsoft.PowerShell.IoT/Microsoft.PowerShell.IoT.psd1 +++ b/src/Microsoft.PowerShell.IoT/Microsoft.PowerShell.IoT.psd1 @@ -6,13 +6,34 @@ Author="Microsoft Corporation" CompanyName="Microsoft Corporation" Copyright="© Microsoft Corporation. All rights reserved." - Description='PowerShell IoT' - ModuleVersion="0.0.1" - PowerShellVersion="3.0" + Description='A PowerShell module for interacting with hardware sensors and devices using common protocols: GPIO, I2C & SPI.' + ModuleVersion="0.1.0" FunctionsToExport = '*' - DotNetFrameworkVersion = 4.5 CmdletsToExport = '*' AliasesToExport = @() NestedModules=@('Microsoft.PowerShell.IoT.dll') - HelpInfoURI = 'https://go.microsoft.com/fwlink/?LinkId=393254' + HelpInfoURI = 'https://github.com/PowerShell/PowerShell-IoT' + # 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 = 'IoT','RaspberryPi','Raspbian','GPIO','I2C','SPI' + + # A URL to the license for this module. + LicenseUri = 'https://github.com/PowerShell/PowerShell-IoT/blob/master/LICENSE.txt' + + # A URL to the main website for this project. + ProjectUri = 'https://github.com/PowerShell/PowerShell-IoT' + + # A URL to an icon representing this module. + # IconUri = '' + + # ReleaseNotes of this module + ReleaseNotes = '## 0.1.0 + +Initial preview of PowerShell IoT +' + } + + } }