Skip to content

Commit 84a9724

Browse files
authored
Merge pull request #110 from banchan86/create-package-nuget
Update "Create a Package" article with NuGet publishing workflow
2 parents 94b6146 + 9d78898 commit 84a9724

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

articles/create-package.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ The Bonsai language can be extended with custom packages, which are installed an
105105

106106
![Inspecting the package metadata](~/images/extensions-packagemetadata.png)
107107

108-
2. Fill in or edit all the relevant metadata fields. These are critical to correctly communicate the provenance of your project to other users. Please pay special attention to `Title`, `Description`, `Authors`, `Copyright`, `PackageProjectUrl`, `PackageLicenseExpression`, `PackageIcon` and `PackageTags` to make sure that they correctly describe your project. Make sure that `Version` is correctly assigned in every new release to avoid problems during package updates.
108+
2. Fill in or edit all the relevant metadata fields. These are critical to correctly communicate the provenance of your project to other users. Please pay special attention to `Title`, `Description`, `Authors`, `Copyright`, `PackageProjectUrl`, `PackageLicenseExpression`, `PackageIcon` and `PackageTags` to make sure that they correctly describe your project. Make sure that `Version` is correctly assigned in every new release to avoid problems during package updates. In order to make your project discoverable through the Bonsai package manager, make sure to include the `PackageType` field and specify both `Dependency` and `BonsaiLibrary` as package types.
109109

110110
> [!Tip]
111111
> Use version suffixes for sharing prerelease versions for testing, e.g. `0.1.0-alpha`. If a package version has a prerelease suffix, it will only be listed by the package manager if the checkbox "Include prerelease" is checked.
@@ -118,4 +118,4 @@ The Bonsai language can be extended with custom packages, which are installed an
118118
> If you have your custom package installed in the same editor used to debug the source code, Bonsai will prefer the installed package over the compiled source code library. In this case, either uninstall the package, or use a local Bonsai installation.
119119

120120
> [!Note]
121-
> If you would like to share the package with the broader Bonsai community, consider publishing your package in the [**Bonsai Community feed**](https://www.myget.org/gallery/bonsai-community). Click the `Connect to Feed` button for more details on how to push packages to the feed.
121+
> If you would like to share the package with the broader Bonsai community, consider publishing it to [**NuGet**](https://www.nuget.org/packages/manage/upload) by creating a `NuGet` account and uploading the `.nupkg` file. Ensure the `PackageType` field is properly defined before submission.
140 KB
Loading

0 commit comments

Comments
 (0)