@nx/playwright 19.7.0-canary.20240816-ce2dff3 → 19.7.0-canary.20240817-b91d788

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/playwright",
3
- "version": "19.7.0-canary.20240816-ce2dff3",
3
+ "version": "19.7.0-canary.20240817-b91d788",
4
4
  "type": "commonjs",
5
5
  "homepage": "https://nx.dev",
6
6
  "private": false,
@@ -35,11 +35,11 @@
35
35
  },
36
36
  "dependencies": {
37
37
  "@phenomnomnominal/tsquery": "~5.0.1",
38
- "@nx/devkit": "19.7.0-canary.20240816-ce2dff3",
39
- "@nx/eslint": "19.7.0-canary.20240816-ce2dff3",
40
- "@nx/webpack": "19.7.0-canary.20240816-ce2dff3",
41
- "@nx/vite": "19.7.0-canary.20240816-ce2dff3",
42
- "@nx/js": "19.7.0-canary.20240816-ce2dff3",
38
+ "@nx/devkit": "19.7.0-canary.20240817-b91d788",
39
+ "@nx/eslint": "19.7.0-canary.20240817-b91d788",
40
+ "@nx/webpack": "19.7.0-canary.20240817-b91d788",
41
+ "@nx/vite": "19.7.0-canary.20240817-b91d788",
42
+ "@nx/js": "19.7.0-canary.20240817-b91d788",
43
43
  "tslib": "^2.3.0",
44
44
  "minimatch": "9.0.3"
45
45
  },
@@ -40,7 +40,7 @@ async function addE2eCiTargetDefaults(tree) {
40
40
  if (!nodes.length) {
41
41
  continue;
42
42
  }
43
- const ciWebServerCommand = nodes[0].getText();
43
+ const ciWebServerCommand = nodes[0].getText().replace(/['"]/g, '');
44
44
  let serveStaticProject;
45
45
  let serveStaticTarget;
46
46
  let serveStaticConfiguration;
@@ -65,7 +65,7 @@ async function addE2eCiTargetDefaults(tree) {
65
65
  serveStaticTarget = matches[1];
66
66
  serveStaticProject = matches[2];
67
67
  }
68
- const resolvedServeStaticTarget = graph.nodes[serveStaticProject].data.targets[serveStaticTarget];
68
+ const resolvedServeStaticTarget = graph.nodes[serveStaticProject]?.data?.targets?.[serveStaticTarget];
69
69
  if (!resolvedServeStaticTarget) {
70
70
  continue;
71
71
  }