Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
152 commits
Select commit Hold shift + click to select a range
4a995c3
Merge pull request #31 from TechnologyEnhancedLearning/master
Phil-NHS Apr 9, 2025
02f47b5
feat(version): number right dev
Phil-NHS Apr 9, 2025
c07112d
chore(release): 8.4.0-feat-version-work-on-branch-maybe.1 [skip ci]
semantic-release-bot Apr 9, 2025
ced7b58
feat(lowercase): version branch
Phil-NHS Apr 9, 2025
89000fa
Merge branch 'feat-version-work-on-branch-maybe' of https://github.co…
Phil-NHS Apr 9, 2025
cfc0cd4
chore(release): 8.4.0-feat-version-work-on-branch-maybe.2 [skip ci]
semantic-release-bot Apr 9, 2025
5480dce
feat(debugging for version): package component text
Phil-NHS Apr 10, 2025
707096c
chore(release): 8.4.0-feat-version-work-on-branch-maybe.3 [skip ci]
semantic-release-bot Apr 10, 2025
b508166
feat(just check runs): runs
Phil-NHS Apr 10, 2025
e29e455
chore(release): 8.4.0-feat-version-work-on-branch-maybe.4 [skip ci]
semantic-release-bot Apr 10, 2025
fda6030
fix(nuget config i dont think); is right now
Phil-NHS Apr 10, 2025
81c138a
fix(oops): ah
Phil-NHS Apr 10, 2025
5e8cbcd
chore(release): 8.4.0-feat-version-work-on-branch-maybe.5 [skip ci]
semantic-release-bot Apr 10, 2025
5275c48
fix(simplify): plz
Phil-NHS Apr 10, 2025
74ce326
Merge branch 'feat-version-work-on-branch-maybe' of https://github.co…
Phil-NHS Apr 10, 2025
8524055
chore(release): 8.4.0-feat-version-work-on-branch-maybe.6 [skip ci]
semantic-release-bot Apr 10, 2025
40c2120
fix(debug): debug
Phil-NHS Apr 10, 2025
6cceb31
chore(release): 8.4.0-feat-version-work-on-branch-maybe.7 [skip ci]
semantic-release-bot Apr 10, 2025
1edc57b
fix(are locks found): lock check
Phil-NHS Apr 10, 2025
ff3de6b
Merge branch 'feat-version-work-on-branch-maybe' of https://github.co…
Phil-NHS Apr 10, 2025
c7d0ead
chore(release): 8.4.0-feat-version-work-on-branch-maybe.8 [skip ci]
semantic-release-bot Apr 10, 2025
f0b1a62
fix(are we really): getting 1.0.0
Phil-NHS Apr 10, 2025
55e6441
Merge branch 'feat-version-work-on-branch-maybe' of https://github.co…
Phil-NHS Apr 10, 2025
9d5f1c2
chore(release): 8.4.0-feat-version-work-on-branch-maybe.9 [skip ci]
semantic-release-bot Apr 10, 2025
7f8f828
fix(sad): solution build shouldnt be needed
Phil-NHS Apr 10, 2025
0fabca7
chore(release): 8.4.0-feat-version-work-on-branch-maybe.10 [skip ci]
semantic-release-bot Apr 10, 2025
ddb131b
fix(typo): go
Phil-NHS Apr 10, 2025
46b785f
chore(release): 8.4.0-feat-version-work-on-branch-maybe.11 [skip ci]
semantic-release-bot Apr 10, 2025
da42efc
fix(no build): let go
Phil-NHS Apr 10, 2025
368478d
chore(release): 8.4.0-feat-version-work-on-branch-maybe.12 [skip ci]
semantic-release-bot Apr 10, 2025
0e95367
fix(run): while edit
Phil-NHS Apr 10, 2025
2b5c1f5
fix(while): wait
Phil-NHS Apr 10, 2025
3fc5f85
chore(release): 8.4.0-feat-version-work-on-branch-maybe.13 [skip ci]
semantic-release-bot Apr 10, 2025
42cca33
fix(cake): bake
Phil-NHS Apr 10, 2025
8b95e51
chore(release): 8.4.0-feat-version-work-on-branch-maybe.14 [skip ci]
semantic-release-bot Apr 10, 2025
9d7f58a
fix(nuke): clean build
Phil-NHS Apr 10, 2025
8058cca
Merge branch 'feat-version-work-on-branch-maybe' of https://github.co…
Phil-NHS Apr 10, 2025
ec6eb1e
chore(release): 8.4.0-feat-version-work-on-branch-maybe.15 [skip ci]
semantic-release-bot Apr 10, 2025
9ae22ee
fix(dfsf): sdf
Phil-NHS Apr 10, 2025
b084678
chore(release): 8.4.0-feat-version-work-on-branch-maybe.16 [skip ci]
semantic-release-bot Apr 10, 2025
fc12a07
fix(fsdsf): sff
Phil-NHS Apr 10, 2025
810954b
chore(release): 8.4.0-feat-version-work-on-branch-maybe.17 [skip ci]
semantic-release-bot Apr 10, 2025
dea9cf3
fix(sfd): just build shared
Phil-NHS Apr 10, 2025
12d5706
Merge branch 'feat-version-work-on-branch-maybe' of https://github.co…
Phil-NHS Apr 10, 2025
cbe071b
chore(release): 8.4.0-feat-version-work-on-branch-maybe.18 [skip ci]
semantic-release-bot Apr 10, 2025
95b6912
fix(hardcode shared version): gogo
Phil-NHS Apr 10, 2025
d5d089d
chore(release): 8.4.0-feat-version-work-on-branch-maybe.19 [skip ci]
semantic-release-bot Apr 10, 2025
2dbe8d6
fix(hardcode package): version centrally
Phil-NHS Apr 10, 2025
4913933
chore(release): 8.4.0-feat-version-work-on-branch-maybe.20 [skip ci]
semantic-release-bot Apr 10, 2025
63a9d28
fix(fff): no build background
Phil-NHS Apr 10, 2025
68577ea
chore(release): 8.4.0-feat-version-work-on-branch-maybe.21 [skip ci]
semantic-release-bot Apr 10, 2025
eb83b33
fix(remove): local
Phil-NHS Apr 10, 2025
b273a20
chore(release): 8.4.0-feat-version-work-on-branch-maybe.22 [skip ci]
semantic-release-bot Apr 10, 2025
cb5cf5c
fix(lAST one): goplease
Phil-NHS Apr 10, 2025
6365e87
fix(package lock): get
Phil-NHS Apr 10, 2025
a9144d2
chore(release): 8.4.0-feat-version-work-on-branch-maybe.23 [skip ci]
semantic-release-bot Apr 10, 2025
05c40a6
fix(typo): ooo
Phil-NHS Apr 10, 2025
a13cb00
Merge branch 'feat-version-work-on-branch-maybe' of https://github.co…
Phil-NHS Apr 10, 2025
dc5bf0d
chore(release): 8.4.0-feat-version-work-on-branch-maybe.24 [skip ci]
semantic-release-bot Apr 10, 2025
02855e2
fix(noo): gg
Phil-NHS Apr 10, 2025
d9ec5c1
chore(release): 8.4.0-feat-version-work-on-branch-maybe.25 [skip ci]
semantic-release-bot Apr 10, 2025
0d9bbec
fix(lots changed): no idea
Phil-NHS Apr 10, 2025
dc535ce
Merge branch 'feat-version-work-on-branch-maybe' of https://github.co…
Phil-NHS Apr 10, 2025
e1c4763
chore(release): 8.4.0-feat-version-work-on-branch-maybe.26 [skip ci]
semantic-release-bot Apr 10, 2025
573d007
fix(plz): dhhf
Phil-NHS Apr 10, 2025
ac65fa9
Merge branch 'feat-version-work-on-branch-maybe' of https://github.co…
Phil-NHS Apr 10, 2025
8a65739
chore(release): 8.4.0-feat-version-work-on-branch-maybe.27 [skip ci]
semantic-release-bot Apr 10, 2025
00fd7ed
fix(colon): gog
Phil-NHS Apr 10, 2025
a4ca245
Merge branch 'feat-version-work-on-branch-maybe' of https://github.co…
Phil-NHS Apr 10, 2025
9e19135
chore(release): 8.4.0-feat-version-work-on-branch-maybe.28 [skip ci]
semantic-release-bot Apr 10, 2025
a799d18
fix(cant debug sln packages): may means not there for sharedpages
Phil-NHS Apr 10, 2025
1711117
Merge branch 'feat-version-work-on-branch-maybe' of https://github.co…
Phil-NHS Apr 10, 2025
396e4c5
chore(release): 8.4.0-feat-version-work-on-branch-maybe.29 [skip ci]
semantic-release-bot Apr 10, 2025
a079caf
fix(goat): coat
Phil-NHS Apr 10, 2025
a9674fa
chore(release): 8.4.0-feat-version-work-on-branch-maybe.30 [skip ci]
semantic-release-bot Apr 10, 2025
c9771bd
fix(bccc): which does and doesnt update
Phil-NHS Apr 11, 2025
2963d4e
fix(cicd): PrepareForBuild
Phil-NHS Apr 11, 2025
d1d3af3
chore(release): 9.0.0-feat-version-work-on-branch-maybe.1 [skip ci]
semantic-release-bot Apr 11, 2025
d22dc73
fix(project ref): should be used in cicd
Phil-NHS Apr 11, 2025
05da71e
chore(release): 9.0.0-feat-version-work-on-branch-maybe.2 [skip ci]
semantic-release-bot Apr 11, 2025
904da3b
fix(cicd): cicd
Phil-NHS Apr 11, 2025
efc38b6
chore(release): 9.0.0-feat-version-work-on-branch-maybe.3 [skip ci]
semantic-release-bot Apr 11, 2025
a39c731
fix(just try it): gog
Phil-NHS Apr 11, 2025
c0be94a
Merge branch 'feat-version-work-on-branch-maybe' of https://github.co…
Phil-NHS Apr 11, 2025
435c7b3
fix(go): friday
Phil-NHS Apr 11, 2025
66971e2
fix(just rewrite): todo
Phil-NHS Apr 11, 2025
3e2e3db
chore(release): 9.0.0-feat-version-work-on-branch-maybe.4 [skip ci]
semantic-release-bot Apr 11, 2025
4e26e8f
fix(123): 123
Phil-NHS Apr 11, 2025
e16c54f
Merge branch 'feat-version-work-on-branch-maybe' of https://github.co…
Phil-NHS Apr 11, 2025
1c647ff
fix(unclear yml issue): 123
Phil-NHS Apr 11, 2025
7632bff
chore(release): 9.0.0-feat-version-work-on-branch-maybe.5 [skip ci]
semantic-release-bot Apr 11, 2025
85c5289
fix(dont get from local): fix
Phil-NHS Apr 11, 2025
977654f
chore(release): 9.0.0-feat-version-work-on-branch-maybe.6 [skip ci]
semantic-release-bot Apr 11, 2025
3b882ce
fix(shouldnt work): fjfg
Phil-NHS Apr 11, 2025
2bdc29c
chore(release): 9.0.0-feat-version-work-on-branch-maybe.7 [skip ci]
semantic-release-bot Apr 11, 2025
a7c5b06
fix(eee): www
Phil-NHS Apr 11, 2025
561b9c9
chore(release): 9.0.0-feat-version-work-on-branch-maybe.8 [skip ci]
semantic-release-bot Apr 11, 2025
aa20354
fix(so disable package generation on build): last run worked but brok…
Phil-NHS Apr 11, 2025
8dd8685
fix(commit): lint
Phil-NHS Apr 11, 2025
e11571a
chore(release): 9.0.0-feat-version-work-on-branch-maybe.9 [skip ci]
semantic-release-bot Apr 11, 2025
1982062
fix(fds): fff
Phil-NHS Apr 11, 2025
acae6e4
Merge branch 'feat-version-work-on-branch-maybe' of https://github.co…
Phil-NHS Apr 11, 2025
5db6981
chore(release): 9.0.0-feat-version-work-on-branch-maybe.10 [skip ci]
semantic-release-bot Apr 11, 2025
967fa5b
fix(more): debug
Phil-NHS Apr 11, 2025
bd188b3
Merge branch 'feat-version-work-on-branch-maybe' of https://github.co…
Phil-NHS Apr 11, 2025
1521a80
chore(release): 9.0.0-feat-version-work-on-branch-maybe.11 [skip ci]
semantic-release-bot Apr 11, 2025
621daa7
fix(go): were using release inprogram
Phil-NHS Apr 11, 2025
68270b3
Merge branch 'feat-version-work-on-branch-maybe' of https://github.co…
Phil-NHS Apr 11, 2025
2609e3a
chore(release): 9.0.0-feat-version-work-on-branch-maybe.12 [skip ci]
semantic-release-bot Apr 11, 2025
8f7433e
fix(dd): ddd
Phil-NHS Apr 11, 2025
bcedf35
Merge branch 'feat-version-work-on-branch-maybe' of https://github.co…
Phil-NHS Apr 11, 2025
20d12ae
chore(release): 9.0.0-feat-version-work-on-branch-maybe.13 [skip ci]
semantic-release-bot Apr 11, 2025
3cf657c
fix(11): 33dd
Phil-NHS Apr 11, 2025
e606576
chore(release): 9.0.0-feat-version-work-on-branch-maybe.14 [skip ci]
semantic-release-bot Apr 11, 2025
2ec4a56
fix(provide custom flag not release): tryit
Phil-NHS Apr 14, 2025
2d6de4d
Merge branch 'feat-version-work-on-branch-maybe' of https://github.co…
Phil-NHS Apr 14, 2025
c5d0507
chore(release): 9.0.0-feat-version-work-on-branch-maybe.15 [skip ci]
semantic-release-bot Apr 14, 2025
47a10bb
feat(test breaking): heres a change
Phil-NHS Apr 14, 2025
e41f5cd
Merge branch 'feat-version-work-on-branch-maybe' of https://github.co…
Phil-NHS Apr 14, 2025
8be2043
chore(release): 9.0.0-feat-version-work-on-branch-maybe.16 [skip ci]
semantic-release-bot Apr 14, 2025
0e643a9
fix(not getting val): try direct passing
Phil-NHS Apr 14, 2025
92a9d05
chore(release): 9.0.0-feat-version-work-on-branch-maybe.17 [skip ci]
semantic-release-bot Apr 14, 2025
c50a4d7
fix(fssdf): dfg
Phil-NHS Apr 14, 2025
b8c528b
chore(release): 9.0.0-feat-version-work-on-branch-maybe.18 [skip ci]
semantic-release-bot Apr 14, 2025
98a4ac5
feat(jsut use production): prod
Phil-NHS Apr 14, 2025
03f2146
Merge branch 'feat-version-work-on-branch-maybe' of https://github.co…
Phil-NHS Apr 14, 2025
790e1b4
chore(release): 9.0.0-feat-version-work-on-branch-maybe.19 [skip ci]
semantic-release-bot Apr 14, 2025
67b1458
feat(just run): gogo
Phil-NHS Apr 14, 2025
aef67ed
Merge branch 'feat-version-work-on-branch-maybe' of https://github.co…
Phil-NHS Apr 14, 2025
a3a9efb
chore(release): 9.0.0-feat-version-work-on-branch-maybe.20 [skip ci]
semantic-release-bot Apr 14, 2025
d639fba
fix(double check): still works
Phil-NHS Apr 14, 2025
d42e137
Merge branch 'feat-version-work-on-branch-maybe' of https://github.co…
Phil-NHS Apr 14, 2025
aa6f33b
chore(release): 9.0.0-feat-version-work-on-branch-maybe.21 [skip ci]
semantic-release-bot Apr 14, 2025
e135a6c
fix(are solution level vars): used
Phil-NHS Apr 14, 2025
cfce97e
Merge branch 'feat-version-work-on-branch-maybe' of https://github.co…
Phil-NHS Apr 14, 2025
24de67a
chore(release): 9.0.0-feat-version-work-on-branch-maybe.22 [skip ci]
semantic-release-bot Apr 14, 2025
7a3ff0c
fix(fggg): ggg
Phil-NHS Apr 14, 2025
50d3f0a
chore(release): 9.0.0-feat-version-work-on-branch-maybe.23 [skip ci]
semantic-release-bot Apr 14, 2025
412cc00
feat(poke): gog
Phil-NHS Apr 14, 2025
eba93f2
Merge branch 'feat-version-work-on-branch-maybe' of https://github.co…
Phil-NHS Apr 14, 2025
8eb6d35
chore(release): 9.0.0-feat-version-work-on-branch-maybe.24 [skip ci]
semantic-release-bot Apr 14, 2025
9b0ddb9
fix(appsetting): sdg
Phil-NHS Apr 14, 2025
4cab753
Merge branch 'feat-version-work-on-branch-maybe' of https://github.co…
Phil-NHS Apr 14, 2025
ac49c8a
chore(release): 9.0.0-feat-version-work-on-branch-maybe.25 [skip ci]
semantic-release-bot Apr 14, 2025
b86dc89
fix(www): root
Phil-NHS Apr 14, 2025
4747d37
Merge branch 'feat-version-work-on-branch-maybe' of https://github.co…
Phil-NHS Apr 14, 2025
e9852b2
chore(release): 9.0.0-feat-version-work-on-branch-maybe.26 [skip ci]
semantic-release-bot Apr 14, 2025
701f41e
feat(seems): to work
Phil-NHS Apr 14, 2025
78a1774
chore(release): 9.0.0-feat-version-work-on-branch-maybe.27 [skip ci]
semantic-release-bot Apr 14, 2025
657c722
feat(all the way): to release
Phil-NHS Apr 15, 2025
66d001a
Merge branch 'feat-version-work-on-branch-maybe' of https://github.co…
Phil-NHS Apr 15, 2025
1b3b504
chore(release): 9.0.0-feat-version-work-on-branch-maybe.28 [skip ci]
semantic-release-bot Apr 15, 2025
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
Binary file not shown.
394 changes: 336 additions & 58 deletions .github/workflows/dev.yml

