Sampler.psd1

@{
    # Script module or binary module file associated with this manifest.
    RootModule        = 'Sampler.psm1'

    # Version number of this module.
    ModuleVersion     = '0.109.0'

    # Supported PSEditions
    # CompatiblePSEditions = @('Desktop','Core') # Removed to support PS 5.0

    # ID used to uniquely identify this module
    GUID              = 'b59b8442-9cf9-4c4b-bc40-035336ace573'

    # Author of this module
    Author            = 'Gael Colas'

    # Company or vendor of this module
    CompanyName       = 'SynEdgy Limited'

    # Copyright statement for this module
    Copyright         = '(c) Gael Colas. All rights reserved.'

    # Description of the functionality provided by this module
    Description       = 'Sample Module with Pipeline scripts and its Plaster template to create a module following some of the community accepted practices.'

    # Minimum version of the Windows PowerShell engine required by this module
    PowerShellVersion = '5.0'

    # Modules that must be imported into the global environment prior to importing this module
    RequiredModules   = @(
        'Plaster'
    )

    # Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
    NestedModules     = @()

    # Functions to export from this module
    FunctionsToExport = @('Add-Sample','New-SampleModule')

    # Cmdlets to export from this module
    CmdletsToExport   = ''

    # Variables to export from this module
    VariablesToExport = ''

    # Aliases to export from this module
    AliasesToExport   = '*'

    # List of all modules packaged with this module
    ModuleList        = @()

    # 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 = @{
            # Extension for Plaster Template discoverability with `Get-PlasterTemplate -IncludeInstalledModules`
            Extensions   = @(
                @{
                    Module         = 'Plaster'
                    minimumVersion = '1.1.3'
                    Details        = @{
                        TemplatePaths = @(
                            'Templates\Classes'
                            'Templates\ClassResource'
                            'Templates\Composite'
                            'Templates\Enum'
                            'Templates\MofResource'
                            'Templates\PrivateFunction'
                            'Templates\PublicCallPrivateFunctions'
                            'Templates\PublicFunction'
                            'Templates\Sampler'
                        )
                    }
                }
            )

            # Tags applied to this module. These help with module discovery in online galleries.
            Tags         = @('Template', 'pipeline', 'plaster', 'DesiredStateConfiguration', 'DSC', 'DSCResourceKit', 'DSCResource', 'Windows', 'MacOS', 'Linux')

            # A URL to the license for this module.
            LicenseUri   = 'https://github.com/gaelcolas/Sampler/blob/master/LICENSE'

            # A URL to the main website for this project.
            ProjectUri   = 'https://github.com/gaelcolas/Sampler'

            # A URL to an icon representing this module.
            IconUri      = ''

            # ReleaseNotes of this module
            ReleaseNotes = '## [0.109.0-preview0003] - 2020-11-19
 
### Changed
 
- Updating all azure-pipeline.yaml to change Build Artifacts to Pipeline Artifacts ([issue #159](https://github.com/gaelcolas/Sampler/issues/159)).
- Update plasterManifest.xml call by New-SampleModule :
    - Add section modify to replace "FunctionsToExport = ''*''" by "FunctionsToExport = ''''" in new module manifest ([issue #67](https://github.com/gaelcolas/Sampler/issues/67)).
    - Add section modify to add "Prerelease = ''''" in "PSData" block in new module manifest ([issue #69](https://github.com/gaelcolas/Sampler/issues/69)).
- Changing ClassResource.
    - Add generic content in the class.
    - Add pester tests.
    - Add localizeddata.
    - Update plasterManifest.xml.
    - Add private functions.
    - Add pester tests.
    - Update Sampler integration tests.
- Changing the Reasons property in the classes based resource template. It''s now NotConfigurable.
- Renamed Build_Module_ModuleBuilder task to Build_ModuleOutPut_ModuleBuilder.
  Build_Module_ModuleBuilder is now a metatask that calls
  Build_ModuleOutPut_ModuleBuilder and Build_DscResourcesToExport_ModuleBuilder tasks.
 
### Added
 
- Added new template ClassFolderResource
- Added new function Get-ClassBasedResourceName on Common.Functions.psm1 module.
  It''s used to find the class-based resource defined in psm1 file.
- Added new task Build_DscResourcesToExport_ModuleBuilder.
  On build, it adds DscResources (class or Mof) in DscResourcesToExport manifest key.
 
'


            Prerelease   = 'preview0003'
        } # End of PSData hashtable
    } # End of PrivateData hashtable
}