@nx/workspace 19.5.0-canary.20240712-0b0db78 → 19.5.0-canary.20240716-34da542
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/README.md +1 -1
- package/package.json +4 -4
- package/src/generators/ci-workflow/files/azure/azure-pipelines.yml__tmpl__ +1 -0
- package/src/generators/ci-workflow/files/bitbucket-pipelines/bitbucket-pipelines.yml__tmpl__ +2 -0
- package/src/generators/ci-workflow/files/circleci/.circleci/config.yml__tmpl__ +1 -0
- package/src/generators/ci-workflow/files/github/.github/workflows/__workflowFileName__.yml__tmpl__ +1 -0
- package/src/generators/ci-workflow/files/gitlab/.gitlab-ci.yml__tmpl__ +1 -0
package/README.md
CHANGED
|
@@ -59,7 +59,7 @@ npx nx@latest init
|
|
|
59
59
|
- [Nx.Dev: Documentation, Guides, Tutorials](https://nx.dev)
|
|
60
60
|
- [Intro to Nx](https://nx.dev/getting-started/intro)
|
|
61
61
|
- [Official Nx YouTube Channel](https://www.youtube.com/@NxDevtools)
|
|
62
|
-
- [Blog Posts About Nx](https://
|
|
62
|
+
- [Blog Posts About Nx](https://nx.dev/blog)
|
|
63
63
|
|
|
64
64
|
<p style="text-align: center;"><a href="https://nx.dev/#learning-materials" target="_blank" rel="noreferrer"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-courses-and-videos.svg"
|
|
65
65
|
width="100%" alt="Nx - Smart Monorepos · Fast CI"></a></p>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/workspace",
|
|
3
|
-
"version": "19.5.0-canary.
|
|
3
|
+
"version": "19.5.0-canary.20240716-34da542",
|
|
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": "19.5.0-canary.
|
|
64
|
+
"@nx/devkit": "19.5.0-canary.20240716-34da542",
|
|
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": "19.5.0-canary.
|
|
70
|
-
"@nrwl/workspace": "19.5.0-canary.
|
|
69
|
+
"nx": "19.5.0-canary.20240716-34da542",
|
|
70
|
+
"@nrwl/workspace": "19.5.0-canary.20240716-34da542"
|
|
71
71
|
},
|
|
72
72
|
"publishConfig": {
|
|
73
73
|
"access": "public"
|
|
@@ -65,5 +65,6 @@ jobs:
|
|
|
65
65
|
|
|
66
66
|
# Prepend any command with "nx-cloud record --" to record its logs to Nx Cloud
|
|
67
67
|
# - script: <%= packageManagerPrefix %> nx-cloud record -- echo Hello World
|
|
68
|
+
# Nx Affected runs only tasks affected by the changes in this PR/commit. Learn more: https://nx.dev/ci/features/affected
|
|
68
69
|
- script: <%= packageManagerPrefix %> nx affected --base=$(BASE_SHA) --head=$(HEAD_SHA) lint test build<% if(hasE2E){ %>
|
|
69
70
|
- script: <%= packageManagerPrefix %> nx affected --base=$(BASE_SHA) --head=$(HEAD_SHA) --parallel 1 e2e-ci<% } %>
|
package/src/generators/ci-workflow/files/bitbucket-pipelines/bitbucket-pipelines.yml__tmpl__
CHANGED
|
@@ -29,6 +29,7 @@ pipelines:
|
|
|
29
29
|
- <%= packageManagerInstall %>
|
|
30
30
|
|
|
31
31
|
- <%= packageManagerPrefix %> nx-cloud record -- nx format:check
|
|
32
|
+
# Nx Affected runs only tasks affected by the changes in this PR/commit. Learn more: https://nx.dev/ci/features/affected
|
|
32
33
|
- <%= packageManagerPrefix %> nx affected --base=origin/<%= mainBranch %> -t lint test build<% if(hasE2E){ %>
|
|
33
34
|
- <%= packageManagerPrefix %> nx affected --base=origin/<%= mainBranch %> --parallel 1 -t e2e-ci<% } %>
|
|
34
35
|
|
|
@@ -55,4 +56,5 @@ pipelines:
|
|
|
55
56
|
|
|
56
57
|
# Prepend any command with "nx-cloud record --" to record its logs to Nx Cloud
|
|
57
58
|
# - <%= packageManagerPrefix %> nx-cloud record -- echo Hello World
|
|
59
|
+
# Nx Affected runs only tasks affected by the changes in this PR/commit. Learn more: https://nx.dev/ci/features/affected
|
|
58
60
|
- <%= packageManagerPrefix %> nx affected -t lint test build<% if(hasE2E){ %> e2e-ci<% } %> --base=HEAD~1
|
|
@@ -34,6 +34,7 @@ jobs:
|
|
|
34
34
|
|
|
35
35
|
# Prepend any command with "nx-cloud record --" to record its logs to Nx Cloud
|
|
36
36
|
# - run: <%= packageManagerPrefix %> nx-cloud record -- echo Hello World
|
|
37
|
+
# Nx Affected runs only tasks affected by the changes in this PR/commit. Learn more: https://nx.dev/ci/features/affected
|
|
37
38
|
- run: <%= packageManagerPrefix %> nx affected --base=$NX_BASE --head=$NX_HEAD -t lint test build<% if(hasE2E){ %>
|
|
38
39
|
- run: <%= packageManagerPrefix %> nx affected --base=$NX_BASE --head=$NX_HEAD --parallel 1 -t e2e-ci<% } %>
|
|
39
40
|
|
package/src/generators/ci-workflow/files/github/.github/workflows/__workflowFileName__.yml__tmpl__
CHANGED
|
@@ -47,5 +47,6 @@ jobs:
|
|
|
47
47
|
|
|
48
48
|
# Prepend any command with "nx-cloud record --" to record its logs to Nx Cloud
|
|
49
49
|
# - run: <%= packageManagerPrefix %> nx-cloud record -- echo Hello World
|
|
50
|
+
# Nx Affected runs only tasks affected by the changes in this PR/commit. Learn more: https://nx.dev/ci/features/affected
|
|
50
51
|
- run: <%= packageManagerPrefix %> nx affected -t lint test build<% if(hasE2E){ %>
|
|
51
52
|
- run: <%= packageManagerPrefix %> nx affected --parallel 1 -t e2e-ci<% } %>
|
|
@@ -28,5 +28,6 @@ variables:
|
|
|
28
28
|
|
|
29
29
|
# Prepend any command with "nx-cloud record --" to record its logs to Nx Cloud
|
|
30
30
|
# - <%= packageManagerPrefix %> nx-cloud record -- echo Hello World
|
|
31
|
+
# Nx Affected runs only tasks affected by the changes in this PR/commit. Learn more: https://nx.dev/ci/features/affected
|
|
31
32
|
- <%= packageManagerPrefix %> nx affected --base=$NX_BASE --head=$NX_HEAD -t lint test build<% if(hasE2E){ %>
|
|
32
33
|
- <%= packageManagerPrefix %> nx affected --base=$NX_BASE --head=$NX_HEAD --parallel 1 -t e2e-ci<% } %>
|