Large diffs are not rendered by default.

28 changes: 21 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,13 +168,27 @@ jobs:

- name: Create docs directory
run: mkdir -p docs

- name: Publish client using client release .csproj logic
run: |
dotnet publish ./TestHostPrerenderWASM/TestHostPrerenderWASM.Client/TestHostPrerenderWASM.Client.csproj --configuration Release \
/p:IsLocalDev=$IS_LOCAL_DEV \
/p:BCLVersion=$BCL_VERSION \
/p:UseBCLProjectReference=$USE_BCL_PROJECT_REFERENCE

# Hardcode the INDEPENDENT_CLIENT_GH_PAGES value
# Blazor client so appsetting in wwwroot and public
- name: Modify appsettings.json with hardcoded value
run: |
jq '.INDEPENDENT_CLIENT_GH_PAGES = "true"' TestHostPrerenderWASM/TestHostPrerenderWASM.Client/wwwroot/appsettings.json > tmp.json && mv tmp.json TestHostPrerenderWASM/TestHostPrerenderWASM.Client/wwwroot/appsettings.json



# Print the contents of appsettings.json inside 'TestHostPrerenderWASM.Client' folder
# - name: Display appsettings.json content
# run: cat TestHostPrerenderWASM/TestHostPrerenderWASM.Client/wwwroot/appsettings.json

