-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(nxdoc): include getting started text
- Loading branch information
1 parent
b0bf601
commit db3ec62
Showing
12 changed files
with
174 additions
and
20 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,41 @@ | ||
# nx-dotnet | ||
## Prerequisites | ||
|
||
This library was generated with [Nx](https://nx.dev). | ||
- Have an existing nx workspace. For creating this, see [nrwl's documentation](https://nx.dev/latest/angular/getting-started/nx-setup). | ||
- .NET SDK is installed, and `dotnet` is available on the path. For help on this, see [Microsoft's documentation](https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial/install) | ||
|
||
## Running unit tests | ||
## Installation | ||
|
||
Run `nx test nx-dotnet` to execute the unit tests via [Jest](https://jestjs.io). | ||
### NPM | ||
|
||
```shell | ||
npm i --save-dev @nx-dotnet/core | ||
npx nx g @nx-dotnet/core:init | ||
``` | ||
|
||
### PNPM | ||
|
||
```shell | ||
pnpm i --save-dev @nx-dotnet/core | ||
pnpx nx g @nx-dotnet/core:init | ||
``` | ||
|
||
### Yarn | ||
|
||
```shell | ||
yarn add --dev @nx-dotnet/core | ||
npx nx g @nx-dotnet/core:init | ||
``` | ||
|
||
## Generate and run your first api! | ||
|
||
Generate my-api, and my-api-test with C# and nunit tests. | ||
|
||
```shell | ||
npx nx g @nx-dotnet/core:app my-api --test-template nunit --language C# | ||
``` | ||
|
||
Run my-api locally | ||
|
||
```shell | ||
npx nx serve my-api | ||
``` |
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
export interface Schema { | ||
outputDirectory: string; | ||
skipFrontMatter: boolean; | ||
skipFormat: boolean; | ||
gettingStartedFile: string; | ||
} |
This file contains 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
This file contains 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
This file contains 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