@nx/workspace 17.3.0-canary.20240125-70fd808 → 17.3.0-canary.20240126-2faaaf3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/workspace",
3
- "version": "17.3.0-canary.20240125-70fd808",
3
+ "version": "17.3.0-canary.20240126-2faaaf3",
4
4
  "private": false,
5
5
  "description": "The Workspace plugin contains executors and generators that are useful for any Nx workspace. It should be present in every Nx workspace and other plugins build on it.",
6
6
  "repository": {
@@ -61,13 +61,13 @@
61
61
  }
62
62
  },
63
63
  "dependencies": {
64
- "@nx/devkit": "17.3.0-canary.20240125-70fd808",
64
+ "@nx/devkit": "17.3.0-canary.20240126-2faaaf3",
65
65
  "chalk": "^4.1.0",
66
66
  "enquirer": "~2.3.6",
67
67
  "tslib": "^2.3.0",
68
68
  "yargs-parser": "21.1.1",
69
- "nx": "17.3.0-canary.20240125-70fd808",
70
- "@nrwl/workspace": "17.3.0-canary.20240125-70fd808"
69
+ "nx": "17.3.0-canary.20240126-2faaaf3",
70
+ "@nrwl/workspace": "17.3.0-canary.20240126-2faaaf3"
71
71
  },
72
72
  "publishConfig": {
73
73
  "access": "public"
@@ -25,7 +25,9 @@ jobs:
25
25
  - script: npm install --prefix=$HOME/.local -g pnpm@8
26
26
  displayName: Install PNPM
27
27
  <% } %>- script: <%= packageManagerInstall %>
28
- # uncomment to enable task distribution
29
- # - script: <%= packageManagerPrefix %> nx-cloud start-ci-run --distributes-on="5 linux-medium"
28
+
29
+ # Uncomment to enable task distribution. --stop-agents-after is optional, but allows idle agents to shut down once the "build" targets have been requested
30
+ # - script: <%= packageManagerPrefix %> nx-cloud start-ci-run --distribute-on="5 linux-medium-js" --stop-agents-after="build"
31
+
30
32
  - script: <%= packageManagerPrefix %> nx-cloud record -- nx format:check --base=$(BASE_SHA) --head=$(HEAD_SHA)
31
- - script: <%= packageManagerPrefix %> nx affected --base=$(BASE_SHA) --head=$(HEAD_SHA) -t=lint,test,build --parallel=3
33
+ - script: <%= packageManagerPrefix %> nx affected --base=$(BASE_SHA) --head=$(HEAD_SHA) -t=lint,test,build
@@ -15,7 +15,9 @@ pipelines:
15
15
  - npm install --prefix=$HOME/.local -g pnpm@8
16
16
  <% } %>
17
17
  - <%= packageManagerInstall %>
18
- # uncomment to enable task distribution
19
- # - <%= packageManagerPrefix %> nx-cloud start-ci-run --distributes-on="5 linux-medium"
18
+
19
+ # Uncomment to enable task distribution. --stop-agents-after is optional, but allows idle agents to shut down once the "build" targets have been requested
20
+ # - <%= packageManagerPrefix %> nx-cloud start-ci-run --distribute-on="5 linux-medium-js" --stop-agents-after="build"
21
+
20
22
  - <%= packageManagerPrefix %> nx-cloud record -- nx format:check
21
- - <%= packageManagerPrefix %> nx affected -t=lint,test,build --parallel=3
23
+ - <%= packageManagerPrefix %> nx affected -t=lint,test,build
@@ -16,10 +16,12 @@ jobs:
16
16
  <% } %>- run: <%= packageManagerInstall %>
17
17
  - nx/set-shas:
18
18
  main-branch-name: '<%= mainBranch %>'
19
- # uncomment to enable task distribution
20
- # - run: <%= packageManagerPrefix %> nx-cloud start-ci-run --distributes-on="5 linux-medium"
19
+
20
+ # Uncomment to enable task distribution. --stop-agents-after is optional, but allows idle agents to shut down once the "build" targets have been requested
21
+ # - run: <%= packageManagerPrefix %> nx-cloud start-ci-run --distribute-on="5 linux-medium-js" --stop-agents-after="build"
22
+
21
23
  - run: <%= packageManagerPrefix %> nx-cloud record -- nx format:check --base=$NX_BASE --head=$NX_HEAD
22
- - run: <%= packageManagerPrefix %> nx affected --base=$NX_BASE --head=$NX_HEAD -t=lint,test,build --parallel=3
24
+ - run: <%= packageManagerPrefix %> nx affected --base=$NX_BASE --head=$NX_HEAD -t=lint,test,build
23
25
 
24
26
  workflows:
25
27
  version: 2
@@ -29,8 +29,8 @@ jobs:
29
29
  - run: <%= packageManagerInstall %>
30
30
  - uses: nrwl/nx-set-shas@v4
31
31
 
32
- # uncomment to enable task distribution
33
- # - run: <%= packageManagerPrefix %> nx-cloud start-ci-run --distributes-on="5 linux-medium"
32
+ # Uncomment to enable task distribution. --stop-agents-after is optional, but allows idle agents to shut down once the "build" targets have been requested
33
+ # - run: <%= packageManagerPrefix %> nx-cloud start-ci-run --distribute-on="5 linux-medium-js" --stop-agents-after="build"
34
34
 
35
35
  - run: <%= packageManagerPrefix %> nx-cloud record -- nx format:check
36
- - run: <%= packageManagerPrefix %> nx affected -t=lint,test,build --parallel=3
36
+ - run: <%= packageManagerPrefix %> nx affected -t=lint,test,build
@@ -15,7 +15,9 @@ variables:
15
15
  - <%= packageManagerInstall %>
16
16
  - NX_HEAD=$CI_COMMIT_SHA
17
17
  - NX_BASE=${CI_MERGE_REQUEST_DIFF_BASE_SHA:-$CI_COMMIT_BEFORE_SHA}
18
- # uncomment to enable task distribution
19
- # - <%= packageManagerPrefix %> nx-cloud start-ci-run --distributes-on="5 linux-medium"
18
+
19
+ # Uncomment to enable task distribution. --stop-agents-after is optional, but allows idle agents to shut down once the "build" targets have been requested
20
+ # - <%= packageManagerPrefix %> nx-cloud start-ci-run --distribute-on="5 linux-medium-js" --stop-agents-after="build"
21
+
20
22
  - <%= packageManagerPrefix %> nx-cloud record -- nx format:check --base=$NX_BASE --head=$NX_HEAD
21
- - <%= packageManagerPrefix %> nx affected --base=$NX_BASE --head=$NX_HEAD -t=lint,test,build --parallel=3
23
+ - <%= packageManagerPrefix %> nx affected --base=$NX_BASE --head=$NX_HEAD -t=lint,test,build
@@ -56,6 +56,12 @@ Nx comes with local caching already built-in (check your `nx.json`). On CI you m
56
56
  - [Set up task distribution across multiple machines](https://nx.dev/nx-cloud/features/distribute-task-execution)
57
57
  - [Learn more how to setup CI](https://nx.dev/recipes/ci)
58
58
 
59
+ ## Explore the Graph of Your Workspace
60
+ Run `nx graph` to show the graph of the workspace.
61
+ It will show tasks that you can run with Nx.
62
+
63
+ - [Learn more about Exploring the Graph](https://nx.dev/core-features/explore-graph)
64
+
59
65
  ## Connect with us!
60
66
 
61
67
  - [Join the community](https://nx.dev/community)