- name: Publish client using client release .csproj logic
run: |
dotnet publish ./TestHostPrerenderWASM/TestHostPrerenderWASM.Client/TestHostPrerenderWASM.Client.csproj --configuration Release \
/p:BCLVersion=$BCL_VERSION \
/p:NupkgOutputPath=$NUPKG_OUTPUT_PATH \
/p:UseBCLProjectReference=$USE_BCL_PROJECT_REFERENCE \
/p:GhPageRelease=true \
/p:LocalPackagePath=$BCL_Source


# No this will be in the release branch that we do a prod wiki host
Expand Down
423 changes: 423 additions & 0 deletions CHANGELOG.md

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions CICDPackageLocation/gitinclude - Copy.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
just so its in git
1 change: 1 addition & 0 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
<PackageVersion Include="coverlet.collector" Version="6.0.0" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageVersion Include="TELBlazorComponentLibrary.GitPageBlazorWasm" Version="$(BCLVersion)" />
<!--<PackageVersion Include="TELBlazorComponentLibrary.GitPageBlazorWasm" Version="8.4.0-feat-version-work-on-branch-maybe.19-250410-1414" />-->
<PackageVersion Include="xunit" Version="2.5.3" />
<PackageVersion Include="xunit.runner.visualstudio" Version="2.5.3" />
</ItemGroup>
Expand Down
11 changes: 0 additions & 11 deletions GitPageBlazorWASM.sln
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
PackageSettings.props.local = PackageSettings.props.local
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "CICDPackageLocation", "CICDPackageLocation", "{02EA681E-C7D8-13C7-8484-4AC65E1B71E8}"
ProjectSection(SolutionItems) = preProject
gitinclude.txt = gitinclude.txt
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Previous working yml taken out of pipeline", "Previous working yml taken out of pipeline", "{60F62104-7665-411D-90F2-757E979F564D}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -65,10 +58,6 @@ Global
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{02EA681E-C7D8-13C7-8484-4AC65E1B71E8} = {8EC462FD-D22E-90A8-E5CE-7E832BA40C5D}
{60F62104-7665-411D-90F2-757E979F564D} = {8EC462FD-D22E-90A8-E5CE-7E832BA40C5D}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {4D34DAB5-2332-41DD-A133-3A5765237422}
EndGlobalSection
Expand Down
2 changes: 1 addition & 1 deletion Package.BlazorComponentLibrary/BCLVersion/VersionInfo.cs
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
namespace Package.BlazorComponentLibrary.BCLVersion { public static class VersionInfo { public static string Version = "3.0.8" ;
namespace Package.BlazorComponentLibrary.BCLVersion { public static class VersionInfo { public static string Version = "10.9.7" ;
} }
8 changes: 6 additions & 2 deletions Package.BlazorComponentLibrary/Components/SimpleCounter.razor
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
<h3>Simple Counter</h3>
Feat123
change
<b>version from build process</b>
<span class="version-display">@Package.BlazorComponentLibrary.BCLVersion.VersionInfo.Version</span>
<b>manually types</b>
<span>5.6.9</span>
<button class="btn btn-primary" @onclick="IncrementCount">
A Build aaa(@currentCount)
surely not A Build aaa(@currentCount)
</button>

@code {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
<EnableDefaultEmbeddedResources>true</EnableDefaultEmbeddedResources>
<AddRazorSupportForMvc>true</AddRazorSupportForMvc>


<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<GeneratePackageOnBuild Condition="'$(DisablePackageGeneration)' != 'true'">true</GeneratePackageOnBuild>
<!--<GeneratePackageOnBuild>true</GeneratePackageOnBuild>-->
<PackageId>TELBlazorComponentLibrary.GitPageBlazorWasm</PackageId>
<Version>$(BCLVersion)</Version>
<Authors>TEL</Authors>
Expand All @@ -28,11 +28,6 @@
<PackageOutputPath>$(NupkgOutputPath)</PackageOutputPath>

</PropertyGroup>
<!--<Target Name="DebugProperties" BeforeTargets="Build">
<Message Importance="high" Text="NupkgOutputPath: $(NupkgOutputPath)" />
<Message Importance="high" Text="PackageOutputPath: $(PackageOutputPath)" />
<Message Importance="high" Text="LocalPackagePath: $(LocalPackagePath)" />
</Target>-->

<ItemGroup>
<SupportedPlatform Include="browser" />
Expand All @@ -44,9 +39,15 @@
</ItemGroup>
<ItemGroup>
<Content Remove="packages.lock.json" />
<Content Remove="wwwroot\background.png" />
</ItemGroup>

<Target Name="WriteBclVersionToFile" AfterTargets="Build">
<!--qqqq building in the solution wasnt an issue before-->
<ItemGroup>
<Compile Remove="..\CICDPackageLocation\**\*.cs" />
<Content Remove="..\CICDPackageLocation\**\*" />
<None Remove="..\CICDPackageLocation\**\*" />
</ItemGroup>
<Target Name="WriteBclVersionToFile" BeforeTargets="PrepareForBuild">
<WriteLinesToFile File="wwwroot/bclversion.txt" Lines="$(BCLVersion)" Overwrite="true" Encoding="UTF-8" />
<WriteLinesToFile File="BCLVersion/VersionInfo.cs" Lines="namespace Package.BlazorComponentLibrary.BCLVersion { public static class VersionInfo { public static string Version = &quot;$(BCLVersion)&quot; %3B; } }" Overwrite="true" Encoding="UTF-8" />
</Target>
Expand Down
2 changes: 1 addition & 1 deletion Package.BlazorComponentLibrary/wwwroot/bclversion.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0.8
10.9.7
29 changes: 11 additions & 18 deletions PackageSettings.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,21 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<!-- Define the output path where the package will be stored -->
<!--<NupkgOutputPath>$(Env:LocalPackagePath)</NupkgOutputPath>-->

<!-- being set in csproj directly in cicd at the moment -->
<NupkgOutputPath>$(LocalPackagePath)</NupkgOutputPath>
<IsLocalDevVS Condition="'$(IsLocalDev)' == '' ">false</IsLocalDevVS>
<IsLocalDevVS Condition="'$(IsLocalDev)' != '' ">$(IsLocalDev)</IsLocalDevVS>


<UseBCLProjectReference Condition="'$(UseBCLProjectReference)' == '' ">false</UseBCLProjectReference>
<UseBCLProjectReference Condition="'$(UseBCLProjectReference)' != '' ">$(UseBCLProjectReference)</UseBCLProjectReference>

<!--allows us to just use build versions while testing packages locally-->
<!--<UseHighestBCLVersionAvailable>false</UseHighestBCLVersionAvailable>-->
<!--<UseBCLProjectReference>$(UseBCLProjectReference)</UseBCLProjectReference>-->
<!--wont have in environmental variable but useful for pipeline-->

<GhPageRelease Condition="'$(GhPageRelease)' == '' ">false</GhPageRelease>
<GhPageRelease Condition="'$(GhPageRelease)' != '' ">$(GhPageRelease)</GhPageRelease>

<BCLVersion>$(BCLVersion)</BCLVersion>
<!--wont have in environmental variable but useful for pipeline-->

<DisablePackageGeneration >$(DisablePackageGeneration)</DisablePackageGeneration>

</PropertyGroup>
<!-- it is there <Target Name="EnsureLocalFeed">
<Exec Command="echo $(LocalPackagePath)" />
</Target>-->
<!--<Target Name="EnsureLocalFeed">
<Exec Command="echo $(IsLocalDev)" />
</Target>
<Target Name="DiagnoseIsLocalDev" BeforeTargets="Build">
<Message Text="!!!!!!!!!!!!!!!!! Property IsLocalDevVS: $(IsLocalDevVS)" Importance="high" />
</Target>-->

</Project>
6 changes: 3 additions & 3 deletions PackageSettings.props.local
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
<!--warning unless do nuget.config.template localpackagepath for nuget will still use sys environment values-->
<LocalPackagePath>C:\LocalDevelopmentPackageVersions</LocalPackagePath>
<NupkgOutputPath>C:\LocalDevelopmentPackageVersions</NupkgOutputPath>
<IsLocalDev>true</IsLocalDev>
<GhPageRelease>false</GhPageRelease>
<UseBCLProjectReference>false</UseBCLProjectReference>
<!--qqqqqq come back to why did i stop using local env variable after git tags may want to rename this bclversionlocal and automate it with build number, and put a shared file so other solutions can use it like lh with now version updates in development-->
<BCLVersion>3.0.8</BCLVersion>
<BCLVersion>10.9.7</BCLVersion>
<DisablePackageGeneration>false</DisablePackageGeneration>
</PropertyGroup>
</Project>
27 changes: 27 additions & 0 deletions ReadMe.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@




## qqqq unlike in nuget feed git package feed doesnt display this file so to see it you need to look in the actual nuget package

# Local Development
- inc the version in local props
- save
- build package project (debug)
- build solution (debug)
- run
- for wasm use release and client
- for hosted wasm use host and debug

## Trouble shooting
- clean restore solution and try again
- look in the sharedpages, look in depenency in solution explorer, open the package version drop down
- is the version what you expect?
- is there an error
- if it still doesnt work increment the version and use the process again

## Bonus
- there is probably a way to increment version with timestamps or build number to automate it more

## extras
- you can use a local feed two visual studio and see new components in LH for example
- LH could be setup to automatically update too, system environment variables may help or a txt file to read in csproj to sinc versions

# About


Expand Down
6 changes: 4 additions & 2 deletions SharedPages/Layout/MainLayout.razor
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
@inherits LayoutComponentBase



<span class="version-display">@Package.BlazorComponentLibrary.BCLVersion.VersionInfo.Version</span>
<div>
<b>manually added:</b>
<p></p>
</div>
<h1>Main Page Layout</h1>
@Body
<h1>Main Page Layout</h1>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@layout ComponentPageLayout
@page "/CounterComponentPage/"

<h2>A component here !! !</h2>
<h2>A a component here !! !</h2>
<SimpleCounter/>
@code {

Expand Down
22 changes: 5 additions & 17 deletions SharedPages/SharedPages.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
<!--<Target Name="PrintIsLocalDev" BeforeTargets="Build">
<Message Text="!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!! IsLocalDevVS: $(IsLocalDevVS)" Importance="high" />
</Target>-->

<!--<ItemGroup>
put back in
<None Update="wwwroot\**">
Expand All @@ -18,24 +16,14 @@
<ItemGroup>
<SupportedPlatform Include="browser" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components.Web" />
<!--not for production ideally we test against package version but for expedience can overide nuget package with project reference-->
<!-- Fixed version when UseHighestBCLVersionAvailable is false -->
<PackageReference Include="TELBlazorComponentLibrary.GitPageBlazorWasm"/>

<!-- Use the latest available version when UseHighestBCLVersionAvailable is true -->
<!--having floating just isnt possible-->
<!--<PackageVersion Include="TELBlazorComponentLibrary.GitPageBlazorWasm" Version="1.0.2" Condition=" '$(UseHighestBCLVersionAvailable)' == 'true' "/>-->
<PackageReference Include="TELBlazorComponentLibrary.GitPageBlazorWasm" />
</ItemGroup>
<ItemGroup>
<Content Remove="packages.lock.json" />
</ItemGroup>


<ItemGroup>
<ProjectReference Include="..\Package.BlazorComponentLibrary\Package.BlazorComponentLibrary.csproj" Condition="'$(UseBCLProjectReference)' == 'true'" />
<!--<ProjectReference Include="..\Package.BlazorComponentLibrary\Package.BlazorComponentLibrary.csproj" Condition="false" />-->
</ItemGroup>
<!--qqqq try putting back in with a condition<ItemGroup>
<ProjectReference Include="..\Package.BlazorComponentLibrary\Package.BlazorComponentLibrary.csproj" />
</ItemGroup>-->
</Project>
6 changes: 3 additions & 3 deletions SharedPages/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
},
"TELBlazorComponentLibrary.GitPageBlazorWasm": {
"type": "Direct",
"requested": "[3.0.8, )",
"resolved": "3.0.8",
"contentHash": "9tH0jJ3LRvPkB+4zjhZm54+pFpuXYyvOxnbRZveUB24/PQAcyYmNjXzlqU+B0G7hax1Y2ltsgk58E/aXNllVWQ==",
"requested": "[10.9.7, )",
"resolved": "10.9.7",
"contentHash": "+dWmXBnL84HBWfTGiYZOxK8UGITQHbp4IO6bso+naGa9IxYNjcsOCjY/uczQmBfUPsuCZS/BKLq8Aznm5+Q4iA==",
"dependencies": {
"Microsoft.AspNetCore.Components.Web": "8.0.14",
"Microsoft.Extensions.Http": "8.0.0"
Expand Down
24 changes: 20 additions & 4 deletions TestHostPrerenderWASM/TestHostPrerenderWASM.Client/Program.cs
Original file line number Diff line number Diff line change
@@ -1,20 +1,36 @@
using Microsoft.AspNetCore.Components.Web;
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.JSInterop;
using TestHostPrerenderWASM.Client;

var builder = WebAssemblyHostBuilder.CreateDefault(args);

//Be careful we have two entry points to enable the client to be both a standalone app and the client for the server app.
// removing the below, app.razor, and index.html would put the project back to being just for the testing host (WebAssembly.DevServer could be removed from nuget too)
if (builder.HostEnvironment.IsProduction())
// Use the value in your app logic
var independentClientGhPagesString = builder.Configuration["INDEPENDENT_CLIENT_GH_PAGES"];
bool independentClientGhPages = false; // Default value if not found or invalid

if (!string.IsNullOrEmpty(independentClientGhPagesString))
{
if (independentClientGhPagesString.ToLowerInvariant() == "true")
{
independentClientGhPages = true;
}
else if (independentClientGhPagesString.ToLowerInvariant() == "false")
{
independentClientGhPages = false;
}

}
if (independentClientGhPages) {

builder.RootComponents.Add<App>("#app");
builder.RootComponents.Add<HeadOutlet>("head::after");
builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri(builder.HostEnvironment.BaseAddress) });

}



await builder.Build().RunAsync();


Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,41 @@
{
"$schema": "http://json.schemastore.org/launchsettings.json",
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:30155",
"sslPort": 44382
}
},
"profiles": {
"WSL": {
"commandName": "WSL2",
"distributionName": ""
"http": {
"commandName": "Project",
"dotnetRunMessages": true,
"launchBrowser": true,
"inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
"applicationUrl": "http://localhost:5290",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"https": {
"commandName": "Project",
"dotnetRunMessages": true,
"launchBrowser": true,
"inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
"applicationUrl": "https://localhost:7242;http://localhost:5290",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": true,
"inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
}
}
}
}
Loading