@nx/workspace 20.1.0-canary.20241025-1218502 → 20.1.0-canary.20241026-f84b6e5

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/workspace",
3
- "version": "20.1.0-canary.20241025-1218502",
3
+ "version": "20.1.0-canary.20241026-f84b6e5",
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": {
@@ -38,12 +38,12 @@
38
38
  }
39
39
  },
40
40
  "dependencies": {
41
- "@nx/devkit": "20.1.0-canary.20241025-1218502",
41
+ "@nx/devkit": "20.1.0-canary.20241026-f84b6e5",
42
42
  "chalk": "^4.1.0",
43
43
  "enquirer": "~2.3.6",
44
44
  "tslib": "^2.3.0",
45
45
  "yargs-parser": "21.1.1",
46
- "nx": "20.1.0-canary.20241025-1218502"
46
+ "nx": "20.1.0-canary.20241026-f84b6e5"
47
47
  },
48
48
  "publishConfig": {
49
49
  "access": "public"
@@ -66,5 +66,6 @@ jobs:
66
66
 
67
67
  # Prepend any command with "nx-cloud record --" to record its logs to Nx Cloud
68
68
  # - script: <%= packageManagerPrefix %> nx-cloud record -- echo Hello World
69
- # Nx Affected runs only tasks affected by the changes in this PR/commit. Learn more: https://nx.dev/ci/features/affected
70
- - script: <%= packageManagerPrefix %> nx affected --base=$(BASE_SHA) --head=$(HEAD_SHA) lint test build<% if(hasE2E){ %> e2e-ci<% } %>
69
+ # Nx Affected runs only tasks affected by the changes in this PR/commit. Learn more: https://nx.dev/ci/features/affected<% if(hasE2E){ %>
70
+ # When you enable task distribution, run the e2e-ci task instead of e2e<% } %>
71
+ - script: <%= packageManagerPrefix %> nx affected --base=$(BASE_SHA) --head=$(HEAD_SHA) lint test build<% if(hasE2E){ %> e2e<% } %>
@@ -31,9 +31,9 @@ pipelines:
31
31
 
32
32
  # Prepend any command with "nx-cloud record --" to record its logs to Nx Cloud
33
33
  # <%= packageManagerPrefix %> nx-cloud record -- echo Hello World
34
- # Nx Affected runs only tasks affected by the changes in this PR/commit. Learn more: https://nx.dev/ci/features/affected
35
- - <%= packageManagerPrefix %> nx affected --base=origin/<%= mainBranch %> -t lint test build<% if(hasE2E){ %>
36
- - <%= packageManagerPrefix %> nx affected --base=origin/<%= mainBranch %> --parallel 1 -t e2e-ci<% } %>
34
+ # Nx Affected runs only tasks affected by the changes in this PR/commit. Learn more: https://nx.dev/ci/features/affected<% if(hasE2E){ %>
35
+ # When you enable task distribution, run the e2e-ci task instead of e2e<% } %>
36
+ - <%= packageManagerPrefix %> nx affected --base=origin/<%= mainBranch %> -t lint test build<% if(hasE2E){ %> e2e<% } %>
37
37
 
38
38
  branches:
39
39
  main:
@@ -35,8 +35,9 @@ jobs:
35
35
 
36
36
  # Prepend any command with "nx-cloud record --" to record its logs to Nx Cloud
37
37
  # - run: <%= packageManagerPrefix %> nx-cloud record -- echo Hello World
38
- # Nx Affected runs only tasks affected by the changes in this PR/commit. Learn more: https://nx.dev/ci/features/affected
39
- - run: <%= packageManagerPrefix %> nx affected --base=$NX_BASE --head=$NX_HEAD -t lint test build<% if(hasE2E){ %> e2e-ci<% } %>
38
+ # Nx Affected runs only tasks affected by the changes in this PR/commit. Learn more: https://nx.dev/ci/features/affected<% if(hasE2E){ %>
39
+ # When you enable task distribution, run the e2e-ci task instead of e2e<% } %>
40
+ - run: <%= packageManagerPrefix %> nx affected -t lint test build<% if(hasE2E){ %> e2e<% } %>
40
41
 
41
42
  workflows:
42
43
  version: 2
@@ -48,5 +48,6 @@ jobs:
48
48
 
49
49
  # Prepend any command with "nx-cloud record --" to record its logs to Nx Cloud
50
50
  # - run: <%= packageManagerPrefix %> nx-cloud record -- echo Hello World
51
- # Nx Affected runs only tasks affected by the changes in this PR/commit. Learn more: https://nx.dev/ci/features/affected
52
- - run: <%= packageManagerPrefix %> nx affected -t lint test build<% if(hasE2E){ %> e2e-ci<% } %>
51
+ # Nx Affected runs only tasks affected by the changes in this PR/commit. Learn more: https://nx.dev/ci/features/affected<% if(hasE2E){ %>
52
+ # When you enable task distribution, run the e2e-ci task instead of e2e<% } %>
53
+ - run: <%= packageManagerPrefix %> nx affected -t lint test build<% if(hasE2E){ %> e2e<% } %>
@@ -29,5 +29,6 @@ variables:
29
29
 
30
30
  # Prepend any command with "nx-cloud record --" to record its logs to Nx Cloud
31
31
  # - <%= packageManagerPrefix %> nx-cloud record -- echo Hello World
32
- # Nx Affected runs only tasks affected by the changes in this PR/commit. Learn more: https://nx.dev/ci/features/affected
33
- - <%= packageManagerPrefix %> nx affected --base=$NX_BASE --head=$NX_HEAD -t lint test build<% if(hasE2E){ %> e2e-ci<% } %>
32
+ # Nx Affected runs only tasks affected by the changes in this PR/commit. Learn more: https://nx.dev/ci/features/affected<% if(hasE2E){ %>
33
+ # When you enable task distribution, run the e2e-ci task instead of e2e<% } %>
34
+ - <%= packageManagerPrefix %> nx affected -t lint test build<% if(hasE2E){ %> e2e<% } %>