@nx/workspace 19.0.0-canary.20240423-b37bfdb → 19.0.0-canary.20240426-ac9ad35

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.20240423-b37bfdb",
3
+ "version": "19.0.0-canary.20240426-ac9ad35",
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.20240423-b37bfdb",
64
+ "@nx/devkit": "19.0.0-canary.20240426-ac9ad35",
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.20240423-b37bfdb",
70
- "@nrwl/workspace": "19.0.0-canary.20240423-b37bfdb"
69
+ "nx": "19.0.0-canary.20240426-ac9ad35",
70
+ "@nrwl/workspace": "19.0.0-canary.20240426-ac9ad35"
71
71
  },
72
72
  "publishConfig": {
73
73
  "access": "public"
@@ -76,7 +76,7 @@
76
76
  "e2eTestRunner": {
77
77
  "description": "The tool to use for running e2e tests.",
78
78
  "type": "string",
79
- "enum": ["cypress", "playwright", "jest", "detox", "none"]
79
+ "enum": ["playwright", "cypress", "jest", "detox", "none"]
80
80
  },
81
81
  "ssr": {
82
82
  "description": "Enable Server-Side Rendering (SSR) and Static Site Generation (SSG/Prerendering) for the Angular application.",
@@ -33,7 +33,7 @@ async function createPreset(tree, options) {
33
33
  linter: options.linter,
34
34
  standalone: options.standaloneApi,
35
35
  routing: options.routing,
36
- e2eTestRunner: options.e2eTestRunner ?? 'cypress',
36
+ e2eTestRunner: options.e2eTestRunner ?? 'playwright',
37
37
  bundler: options.bundler,
38
38
  ssr: options.ssr,
39
39
  prefix: options.prefix,
@@ -50,7 +50,7 @@ async function createPreset(tree, options) {
50
50
  routing: options.routing,
51
51
  rootProject: true,
52
52
  standalone: options.standaloneApi,
53
- e2eTestRunner: options.e2eTestRunner ?? 'cypress',
53
+ e2eTestRunner: options.e2eTestRunner ?? 'playwright',
54
54
  bundler: options.bundler,
55
55
  ssr: options.ssr,
56
56
  prefix: options.prefix,
@@ -66,7 +66,7 @@ async function createPreset(tree, options) {
66
66
  style: options.style,
67
67
  linter: options.linter,
68
68
  bundler: options.bundler ?? 'webpack',
69
- e2eTestRunner: options.e2eTestRunner ?? 'cypress',
69
+ e2eTestRunner: options.e2eTestRunner ?? 'playwright',
70
70
  addPlugin,
71
71
  });
72
72
  }
@@ -81,7 +81,7 @@ async function createPreset(tree, options) {
81
81
  linter: options.linter,
82
82
  rootProject: true,
83
83
  bundler: options.bundler ?? 'vite',
84
- e2eTestRunner: options.e2eTestRunner ?? 'cypress',
84
+ e2eTestRunner: options.e2eTestRunner ?? 'playwright',
85
85
  unitTestRunner: options.bundler === 'vite' ? 'vitest' : 'jest',
86
86
  addPlugin,
87
87
  });
@@ -94,7 +94,7 @@ async function createPreset(tree, options) {
94
94
  directory: (0, path_1.join)('apps', options.name),
95
95
  projectNameAndRootFormat: 'as-provided',
96
96
  linter: options.linter,
97
- e2eTestRunner: options.e2eTestRunner ?? 'cypress',
97
+ e2eTestRunner: options.e2eTestRunner ?? 'playwright',
98
98
  unitTestRunner: 'vitest',
99
99
  addPlugin,
100
100
  });
@@ -107,7 +107,7 @@ async function createPreset(tree, options) {
107
107
  directory: '.',
108
108
  projectNameAndRootFormat: 'as-provided',
109
109
  linter: options.linter,
110
- e2eTestRunner: options.e2eTestRunner ?? 'cypress',
110
+ e2eTestRunner: options.e2eTestRunner ?? 'playwright',
111
111
  rootProject: true,
112
112
  unitTestRunner: 'vitest',
113
113
  addPlugin,
@@ -122,7 +122,7 @@ async function createPreset(tree, options) {
122
122
  projectNameAndRootFormat: 'as-provided',
123
123
  style: options.style,
124
124
  linter: options.linter,
125
- e2eTestRunner: options.e2eTestRunner ?? 'cypress',
125
+ e2eTestRunner: options.e2eTestRunner ?? 'playwright',
126
126
  addPlugin,
127
127
  });
128
128
  }
@@ -136,7 +136,7 @@ async function createPreset(tree, options) {
136
136
  style: options.style,
137
137
  linter: options.linter,
138
138
  rootProject: true,
139
- e2eTestRunner: options.e2eTestRunner ?? 'cypress',
139
+ e2eTestRunner: options.e2eTestRunner ?? 'playwright',
140
140
  unitTestRunner: 'vitest',
141
141
  addPlugin,
142
142
  });
@@ -150,7 +150,7 @@ async function createPreset(tree, options) {
150
150
  projectNameAndRootFormat: 'as-provided',
151
151
  style: options.style,
152
152
  linter: options.linter,
153
- e2eTestRunner: options.e2eTestRunner ?? 'cypress',
153
+ e2eTestRunner: options.e2eTestRunner ?? 'playwright',
154
154
  addPlugin,
155
155
  });
156
156
  }
@@ -164,7 +164,7 @@ async function createPreset(tree, options) {
164
164
  style: options.style,
165
165
  linter: options.linter,
166
166
  rootProject: true,
167
- e2eTestRunner: options.e2eTestRunner ?? 'cypress',
167
+ e2eTestRunner: options.e2eTestRunner ?? 'playwright',
168
168
  unitTestRunner: 'vitest',
169
169
  addPlugin,
170
170
  });
@@ -180,7 +180,7 @@ async function createPreset(tree, options) {
180
180
  linter: options.linter,
181
181
  appDir: options.nextAppDir,
182
182
  src: options.nextSrcDir,
183
- e2eTestRunner: options.e2eTestRunner ?? 'cypress',
183
+ e2eTestRunner: options.e2eTestRunner ?? 'playwright',
184
184
  addPlugin,
185
185
  });
186
186
  }
@@ -195,7 +195,7 @@ async function createPreset(tree, options) {
195
195
  linter: options.linter,
196
196
  appDir: options.nextAppDir,
197
197
  src: options.nextSrcDir,
198
- e2eTestRunner: options.e2eTestRunner ?? 'cypress',
198
+ e2eTestRunner: options.e2eTestRunner ?? 'playwright',
199
199
  rootProject: true,
200
200
  addPlugin,
201
201
  });
@@ -210,7 +210,7 @@ async function createPreset(tree, options) {
210
210
  style: options.style,
211
211
  linter: options.linter,
212
212
  bundler: 'vite',
213
- e2eTestRunner: options.e2eTestRunner ?? 'cypress',
213
+ e2eTestRunner: options.e2eTestRunner ?? 'playwright',
214
214
  addPlugin,
215
215
  });
216
216
  }
@@ -93,7 +93,7 @@
93
93
  "e2eTestRunner": {
94
94
  "description": "The tool to use for running e2e tests.",
95
95
  "type": "string",
96
- "enum": ["cypress", "playwright", "jest", "detox", "none"]
96
+ "enum": ["playwright", "cypress", "jest", "detox", "none"]
97
97
  },
98
98
  "ssr": {
99
99
  "description": "Enable Server-Side Rendering (SSR) and Static Site Generation (SSG/Prerendering) for the Angular application.",