diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json
index bb1a746..a8f1b80 100644
--- a/.config/dotnet-tools.json
+++ b/.config/dotnet-tools.json
@@ -2,11 +2,11 @@
"version": 1,
"isRoot": true,
"tools": {
- "fantomas-tool": {
- "version": "4.6.0-beta-001",
+ "fantomas": {
+ "version": "6.3.12",
"commands": [
"fantomas"
]
}
}
-}
\ No newline at end of file
+}
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..eab37e5
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,23 @@
+root = true
+
+[*]
+end_of_line = lf
+insert_final_newline = true
+indent_style = space
+indent_size = 4
+trim_trailing_whitespace = true
+
+[*.{fs,fsx,fsi}]
+max_line_length = 100
+fsharp_alternative_long_member_definitions = true
+fsharp_multi_line_lambda_closing_newline = true
+fsharp_multiline_bracket_style = aligned
+fsharp_keep_max_number_of_blank_lines = 1
+fsharp_align_function_signature_to_indentation = true
+fsharp_max_if_then_else_short_width = 0
+
+fsharp_experimental_elmish = true
+fsharp_record_multiline_formatter = number_of_items
+fsharp_array_or_list_multiline_formatter = number_of_items
+fsharp_max_record_number_of_items = 0
+fsharp_max_array_or_list_number_of_items = 0
diff --git a/Directory.Build.props b/Directory.Build.props
index 86a0b40..6d0ad57 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -1,18 +1,30 @@
+
+
+ true
+ true
+
+
+
+ true
+ true
+
+
+
+
+
- MIT
- README.md
Chet Husk
+ MIT
version;changelog;keepachangelog
true
+
+ https://github.com/ionide/KeepAChangelog
ionide.png
+ README.md
-
-
-
-
-
-
+
+
-
\ No newline at end of file
+
diff --git a/Directory.Packages.props b/Directory.Packages.props
new file mode 100644
index 0000000..506f00f
--- /dev/null
+++ b/Directory.Packages.props
@@ -0,0 +1,22 @@
+
+
+ true
+ true
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Ionide.KeepAChangelog.sln b/Ionide.KeepAChangelog.sln
index 87871f9..a63cfdc 100644
--- a/Ionide.KeepAChangelog.sln
+++ b/Ionide.KeepAChangelog.sln
@@ -5,13 +5,9 @@ VisualStudioVersion = 16.0.30114.105
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{31D4F8AF-532B-4DDF-BBA3-FD9B4C8FDA73}"
EndProject
-Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "Ionide.KeepAChangelog.Tasks", "src\Ionide.KeepAChangelog.Tasks\Ionide.KeepAChangelog.Tasks.fsproj", "{6CCAEBD2-9EE9-4540-AECF-02F0221B9C87}"
+Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "Ionide.KeepAChangelog.Tasks", "src\Ionide.KeepAChangelog.Tasks.fsproj", "{6CCAEBD2-9EE9-4540-AECF-02F0221B9C87}"
EndProject
-Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "Ionide.KeepAChangelog", "src\Ionide.KeepAChangelog\Ionide.KeepAChangelog.fsproj", "{7C0C4ECD-27AF-47DD-904D-7952AC01A7A8}"
-EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{B66528FD-2329-4D67-9C9A-3EF46C301815}"
-EndProject
-Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "Ionide.KeepAChangelog.Test", "test\Ionide.KeepAChangelog.Test\Ionide.KeepAChangelog.Test.fsproj", "{349B0A8F-FBE0-4363-A950-ED4D6564560F}"
+Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "Ionide.KeepAChangelog.Tasks.Test", "tests\Ionide.KeepAChangelog.Tasks.Test.fsproj", "{6456526B-A0F6-4998-A57A-772A055DF8AD}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -26,18 +22,12 @@ Global
{6CCAEBD2-9EE9-4540-AECF-02F0221B9C87}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6CCAEBD2-9EE9-4540-AECF-02F0221B9C87}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6CCAEBD2-9EE9-4540-AECF-02F0221B9C87}.Release|Any CPU.Build.0 = Release|Any CPU
- {7C0C4ECD-27AF-47DD-904D-7952AC01A7A8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {7C0C4ECD-27AF-47DD-904D-7952AC01A7A8}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {7C0C4ECD-27AF-47DD-904D-7952AC01A7A8}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {7C0C4ECD-27AF-47DD-904D-7952AC01A7A8}.Release|Any CPU.Build.0 = Release|Any CPU
- {349B0A8F-FBE0-4363-A950-ED4D6564560F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {349B0A8F-FBE0-4363-A950-ED4D6564560F}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {349B0A8F-FBE0-4363-A950-ED4D6564560F}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {349B0A8F-FBE0-4363-A950-ED4D6564560F}.Release|Any CPU.Build.0 = Release|Any CPU
+ {6456526B-A0F6-4998-A57A-772A055DF8AD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {6456526B-A0F6-4998-A57A-772A055DF8AD}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {6456526B-A0F6-4998-A57A-772A055DF8AD}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {6456526B-A0F6-4998-A57A-772A055DF8AD}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{6CCAEBD2-9EE9-4540-AECF-02F0221B9C87} = {31D4F8AF-532B-4DDF-BBA3-FD9B4C8FDA73}
- {7C0C4ECD-27AF-47DD-904D-7952AC01A7A8} = {31D4F8AF-532B-4DDF-BBA3-FD9B4C8FDA73}
- {349B0A8F-FBE0-4363-A950-ED4D6564560F} = {B66528FD-2329-4D67-9C9A-3EF46C301815}
EndGlobalSection
EndGlobal
diff --git a/LICENSE b/LICENSE.txt
similarity index 100%
rename from LICENSE
rename to LICENSE.txt
diff --git a/global.json b/global.json
index d769cd3..c19a2e0 100644
--- a/global.json
+++ b/global.json
@@ -1,5 +1,6 @@
{
"sdk": {
- "version": "6.0.400"
+ "version": "8.0.100",
+ "rollForward": "latestMinor"
}
-}
\ No newline at end of file
+}
diff --git a/src/Ionide.KeepAChangelog.Tasks.fsproj b/src/Ionide.KeepAChangelog.Tasks.fsproj
new file mode 100644
index 0000000..0813ad0
--- /dev/null
+++ b/src/Ionide.KeepAChangelog.Tasks.fsproj
@@ -0,0 +1,63 @@
+
+
+
+ net472;net8.0
+ true
+ MSBuild Tasks and Targets that set your Assembly Version, Package Version, and Package Release Notes from your KeepAChangelog-compatible Changelogs.
+
+
+ $(TargetsForTfmSpecificBuildOutput);CopyProjectReferencesToPackage
+ NU5128;NU5100
+ tasks
+
+
+ true
+ true
+
+ en
+
+ true
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/Ionide.KeepAChangelog.Tasks/Ionide.KeepAChangelog.Tasks.fsproj b/src/Ionide.KeepAChangelog.Tasks/Ionide.KeepAChangelog.Tasks.fsproj
deleted file mode 100644
index 77607a0..0000000
--- a/src/Ionide.KeepAChangelog.Tasks/Ionide.KeepAChangelog.Tasks.fsproj
+++ /dev/null
@@ -1,78 +0,0 @@
-
-
-
- net472;net6.0
- embedded
- true
- MSBuild Tasks and Targets that set your Assembly Version, Package Version, and Package Release Notes from your KeepAChangelog-compatible Changelogs.
-
-
- $(TargetsForTfmSpecificBuildOutput);CopyProjectReferencesToPackage
- NU5128;NU5100
- tasks
-
-
- true
- true
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/Ionide.KeepAChangelog.Tasks/Library.fs b/src/Ionide.KeepAChangelog.Tasks/Library.fs
deleted file mode 100644
index 63f9382..0000000
--- a/src/Ionide.KeepAChangelog.Tasks/Library.fs
+++ /dev/null
@@ -1,97 +0,0 @@
-namespace KeepAChangelog.Tasks
-
-open Microsoft.Build.Utilities
-open Microsoft.Build.Framework
-open System.IO
-open Ionide.KeepAChangelog
-open Ionide.KeepAChangelog.Domain
-open System.Linq
-
-module Util =
- let mapReleaseInfo (version: SemVersion.SemanticVersion) (date: System.DateTime) (item: ITaskItem) : ITaskItem =
- item.ItemSpec <- string version
- item.SetMetadata("Date", date.ToString("yyyy-MM-dd"))
- item
-
- let mapUnreleasedInfo (item: ITaskItem) : ITaskItem =
- item.ItemSpec <- "Unreleased"
- item
-
- let mapChangelogData (data: ChangelogData) (item: ITaskItem) : ITaskItem =
- item.SetMetadata("Added", data.Added)
- item.SetMetadata("Changed", data.Changed)
- item.SetMetadata("Deprecated", data.Deprecated)
- item.SetMetadata("Removed", data.Removed)
- item.SetMetadata("Fixed", data.Fixed)
- item.SetMetadata("Security", data.Security)
- for (KeyValue(heading, lines)) in data.Custom do
- item.SetMetadata(heading, lines)
- item
-
-type ParseChangelogs() =
- inherit Task()
-
- []
- member val ChangelogFile: string = null with get, set
-
- [