@nx/workspace 19.0.0-canary.20240502-5ded713 → 19.0.0-canary.20240503-dbad02a
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/workspace",
|
|
3
|
-
"version": "19.0.0-canary.
|
|
3
|
+
"version": "19.0.0-canary.20240503-dbad02a",
|
|
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.0.0-canary.
|
|
64
|
+
"@nx/devkit": "19.0.0-canary.20240503-dbad02a",
|
|
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.0.0-canary.
|
|
70
|
-
"@nrwl/workspace": "19.0.0-canary.
|
|
69
|
+
"nx": "19.0.0-canary.20240503-dbad02a",
|
|
70
|
+
"@nrwl/workspace": "19.0.0-canary.20240503-dbad02a"
|
|
71
71
|
},
|
|
72
72
|
"publishConfig": {
|
|
73
73
|
"access": "public"
|
|
@@ -51,7 +51,7 @@ jobs:
|
|
|
51
51
|
# - script: <%= packageManagerPrefix %> nx-cloud start-ci-run --distribute-on="5 linux-medium-js" --stop-agents-after="<% if(hasE2E){ %>e2e-ci<% } else { %>build<% } %>"
|
|
52
52
|
|
|
53
53
|
- script: <%= packageManagerInstall %>
|
|
54
|
-
- script: git branch --track
|
|
54
|
+
- script: git branch --track <%= mainBranch %> origin/<%= mainBranch %>
|
|
55
55
|
condition: eq(variables['Build.Reason'], 'PullRequest')
|
|
56
56
|
|
|
57
57
|
- script: <%= packageManagerPrefix %> nx-cloud record -- nx format:check --base=$(BASE_SHA) --head=$(HEAD_SHA)
|
|
@@ -23,10 +23,6 @@ jobs:
|
|
|
23
23
|
- nx/set-shas:
|
|
24
24
|
main-branch-name: '<%= mainBranch %>'
|
|
25
25
|
|
|
26
|
-
# Required for nx affected if we're on a branch
|
|
27
|
-
- run: git branch --track main origin/main
|
|
28
|
-
condition: eq(variables['Build.Reason'], 'PullRequest')
|
|
29
|
-
|
|
30
26
|
- run: <%= packageManagerPrefix %> nx-cloud record -- nx format:check --base=$NX_BASE --head=$NX_HEAD
|
|
31
27
|
- run: <%= packageManagerPrefix %> nx affected --base=$NX_BASE --head=$NX_HEAD -t lint test build<% if(hasE2E){ %> e2e-ci<% } %>
|
|
32
28
|
|
package/src/generators/ci-workflow/files/github/.github/workflows/__workflowFileName__.yml__tmpl__
CHANGED
|
@@ -35,8 +35,5 @@ jobs:
|
|
|
35
35
|
- run: <%= packageManagerInstall %>
|
|
36
36
|
- uses: nrwl/nx-set-shas@v4
|
|
37
37
|
|
|
38
|
-
- run: git branch --track main origin/main
|
|
39
|
-
if: ${{ github.event_name == 'pull_request' }}
|
|
40
|
-
|
|
41
38
|
- run: <%= packageManagerPrefix %> nx-cloud record -- nx format:check
|
|
42
39
|
- run: <%= packageManagerPrefix %> nx affected -t lint test build<% if(hasE2E){ %> e2e-ci<% } %>
|