@nx/playwright 19.4.0-canary.20240620-bb3658a → 19.4.0-canary.20240622-963f753

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.4.0-canary.20240620-bb3658a",
3
+ "version": "19.4.0-canary.20240622-963f753",
4
4
  "type": "commonjs",
5
5
  "homepage": "https://nx.dev",
6
6
  "private": false,
@@ -35,9 +35,9 @@
35
35
  },
36
36
  "dependencies": {
37
37
  "@phenomnomnominal/tsquery": "~5.0.1",
38
- "@nx/devkit": "19.4.0-canary.20240620-bb3658a",
39
- "@nx/eslint": "19.4.0-canary.20240620-bb3658a",
40
- "@nx/js": "19.4.0-canary.20240620-bb3658a",
38
+ "@nx/devkit": "19.4.0-canary.20240622-963f753",
39
+ "@nx/eslint": "19.4.0-canary.20240622-963f753",
40
+ "@nx/js": "19.4.0-canary.20240622-963f753",
41
41
  "tslib": "^2.3.0",
42
42
  "minimatch": "9.0.3"
43
43
  },
@@ -20,12 +20,21 @@ function postTargetTransformer(target) {
20
20
  if (target.options?.config) {
21
21
  delete target.options.config;
22
22
  }
23
- for (const [key, value] of Object.entries(target.options)) {
24
- const newKeyName = (0, devkit_1.names)(key).fileName;
25
- delete target.options[key];
26
- target.options[newKeyName] = value;
23
+ handleRenameOfProperties(target.options);
24
+ }
25
+ if (target.configurations) {
26
+ for (const configurationName in target.configurations) {
27
+ const configuration = target.configurations[configurationName];
28
+ handleRenameOfProperties(configuration);
27
29
  }
28
30
  }
29
31
  return target;
30
32
  }
33
+ function handleRenameOfProperties(options) {
34
+ for (const [key, value] of Object.entries(options)) {
35
+ const newKeyName = (0, devkit_1.names)(key).fileName;
36
+ delete options[key];
37
+ options[newKeyName] = value;
38
+ }
39
+ }
31
40
  exports.default = convertToInferred;