@nx/dotnet 23.3.0-pr.37036.2b7abf9 → 23.3.0-pr.37036.f6e3fb2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/dotnet",
|
|
3
|
-
"version": "23.3.0-pr.37036.
|
|
3
|
+
"version": "23.3.0-pr.37036.f6e3fb2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The Nx Plugin for .NET containing graph support for working with .NET projects in an Nx workspace.",
|
|
6
6
|
"keywords": [
|
|
@@ -47,18 +47,18 @@
|
|
|
47
47
|
"!dist/tsconfig.lib.tsbuildinfo"
|
|
48
48
|
],
|
|
49
49
|
"dependencies": {
|
|
50
|
+
"@nx/devkit": "23.3.0-pr.37036.f6e3fb2",
|
|
50
51
|
"tslib": "^2.3.0",
|
|
51
|
-
"ignore": "^7.0.5"
|
|
52
|
-
"@nx/devkit": "23.3.0-pr.37036.2b7abf9"
|
|
52
|
+
"ignore": "^7.0.5"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@types/jest": "30.0.0",
|
|
56
56
|
"@types/node": "^24.11.0",
|
|
57
57
|
"jest": "30.3.0",
|
|
58
58
|
"memfs": "^4.9.2",
|
|
59
|
+
"nx": "23.3.0-pr.37036.f6e3fb2",
|
|
59
60
|
"ts-jest": "^29.4.7",
|
|
60
|
-
"typescript": "~6.0.3"
|
|
61
|
-
"nx": "23.3.0-pr.37036.2b7abf9"
|
|
61
|
+
"typescript": "~6.0.3"
|
|
62
62
|
},
|
|
63
63
|
"publishConfig": {
|
|
64
64
|
"access": "public"
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
<p style="text-align: center;">
|
|
2
|
+
<picture>
|
|
3
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-dark.svg">
|
|
4
|
+
<img alt="Nx - Smart Monorepos · Fast Builds" src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-light.svg" width="100%">
|
|
5
|
+
</picture>
|
|
6
|
+
</p>
|
|
7
|
+
|
|
8
|
+
{{links}}
|
|
9
|
+
|
|
10
|
+
<hr>
|
|
11
|
+
|
|
12
|
+
# Nx: Smart Monorepos · Fast Builds
|
|
13
|
+
|
|
14
|
+
Get to green PRs in half the time. Nx optimizes your builds, scales your CI, and fixes failed PRs. Built for developers and AI agents.
|
|
15
|
+
|
|
16
|
+
## Build .NET with Nx
|
|
17
|
+
|
|
18
|
+
The goal of `@nx/dotnet` is to make it easy and straightforward to build .NET applications in an Nx workspace. It provides intelligent project graph analysis, automatic dependency detection, and smart target configuration using MSBuild.
|
|
19
|
+
|
|
20
|
+
### Getting Started
|
|
21
|
+
|
|
22
|
+
#### Step 1: Add the .NET plugin to your Nx workspace
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
nx add @nx/dotnet
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
#### Step 2: Configure the plugin in your `nx.json`
|
|
29
|
+
|
|
30
|
+
```json
|
|
31
|
+
{
|
|
32
|
+
"plugins": ["@nx/dotnet"]
|
|
33
|
+
}
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
#### Step 3: Create your .NET projects
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
# Create a console application
|
|
40
|
+
dotnet new console -n MyApp
|
|
41
|
+
|
|
42
|
+
# Create a class library
|
|
43
|
+
dotnet new classlib -n MyLibrary
|
|
44
|
+
|
|
45
|
+
# Create a test project
|
|
46
|
+
dotnet new xunit -n MyApp.Tests
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
The plugin will automatically detect your .NET projects and configure appropriate Nx targets.
|
|
50
|
+
|
|
51
|
+
#### Step 4: Run Build, Test, and other commands
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
# Build a project
|
|
55
|
+
nx build my-app
|
|
56
|
+
|
|
57
|
+
# Run tests
|
|
58
|
+
nx test my-app-tests
|
|
59
|
+
|
|
60
|
+
# Build with Release configuration
|
|
61
|
+
nx build my-app --configuration Release
|
|
62
|
+
|
|
63
|
+
# Create a NuGet package
|
|
64
|
+
nx pack my-library
|
|
65
|
+
|
|
66
|
+
# Publish an application
|
|
67
|
+
nx publish my-app
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
{{content}}
|