@nx/workspace 20.0.6 → 20.0.8

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": "20.0.6",
3
+ "version": "20.0.8",
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.6",
41
+ "@nx/devkit": "20.0.8",
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.6"
46
+ "nx": "20.0.8"
47
47
  },
48
48
  "publishConfig": {
49
49
  "access": "public"
@@ -60,7 +60,7 @@ jobs:
60
60
 
61
61
  - script: <%= packageManagerInstall %><% if(hasCypress){ %>
62
62
  - script: <%= packageManagerPrefix %> cypress install<% } %><% if(hasPlaywright){ %>
63
- - script: <%= packageManagerPrefix %> playwright install<% } %>
63
+ - script: <%= packageManagerPrefix %> playwright install --with-deps<% } %>
64
64
  - script: git branch --track <%= mainBranch %> origin/<%= mainBranch %>
65
65
  condition: eq(variables['Build.Reason'], 'PullRequest')
66
66
 
@@ -27,7 +27,7 @@ pipelines:
27
27
 
28
28
  - <%= packageManagerInstall %><% if(hasCypress){ %>
29
29
  - <%= packageManagerPrefix %> cypress install<% } %><% if(hasPlaywright){ %>
30
- - <%= packageManagerPrefix %> playwright install<% } %>
30
+ - <%= packageManagerPrefix %> playwright install --with-deps<% } %>
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
@@ -29,7 +29,7 @@ jobs:
29
29
 
30
30
  - run: <%= packageManagerInstall %><% if(hasCypress){ %>
31
31
  - run: <%= packageManagerPrefix %> cypress install<% } %><% if(hasPlaywright){ %>
32
- - run: <%= packageManagerPrefix %> playwright install<% } %>
32
+ - run: <%= packageManagerPrefix %> playwright install --with-deps<% } %>
33
33
  - nx/set-shas:
34
34
  main-branch-name: '<%= mainBranch %>'
35
35
 
@@ -43,7 +43,7 @@ jobs:
43
43
  <% } %>
44
44
  - run: <%= packageManagerInstall %><% if(hasCypress){ %>
45
45
  - run: <%= packageManagerPrefix %> cypress install<% } %><% if(hasPlaywright){ %>
46
- - run: <%= packageManagerPrefix %> playwright install<% } %>
46
+ - run: <%= packageManagerPrefix %> playwright install --with-deps<% } %>
47
47
  - uses: nrwl/nx-set-shas@v4
48
48
 
49
49
  # Prepend any command with "nx-cloud record --" to record its logs to Nx Cloud
@@ -23,7 +23,7 @@ variables:
23
23
 
24
24
  - <%= packageManagerInstall %><% if(hasCypress){ %>
25
25
  - <%= packageManagerPrefix %> cypress install<% } %><% if(hasPlaywright){ %>
26
- - <%= packageManagerPrefix %> playwright install<% } %>
26
+ - <%= packageManagerPrefix %> playwright install --with-deps<% } %>
27
27
  - NX_HEAD=$CI_COMMIT_SHA
28
28
  - NX_BASE=${CI_MERGE_REQUEST_DIFF_BASE_SHA:-$CI_COMMIT_BEFORE_SHA}
29
29
 
@@ -131,7 +131,8 @@ function getPresetDependencies({ preset, presetVersion, bundler, e2eTestRunner,
131
131
  dependencies: {},
132
132
  dev: {
133
133
  '@nx/react': versions_1.nxVersion,
134
- '@nx/cypress': e2eTestRunner !== 'none' ? versions_1.nxVersion : undefined,
134
+ '@nx/cypress': e2eTestRunner === 'cypress' ? versions_1.nxVersion : undefined,
135
+ '@nx/playwright': e2eTestRunner === 'playwright' ? versions_1.nxVersion : undefined,
135
136
  '@nx/jest': bundler !== 'vite' ? versions_1.nxVersion : undefined,
136
137
  '@nx/vite': bundler === 'vite' ? versions_1.nxVersion : undefined,
137
138
  '@nx/webpack': bundler === 'webpack' ? versions_1.nxVersion : undefined,