Skip to content

Commit 9eb27e6

Browse files
committed
Add EasyBuild.PackageReleaseNotes.Tasks to make version handling more DRY ✨
1 parent 8c3c546 commit 9eb27e6

49 files changed

Lines changed: 157 additions & 44 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Directory.Packages.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,6 @@
1414
<PackageVersion Include="Fable.ReactDom.Types" Version="18.2.0" />
1515
<PackageVersion Include="FSharp.Core" Version="8.0.401" />
1616
<PackageVersion Include="SimpleExec" Version="12.0.0" />
17+
<PackageVersion Include="EasyBuild.PackageReleaseNotes.Tasks" Version="2.0.0" />
1718
</ItemGroup>
1819
</Project>

build/Build.fsproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>

build/Program.fs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1+
module Build
2+
13
open SimpleExec
24
open BlackFox.CommandLine
35

4-
56
module Tests =
67

78
open System
@@ -66,6 +67,7 @@ module Tests =
6667
run folder
6768
printfn "Finished running tests in %s" folderName
6869

70+
6971
[<EntryPoint>]
7072
let main args =
7173
let argv = args |> Array.map (fun x -> x.ToLower()) |> Array.toList
@@ -76,6 +78,9 @@ let main args =
7678
| [] -> Tests.runAll None
7779
| filter :: _ ->
7880
Tests.runAll (Some filter)
81+
| "develop" :: _ ->
82+
// Placeholder for develop command
83+
printfn "Develop command is not implemented yet."
7984
| _ ->
8085
printfn "Unknown command."
8186
0

src/Directory.Build.props

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,13 @@
77
<PackageLicenseExpression>MIT</PackageLicenseExpression>
88
<PackageReadmeFile>README.md</PackageReadmeFile>
99
<PackageIcon>fable_logo.png</PackageIcon>
10-
<PackageReleaseNotes>$([System.IO.File]::ReadAllText("$(MSBuildProjectDirectory)/CHANGELOG.md"))</PackageReleaseNotes>
10+
<!--<PackageReleaseNotes>$([System.IO.File]::ReadAllText("$(MSBuildProjectDirectory)/CHANGELOG.md"))</PackageReleaseNotes>-->
1111
</PropertyGroup>
1212
<ItemGroup>
13+
<PackageReference Include="EasyBuild.PackageReleaseNotes.Tasks">
14+
<PrivateAssets>all</PrivateAssets>
15+
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
16+
</PackageReference>
1317
<None Include="$(MSBuildThisFileDirectory)\..\fable_logo.png" Pack="true" PackagePath="\" />
1418
<None Include="$(MSBuildThisFileDirectory)\..\README.md" Pack="true" PackagePath="\"/>
1519
</ItemGroup>

src/Feliz.CompilerPlugins/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## 3.0.0-rc.1 - 2025-09-18
11+
1012
### Added
1113

1214
- `[<ReactLazyComponent>]` attribute

src/Feliz.CompilerPlugins/Feliz.CompilerPlugins.fsproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
<Description>Provides compile-time transformation for React components</Description>
44
<PackageTags>fsharp;fable;react;html</PackageTags>
55
<Authors>Zaid Ajaj; FreymaurerK</Authors>
6-
<Version>3.0.0-rc.1</Version>
76
<TargetFramework>netstandard2.0</TargetFramework>
87
</PropertyGroup>
98
<ItemGroup>

src/Feliz.CompilerPlugins/packages.lock.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
"version": 2,
33
"dependencies": {
44
".NETStandard,Version=v2.0": {
5+
"EasyBuild.PackageReleaseNotes.Tasks": {
6+
"type": "Direct",
7+
"requested": "[2.0.0, )",
8+
"resolved": "2.0.0",
9+
"contentHash": "jebz09lxa6pEJzft9Tr/PSNt5r7AVt5xmX3g4Ra+nLU1qtSrOh+hFgsywGn7fVME3LpbzhlX+2J8F7G9y3PxUQ=="
10+
},
511
"Fable.AST": {
612
"type": "Direct",
713
"requested": "[5.0.0-beta.2, )",

src/Feliz.Delay/Feliz.Delay.fsproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
<PropertyGroup>
44
<TargetFramework>netstandard2.0</TargetFramework>
5-
<PackageVersion>1.0.0</PackageVersion>
65
<Authors>Cody Johnson, Zaid Ajaj</Authors>
76
<Description>Adds easy to use delayed rendering</Description>
87
<PackageTags>fsharp;fable;react;html;feliz</PackageTags>

src/Feliz.Delay/packages.lock.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
"version": 2,
33
"dependencies": {
44
".NETStandard,Version=v2.0": {
5+
"EasyBuild.PackageReleaseNotes.Tasks": {
6+
"type": "Direct",
7+
"requested": "[2.0.0, )",
8+
"resolved": "2.0.0",
9+
"contentHash": "jebz09lxa6pEJzft9Tr/PSNt5r7AVt5xmX3g4Ra+nLU1qtSrOh+hFgsywGn7fVME3LpbzhlX+2J8F7G9y3PxUQ=="
10+
},
511
"FSharp.Core": {
612
"type": "Direct",
713
"requested": "[8.0.401, )",
@@ -66,7 +72,7 @@
6672
"Fable.Core": "[4.5.0, )",
6773
"Fable.React.Types": "[18.4.0, )",
6874
"Fable.ReactDom.Types": "[18.2.0, )",
69-
"Feliz.CompilerPlugins": "[2.2.0, )"
75+
"Feliz.CompilerPlugins": "[3.0.0-rc.1, )"
7076
}
7177
},
7278
"feliz.compilerplugins": {

src/Feliz.Kawaii/Feliz.Kawaii.fsproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
<PackageIconUrl></PackageIconUrl>
66
<PackageTags>fsharp;fable;react;html</PackageTags>
77
<Authors>Zaid Ajaj</Authors>
8-
<Version>2.0.0</Version>
98
<TargetFramework>netstandard2.0</TargetFramework>
109
</PropertyGroup>
1110

0 commit comments

Comments
 (0)