@nx/workspace 18.3.0-canary.20240403-270788e → 18.3.0-canary.20240404-3b182e4
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": "18.3.0-canary.
|
|
3
|
+
"version": "18.3.0-canary.20240404-3b182e4",
|
|
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": "18.3.0-canary.
|
|
64
|
+
"@nx/devkit": "18.3.0-canary.20240404-3b182e4",
|
|
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": "18.3.0-canary.
|
|
70
|
-
"@nrwl/workspace": "18.3.0-canary.
|
|
69
|
+
"nx": "18.3.0-canary.20240404-3b182e4",
|
|
70
|
+
"@nrwl/workspace": "18.3.0-canary.20240404-3b182e4"
|
|
71
71
|
},
|
|
72
72
|
"publishConfig": {
|
|
73
73
|
"access": "public"
|
|
@@ -49,6 +49,8 @@ jobs:
|
|
|
49
49
|
- script: npm install --prefix=$HOME/.local -g pnpm@8
|
|
50
50
|
displayName: Install PNPM
|
|
51
51
|
<% } %>- script: <%= packageManagerInstall %>
|
|
52
|
+
- script: git branch --track main origin/main
|
|
53
|
+
condition: eq(variables['Build.Reason'], 'PullRequest')
|
|
52
54
|
|
|
53
55
|
- script: <%= packageManagerPrefix %> nx-cloud record -- nx format:check --base=$(BASE_SHA) --head=$(HEAD_SHA)
|
|
54
56
|
- script: <%= packageManagerPrefix %> nx affected --base=$(BASE_SHA) --head=$(HEAD_SHA) -t lint test build<% if(hasE2E){ %> e2e-ci<% } %>
|
|
@@ -22,6 +22,10 @@ jobs:
|
|
|
22
22
|
- nx/set-shas:
|
|
23
23
|
main-branch-name: '<%= mainBranch %>'
|
|
24
24
|
|
|
25
|
+
# Required for nx affected if we're on a branch
|
|
26
|
+
- run: git branch --track main origin/main
|
|
27
|
+
condition: eq(variables['Build.Reason'], 'PullRequest')
|
|
28
|
+
|
|
25
29
|
- run: <%= packageManagerPrefix %> nx-cloud record -- nx format:check --base=$NX_BASE --head=$NX_HEAD
|
|
26
30
|
- run: <%= packageManagerPrefix %> nx affected --base=$NX_BASE --head=$NX_HEAD -t lint test build<% if(hasE2E){ %> e2e-ci<% } %>
|
|
27
31
|
|
package/src/generators/ci-workflow/files/github/.github/workflows/__workflowFileName__.yml__tmpl__
CHANGED
|
@@ -34,5 +34,8 @@ jobs:
|
|
|
34
34
|
- run: <%= packageManagerInstall %>
|
|
35
35
|
- uses: nrwl/nx-set-shas@v4
|
|
36
36
|
|
|
37
|
+
- run: git branch --track main origin/main
|
|
38
|
+
if: ${{ github.event_name == 'pull_request' }}
|
|
39
|
+
|
|
37
40
|
- run: <%= packageManagerPrefix %> nx-cloud record -- nx format:check
|
|
38
41
|
- run: <%= packageManagerPrefix %> nx affected -t lint test build<% if(hasE2E){ %> e2e-ci<% } %>
|