Skip to content

Commit 6dd4baf

Browse files
Merge pull request #156 from PowershellFrameworkCollective/development
2.2.10.120
2 parents 533e6c2 + f3c246e commit 6dd4baf

File tree

74 files changed

+2287
-305
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+2287
-305
lines changed

PSModuleDevelopment/PSModuleDevelopment.psd1

Lines changed: 63 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
RootModule = 'PSModuleDevelopment.psm1'
55

66
# Version number of this module.
7-
ModuleVersion = '2.2.9.106'
7+
ModuleVersion = '2.2.10.120'
88

99
# ID used to uniquely identify this module
1010
GUID = '37dd5fce-e7b5-4d57-ac37-832055ce49d6'
@@ -27,7 +27,7 @@
2727
# Modules that must be imported into the global environment prior to importing
2828
# this module
2929
RequiredModules = @(
30-
@{ ModuleName = 'PSFramework'; ModuleVersion = '1.4.149' }
30+
@{ ModuleName = 'PSFramework'; ModuleVersion = '1.6.198' }
3131
@{ ModuleName = 'string'; ModuleVersion = '0.6.1' }
3232
)
3333

@@ -50,45 +50,57 @@
5050

5151
# Functions to export from this module
5252
FunctionsToExport = @(
53-
'Convert-PSMDMessage',
54-
'Expand-PSMDTypeName',
55-
'Export-PSMDString',
56-
'Find-PSMDFileContent',
57-
'Find-PSMDType',
58-
'Format-PSMDParameter',
59-
'Get-PSMDArgumentCompleter',
60-
'Get-PSMDAssembly',
61-
'Get-PSMDConstructor',
62-
'Get-PSMDFileCommand',
63-
'Get-PSMDHelp',
64-
'Get-PSMDMember',
65-
'Get-PSMDModuleDebug',
66-
'Get-PSMDTemplate',
67-
'Import-PSMDModuleDebug',
68-
'Invoke-PSMDTemplate',
69-
'Measure-PSMDCommand',
70-
'Measure-PSMDLinesOfCode',
71-
'New-PSMDDotNetProject',
72-
'New-PSMDHeader',
73-
'New-PSMDFormatTableDefinition',
74-
'New-PSMDModuleNugetPackage',
75-
'New-PSMDTemplate',
76-
'New-PssModuleProject',
77-
'Publish-PSMDScriptFile',
78-
'Publish-PSMDStagedModule',
79-
'Read-PSMDScript',
80-
'Remove-PSMDModuleDebug',
81-
'Remove-PSMDTemplate',
82-
'Rename-PSMDParameter',
83-
'Restart-PSMDShell',
84-
'Search-PSMDPropertyValue',
85-
'Set-PSMDEncoding',
86-
'Set-PSMDModuleDebug',
87-
'Set-PSMDCmdletBinding',
88-
'Set-PSMDModulePath',
89-
'Set-PSMDParameterHelp',
90-
'Set-PSMDStagingRepository',
91-
'Show-PSMDSyntax',
53+
'Convert-PSMDMessage'
54+
'Expand-PSMDTypeName'
55+
'Export-PSMDString'
56+
'Find-PSMDFileContent'
57+
'Find-PSMDType'
58+
'Format-PSMDParameter'
59+
'Get-PSMDArgumentCompleter'
60+
'Get-PSMDAssembly'
61+
'Get-PSMDBuildAction'
62+
'Get-PSMDBuildArtifact'
63+
'Get-PSMDBuildProject'
64+
'Get-PSMDBuildStep'
65+
'Get-PSMDConstructor'
66+
'Get-PSMDFileCommand'
67+
'Get-PSMDHelp'
68+
'Get-PSMDMember'
69+
'Get-PSMDModuleDebug'
70+
'Get-PSMDTemplate'
71+
'Import-PSMDModuleDebug'
72+
'Invoke-PSMDBuildProject'
73+
'Invoke-PSMDTemplate'
74+
'Measure-PSMDCommand'
75+
'Measure-PSMDLinesOfCode'
76+
'New-PSMDBuildProject'
77+
'New-PSMDDotNetProject'
78+
'New-PSMDFormatTableDefinition'
79+
'New-PSMDHeader'
80+
'New-PSMDModuleNugetPackage'
81+
'New-PSMDTemplate'
82+
'New-PssModuleProject'
83+
'Publish-PSMDBuildArtifact'
84+
'Publish-PSMDScriptFile'
85+
'Publish-PSMDStagedModule'
86+
'Read-PSMDScript'
87+
'Register-PSMDBuildAction'
88+
'Remove-PSMDBuildArtifact'
89+
'Remove-PSMDModuleDebug'
90+
'Remove-PSMDTemplate'
91+
'Rename-PSMDParameter'
92+
'Resolve-PSMDBuildStepParameter'
93+
'Restart-PSMDShell'
94+
'Search-PSMDPropertyValue'
95+
'Select-PSMDBuildProject'
96+
'Set-PSMDBuildStep'
97+
'Set-PSMDCmdletBinding'
98+
'Set-PSMDEncoding'
99+
'Set-PSMDModuleDebug'
100+
'Set-PSMDModulePath'
101+
'Set-PSMDParameterHelp'
102+
'Set-PSMDStagingRepository'
103+
'Show-PSMDSyntax'
92104
'Split-PSMDScriptFile'
93105
)
94106

