{"id":26932864,"url":"https://github.com/bbaia/nx-dotnet-core","last_synced_at":"2025-04-02T08:28:58.087Z","repository":{"id":52515888,"uuid":"358679343","full_name":"bbaia/nx-dotnet-core","owner":"bbaia","description":"Nx Plugin for .NET Core","archived":false,"fork":false,"pushed_at":"2021-04-26T21:09:08.000Z","size":258,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-12T22:51:46.926Z","etag":null,"topics":["dotnet","dotnet-core","nx","nx-cloud","nx-plugin","nx-workspace"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bbaia.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-04-16T17:54:39.000Z","updated_at":"2021-07-29T15:27:46.000Z","dependencies_parsed_at":"2022-09-13T10:22:03.565Z","dependency_job_id":null,"html_url":"https://github.com/bbaia/nx-dotnet-core","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbaia%2Fnx-dotnet-core","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbaia%2Fnx-dotnet-core/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbaia%2Fnx-dotnet-core/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbaia%2Fnx-dotnet-core/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bbaia","download_url":"https://codeload.github.com/bbaia/nx-dotnet-core/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246781120,"owners_count":20832747,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dotnet","dotnet-core","nx","nx-cloud","nx-plugin","nx-workspace"],"created_at":"2025-04-02T08:28:57.644Z","updated_at":"2025-04-02T08:28:58.076Z","avatar_url":"https://github.com/bbaia.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nx Plugin for .NET Core\n\n[![npm](https://img.shields.io/npm/v/@bbaia/nx-dotnet-core?style=flat-square)](https://www.npmjs.com/package/@bbaia/nx-dotnet-core)\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\n[![CI](https://github.com/bbaia/nx-dotnet-core/actions/workflows/ci.yml/badge.svg)](https://github.com/bbaia/nx-dotnet-core/actions/workflows/ci.yml)\n\n\u003e [Nx Plugin](https://nx.dev) to generate, run, build and test [.NET Core](https://dotnet.microsoft.com/) projects inside your Nx workspace.\n\n\u003cp style=\"text-align: center;\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/bbaia/nx-dotnet-core/master/images/nx-dotnet-core-logo.png\" width=\"450\"\u003e\u003c/p\u003e\n\n🔎 **Powerful, Extensible Dev Tools**\n\n## Prerequisite\n\nIf you have not already:\n\n- [Install .NET core](https://docs.microsoft.com/en-us/dotnet/core/install/)\n- [Create an Nx workspace](https://github.com/nrwl/nx#creating-an-nx-workspace)\n\n## Getting Started\n\n### Install Plugin\n\n```\nnpm install @bbaia/nx-dotnet-core --save-dev\n```\n\n### Generate a project\n\nRun `nx g @bbaia/nx-dotnet-core:new` to generate a project using the [`dotnet new`](https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-new) command.\n\nYou will be prompted for entering:\n\n- The type of project (`application` or `library`)\n- The .NET Core template to use (Use `dotnet new --list --type=Project` to list all installed project templates)\n- The name of your project\n\nYou can skip the interactive prompt or customize all non-prompted options from the command line:\n\n```\nnx g @bbaia/nx-dotnet-core:new \u003capp|lib\u003e \u003c.NET Core template\u003e \u003cyour-project-name\u003e --optionName optionValue\n```\n\n| Option             | Value    | Description                                                                    |\n| ------------------ | -------- | ------------------------------------------------------------------------------ |\n| `tags`             | `string` | Add tags to the project (used for linting).                                    |\n| `directory`        | `string` | A directory where the project is placed.                                       |\n| `unitTestTemplate` | `string` | The .NET Core template to use for unit tests (ex: 'mstest', 'nunit', 'xunit'). |\n\n\u003e Use [Nx Console](https://nx.dev/latest/angular/getting-started/console) to spend less time looking up command line arguments!\n\nExemple to generate an ASP.NET Core Web API project with an NUnit test project :\n\n```\nnx g @bbaia/nx-dotnet-core:new app webapi api --unitTestTemplate nunit\n```\n\n### Manage a project\n\n- Run `nx restore api` to restore the dependencies and tools of the project.\n- Run `nx serve api` to serve the app. The app will automatically reload if you change any of the source files.\n- 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.\n- Run `nx test api` to execute the unit tests via `nunit`. Use the `--watch` flag to watch files for changes and rerun tests.\n\nYou will find more information on the generated `README.md` file.\n\n## Updating `@bbaia/nx-dotnet-core`\n\nThis plugin supports [`nx migrate`](https://nx.dev/latest/angular/core-concepts/updating-nx)\n\n```\nnx migrate @bbaia/nx-dotnet-core\n```\n\n## Further help\n\nVisit the [Nx Documentation](https://nx.dev) to learn more.\n\n## ☁ Nx Cloud\n\n### Computation Memoization in the Cloud\n\n\u003cp style=\"text-align: center;\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/nrwl/nx/master/images/nx-cloud-card.png\"\u003e\u003c/p\u003e\n\nNx 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.\n\nTeams 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.\n\nVisit [Nx Cloud](https://nx.app/) to learn more.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbaia%2Fnx-dotnet-core","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbbaia%2Fnx-dotnet-core","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbaia%2Fnx-dotnet-core/lists"}