-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCommon.PowerShell.psd1
More file actions
46 lines (46 loc) · 2 KB
/
Copy pathCommon.PowerShell.psd1
File metadata and controls
46 lines (46 loc) · 2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
@{
ModuleVersion = '8.1.0'
GUID = 'b7d3f2a1-4c9e-4f8d-a2b5-3e6d7f8a9b0c'
Author = 'Vitaly Andrev'
Description = 'Shared PowerShell functions.'
PowerShellVersion = '7.0'
CompatiblePSEditions = @('Core')
RootModule = 'Common.PowerShell.psm1'
# FunctionsToExport is module discovery metadata: used by
# Get-Module -ListAvailable, Find-Module, and PSGallery without loading
# the module. It does NOT control what is callable at runtime - that is
# governed by Export-ModuleMember in the psm1, which takes precedence.
# Both lists must stay in sync. The shared Module.Tests.ps1 in the
# run-unit-tests action enforces this.
FunctionsToExport = @(
# Top-level utilities
'Assert-RequiredProperties',
'ConvertTo-Array',
'Invoke-ModuleInstall',
'Limit-RetainedItem',
# Retry loop (Public/Retry/)
'Invoke-WithExitCodeRetry',
'Invoke-WithRetry',
# Transient-error strategies (Public/Retry/TransientErrorStrategies/)
'New-FileLockRetryStrategy',
'New-TransientPowerShellModuleInstallRetryStrategy',
'New-TransientNetworkRetryStrategy',
# Backoff strategies (Public/Retry/BackoffStrategies/)
'New-ConstantBackoffStrategy',
'New-CustomBackoffStrategy',
'New-ExponentialBackoffStrategy',
'New-LinearBackoffStrategy'
)
CmdletsToExport = @()
AliasesToExport = @()
# PSData surfaces the project/license links, search tags, and release
# notes on the PowerShell Gallery package page. Without it the gallery
# listing has no link back to the source repository.
PrivateData = @{
PSData = @{
ProjectUri = 'https://github.com/VitaliiAndreev/Common-PowerShell'
LicenseUri = 'https://github.com/VitaliiAndreev/Common-PowerShell/blob/master/LICENSE'
ReleaseNotes = 'https://github.com/VitaliiAndreev/Common-PowerShell/releases'
}
}
}