@nx/workspace 20.0.4 → 20.0.6
Sign up to get free protection for your applications and to get access to all the features.
- 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.0.
|
3
|
+
"version": "20.0.6",
|
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.0.
|
41
|
+
"@nx/devkit": "20.0.6",
|
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.0.
|
46
|
+
"nx": "20.0.6"
|
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<% } %>
|