Repository navigation
NuGet packages, dotnet new template and VS Code extension - #24
Merged
Merged
Conversation
NuGet: - DanaProcessing and DanaProcessing.AvaloniaHost are packable with shared metadata (packaging/Package.props), icon, README, XML docs and symbols. - SketchApp.Run() opens a sketch in its own window from any .NET program; with no arguments it runs the program's only Sketch class, so IDE files run unchanged. Attached sketches run from the tray, and data/ is found next to the project or the published app. - buildTransitive props add `using DanaProcessing;` like the IDE. - DanaProcessing.Templates: `dotnet new dana-sketch`, stamped with the package version. VS Code extension (vscode-extension/): - New sketch, open any of the IDE's 86 examples, run, live (dotnet watch), stop, export single-file apps, add NuGet packages, `// nuget:` lines synced on run, make an IDE sketch runnable, open in the IDE, reference lookup and hover links, snippets, walkthrough. - English and Spanish (package.nls + l10n bundle), with tests that every string is translated. Also: examples exporter tool with a sync test, CI job that packs and builds a template project and the .vsix, publish-packages.yml (tag packages-v*, pushes when NUGET_API_KEY / VSCE_PAT exist), and a "VS Code & NuGet" docs page.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
NuGet
SketchApp.Run(): opens a sketch in a window from any .NET program. With no arguments it finds the program's onlySketchclass, so IDE files run unchanged. Attached sketches run from the tray, anddata/works underdotnet runand in published apps.using DanaProcessing;is added automatically, like in the IDE.dotnet new dana-sketch -n MySketch.VS Code extension (
vscode-extension/)dotnet watch), Stop, and export as a single-file app for Windows/macOS/Linux.// nuget:lines become PackageReferences on run, and you can add a NuGet package..csfiles saved from the IDE, plus open in the IDE.Publishing
.github/workflows/publish-packages.yml: push a tagpackages-v1.0.0(or run it by hand). It tests, packs, builds a project from the template against the new packages, and packages the.vsix. It pushes to nuget.org with Trusted Publishing (no API key) if theNUGET_USERsecret exists and the nuget.org policy is set up, and to the Marketplace ifVSCE_PATexists (publisherbuddhacodes). It always uploads the files and creates a release with them.Checks
packages.Generated by Claude Code