Skip to content

Commit 6cc5cb6

Browse files
authored
Merge pull request #364 from microsoftgraph/po/ToExportPerf
Perf Improvements To *ToExport in Microsoft.Graph module
2 parents fe25a05 + 0c16b1b commit 6cc5cb6

File tree

4 files changed

+14
-11
lines changed

4 files changed

+14
-11
lines changed

config/ModuleMetadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@
1010
"tags": "MicrosoftGraph;Microsoft;Office365;Graph;PowerShell;GraphServiceClient;Outlook;OneDrive;AzureAD;GraphAPI;Productivity;SharePoint;Intune;SDK;",
1111
"releaseNotes": "See https://aka.ms/GraphPowerShell-Release.",
1212
"assemblyOriginatorKeyFile": "35MSSharedLib1024.snk",
13-
"version": "0.9.0"
13+
"version": "0.9.2"
1414
}

src/Graph/Graph/Microsoft.Graph.nuspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package>
33
<metadata>
44
<id>Microsoft.Graph</id>
5-
<version>0.5.0</version>
5+
<version>0.9.2</version>
66
<authors>Microsoft</authors>
77
<owners>Microsoft</owners>
88
<licenseUrl>https://aka.ms/devservicesagreement</licenseUrl>
@@ -13,7 +13,7 @@
1313
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
1414
<tags>MicrosoftGraph;Microsoft;Office365;Graph;PowerShell;GraphServiceClient;Outlook;OneDrive;AzureAD;GraphAPI;Productivity;SharePoint;Intune;SDK;</tags>
1515
<dependencies>
16-
<dependency id="Microsoft.Graph.Authentication" />
16+
<dependency id="Microsoft.Graph.Authentication" version="0.9.1" />
1717
</dependencies>
1818
<releaseNotes>See https://aka.ms/GraphPowerShell-Release.</releaseNotes>
1919
</metadata>

src/Graph/Graph/Microsoft.Graph.psd1

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: Microsoft
55
#
6-
# Generated on: 4/21/2020
6+
# Generated on: 9/8/2020
77
#
88

99
@{
@@ -12,13 +12,13 @@
1212
# RootModule = ''
1313

1414
# Version number of this module.
15-
ModuleVersion = '0.5.0'
15+
ModuleVersion = '0.9.2'
1616

1717
# Supported PSEditions
1818
CompatiblePSEditions = 'Core', 'Desktop'
1919

2020
# ID used to uniquely identify this module
21-
GUID = '89019767-8803-434d-b3b5-e1e5dd160737'
21+
GUID = 'ed9c3dd7-e580-410f-b090-5edff2f78b88'
2222

2323
# Author of this module
2424
Author = 'Microsoft'
@@ -51,7 +51,7 @@ DotNetFrameworkVersion = '4.7.2'
5151
# ProcessorArchitecture = ''
5252

5353
# Modules that must be imported into the global environment prior to importing this module
54-
RequiredModules = @('Microsoft.Graph.Authentication')
54+
RequiredModules = @(@{ModuleName = 'Microsoft.Graph.Authentication'; ModuleVersion = '0.9.1'; })
5555

5656
# Assemblies that must be loaded prior to importing this module
5757
# RequiredAssemblies = @()
@@ -69,16 +69,16 @@ RequiredModules = @('Microsoft.Graph.Authentication')
6969
# NestedModules = @()
7070

7171
# 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.
72-
FunctionsToExport = '*'
72+
FunctionsToExport = @()
7373

7474
# Cmdlets 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 cmdlets to export.
75-
CmdletsToExport = '*'
75+
CmdletsToExport = @()
7676

7777
# Variables to export from this module
7878
VariablesToExport = '*'
7979

8080
# Aliases 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 aliases to export.
81-
AliasesToExport = '*'
81+
AliasesToExport = @()
8282

8383
# DSC resources to export from this module
8484
# DscResourcesToExport = @()
@@ -114,7 +114,7 @@ PrivateData = @{
114114
# Prerelease = ''
115115

116116
# Flag to indicate whether the module requires explicit user acceptance for install/update/save
117-
RequireLicenseAcceptance = $true
117+
# RequireLicenseAcceptance = $false
118118

119119
# External dependent modules of this module
120120
# ExternalModuleDependencies = @()

tools/GenerateRollUpModule.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@ elseif ($VersionState.Equals([VersionState]::Valid) -or $VersionState.Equals([Ve
9999
ProjectUri = $NuspecMetadata["projectUri"]
100100
IconUri = $NuspecMetadata["iconUri"]
101101
ReleaseNotes = $NuspecMetadata["releaseNotes"]
102+
AliasesToExport = @()
103+
CmdletsToExport = @()
104+
FunctionsToExport = @()
102105
}
103106

104107
Write-Host -ForegroundColor Green "Creating '$ModulePrefix' module manifest and nuspec..."

0 commit comments

Comments
 (0)