TinyEventStore 0.19.0
See the version list below for details.
dotnet add package TinyEventStore --version 0.19.0
NuGet\Install-Package TinyEventStore -Version 0.19.0
<PackageReference Include="TinyEventStore" Version="0.19.0" />
paket add TinyEventStore --version 0.19.0
#r "nuget: TinyEventStore, 0.19.0"
// Install TinyEventStore as a Cake Addin #addin nuget:?package=TinyEventStore&version=0.19.0 // Install TinyEventStore as a Cake Tool #tool nuget:?package=TinyEventStore&version=0.19.0
TinyEventStore
[Enter useful description for TinyEventStore]
Builds
GitHub Actions |
---|
NuGet
Package | Stable | Prerelease |
---|---|---|
TinyEventStore |
Developing
Make sure the following requirements are installed on your system:
- dotnet SDK 6.0 or higher
or
Environment Variables
CONFIGURATION
will set the configuration of the dotnet commands. If not set, it will default to Release.CONFIGURATION=Debug ./build.sh
will result in-c
additions to commands such as indotnet build -c Debug
ENABLE_COVERAGE
Will enable running code coverage metrics. AltCover can have severe performance degradation so code coverage evaluation are disabled by default to speed up the feedback loop.ENABLE_COVERAGE=1 ./build.sh
will enable code coverage evaluation
Building
> build.cmd <optional buildtarget> // on windows
$ ./build.sh <optional buildtarget>// on unix
The bin of your library should look similar to:
$ tree src/TinyEventStore/bin/
src/TinyEventStore/bin/
└── Debug
└── net6.0
├── TinyEventStore.deps.json
├── TinyEventStore.dll
├── TinyEventStore.pdb
└── TinyEventStore.xml
Build Targets
Clean
- Cleans artifact and temp directories.DotnetRestore
- Runs dotnet restore on the solution file.DotnetBuild
- Runs dotnet build on the solution file.FSharpAnalyzers
- Runs BinaryDefense.FSharp.Analyzers.DotnetTest
- Runs dotnet test on the solution file.GenerateCoverageReport
- Code coverage is run duringDotnetTest
and this generates a report via ReportGenerator.ShowCoverageReport
- Shows the report generated inGenerateCoverageReport
.WatchTests
- Runs dotnet watch with the test projects. Useful for rapid feedback loops.GenerateAssemblyInfo
- Generates AssemblyInfo for libraries.DotnetPack
- Runs dotnet pack. This includes running Source Link.SourceLinkTest
- Runs a Source Link test tool to verify Source Links were properly generated.PublishToNuGet
- Publishes the NuGet packages generated inDotnetPack
to NuGet via paket push. Runs only fromGithub Actions
.GitRelease
- Creates a commit message with the Release Notes and a git tag via the version in theRelease Notes
.GitHubRelease
- Publishes a GitHub Release with the Release Notes and any NuGet packages. Runs only fromGithub Actions
.FormatCode
- Runs Fantomas on the solution file.CheckFormatCode
- Runs Fantomas --check on the solution file.BuildDocs
- Generates Documentation fromdocsSrc
and the XML Documentation Comments from your libraries insrc
.WatchDocs
- Generates documentation and starts a webserver locally. It will rebuild and hot reload if it detects any changes made todocsSrc
files, or libraries insrc
.
Releasing
git init
git add .
git commit -m "Scaffold"
git branch -M main
git remote add origin https://github.com/jannikbuschke/TinyEventStore.git
git push -u origin main
- Create an Environment on your repository named
nuget
. - Create a NuGet API key
- Add your
NUGET_TOKEN
to the Environment Secrets of your newly created environment. - Then update the
CHANGELOG.md
with an "Unreleased" section containing release notes for this version, in KeepAChangelog format.
NOTE: Its highly recommend to add a link to the Pull Request next to the release note that it affects. The reason for this is when the RELEASE
target is run, it will add these new notes into the body of git commit. GitHub will notice the links and will update the Pull Request with what commit referenced it saying "added a commit that referenced this pull request". Since the build script automates the commit message, it will say "Bump Version to x.y.z". The benefit of this is when users goto a Pull Request, it will be clear when and which version those code changes released. Also when reading the CHANGELOG
, if someone is curious about how or why those changes were made, they can easily discover the work and discussions.
Here's an example of adding an "Unreleased" section to a CHANGELOG.md
with a 0.1.0
section already released.
## [Unreleased]
### Added
- Does cool stuff!
### Fixed
- Fixes that silly oversight
## [0.1.0] - 2017-03-17
First release
### Added
- This release already has lots of features
[Unreleased]: https://github.com/jannikbuschke/TinyEventStore/compare/v0.1.0...HEAD
[0.1.0]: https://github.com/jannikbuschke/TinyEventStore/releases/tag/v0.1.0
- You can then use the
GitRelease
target, specifying the version number either in theRELEASE_VERSION
environment variable, or else as a parameter after the target name. This will:- update
CHANGELOG.md
, moving changes from theUnreleased
section into a new0.2.0
section- if there were any prerelease versions of 0.2.0 in the changelog, it will also collect their changes into the final 0.2.0 entry
- make a commit bumping the version:
Bump version to 0.2.0
and adds the new changelog section to the commit's body - push a git tag
- update
macOS/Linux Parameter:
./build.sh Release 0.2.0
macOS/Linux Environment Variable:
RELEASE_VERSION=0.2.0 ./build.sh Release
- The Github Action will handle the new tag:
- publish the package to NuGet
- create a GitHub release for that git tag, upload release notes and NuGet packages to GitHub
Releasing Documentation
- Set Source for "Build and deployment" on GitHub Pages to
GitHub Actions
. - Documentation is auto-deployed via Github Action to Your GitHub Page
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net8.0
- FSharp.Core (>= 8.0.100)
- FSharp.SystemTextJson (>= 1.3.13)
- FsToolkit.ErrorHandling (>= 4.15.2)
- FsToolkit.ErrorHandling.TaskResult (>= 4.15.2)
- Microsoft.Extensions.DependencyInjection (>= 8.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on TinyEventStore:
Package | Downloads |
---|---|
TinyEventStore.Ef
TinyEventStore does the thing! |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0.21-alpha | 0 | 11/24/2024 |
1.0.0.20-alpha | 24 | 11/23/2024 |
1.0.0.19-alpha | 24 | 11/23/2024 |
1.0.0.18-alpha | 35 | 11/21/2024 |
1.0.0.16-alpha | 40 | 11/19/2024 |
1.0.0.15-alpha | 67 | 11/16/2024 |
1.0.0.1-alpha | 67 | 11/13/2024 |
0.35.0 | 83 | 11/10/2024 |
0.34.0 | 106 | 10/4/2024 |
0.33.0 | 141 | 7/5/2024 |
0.32.0 | 120 | 6/28/2024 |
0.31.0 | 111 | 6/26/2024 |
0.29.0 | 112 | 6/12/2024 |
0.28.0 | 107 | 6/7/2024 |
0.27.0 | 103 | 6/7/2024 |
0.26.0 | 102 | 6/7/2024 |
0.25.0 | 104 | 6/7/2024 |
0.24.0 | 103 | 6/7/2024 |
0.23.0 | 108 | 6/7/2024 |
0.22.0 | 105 | 6/7/2024 |
0.21.0 | 120 | 5/31/2024 |
0.20.0 | 110 | 5/27/2024 |
0.19.0 | 119 | 5/15/2024 |
0.18.0 | 111 | 5/10/2024 |
0.17.0 | 128 | 4/14/2024 |
0.16.1 | 120 | 4/4/2024 |
0.16.0 | 116 | 4/4/2024 |
0.15.0 | 120 | 4/4/2024 |
0.14.0 | 107 | 4/3/2024 |
0.13.0 | 137 | 4/3/2024 |
0.12.0 | 115 | 4/3/2024 |
0.11.0 | 115 | 4/3/2024 |
0.9.0 | 135 | 4/2/2024 |
0.8.0 | 124 | 2/19/2024 |
0.7.0 | 100 | 2/16/2024 |
0.6.0 | 110 | 2/16/2024 |
0.4.0 | 115 | 2/15/2024 |
0.3.0 | 122 | 2/5/2024 |
0.2.0 | 129 | 1/16/2024 |
0.1.0 | 131 | 1/16/2024 |