Skip to content

Commit 5b5fe20

Browse files
author
Arjan Meskers
committed
Release v0.4.0
1 parent c6c8f80 commit 5b5fe20

5 files changed

Lines changed: 189 additions & 13 deletions

File tree

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,3 +396,7 @@ FodyWeavers.xsd
396396

397397
# JetBrains Rider
398398
*.sln.iml
399+
400+
# Module content
401+
externalhelp/
402+
dist/

release.ps1

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
Remove-Item -Path '.\dist\' -Force -Recurse
2+
Remove-Item -Path '.\externalhelp\' -Force -Recurse
3+
4+
# Create ExternalHelp
5+
New-Item -Path '.\externalhelp\' -ItemType Directory
6+
New-ExternalHelp -Path '.\docs\' -OutputPath '.\externalhelp\' -Force
7+
8+
# Copy Build Output
9+
New-Item -Path '.\dist\' -ItemType Directory
10+
Copy-Item -Path '.\src\AMSoftware.Dataverse.PowerShell\bin\Release\*.*' -Destination '.\dist\' -Force
11+
12+
# Copy ExternalHelp
13+
New-Item -Path '.\dist\en-us' -ItemType Directory
14+
Copy-Item -Path '.\externalhelp\*.*' -Destination '.\dist\en-us\' -Force
15+
16+
Publish-Module -Path '.\dist\' -NuGetApiKey "$env:NUGETAPIKEY"
Lines changed: 142 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,142 @@
1+
# PowerShell Module for Power Platform Dataverse
2+
# Copyright(C) 2024 AMSoftwareNL
3+
#
4+
# This program is free software: you can redistribute it and/or modify
5+
# it under the terms of the GNU General Public License as published by
6+
# the Free Software Foundation, either version 3 of the License, or
7+
# (at your option) any later version.
8+
#
9+
# This program is distributed in the hope that it will be useful,
10+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
# GNU General Public License for more details.
13+
#
14+
# You should have received a copy of the GNU General Public License
15+
# along with this program. If not, see <https://www.gnu.org/licenses/>.
16+
17+
18+
# .EXTERNALHELP AMSoftware.Dataverse.PowerShell.Development.psm1-help.xml
19+
function Export-DataverseWebResource {
20+
[CmdletBinding()]
21+
param ( )
22+
begin { throw [System.NotImplementedException]::new() }
23+
}
24+
25+
# .EXTERNALHELP AMSoftware.Dataverse.PowerShell.Development.psm1-help.xml
26+
function Export-DataversePluginAssembly {
27+
[CmdletBinding()]
28+
param ( )
29+
begin { throw [System.NotImplementedException]::new() }
30+
}
31+
32+
# .EXTERNALHELP AMSoftware.Dataverse.PowerShell.Development.psm1-help.xml
33+
function Import-DataverseWebResource {
34+
[CmdletBinding()]
35+
param ( )
36+
begin { throw [System.NotImplementedException]::new() }
37+
}
38+
39+
# .EXTERNALHELP AMSoftware.Dataverse.PowerShell.Development.psm1-help.xml
40+
function Publish-DataverseComponent {
41+
[CmdletBinding()]
42+
param ( )
43+
begin { throw [System.NotImplementedException]::new() }
44+
}
45+
46+
# .EXTERNALHELP AMSoftware.Dataverse.PowerShell.Development.psm1-help.xml
47+
function Register-DataverseDataProvider {
48+
[CmdletBinding()]
49+
param ( )
50+
begin { throw [System.NotImplementedException]::new() }
51+
}
52+
53+
# .EXTERNALHELP AMSoftware.Dataverse.PowerShell.Development.psm1-help.xml
54+
function Register-DataversePlugin {
55+
[CmdletBinding()]
56+
param ( )
57+
begin { throw [System.NotImplementedException]::new() }
58+
}
59+
60+
# .EXTERNALHELP AMSoftware.Dataverse.PowerShell.Development.psm1-help.xml
61+
function Register-DataversePluginStep {
62+
[CmdletBinding()]
63+
param ( )
64+
begin { throw [System.NotImplementedException]::new() }
65+
}
66+
67+
# .EXTERNALHELP AMSoftware.Dataverse.PowerShell.Development.psm1-help.xml
68+
function Register-DataversePluginStepImage {
69+
[CmdletBinding()]
70+
param ( )
71+
begin { throw [System.NotImplementedException]::new() }
72+
}
73+
74+
# .EXTERNALHELP AMSoftware.Dataverse.PowerShell.Development.psm1-help.xml
75+
function Register-DataverseServiceEndpoint {
76+
[CmdletBinding()]
77+
param ( )
78+
begin { throw [System.NotImplementedException]::new() }
79+
}
80+
81+
# .EXTERNALHELP AMSoftware.Dataverse.PowerShell.Development.psm1-help.xml
82+
function Register-DataverseWebhook {
83+
[CmdletBinding()]
84+
param ( )
85+
begin { throw [System.NotImplementedException]::new() }
86+
}
87+
88+
# .EXTERNALHELP AMSoftware.Dataverse.PowerShell.Development.psm1-help.xml
89+
function Test-DataverseSolution {
90+
[CmdletBinding()]
91+
param ( )
92+
begin { throw [System.NotImplementedException]::new() }
93+
}
94+
95+
# .EXTERNALHELP AMSoftware.Dataverse.PowerShell.Development.psm1-help.xml
96+
function Test-DataverseSolutionComponent {
97+
[CmdletBinding()]
98+
param ( )
99+
begin { throw [System.NotImplementedException]::new() }
100+
}
101+
102+
# .EXTERNALHELP AMSoftware.Dataverse.PowerShell.Development.psm1-help.xml
103+
function Unregister-DataverseDataProvider {
104+
[CmdletBinding()]
105+
param ( )
106+
begin { throw [System.NotImplementedException]::new() }
107+
}
108+
109+
# .EXTERNALHELP AMSoftware.Dataverse.PowerShell.Development.psm1-help.xml
110+
function Unregister-DataversePlugin {
111+
[CmdletBinding()]
112+
param ( )
113+
begin { throw [System.NotImplementedException]::new() }
114+
}
115+
116+
# .EXTERNALHELP AMSoftware.Dataverse.PowerShell.Development.psm1-help.xml
117+
function Unregister-DataversePluginAssembly {
118+
[CmdletBinding()]
119+
param ( )
120+
begin { throw [System.NotImplementedException]::new() }
121+
}
122+
123+
# .EXTERNALHELP AMSoftware.Dataverse.PowerShell.Development.psm1-help.xml
124+
function Unregister-DataversePluginStep {
125+
[CmdletBinding()]
126+
param ( )
127+
begin { throw [System.NotImplementedException]::new() }
128+
}
129+
130+
# .EXTERNALHELP AMSoftware.Dataverse.PowerShell.Development.psm1-help.xml
131+
function Unregister-DataversePluginStepImage {
132+
[CmdletBinding()]
133+
param ( )
134+
begin { throw [System.NotImplementedException]::new() }
135+
}
136+
137+
# .EXTERNALHELP AMSoftware.Dataverse.PowerShell.Development.psm1-help.xml
138+
function Unregister-DataverseServiceEndpoint {
139+
[CmdletBinding()]
140+
param ( )
141+
begin { throw [System.NotImplementedException]::new() }
142+
}

