diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d644214..b3b4f9a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -149,7 +149,7 @@ jobs: shell: bash run: | dotnet new console --framework net10.0 --output artifacts/package-smoke --no-restore - dotnet add artifacts/package-smoke/package-smoke.csproj package d2lang-cs --source "$PWD/artifacts/packages" + dotnet add artifacts/package-smoke/package-smoke.csproj package d2lang-cs --prerelease --source "$PWD/artifacts/packages" dotnet build artifacts/package-smoke/package-smoke.csproj --configuration Release --no-restore - name: Upload package diff --git a/global.json b/global.json new file mode 100644 index 0000000..d46d21e --- /dev/null +++ b/global.json @@ -0,0 +1,7 @@ +{ + "sdk": { + "version": "10.0.100", + "rollForward": "latestFeature", + "allowPrerelease": false + } +} diff --git a/src/Polyfills/IsExternalInit.cs b/src/Polyfills/IsExternalInit.cs new file mode 100644 index 0000000..e296364 --- /dev/null +++ b/src/Polyfills/IsExternalInit.cs @@ -0,0 +1,7 @@ +#if NETSTANDARD2_0 +namespace System.Runtime.CompilerServices; + +internal static class IsExternalInit +{ +} +#endif diff --git a/src/d2lang-cs.csproj b/src/d2lang-cs.csproj index 3b6a6cd..d7079db 100644 --- a/src/d2lang-cs.csproj +++ b/src/d2lang-cs.csproj @@ -1,30 +1,48 @@ - net10.0 + netstandard2.0;net8.0;net10.0 + 10.0 enable enable true true d2 + + + 1.1.0 + local + + true + true + portable + true + true + true + true + snupkg + true + 1.0.0 + d2lang-cs - 1.0.0 + D2 for .NET Stephan van Stekelenburg + Copyright (c) Stephan van Stekelenburg https://github.com/Stephanvs/d2lang-cs.git + git https://github.com/Stephanvs/d2lang-cs D2;D2 Lang;Declarative Diagramming;Diagram;Text Diagram;Text to Diagram MIT - D2 is A modern, open-source DSL designed specifically for software architecture diagrams. + A .NET library for generating diagrams in D2, the modern declarative diagramming language. d2_logo.png README.md - - - - - + + + +