Skip to content

Commit eaafce2

Browse files
authored
Features/workflow automations actions (#4)
* Create branch and updated versions for repository only change * Initial Commit * Added Event Handler Code Generator * Final V 0.0.1 Release * Improved the SaveChanges() method
1 parent c1d6f81 commit eaafce2

33 files changed

Lines changed: 1536 additions & 996 deletions

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ run.ps1
1212
# Root Level Files
1313
*.readinglist.md
1414
*.cheatsheet.md
15-
*_cheatsheet.md
15+
*.cheatsheet.md.ps1
1616
reflog.md
1717

1818
# Ignore build output directories

README.md

Lines changed: 162 additions & 141 deletions
Large diffs are not rendered by default.

api.guide.md

Lines changed: 0 additions & 239 deletions
This file was deleted.

contributor.guide.md

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@
55
- [Setup](#setup)
66
- [Source Files used in the Module](#source-files-used-in-the-module)
77
- [Module Build Process](#module-build-process)
8-
- [Publishing `SqlQueryClass` Module to GitHub](#publishing-sqlqueryclass-module-to-github)
8+
- [Publishing `GuiMyPS` Module to GitHub](#publishing-GuiMyPS-module-to-github)
99
- [Code Review and Feedback](#code-review-and-feedback)
1010
- [Merge the Pull Request](#merge-the-pull-request)
1111
- [Cleanup](#cleanup)
12-
- [Publishing `SqlQueryClass` Module to PowerShell Gallery](#publishing-sqlqueryclass-module-to-powershell-gallery)
12+
- [Publishing `GuiMyPS` Module to PowerShell Gallery](#publishing-GuiMyPS-module-to-powershell-gallery)
1313

1414
## Setup
1515

1616
- Uses SQL Express but should work with other SQL Databases with proper connection strings and credentials
1717
- Requires VS Code
18-
- For Contributors, Fork the [SqlQueryClass](https://github.com/BrooksV/SqlQueryClass) repository
18+
- For Contributors, Fork the [GuiMyPS](https://github.com/BrooksV/GuiMyPS) repository
1919
- Clone the repository or fork to local pc. I like using c:\git as my local repository folder. Subfolder $ProjectName will be created with the GitHub repository contents
2020
- Install [Manjunath Beli's ModuleTools](https://github.com/belibug/ModuleTools) module as the module build process uses ModuleTools
2121

@@ -29,8 +29,6 @@
2929

3030
- Public functions that are exported, are separate files in the .\src\public folder.
3131
- Private functions that are local to the Module, are separate files in the .\src\private folder.
32-
- - Class Definitions and Enums are not accessible outside of the Module and cannot be accessed directly like Public Functions are. This is a PowerShell limitation.
33-
- - - Classes [SqlQueryDataSet] and [SqlQueryDataSetParms] and enum ResultType used in the Module are defined in file .\src\private\SqlQueryClass.ps1 file. The classes have properties and methods used to maintain a Database connections and result sets making it useful WPF Data binding.
3432
- Resources are files and folders in the .\src\resources folder that needs to be included with the Manifest and Module
3533

3634
## Module Build Process
@@ -52,10 +50,10 @@
5250
Invoke-MTBuild -Verbose
5351
```
5452

55-
- - Outputs to the .\dist\SqlQueryClass folder
56-
- - Combines the file contents of the files in Public and Private folder into .\dist\SqlQueryClass\SqlQueryClass.psd1 and exports the Public Functions
57-
- - Generates the .\dist\SqlQueryClass\SqlQueryClass.psd1 Manifest file from the settings in .\project.json
58-
- - Resources (.\src\resources) folder content is copied to .\dist\SqlQueryClass folder
53+
- - Outputs to the .\dist\GuiMyPS folder
54+
- - Combines the file contents of the files in Public and Private folder into .\dist\GuiMyPS\GuiMyPS.psd1 and exports the Public Functions
55+
- - Generates the .\dist\GuiMyPS\GuiMyPS.psd1 Manifest file from the settings in .\project.json
56+
- - Resources (.\src\resources) folder content is copied to .\dist\GuiMyPS folder
5957
- Run the Pester Teats using Invoke-MTTest (Find-Module -Name ModuleTools)
6058

6159
1. Make corrections, repeat the build process.
@@ -64,7 +62,7 @@
6462
- Upstream your branch.
6563
- Create a Pull request.
6664

67-
## Publishing `SqlQueryClass` Module to GitHub
65+
## Publishing `GuiMyPS` Module to GitHub
6866

6967
1. Stage and Commit Your Changes
7068

@@ -85,7 +83,7 @@
8583
```
8684
8785
1. Create a Pull Request on remote repository
88-
- Go to [SqlQueryClass GitHub repository](https://github.com/BrooksV/SqlQueryClass)
86+
- Go to [GuiMyPS GitHub repository](https://github.com/BrooksV/GuiMyPS)
8987
- Click on "Compare & pull request" for your branch
9088
- Provide a meaningful title and description for the PR
9189
- Select the base branch (main) to merge into
@@ -118,7 +116,7 @@ git branch -d features/database-table-access
118116

119117
These steps will ensure your changes are integrated into the main branch and your repository remains organized.
120118

121-
## Publishing `SqlQueryClass` Module to PowerShell Gallery
119+
## Publishing `GuiMyPS` Module to PowerShell Gallery
122120

123121
```powershell
124122
$data = Get-MTProjectInfo

project.json

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,19 @@
11
{
2-
"ProjectName": "SqlQueryClass",
3-
"Description": "The SqlQueryClass module provides a set of functions and cmdlets for working with SQL databases. It includes functionality for connecting, executing SQL queries, and managing output as DataTable, DataAdapter, DataSet, SqlReader, or NonQuery result objects.",
4-
"Version": "0.1.2",
2+
"ProjectName": "GuiMyPS",
3+
"Description": "Module helps in creating and running WPF GUI based PowerShell Applications.",
4+
"Version": "0.0.1",
55
"Manifest": {
66
"Author": "Brooks Vaughn",
77
"PowerShellHostVersion": "5.1",
8-
"GUID": "8375edbe-fb0f-4cb6-acb0-9964b45725c0",
8+
"GUID": "b9f7d4c6-e924-4a7b-a117-e169dc71f010",
99
"Tags": [
1010
"PowerShell",
11-
"Database",
12-
"SQL",
13-
"SQLServer",
14-
"SQLQuery",
15-
"DataAdapter",
16-
"DataSet",
17-
"DataTable"
11+
"WPF",
12+
"XAML",
13+
"GUI"
1814
],
19-
"ProjectUri": "https://github.com/BrooksV/SqlQueryClass",
20-
"LicenseUri": "https://github.com/BrooksV/SqlQueryClass/blob/main/LICENSE"
15+
"ProjectUri": "https://github.com/BrooksV/GuiMyPS",
16+
"LicenseUri": "https://github.com/BrooksV/GuiMyPS/blob/main/LICENSE"
2117
},
2218
"Pester": {
2319
"TestResult": {

0 commit comments

Comments
 (0)