src/AMSoftware.Dataverse.PowerShell/AMSoftware.Dataverse.PowerShell.csproj

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<AssemblyName>AMSoftware.Dataverse.PowerShell</AssemblyName>
66
<OutputType>Library</OutputType>
77
<RootNamespace>AMSoftware.Dataverse.PowerShell</RootNamespace>
@@ -14,19 +14,33 @@
1414
<GenerateDependencyFile>false</GenerateDependencyFile>
1515
</PropertyGroup>
1616

17+
<PropertyGroup>
18+
<Company>AMSoftware</Company>
19+
<Copyright>Copyright(C) 2024 AMSoftwareNL. All rights reserved.</Copyright>
20+
<Description>PowerShell Module for Power Platform Dataverse</Description>
21+
<FileVersion>0.4.0</FileVersion>
22+
<InformationalVersion>0.4.0</InformationalVersion>
23+
<Product>AMSoftware.Dataverse.PowerShell</Product>
24+
<AssemblyTitle>AMSoftware.Dataverse.PowerShell</AssemblyTitle>
25+
<AssemblyVersion>0.4.0</AssemblyVersion>
26+
</PropertyGroup>
27+
1728
<ItemGroup>
18-
<PackageReference Include="Microsoft.PowerPlatform.Dataverse.Client" Version="1.1.*" />
29+
<PackageReference Include="Microsoft.PowerPlatform.Dataverse.Client" Version="1.2.*" />
1930
<PackageReference Include="PowerShellStandard.Library" Version="5.1.1">
2031
<PrivateAssets>All</PrivateAssets>
2132
</PackageReference>
2233
</ItemGroup>
2334

