@nx/workspace 20.1.0-canary.20241024-0bea5b2 → 20.1.0-canary.20241026-f84b6e5
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 +3 -3
- package/src/generators/ci-workflow/files/azure/azure-pipelines.yml__tmpl__ +3 -2
- package/src/generators/ci-workflow/files/bitbucket-pipelines/bitbucket-pipelines.yml__tmpl__ +3 -3
- package/src/generators/ci-workflow/files/circleci/.circleci/config.yml__tmpl__ +3 -2
- package/src/generators/ci-workflow/files/github/.github/workflows/__workflowFileName__.yml__tmpl__ +3 -2
- package/src/generators/ci-workflow/files/gitlab/.gitlab-ci.yml__tmpl__ +3 -2
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@nx/workspace",
|
3
|
-
"version": "20.1.0-canary.
|
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.
|
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.
|
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
|
-
|
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<% } %>
|
package/src/generators/ci-workflow/files/bitbucket-pipelines/bitbucket-pipelines.yml__tmpl__
CHANGED
@@ -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
|
-
|
36
|
-
- <%= packageManagerPrefix %> nx affected --base=origin/<%= mainBranch %>
|
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
|
-
|
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
|
package/src/generators/ci-workflow/files/github/.github/workflows/__workflowFileName__.yml__tmpl__
CHANGED
@@ -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
|
-
|
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
|
-
|
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<% } %>
|