Ghost.psd1

@{
    RootModule           = 'Ghost.psm1'
    ModuleVersion        = '0.8.1'
    CompatiblePSEditions = @('Desktop', 'Core')
    GUID                 = '2c88733f-7c78-4043-b269-2b3306b8c3fe'
    Author               = 'Gijs Reijn'
    CompanyName          = 'Community'
    Copyright            = '(c) Gijs Reijn. All rights reserved.'
    Description          =
    'Community Ghost Admin API module: posts, pages, tags, members, tiers, images, themes, Markdown, local site.'
    PowerShellVersion    = '5.1'
    FormatsToProcess     = @(
        'ObjectDefinitions/Ghost.Image.ps1xml'
        'ObjectDefinitions/Ghost.LocalSite.ps1xml'
        'ObjectDefinitions/Ghost.Member.ps1xml'
        'ObjectDefinitions/Ghost.Page.ps1xml'
        'ObjectDefinitions/Ghost.PageSync.ps1xml'
        'ObjectDefinitions/Ghost.Post.ps1xml'
        'ObjectDefinitions/Ghost.PostSync.ps1xml'
        'ObjectDefinitions/Ghost.Tag.ps1xml'
        'ObjectDefinitions/Ghost.TagSync.ps1xml'
        'ObjectDefinitions/Ghost.Theme.ps1xml'
        'ObjectDefinitions/Ghost.ThemeSetting.ps1xml'
        'ObjectDefinitions/Ghost.ThemeSync.ps1xml'
        'ObjectDefinitions/Ghost.Tier.ps1xml'
    )
    FunctionsToExport    = @(
        'Connect-Ghost'
        'Copy-GhostPost'
        'Disconnect-Ghost'
        'Enable-GhostTheme'
        'Export-GhostContent'
        'Export-GhostPage'
        'Export-GhostPost'
        'Export-GhostTag'
        'Get-GhostMember'
        'Get-GhostPage'
        'Get-GhostPost'
        'Get-GhostTag'
        'Get-GhostThemeSetting'
        'Get-GhostTier'
        'Import-GhostContent'
        'New-GhostImage'
        'New-GhostMember'
        'New-GhostPage'
        'New-GhostPost'
        'New-GhostPostFile'
        'New-GhostTag'
        'New-GhostTheme'
        'New-GhostTier'
        'Publish-GhostPost'
        'Remove-GhostLocalSite'
        'Remove-GhostMember'
        'Remove-GhostPage'
        'Remove-GhostPost'
        'Remove-GhostTag'
        'Set-GhostMember'
        'Set-GhostPage'
        'Set-GhostPost'
        'Set-GhostTag'
        'Set-GhostThemeSetting'
        'Set-GhostTier'
        'Start-GhostLocalSite'
        'Stop-GhostLocalSite'
        'Sync-GhostPage'
        'Sync-GhostPost'
        'Sync-GhostTag'
        'Sync-GhostTheme'
        'Unpublish-GhostPost'
    )
    CmdletsToExport      = @()
    VariablesToExport    = @()
    AliasesToExport      = @()

    PrivateData          = @{
        PSData = @{
            Tags         = @('Ghost', 'GhostCMS', 'AdminAPI', 'Blog', 'CMS', 'Publishing', 'Markdown', 'REST')

            # build/build.ps1 sets the prerelease label, such as preview1, in the copy that is published.
            Prerelease   = ''

            # build/build.ps1 fills in the notes of the version from CHANGELOG.md, in the copy that is published.
            ReleaseNotes = '### Fixed

- `Sync-GhostPost` and `Sync-GhostPage` no longer take a file for changed when it links to another page of the
  same site without the address of the site, as in `[text](/a-page/)` or `<a href="/a-page/">`. Ghost gives such
  a link back with the address in it, so the file never matched its post. A dry run said `WouldUpdate` on every
  run, and a real run sent the post again and moved `updated_at`. The address is the one the site reports for
  itself or the one `Connect-Ghost` was given, with `http` or `https` and with or without `www.`.
- `Export-GhostPost` and `Export-GhostPage` report such a file as `Unchanged`. Before, it was `Skipped`. The file
  is not written again without `-Force`, because that would put the address in its links. So when
  `-IncludeImage` has an image to save for it, the file is still reported as `Skipped`.'

        }
    }
}