@nx/dotnet 23.3.0-pr.36958.5270397 → 23.3.0-pr.37036.2b7abf9
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.
- package/dist/generators/ci-workflow/files/circleci/.circleci/config.yml.template +35 -0
- package/dist/generators/ci-workflow/files/github/.github/workflows/__workflowFileName__.yml.template +39 -0
- package/dist/lib/MsbuildAnalyzer.dll +0 -0
- package/dist/lib/MsbuildAnalyzer.pdb +0 -0
- package/package.json +3 -3
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
version: 2.1
|
|
2
|
+
|
|
3
|
+
orbs:
|
|
4
|
+
nx: nrwl/nx@1.6.2
|
|
5
|
+
|
|
6
|
+
env:
|
|
7
|
+
NX_BATCH_MODE: true
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
main:
|
|
11
|
+
docker:
|
|
12
|
+
- image: mcr.microsoft.com/dotnet/sdk:10.0
|
|
13
|
+
steps:
|
|
14
|
+
- checkout
|
|
15
|
+
|
|
16
|
+
# This enables task distribution via Nx Cloud
|
|
17
|
+
# Run this command as early as possible, before dependencies are installed
|
|
18
|
+
# Learn more at https://nx.dev/ci/reference/nx-cloud-cli#npx-nxcloud-startcirun
|
|
19
|
+
<% if (connectedToCloud) { %># Uncomment this line to enable task distribution<% } else { %># Connect your workspace by running "nx connect" and uncomment this line to enable task distribution<% } %>
|
|
20
|
+
# - run: ./nx start-ci-run --distribute-on="3 linux-medium-dotnet" --stop-agents-after="build"
|
|
21
|
+
|
|
22
|
+
- nx/set-shas:
|
|
23
|
+
main-branch-name: '<%= mainBranch %>'
|
|
24
|
+
<% for (const command of commands) { %><% if (command.comments) { %><% for (const comment of command.comments) { %>
|
|
25
|
+
# <%- comment %><% } %><% } %><% if (command.command) { %>
|
|
26
|
+
- run:
|
|
27
|
+
command: <%= command.command %><% if (command.alwaysRun) { %>
|
|
28
|
+
when: always<% } %><% } %><% } %>
|
|
29
|
+
|
|
30
|
+
workflows:
|
|
31
|
+
version: 2
|
|
32
|
+
|
|
33
|
+
<%= workflowFileName %>:
|
|
34
|
+
jobs:
|
|
35
|
+
- main
|
package/dist/generators/ci-workflow/files/github/.github/workflows/__workflowFileName__.yml.template
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
name: <%= workflowName %>
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- <%= mainBranch %>
|
|
7
|
+
pull_request:
|
|
8
|
+
|
|
9
|
+
permissions:
|
|
10
|
+
actions: read
|
|
11
|
+
contents: read
|
|
12
|
+
|
|
13
|
+
env:
|
|
14
|
+
NX_BATCH_MODE: true
|
|
15
|
+
|
|
16
|
+
jobs:
|
|
17
|
+
main:
|
|
18
|
+
runs-on: ubuntu-latest
|
|
19
|
+
steps:
|
|
20
|
+
- uses: actions/checkout@v4
|
|
21
|
+
with:
|
|
22
|
+
fetch-depth: 0
|
|
23
|
+
|
|
24
|
+
# This enables task distribution via Nx Cloud
|
|
25
|
+
# Run this command as early as possible, before dependencies are installed
|
|
26
|
+
# Learn more at https://nx.dev/ci/reference/nx-cloud-cli#npx-nxcloud-startcirun
|
|
27
|
+
<% if (connectedToCloud) { %># Uncomment this line to enable task distribution<% } else { %># Connect your workspace by running "nx connect" and uncomment this line to enable task distribution<% } %>
|
|
28
|
+
# - run: ./nx start-ci-run --distribute-on="3 linux-medium-dotnet" --stop-agents-after="build"
|
|
29
|
+
|
|
30
|
+
- name: Setup .NET
|
|
31
|
+
uses: actions/setup-dotnet@v4
|
|
32
|
+
with:
|
|
33
|
+
dotnet-version: '10.x'
|
|
34
|
+
|
|
35
|
+
- uses: nrwl/nx-set-shas@v4
|
|
36
|
+
<% for (const command of commands) { %><% if (command.comments) { %><% for (const comment of command.comments) { %>
|
|
37
|
+
# <%- comment %><% } %><% } %><% if (command.command) { %>
|
|
38
|
+
- run: <%= command.command %><% if (command.alwaysRun) { %>
|
|
39
|
+
if: always()<% } %><% } %><% } %>
|
|
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.
|
|
3
|
+
"version": "23.3.0-pr.37036.2b7abf9",
|
|
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": [
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"tslib": "^2.3.0",
|
|
51
51
|
"ignore": "^7.0.5",
|
|
52
|
-
"@nx/devkit": "23.3.0-pr.
|
|
52
|
+
"@nx/devkit": "23.3.0-pr.37036.2b7abf9"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@types/jest": "30.0.0",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"memfs": "^4.9.2",
|
|
59
59
|
"ts-jest": "^29.4.7",
|
|
60
60
|
"typescript": "~6.0.3",
|
|
61
|
-
"nx": "23.3.0-pr.
|
|
61
|
+
"nx": "23.3.0-pr.37036.2b7abf9"
|
|
62
62
|
},
|
|
63
63
|
"publishConfig": {
|
|
64
64
|
"access": "public"
|