@nx/workspace 19.5.0 → 19.6.0-canary.20240719-83b88a1
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 +4 -4
- package/src/generators/ci-workflow/files/azure/azure-pipelines.yml__tmpl__ +3 -3
- package/src/generators/ci-workflow/files/bitbucket-pipelines/bitbucket-pipelines.yml__tmpl__ +4 -4
- package/src/generators/ci-workflow/files/circleci/.circleci/config.yml__tmpl__ +2 -2
- package/src/generators/ci-workflow/files/github/.github/workflows/__workflowFileName__.yml__tmpl__ +2 -2
- package/src/generators/ci-workflow/files/gitlab/.gitlab-ci.yml__tmpl__ +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/workspace",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.6.0-canary.20240719-83b88a1",
|
|
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.
|
|
64
|
+
"@nx/devkit": "19.6.0-canary.20240719-83b88a1",
|
|
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.
|
|
70
|
-
"@nrwl/workspace": "19.
|
|
69
|
+
"nx": "19.6.0-canary.20240719-83b88a1",
|
|
70
|
+
"@nrwl/workspace": "19.6.0-canary.20240719-83b88a1"
|
|
71
71
|
},
|
|
72
72
|
"publishConfig": {
|
|
73
73
|
"access": "public"
|
|
@@ -51,13 +51,13 @@ jobs:
|
|
|
51
51
|
displayName: Install Bun
|
|
52
52
|
|
|
53
53
|
<% } %>
|
|
54
|
-
|
|
54
|
+
|
|
55
55
|
# This enables task distribution via Nx Cloud
|
|
56
56
|
# Run this command as early as possible, before dependencies are installed
|
|
57
57
|
# Learn more at https://nx.dev/ci/reference/nx-cloud-cli#npx-nxcloud-startcirun
|
|
58
|
-
<% if (connectedToCloud) { %>- script: <%= packageManagerPreInstallPrefix %> nx-cloud start-ci-run --distribute-on="
|
|
58
|
+
<% if (connectedToCloud) { %>- script: <%= packageManagerPreInstallPrefix %> nx-cloud start-ci-run --distribute-on="3 linux-medium-js" --stop-agents-after="<% if(hasE2E){ %>e2e-ci<% } else { %>build<% } %>"
|
|
59
59
|
<% } else { %># Connect your workspace by running "nx connect" and uncomment this
|
|
60
|
-
# - script: <%= packageManagerPreInstallPrefix %> nx-cloud start-ci-run --distribute-on="
|
|
60
|
+
# - script: <%= packageManagerPreInstallPrefix %> nx-cloud start-ci-run --distribute-on="3 linux-medium-js" --stop-agents-after="<% if(hasE2E){ %>e2e-ci<% } else { %>build<% } %>"
|
|
61
61
|
<% } %>
|
|
62
62
|
- script: <%= packageManagerInstall %>
|
|
63
63
|
- script: git branch --track <%= mainBranch %> origin/<%= mainBranch %>
|
package/src/generators/ci-workflow/files/bitbucket-pipelines/bitbucket-pipelines.yml__tmpl__
CHANGED
|
@@ -22,9 +22,9 @@ pipelines:
|
|
|
22
22
|
# This enables task distribution via Nx Cloud
|
|
23
23
|
# Run this command as early as possible, before dependencies are installed
|
|
24
24
|
# Learn more at https://nx.dev/ci/reference/nx-cloud-cli#npx-nxcloud-startcirun
|
|
25
|
-
<% if (connectedToCloud) { %>- <%= packageManagerPreInstallPrefix %> nx-cloud start-ci-run --distribute-on="
|
|
25
|
+
<% if (connectedToCloud) { %>- <%= packageManagerPreInstallPrefix %> nx-cloud start-ci-run --distribute-on="3 linux-medium-js" --stop-agents-after="<% if(hasE2E){ %>e2e-ci<% } else { %>build<% } %>"
|
|
26
26
|
<% } else { %># Connect your workspace by running "nx connect" and uncomment this
|
|
27
|
-
# - <%= packageManagerPreInstallPrefix %> nx-cloud start-ci-run --distribute-on="
|
|
27
|
+
# - <%= packageManagerPreInstallPrefix %> nx-cloud start-ci-run --distribute-on="3 linux-medium-js" --stop-agents-after="<% if(hasE2E){ %>e2e-ci<% } else { %>build<% } %>"
|
|
28
28
|
<% } %>
|
|
29
29
|
- <%= packageManagerInstall %>
|
|
30
30
|
|
|
@@ -42,9 +42,9 @@ pipelines:
|
|
|
42
42
|
# This enables task distribution via Nx Cloud
|
|
43
43
|
# Run this command as early as possible, before dependencies are installed
|
|
44
44
|
# Learn more at https://nx.dev/ci/reference/nx-cloud-cli#npx-nxcloud-startcirun
|
|
45
|
-
<% if (connectedToCloud) { %>- <%= packageManagerPreInstallPrefix %> nx-cloud start-ci-run --distribute-on="
|
|
45
|
+
<% if (connectedToCloud) { %>- <%= packageManagerPreInstallPrefix %> nx-cloud start-ci-run --distribute-on="3 linux-medium-js" --stop-agents-after="<% if(hasE2E){ %>e2e-ci<% } else { %>build<% } %>"
|
|
46
46
|
<% } else { %># Connect your workspace by running "nx connect" and uncomment this
|
|
47
|
-
# - <%= packageManagerPreInstallPrefix %> nx-cloud start-ci-run --distribute-on="
|
|
47
|
+
# - <%= packageManagerPreInstallPrefix %> nx-cloud start-ci-run --distribute-on="3 linux-medium-js" --stop-agents-after="<% if(hasE2E){ %>e2e-ci<% } else { %>build<% } %>"
|
|
48
48
|
<% } %>
|
|
49
49
|
<% if(packageManager == 'pnpm'){ %>
|
|
50
50
|
- npm install --prefix=$HOME/.local -g pnpm@8
|
|
@@ -24,9 +24,9 @@ jobs:
|
|
|
24
24
|
# This enables task distribution via Nx Cloud
|
|
25
25
|
# Run this command as early as possible, before dependencies are installed
|
|
26
26
|
# Learn more at https://nx.dev/ci/reference/nx-cloud-cli#npx-nxcloud-startcirun
|
|
27
|
-
<% if (connectedToCloud) { %>- run: <%= packageManagerPreInstallPrefix %> nx-cloud start-ci-run --distribute-on="
|
|
27
|
+
<% if (connectedToCloud) { %>- run: <%= packageManagerPreInstallPrefix %> nx-cloud start-ci-run --distribute-on="3 linux-medium-js" --stop-agents-after="<% if(hasE2E){ %>e2e-ci<% } else { %>build<% } %>"
|
|
28
28
|
<% } else { %># Connect your workspace by running "nx connect" and uncomment this
|
|
29
|
-
# - run: <%= packageManagerPreInstallPrefix %> nx-cloud start-ci-run --distribute-on="
|
|
29
|
+
# - run: <%= packageManagerPreInstallPrefix %> nx-cloud start-ci-run --distribute-on="3 linux-medium-js" --stop-agents-after="<% if(hasE2E){ %>e2e-ci<% } else { %>build<% } %>"
|
|
30
30
|
<% } %>
|
|
31
31
|
- run: <%= packageManagerInstall %>
|
|
32
32
|
- nx/set-shas:
|
package/src/generators/ci-workflow/files/github/.github/workflows/__workflowFileName__.yml__tmpl__
CHANGED
|
@@ -31,9 +31,9 @@ jobs:
|
|
|
31
31
|
# This enables task distribution via Nx Cloud
|
|
32
32
|
# Run this command as early as possible, before dependencies are installed
|
|
33
33
|
# Learn more at https://nx.dev/ci/reference/nx-cloud-cli#npx-nxcloud-startcirun
|
|
34
|
-
<% if (connectedToCloud) { %>- run: <%= packageManagerPreInstallPrefix %> nx-cloud start-ci-run --distribute-on="
|
|
34
|
+
<% if (connectedToCloud) { %>- run: <%= packageManagerPreInstallPrefix %> nx-cloud start-ci-run --distribute-on="3 linux-medium-js" --stop-agents-after="<% if(hasE2E){ %>e2e-ci<% } else { %>build<% } %>"
|
|
35
35
|
<% } else { %># Connect your workspace by running "nx connect" and uncomment this
|
|
36
|
-
# - run: <%= packageManagerPreInstallPrefix %> nx-cloud start-ci-run --distribute-on="
|
|
36
|
+
# - run: <%= packageManagerPreInstallPrefix %> nx-cloud start-ci-run --distribute-on="3 linux-medium-js" --stop-agents-after="<% if(hasE2E){ %>e2e-ci<% } else { %>build<% } %>"
|
|
37
37
|
<% } %>
|
|
38
38
|
<% if(packageManager != 'bun'){ %>
|
|
39
39
|
# Cache node_modules
|
|
@@ -18,9 +18,9 @@ variables:
|
|
|
18
18
|
# This enables task distribution via Nx Cloud
|
|
19
19
|
# Run this command as early as possible, before dependencies are installed
|
|
20
20
|
# Learn more at https://nx.dev/ci/reference/nx-cloud-cli#npx-nxcloud-startcirun
|
|
21
|
-
<% if (connectedToCloud) { %>- <%= packageManagerPreInstallPrefix %> nx-cloud start-ci-run --distribute-on="
|
|
21
|
+
<% if (connectedToCloud) { %>- <%= packageManagerPreInstallPrefix %> nx-cloud start-ci-run --distribute-on="3 linux-medium-js" --stop-agents-after="<% if(hasE2E){ %>e2e-ci<% } else { %>build<% } %>"
|
|
22
22
|
<% } else { %># Connect your workspace by running "nx connect" and uncomment this
|
|
23
|
-
# - <%= packageManagerPreInstallPrefix %> nx-cloud start-ci-run --distribute-on="
|
|
23
|
+
# - <%= packageManagerPreInstallPrefix %> nx-cloud start-ci-run --distribute-on="3 linux-medium-js" --stop-agents-after="<% if(hasE2E){ %>e2e-ci<% } else { %>build<% } %>"
|
|
24
24
|
<% } %>
|
|
25
25
|
- <%= packageManagerInstall %>
|
|
26
26
|
- NX_HEAD=$CI_COMMIT_SHA
|