Skip to content

GQL 0.1 #37

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 67 commits into from
Dec 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
4e44d98
feat: Get-GQL ( Fixes #2 )
Dec 17, 2024
384fc13
feat: GQL Module Scaffolding ( Fixes #1 )
Dec 17, 2024
ed0a0b2
feat: GQL Initial Workflow ( Fixes #1, Fixes #4, Fixes #5 )
Dec 17, 2024
cc38619
feat: GQL Initial Workflow ( Fixes #1, Fixes #4, Fixes #5 )
Dec 17, 2024
fd58845
feat: GQL Module Scaffolding ( Fixes #1 )
Dec 17, 2024
e32eb87
docs: GQL CONTRIBUTING.md ( Fixes #16 )
Dec 17, 2024
f75d590
docs: GQL CODE_OF_CONDUCT.md ( Fixes #15 )
Dec 17, 2024
70535e8
feat: GQL Container.init.ps1 ( Fixes #11 )
Dec 17, 2024
c215fd8
feat: GQL Container.start.ps1 ( Fixes #12 )
Dec 17, 2024
7da03cc
feat: GQL Dockerfile ( Fixes #10 )
Dec 17, 2024
19246cd
feat: GQL Container Build ( Fixes #4, Fixes #5, Fixes #10, Fixes #11,…
Dec 17, 2024
d3f0486
feat: GQL Action ( Fixes #9 )
Dec 17, 2024
900347d
feat: GQL Logo ( Fixes #21 )
Dec 17, 2024
28e152f
feat: GQL Logo ( Fixes #21 )
Dec 17, 2024
b86326a
feat: GQL Logo ( Fixes #21 )
Dec 17, 2024
918f3d7
feat: GetSchemaTypeNames.gql ( Fixes #22 )
Dec 17, 2024
503707c
feat: GetTypeFields.gql ( Fixes #23 )
Dec 17, 2024
fc0d286
feat: GitSponsors.gql ( Fixes #24 )
Dec 17, 2024
cccb98a
feat: GitSponsorshipTiers.gql ( Fixes #25 )
Dec 17, 2024
cf4a03c
feat: GQL HelpOut ( Fixes #6 )
Dec 17, 2024
5c4ec3b
feat: GitSponsorshipTiers.gql ( Fixes #25 )
Dec 17, 2024
4292fb1
feat: GitSponsorshipTiers.gql ( Fixes #25 )
Dec 17, 2024
0069ce9
feat: GitSponsorshipTiers.gql ( Fixes #25 )
Dec 17, 2024
791e2e9
feat: GitSponsorshipTiers.gql ( Fixes #25 )
Dec 17, 2024
6ac184e
feat: GitSponsorshipTiers.gql ( Fixes #25 )
Dec 17, 2024
e97015e
feat: GitSponsorshipTiers.gql ( Fixes #25 )
Dec 17, 2024
0c90a59
feat: GitSponsorshipTiers.gql ( Fixes #25 )
Dec 17, 2024
d831ea0
feat: GetSchemaTypes.gql Example ( Fixes #27 )
Dec 17, 2024
9461590
feat: GQL action ( Fixes #9 )
Dec 17, 2024
6c101ed
feat: GQL Container.stop.ps1 ( Fixes #13 )
Dec 17, 2024
a444136
feat: GQL Sponsorship ( Fixes #28 )
Dec 17, 2024
4f5b4d6
feat: GitMyIssueTotals.gql ( Fixes #29 )
Dec 17, 2024
fce683a
feat: GetEnumValues.gql ( Fixes #26 )
Dec 17, 2024
61ba116
feat: GitMyPullRequestTotals.gql ( Fixes #30 )
Dec 17, 2024
3622960
feat: Get-GQL -Cache ( Fixes #2, Fixes #31 )
Dec 18, 2024
3f2c850
feat: Get-GQL -Cache ( Fixes #2, Fixes #31 )
Dec 18, 2024
26761d9
feat: Get-GQL -Refresh ( Fixes #2, Fixes #31, Fixes #32 )
Dec 18, 2024
7e8e002
feat: Get-GQL -Refresh ( Fixes #2, Fixes #31, Fixes #32 )
Dec 18, 2024
d738931
feat: Get-GQL -OutputPath ( Fixes #2, Fixes #34 )
Dec 19, 2024
f9db8d1
feat: Get-GQL -OutputPath ( Fixes #2, Fixes #34 )
Dec 19, 2024
2b52dd4
feat: Using Action and adding example ( Fixes #4, Fixes #5, Fixes #9 )
Dec 19, 2024
cdf0921
feat: Using Action and adding example ( Fixes #4, Fixes #5, Fixes #9 )
Dec 19, 2024
6e99408
feat: Using Action and adding example ( Fixes #4, Fixes #5, Fixes #9 )
Dec 19, 2024
873266c
fix: Using Action and adding example ( Fixes #4, Fixes #5, Fixes #9 )
Dec 19, 2024
3f41b17
fix: Using Action and adding example ( Fixes #4, Fixes #5, Fixes #9 )
Dec 19, 2024
2e12de0
fix: Using Action and adding example ( Fixes #4, Fixes #5, Fixes #9 )
Dec 19, 2024
f66a9cd
test: Confirming GitHubToken Graph behavior ( re #9 )
Dec 19, 2024
d5b3409
test: Confirming GitHubToken Graph behavior ( re #9 )
Dec 19, 2024
eca85f8
test: Confirmed GitHubToken Graph behavior ( re #9 )
Dec 19, 2024
c7e6eea
chore: Removing whitespace in examples [skip ci]
Dec 19, 2024
82dac59
chore: Removing whitespace in examples [skip ci]
Dec 19, 2024
0402e6c
docs: GitDiscussion.gql example ( Fixes #35 )
Dec 19, 2024
dc2df0d
docs: GitDiscussions.gql example ( Fixes #36 )
Dec 19, 2024
59fafdb
feat: GitGraphTypes.gql.ps1 ( Fixes #33 )
Dec 19, 2024
4773f03
feat: GitGraphTypes.gql.ps1 ( Fixes #33 )
Dec 19, 2024
79ce2d4
fix: Get-GQL can -Cache a parameterized query ( Fixes #31 )
Dec 19, 2024
14391ec
style: Updating Logo ( Fixes #21 )
Dec 19, 2024
cefa95e
style: Updating Logo ( Fixes #21 )
Dec 19, 2024
820ed65
style: Updating Logo ( Fixes #21 )
Dec 19, 2024
d8e53ce
style: Updating Logo ( Fixes #21 )
Dec 19, 2024
4f2bf36
style: Updating Logo ( Fixes #21 )
Dec 19, 2024
4b895c0
docs: Adding README.ps.md ( Fixes #1 )
Dec 19, 2024
4bb963d
docs: Adding README.ps.md ( Fixes #1 )
Dec 19, 2024
134f5d8
docs: Adding README.ps.md ( Fixes #1 )
Dec 19, 2024
6129630
docs: Adding README.ps.md ( Fixes #1 )
Dec 19, 2024
6b9378b
release: GQL 0.1 ( Fixes #1 )
Dec 19, 2024
368b2bb
release: GQL 0.1 ( Fixes #1 )
Dec 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github: [StartAutomating]
552 changes: 552 additions & 0 deletions .github/workflows/BuildGQL.yml

Large diffs are not rendered by default.

37 changes: 37 additions & 0 deletions Assets/GQL-Animated.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions Assets/GQL.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions Build/GQL.GitHubAction.PSDevOps.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#requires -Module PSDevOps
Import-BuildStep -SourcePath (
Join-Path $PSScriptRoot 'GitHub'
) -BuildSystem GitHubAction

$PSScriptRoot | Split-Path | Push-Location

New-GitHubAction -Name "GetGQL" -Description 'Get GraphQL with PowerShell' -Action GQLAction -Icon chevron-right -OutputPath .\action.yml

Pop-Location
12 changes: 12 additions & 0 deletions Build/GQL.GitHubWorkflow.PSDevOps.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#requires -Module PSDevOps
Import-BuildStep -SourcePath (
Join-Path $PSScriptRoot 'GitHub'
) -BuildSystem GitHubWorkflow

Push-Location ($PSScriptRoot | Split-Path)
New-GitHubWorkflow -Name "Build GQL" -On Push,
PullRequest,
Demand -Job TestPowerShellOnLinux,
TagReleaseAndPublish, BuildGQL -OutputPath .\.github\workflows\BuildGQL.yml

Pop-Location
11 changes: 11 additions & 0 deletions Build/GQL.HelpOut.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#requires -Module HelpOut

#region Load the Module
Push-Location ($PSScriptRoot | Split-Path)
$importedModule = Import-Module .\ -Global -PassThru
#endregion Load the Module

# This will save the MarkdownHelp to the docs folder, and output all of the files created.
Save-MarkdownHelp -PassThru -Module $importedModule.Name -ExcludeCommandType Alias

Pop-Location
106 changes: 106 additions & 0 deletions Build/GQL.PSSVG.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
#requires -Module PSSVG

$AssetsPath = $PSScriptRoot | Split-Path | Join-Path -ChildPath "Assets"

if (-not (Test-Path $AssetsPath)) {
New-Item -ItemType Directory -Path $AssetsPath | Out-Null
}
$myName = $MyInvocation.MyCommand.Name -replace '\.PSSVG\.ps1$'

$strokeWidth = '0.5%'
$fontName = 'Noto Sans'
foreach ($variant in '','Animated') {
$outputPath = if (-not $variant) {
Join-Path $assetsPath "$myName.svg"
} else {
Join-Path $assetsPath "$myName-$variant.svg"
}
$symbolDefinition = SVG.symbol -Id 'PowerShellWeb' @(
svg -content $(
$fillParameters = [Ordered]@{
Fill = '#4488FF'
Class = 'foreground-fill'
}

$strokeParameters = [Ordered]@{
Stroke = '#4488FF'
Class = 'foreground-stroke'
StrokeWidth = $strokeWidth
}

$transparentFill = [Ordered]@{Fill='transparent'}
$animationDuration = [Ordered]@{
Dur = "4.2s"
RepeatCount = "indefinite"
}

SVG.GoogleFont -FontName $fontName

svg.symbol -Id psChevron -Content @(
svg.polygon -Points (@(
"40,20"
"45,20"
"60,50"
"35,80"
"32.5,80"
"55,50"
) -join ' ')
) -ViewBox 100, 100



SVG.circle -CX 50% -Cy 50% -R 42% @transparentFill @strokeParameters -Content @(
)
SVG.ellipse -Cx 50% -Cy 50% -Rx 23% -Ry 42% @transparentFill @strokeParameters -Content @(
if ($variant -match 'animate') {
svg.animate -Values '23%;16%;23%' -AttributeName rx @animationDuration
}
)
SVG.ellipse -Cx 50% -Cy 50% -Rx 16% -Ry 42% @transparentFill @strokeParameters -Content @(
if ($variant -match 'animate') {
svg.animate -Values '16%;23%;16%' -AttributeName rx @animationDuration
}
) -Opacity .9
SVG.ellipse -Cx 50% -Cy 50% -Rx 15% -Ry 42% @transparentFill @strokeParameters -Content @(
if ($variant -match 'animate') {
svg.animate -Values '15%;16%;15%' -AttributeName rx @animationDuration
}
) -Opacity .8
SVG.ellipse -Cx 50% -Cy 50% -Rx 42% -Ry 23% @transparentFill @strokeParameters -Content @(
if ($variant -match 'animate') {
svg.animate -Values '23%;16%;23%' -AttributeName ry @animationDuration
}
)
SVG.ellipse -Cx 50% -Cy 50% -Rx 42% -Ry 16% @transparentFill @strokeParameters -Content @(
if ($variant -match 'animate') {
svg.animate -Values '16%;23%;16%' -AttributeName ry @animationDuration
}
) -Opacity .9
SVG.ellipse -Cx 50% -Cy 50% -Rx 42% -Ry 15% @transparentFill @strokeParameters -Content @(
if ($variant -match 'animate') {
svg.animate -Values '15%;16%;15%' -AttributeName ry @animationDuration
}
) -Opacity .8

svg.use -Href '#psChevron' -Y 39% @fillParameters -Height 23%
) -ViewBox 0, 0, 200, 200 -TransformOrigin 50%, 50%
)

$shapeSplat = [Ordered]@{
CenterX=(1080/2)
CenterY=(1080/2)
Radius=((1080 * .15) /2)
}


svg -Content @(
SVG.GoogleFont -FontName $fontName
$symbolDefinition
SVG.Use -Href '#PowerShellWeb' -Height 60% -Width 60% -X 20% -Y 20%
# svg.use -Href '#psChevron' -Y 75.75% -X 14% @fillParameters -Height 7.5%
# svg.use -Href '#psChevron' -Y 75.75% -X 14% @fillParameters -Height 7.5% -TransformOrigin '50% 50%' -Transform 'scale(-1 1)'
SVG.Hexagon @shapeSplat -StrokeWidth .5em -Stroke '#4488FF' -Fill 'transparent' -Class 'foreground-stroke'
# SVG.ConvexPolygon -SideCount 3 @shapeSplat -Rotate 180 -StrokeWidth .25em -Stroke '#4488FF' -Fill 'transparent' -Class 'foreground-stroke' -Opacity .3
SVG.text -X 50% -Y 80% -TextAnchor middle -FontFamily $fontName -Style "font-family:`"$fontName`",sans-serif" -FontSize 4.2em -Fill '#4488FF' -Content 'GQL' -Class 'foreground-fill' -DominantBaseline middle
) -OutputPath $outputPath -ViewBox 0, 0, 1080, 1080
}
Loading