npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@ifaxity/semantic-release-dotnet

v1.2.0

Published

A semantic-release plugin for building versioned .NET core projects.

Downloads

4

Readme

@ifaxity/semantic-release-dotnet

semantic-release plugin to build a dotnet project using the dotnet-cli.

Codacy grade npm (scoped) npm bundle size (scoped) npm bundle size (scoped)

| Step | Description | |--------------------|---------------------------------------------------------------------------------------------------------| | verifyConditions | Verify that the dotnet-cli is installed and prints its version. | | prepare | Executes dotnet clean followed by dotnet build which builds a specified project. |

Install

$ npm i --save-dev @ifaxity/semantic-release-dotnet

Usage

The plugin can be configured in the semantic-release configuration file:

{
  "plugins": [
    "@semantic-release/commit-analyzer",
    "@semantic-release/release-notes-generator",
    ["@ifaxity/semantic-release-dotnet" {

    }],
  ]
}

With this example:

  • The projects output will be cleaned
  • The project will be built and versioned

Configuration

Environment variables

| Variable | Description | | ----------------------|-------------------------------------------------------------------------| | BUILD_PROJECT | Sets the project options default value to the specified value. | | BUILD_CONFIGURATION | Sets the configuration options default value to the specified value. | | BUILD_OUTPUT | Sets the output options default value to the specified value. | | BUILD_RUNTIME | Sets the runtime options default value to the specified value. | | BUILD_OS | Sets the os options default value to the specified value. | | BUILD_ARCH | Sets the arch options default value to the specified value. | | PUBLISH_PROFILE | Sets the publishProfile options default value to the specified value. |

Options

project

The project or solution file to build. If a project or solution file isn't specified, MSBuild searches the current working directory for a file that has a file extension that ends in either proj or sln and uses that file.

configuration

Defines the build configuration. The default for most projects is Debug, but you can override the build configuration settings in your project.

output

Directory in which to place the built binaries. If not specified, the default path is ./bin/{configuration}/{framework}/. For projects with multiple target frameworks (via the TargetFrameworks property), you also need to define --framework when you specify this option.

publish

If true then the "build" command is swapped out ot instead use "publish" instead.

publishProfile

Name of the publish profile to use when publishing. Requires the option publish to be true.

restore

Doesn't execute an implicit restore during build.

force

Forces all dependencies to be resolved even if the last restore was successful. Specifying this flag is the same as deleting the project.assets.json file.

source

The URI of the NuGet package source to use during the restore operation.

properties

MSBuild properties to override when building the project. See the MSBuild properties reference for a list of properties that can be set.

os

Specifies the target operating system (OS). This is a shorthand syntax for setting the Runtime Identifier (RID), where the provided value is combined with the default RID. For example, on a win-x64 machine, specifying --os linux sets the RID to linux-x64. If you use this option, don't use the -r|--runtime option. Available since .NET 6.

runtime

Specifies the target runtime. For a list of Runtime Identifiers (RIDs), see the RID catalog. If you use this option with .NET 6 SDK, use --self-contained or --no-self-contained also. If not specified, the default is to build for the current OS and architecture.

arch

Specifies the target architecture. This is a shorthand syntax for setting the Runtime Identifier (RID), where the provided value is combined with the default RID. For example, on a win-x64 machine, specifying --arch x86 sets the RID to win-x86. If you use this option, don't use the -r|--runtime option. Available since .NET 6 Preview 7.

selfContained

When the option is true then the .net runtime is packaged when publishing. The default is true if a runtime identifier is specified. Available since .NET 6 SDK. When the option is false then the application is published without the .net runtime and requires any target machiene to install a .net runtime to run the application. Available since .NET 6 SDK.

The default is to not apply either, so set this explicitly to ensure the desired outcome.

buildArguments

Generic build arguments to send, can be used if there is a specific option that needs to be configured that is not in the config above.

License

MIT