2435
<ItemGroup>
2536
<None Update="AMSoftware.Dataverse.PowerShell.AccessManagement.psm1">
26-
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
37+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
2738
</None>
2839
<None Update="AMSoftware.Dataverse.PowerShell.Administration.psm1">
29-
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
40+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
41+
</None>
42+
<None Update="AMSoftware.Dataverse.PowerShell.Development.psm1">
43+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
3044
</None>
3145
<None Update="AMSoftware.Dataverse.PowerShell.psm1">
3246
<CopyToOutputDirectory>Always</CopyToOutputDirectory>

src/AMSoftware.Dataverse.PowerShell/AMSoftware.Dataverse.PowerShell.psd1

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
RootModule = ''
77

88
# Version number of this module.
9-
ModuleVersion = '0.0.1'
9+
ModuleVersion = '0.4.0'
1010

1111
# Supported PSEditions
1212
CompatiblePSEditions = 'Core'
@@ -50,7 +50,8 @@
5050
'AMSoftware.Dataverse.PowerShell.dll',
5151
'AMSoftware.Dataverse.PowerShell.psm1',
5252
'AMSoftware.Dataverse.PowerShell.AccessManagement.psm1',
53-
'AMSoftware.Dataverse.PowerShell.Administration.psm1'
53+
'AMSoftware.Dataverse.PowerShell.Administration.psm1',
54+
'AMSoftware.Dataverse.PowerShell.Development.psm1'
5455
)
5556

5657
# 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.
@@ -112,10 +113,10 @@
112113
VariablesToExport = @('DataverseSession','DataverseClient')
113114

114115
# 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.
115-
AliasesToExport = @()
116+
AliasesToExport = '*'
116117

117118
# List of all modules packaged with this module
118-
ModuleList = @('AMSoftware.Dataverse.PowerShell.dll', 'AMSoftware.Dataverse.PowerShell.psm1', 'AMSoftware.Dataverse.PowerShell.AccessManagement.psm1')
119+
ModuleList = @()
119120

120121
# List of all files packaged with this module
121122
FileList = @(
@@ -124,11 +125,13 @@
124125
'AMSoftware.Dataverse.PowerShell.psm1',
125126
'AMSoftware.Dataverse.PowerShell.AccessManagement.psm1'
126127
'AMSoftware.Dataverse.PowerShell.Administration.psm1'
128+
'AMSoftware.Dataverse.PowerShell.Development.psm1'
127129
'AMSoftware.Dataverse.PowerShell.Types.ps1xml',
128130
'AMSoftware.Dataverse.PowerShell.Formats.ps1xml',
129131
'AMSoftware.Dataverse.PowerShell.dll-help.xml',
130132
'AMSoftware.Dataverse.PowerShell.AccessManagement.psm1-help.xml'
131133
'AMSoftware.Dataverse.PowerShell.Administration.psm1-help.xml'
134+
'AMSoftware.Dataverse.PowerShell.Development.psm1-help.xml'
132135
'Microsoft.PowerPlatform.Dataverse.Client.dll',
133136
'Microsoft.Xrm.Sdk.dll',
134137
'Microsoft.Crm.Sdk.Proxy.dll')
@@ -145,18 +148,15 @@
145148
# A URL to the main website for this project.
146149
ProjectUri = 'https://github.com/AMSoftwareNL/DataversePowershell'
147150

148-
# A URL to an icon representing this module.
149-
# IconUri = ''
150-
151151
# ReleaseNotes of this module
152-
# ReleaseNotes = ''
152+
ReleaseNotes = 'https://github.com/AMSoftwareNL/DataversePowershell/releases/tag/v0.4.0'
153153

154154
# Flag to indicate whether the module requires explicit user acceptance for install/update/save
155155
RequireLicenseAcceptance = $true
156156
} # End of PSData hashtable
157157
} # End of PrivateData hashtable
158158

159159
# HelpInfo URI of this module
160-
# HelpInfoURI = ''
160+
HelpInfoURI = 'https://github.com/AMSoftwareNL/DataversePowershell/blob/main/docs/AMSoftware.Dataverse.PowerShell.md'
161161
}
162162

0 commit comments

Comments
 (0)