Skip to content

Commit

Permalink
Merge pull request #44 from WiseTechGlobal/VFL/WI00764279/NCN-Diagram…
Browse files Browse the repository at this point in the history
…s-Move-WTG.Blazor.Diagrams-to-nuget.org

WI00764279 -- NCN Diagrams Move wtg.blazor.diagrams to nuget.org
  • Loading branch information
vinnie-fialok authored Jul 8, 2024
2 parents eddd879 + 1fe18c6 commit ef6a892
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ on:
jobs:
build:
name: Build - ${{ matrix.configuration }}

strategy:
matrix:
configuration: [ Debug, Release ]

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
Expand Down
20 changes: 13 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Create release

# On push to master branch. i.e. when we merge a PR.
on:
push:
Expand All @@ -9,20 +10,20 @@ env:
PACKAGE_PATH: /home/runner/work/Blazor.Diagrams/Blazor.Diagrams/src/Blazor.Diagrams/bin/Release/*.nupkg

jobs:
build:
release:
name: Build - Release

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3


- name: Checkout
uses: actions/checkout@v3

- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.0.x
3.1.x
dotnet-version: '6.0.x'

# Finds the latest release and increases the version
- name: Get next version
uses: reecetech/[email protected]
Expand Down Expand Up @@ -59,3 +60,8 @@ jobs:
with:
files: ${{ env.PACKAGE_PATH }}
tag_name: ${{ steps.version.outputs.version }}

- name: Push NuGet Package to NuGet Gallery
run: |
nuget setapikey ${{ secrets.NUGET_API_KEY }}
nuget push ${{ env.PACKAGE_PATH }} -Source https://api.nuget.org/v3/index.json
17 changes: 12 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

![](ZBD.png)

Z.Blazor.Diagrams is a fully customizable and extensible all-purpose diagrams library for Blazor (both Server Side and WASM). It was first inspired by the popular React library [react-diagrams](https://github.com/projectstorm/react-diagrams), but then evolved into something much bigger. ZBD can be used to make advanced diagrams with a custom design. Even the behavior of the library is "hackable" and can be changed to suit your needs.
Z.Blazor.Diagrams is a fully customizable and extensible all-purpose diagrams library for Blazor (both Server Side and WASM). It was first inspired by the popular React library [react-diagrams](https://github.com/projectstorm/react-diagrams), but then evolved into something much bigger. ZBD can be used to make advanced diagrams with a custom design. Even the behavior of the library is "hackable" and can be changed to suit your needs.

WTG.Z.Blazor.Diagarms is a fork of Z.Blazor.Diagrams with new features and bug fixes first targeting WiseTech Global products.

| NuGet Package | Version | Download |
| ---------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
| Z.Blazor.Diagrams.Core | [![NuGet](https://img.shields.io/nuget/v/Z.Blazor.Diagrams.Core.svg)](https://www.nuget.org/packages/Z.Blazor.Diagrams.Core) | [![Nuget](https://img.shields.io/nuget/dt/Z.Blazor.Diagrams.Core.svg)](https://www.nuget.org/packages/Z.Blazor.Diagrams.Core) |
| Z.Blazor.Diagrams | [![NuGet](https://img.shields.io/nuget/v/Z.Blazor.Diagrams.svg)](https://www.nuget.org/packages/Z.Blazor.Diagrams) | [![Nuget](https://img.shields.io/nuget/dt/Z.Blazor.Diagrams.svg)](https://www.nuget.org/packages/Z.Blazor.Diagrams) |
| Z.Blazor.Diagrams.Algorithms | [![NuGet](https://img.shields.io/nuget/v/Z.Blazor.Diagrams.Algorithms.svg)](https://www.nuget.org/packages/Z.Blazor.Diagrams.Algorithms) | [![Nuget](https://img.shields.io/nuget/dt/Z.Blazor.Diagrams.Algorithms.svg)](https://www.nuget.org/packages/Z.Blazor.Diagrams.Algorithms) |
| WTG.Z.Blazor.Diagrams | [![NuGet](https://img.shields.io/nuget/v/WTG.Z.Blazor.Diagrams.svg)](https://www.nuget.org/packages/WTG.Z.Blazor.Diagrams) | [![Nuget](https://img.shields.io/nuget/dt/WTG.Z.Blazor.Diagrams.svg)](https://www.nuget.org/packages/WTG.Z.Blazor.Diagrams) |

| Badges | |
| ---------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
Expand Down Expand Up @@ -58,9 +58,16 @@ Repository: https://github.com/Blazor-Diagrams/Blazor.DatabaseDesigner

### Contributing

All kinds of contributions are welcome!
All kinds of contributions are welcome!
If you're interested in helping, please create an issue or comment on an existing one to explain what you will be doing. This is because multiple people can be working on the same problem.

## Feedback

If you find a bug or you want to see a functionality in this library, feel free to open an issue.

## Deployment

This project is hosted on NuGet. Merges to master will trigger a release action that will
- Build WTG.Z.Blazor.Diagrams
- Host the package on Github as a release
- Push it to the WTG.Z.Blazor.Diagrams NuGet Gallery

0 comments on commit ef6a892

Please sign in to comment.