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

@bbaia/nx-dotnet-core

v1.1.1

Published

[![npm](https://img.shields.io/npm/v/@bbaia/nx-dotnet-core?style=flat-square)](https://www.npmjs.com/package/@bbaia/nx-dotnet-core) [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://git

Downloads

190

Readme

Nx Plugin for .NET Core

npm semantic-release CI

Nx Plugin to generate, run, build and test .NET Core projects inside your Nx workspace.

🔎 Powerful, Extensible Dev Tools

Prerequisite

If you have not already:

Getting Started

Install Plugin

npm install @bbaia/nx-dotnet-core --save-dev

Generate a project

Run nx g @bbaia/nx-dotnet-core:new to generate a project using the dotnet new command.

You will be prompted for entering:

  • The type of project (application or library)
  • The .NET Core template to use (Use dotnet new --list --type=Project to list all installed project templates)
  • The name of your project

You can skip the interactive prompt or customize all non-prompted options from the command line:

nx g @bbaia/nx-dotnet-core:new <app|lib> <.NET Core template> <your-project-name> --optionName optionValue

| Option | Value | Description | | ------------------ | -------- | ------------------------------------------------------------------------------ | | tags | string | Add tags to the project (used for linting). | | directory | string | A directory where the project is placed. | | unitTestTemplate | string | The .NET Core template to use for unit tests (ex: 'mstest', 'nunit', 'xunit'). |

Use Nx Console to spend less time looking up command line arguments!

Exemple to generate an ASP.NET Core Web API project with an NUnit test project :

nx g @bbaia/nx-dotnet-core:new app webapi api --unitTestTemplate nunit

Manage a project

  • Run nx restore api to restore the dependencies and tools of the project.
  • Run nx serve api to serve the app. The app will automatically reload if you change any of the source files.
  • Run nx build api to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.
  • Run nx test api to execute the unit tests via nunit. Use the --watch flag to watch files for changes and rerun tests.

You will find more information on the generated README.md file.

Further help

Visit the Nx Documentation to learn more.

☁ Nx Cloud

Computation Memoization in the Cloud

Nx Cloud pairs with Nx in order to enable you to build and test code more rapidly, by up to 10 times. Even teams that are new to Nx can connect to Nx Cloud and start saving time instantly.

Teams using Nx gain the advantage of building full-stack applications with their preferred framework alongside Nx’s advanced code generation and project dependency graph, plus a unified experience for both frontend and backend developers.

Visit Nx Cloud to learn more.