Skip to content

Commit 5c27eb4

Browse files
authored
Update module infomation (#13328)
* Set the description and dependencies for the module. * Update the project file and module manifest. * Update manifest and csproj * Fix typo * Move PSReadLine to ExternalModuleDependencies. - PSReadLine is in beta and there are issues in setting RequiredModules with a beta one. So move it as an ExternalModuleDependencies.
1 parent 33c1181 commit 5c27eb4

File tree

2 files changed

+14
-9
lines changed

2 files changed

+14
-9
lines changed

tools/Az.Tools.Predictor/Az.Tools.Predictor/Az.Tools.Predictor.csproj

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,19 @@
1010
</PropertyGroup>
1111

1212
<PropertyGroup>
13-
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
13+
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
1414
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
1515
</PropertyGroup>
1616

1717
<PropertyGroup>
1818
<PackageId>Az.Tools.Predictor</PackageId>
19-
<Version>0.1.0-preview</Version>
20-
<Author>Microsoft Corporation</Author>
19+
<Version>0.1.0</Version>
20+
<Authors>Microsoft Corporation</Authors>
2121
<Company>Microsoft Corporation</Company>
22-
<Description>Microsoft Azure PowerShell Predictor: Provide prediction while user types Azure PowerShell commands</Description>
22+
<Copyright>Microsoft Corporation. All rights reserved.</Copyright>
23+
<Description>Microsoft Azure PowerShell - Module providing recommendations to PSReadLine v2.2.0 or above for cmdlets comprised in the Az module - This module is compatible with PowerShell 7.1 or above.
24+
25+
For more information on Az Predictor, please visit the following: https://aka.ms/azpredictordocs</Description>
2326
</PropertyGroup>
2427

2528
<PropertyGroup>

tools/Az.Tools.Predictor/Az.Tools.Predictor/Az.Tools.Predictor.psd1

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,15 @@ CompanyName = 'Microsoft Corporation'
2929
Copyright = 'Microsoft Corporation. All rights reserved.'
3030

3131
# Description of the functionality provided by this module
32-
Description = 'Microsoft Azure PowerShell Predictor: Provide prediction while user types Azure PowerShell commands'
32+
Description = 'Microsoft Azure PowerShell - Module providing recommendations to PSReadLine v2.2.0 or above for cmdlets comprised in the Az module - This module is compatible with PowerShell 7.1 or above.
33+
34+
For more information on Az Predictor, please visit the following: https://aka.ms/azpredictordocs'
3335

3436
# Minimum version of the PowerShell engine required by this module
3537
PowerShellVersion = '7.1'
3638

3739
# Modules that must be imported into the global environment prior to importing this module
38-
# RequiredModules = @()
40+
# RequiredModules = @(@{ModuleName="PSReadLine"; ModuleVersion="2.2.0-beta1"})
3941

4042
NestedModules = @("Microsoft.Azure.PowerShell.Tools.AzPredictor.dll")
4143

@@ -47,7 +49,7 @@ PrivateData = @{
4749
PSData = @{
4850

4951
# Tags applied to this module. These help with module discovery in online galleries.
50-
Tags = 'Azure','Prediction'
52+
Tags = 'Azure','PowerShell','Prediction'
5153

5254
# A URL to the license for this module.
5355
LicenseUri = 'https://aka.ms/azps-license'
@@ -59,7 +61,7 @@ PrivateData = @{
5961
# IconUri = ''
6062

6163
# ReleaseNotes of this module
62-
ReleaseNotes = '* the first preview release'
64+
ReleaseNotes = '* first preview release'
6365

6466
# Prerelease string of this module
6567
# Prerelease = ''
@@ -68,7 +70,7 @@ PrivateData = @{
6870
# RequireLicenseAcceptance = $false
6971

7072
# External dependent modules of this module
71-
ExternalModuleDependencies = @('Az')
73+
ExternalModuleDependencies = @('Az', 'PSReadLine')
7274

7375
} # End of PSData hashtable
7476

0 commit comments

Comments
 (0)