-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
1,482 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"version": 1, | ||
"isRoot": true, | ||
"tools": { | ||
"fable": { | ||
"version": "4.23.0", | ||
"commands": [ | ||
"fable" | ||
], | ||
"rollForward": false | ||
}, | ||
"fsdocs-tool": { | ||
"version": "20.0.1", | ||
"commands": [ | ||
"fsdocs" | ||
], | ||
"rollForward": false | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
version: 2 | ||
updates: | ||
# Update to newer version of GitHub Actions | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
|
||
# Update to newer NuGet dependencies | ||
- package-ecosystem: "nuget" | ||
directory: "/Src/" | ||
schedule: | ||
interval: "daily" | ||
ignore: | ||
- dependency-name: "FSharp.Core" | ||
|
||
- package-ecosystem: "nuget" | ||
directory: "/Tests/" | ||
schedule: | ||
interval: "daily" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Build | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: '8.0.x' | ||
|
||
- name: Restore dependencies | ||
run: dotnet restore | ||
|
||
- name: Build solution | ||
run: dotnet build --configuration Release --no-restore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
name: Docs | ||
|
||
# copied and adapted from https://fsprojects.github.io/FSharp.Formatting/zero-to-hero.html#Ship-it | ||
|
||
# Trigger this Action when new code is pushed to the main branch | ||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
# We need some permissions to publish to Github Pages | ||
permissions: | ||
contents: write | ||
pages: write | ||
id-token: write | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Git Checkout source code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: '8.0.x' # Adjust the version as needed | ||
|
||
|
||
- name: Restore dotnet tools | ||
run: dotnet tool restore | ||
|
||
- name: Build code to make xml file | ||
run: dotnet build -c Release # see required xml tags: https://fsprojects.github.io/FSharp.Formatting/zero-to-hero.html#Generating-API-documentation | ||
|
||
- name: copy README.md to Docs/index.md | ||
run: cp README.md Docs/index.md | ||
|
||
- name: Generate the documentation html | ||
run: dotnet fsdocs build --properties Configuration=Release --input Docs --output DocsGenerated | ||
|
||
- name: Upload documentation html files | ||
uses: actions/upload-pages-artifact@v3 | ||
with: | ||
path: ./DocsGenerated | ||
|
||
# GitHub Actions recommends deploying in a separate job. | ||
deploy: | ||
runs-on: ubuntu-latest | ||
needs: build | ||
steps: | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: Test | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: '8.0.x' # Adjust the version as needed | ||
|
||
- name: Restore dependencies | ||
run: dotnet restore | ||
|
||
- name: Run tests .NET | ||
run: dotnet run | ||
working-directory: ./Tests | ||
|
||
# run JS tests: | ||
|
||
- name: Restore .NET tools (Fable) | ||
run: dotnet tool restore | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: '22.x' # Adjust the version as needed | ||
|
||
- name: Clean Install npm dependencies | ||
run: npm ci | ||
working-directory: ./Tests | ||
|
||
- name: Run tests JS | ||
run: npm test | ||
working-directory: ./Tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,14 @@ | ||
.vs/ | ||
bin/ | ||
obj/ | ||
fable_modules/ | ||
node_modules/ | ||
package-lock.json | ||
*.fs.js | ||
*.fs.ts | ||
js/ | ||
ts/ | ||
# *.js | ||
# *.ts | ||
|
||
# FSharp.Formatting | ||
.fsdocs/ | ||
output/ | ||
tmp/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## [Unreleased] | ||
|
||
## [0.2.0] - 2024-10-30 | ||
### Changed | ||
- Removed IDictionary and IEnumerable interface becaus not compatible with Fable JS & TS yet | ||
- Unified API | ||
### Fixed | ||
- fixed ToString() members | ||
### Added | ||
- docs | ||
|
||
## [0.1.0] - 2024-09-29 | ||
### Added | ||
- Implementation ported from [FsEx](https://github.com/goswinr/FsEx) | ||
- Added more tests | ||
|
||
|
||
[Unreleased]: https://github.com/goswinr/Dicts/compare/0.2.0...HEAD | ||
[0.2.0]: https://github.com/goswinr/Dicts/compare/0.1.0...0.2.0 | ||
[0.1.0]: https://github.com/goswinr/Dicts/releases/tag/0.1.0 | ||
|
||
<!-- | ||
use to get tag dates: | ||
git log --tags --simplify-by-decoration --pretty="format:%ci %d" | ||
--> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 17 | ||
VisualStudioVersion = 17.0.31903.59 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "Dicts", "Src\Dicts.fsproj", "{904EDDA5-07C9-49BD-8192-C66646C3507E}" | ||
EndProject | ||
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "Tests", "Tests\Tests.fsproj", "{FDDE2DDA-FE03-4E2C-85D1-9A7115DF0375}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{904EDDA5-07C9-49BD-8192-C66646C3507E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{904EDDA5-07C9-49BD-8192-C66646C3507E}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{904EDDA5-07C9-49BD-8192-C66646C3507E}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{904EDDA5-07C9-49BD-8192-C66646C3507E}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{FDDE2DDA-FE03-4E2C-85D1-9A7115DF0375}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{FDDE2DDA-FE03-4E2C-85D1-9A7115DF0375}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{FDDE2DDA-FE03-4E2C-85D1-9A7115DF0375}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{FDDE2DDA-FE03-4E2C-85D1-9A7115DF0375}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
EndGlobal |
This file was deleted.
Oops, something went wrong.
2 changes: 2 additions & 0 deletions
2
Docs/img/The best Favicon Generator (completely free) - favicon.io.url
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[InternetShortcut] | ||
URL=https://favicon.io/ |
Binary file not shown.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.