@@ -99,15 +111,16 @@
99111
# VariablesToExport = ''
100112

101113
# Aliases to export from this module
102-
AliasesToExport = @(
103-
'dotnetnew',
104-
'find',
105-
'hex',
106-
'imt',
107-
'ipmod',
108-
'parse',
109-
'Restart-Shell',
110-
'rss',
114+
AliasesToExport = @(
115+
'build'
116+
'dotnetnew'
117+
'find'
118+
'hex'
119+
'imt'
120+
'ipmod'
121+
'parse'
122+
'Restart-Shell'
123+
'rss'
111124
'smd'
112125
)
113126

Binary file not shown.
Binary file not shown.

PSModuleDevelopment/bin/PSModuleDevelopment.xml

Lines changed: 150 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

PSModuleDevelopment/changelog.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,26 @@
11
# Changelog
22

3+
## 2.2.10.120 (2021-07-20)
4+
5+
- New: Build Component - define build workflows based on pre-defined & extensible action code
6+
- Upd: Template AzureFunction - new layout with better build automation
7+
- Upd: Template AzureFunctionRest - new layout to integrate into new AzureFunction template
8+
- Upd: Template PSFProject - added Github Actions integration
9+
- Upd: Aliases - removed "AllScope" option
10+
- Fix: Template PSFTest - fixed PSScriptAnalyzer test path detection
11+
- Fix: Template PSFTest - fixed string LegalSurplus exception being ignored
12+
- Fix: Template PSFModule - fixed PSScriptAnalyzer test path detection
13+
- Fix: Template PSFModule - fixed string LegalSurplus exception being ignored
14+
- Fix: Template PSFProject - fixed PSScriptAnalyzer test path detection
15+
- Fix: Template PSFProject - fixed string LegalSurplus exception being ignored
16+
- Fix: TemplateStore - default path iss invalid on MAC (#136)
17+
- Fix: Invoke-PSMDTemplate - unreliable string replacement through -replace operator (#113)
18+
- Fix: Publish-PSMDScriptFile - insufficient exclude paths (#138; @Callidus2000)
19+
320
## 2.2.9.106 (September 10th, 2020)
421

522
- New: Convert-PSMDMessage - Converts a file's use of PSFramework messages to strings.
23+
- Upd: Export-PSMDString - Adding support for Test-PSFShouldProcess.
624
- Fix: Export-PSMDString - Failed with splatting detection
725

826
## 2.2.8.104 (July 26th, 2020)

PSModuleDevelopment/en-us/strings.psd1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44

55
'Get-PSMDFileCommand.SyntaxError' = 'Syntax error in file: {0}' # $pathItem
66

7+
'Invoke-PSMDBuildProject.Step.Executing' = '[{0}] Executing step {1} ({2})' # $count, $step.Name, $step.Action
8+
9+
'Invoke-PSMDTemplate.Template.NotFound' = 'Unable to find template data for "{0}"' # $TemplateName
10+
'Invoke-PSMDTemplate.Invoking' = 'Creating file/project from template {0}' # $item
11+
712
'MeasurePSMDLinesOfCode.Processing' = 'Processing Path: {0}' # $fileItem
813

914
'Publish-PSMDScriptFile.Module.Saving' = 'Saving module {0} from repository {1}' # $moduleName, (Get-PSFConfigValue -FullName 'PSModuleDevelopment.Script.StagingRepository')
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
function Get-PSMDBuildAction {
2+
<#
3+
.SYNOPSIS
4+
Get a list of registered build actions.
5+
6+
.DESCRIPTION
7+
Get a list of registered build actions.
8+
Actions are the scriptblocks that are used to execute the build logic when running Invoke-PSMDBuildProject.
9+
10+
.PARAMETER Name
11+
The name by which to filter the actions returned.
12+
Defaults to '*'
13+
14+
.EXAMPLE
15+
PS C:\> Get-PSMDBuildAction
16+
17+
Get a list of all registered build actions.
18+
#>
19+
[CmdletBinding()]
20+
param (
21+
[PsfArgumentCompleter('PSModuleDevelopment.Build.Action')]
22+
[string]
23+
$Name = '*'
24+
)
25+
26+
process {
27+
$script:buildActions.Values | Where-Object Name -Like $Name
28+
}
29+
}

0 commit comments

Comments
 (0)