@nx/playwright 19.1.1 → 19.1.2

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.1.1",
3
+ "version": "19.1.2",
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.1.1",
39
- "@nx/eslint": "19.1.1",
40
- "@nx/js": "19.1.1",
38
+ "@nx/devkit": "19.1.2",
39
+ "@nx/eslint": "19.1.2",
40
+ "@nx/js": "19.1.2",
41
41
  "tslib": "^2.3.0",
42
42
  "minimatch": "9.0.3"
43
43
  },
@@ -77,18 +77,24 @@ async function buildPlaywrightTargets(configFilePath, projectRoot, options, cont
77
77
  targets[options.targetName] = {
78
78
  ...baseTargetConfig,
79
79
  cache: true,
80
- inputs: 'production' in namedInputs
81
- ? ['default', '^production']
82
- : ['default', '^default'],
80
+ inputs: [
81
+ ...('production' in namedInputs
82
+ ? ['default', '^production']
83
+ : ['default', '^default']),
84
+ { externalDependencies: ['@playwright/test'] },
85
+ ],
83
86
  outputs: getOutputs(projectRoot, playwrightConfig),
84
87
  };
85
88
  if (options.ciTargetName) {
86
89
  const ciBaseTargetConfig = {
87
90
  ...baseTargetConfig,
88
91
  cache: true,
89
- inputs: 'production' in namedInputs
90
- ? ['default', '^production']
91
- : ['default', '^default'],
92
+ inputs: [
93
+ ...('production' in namedInputs
94
+ ? ['default', '^production']
95
+ : ['default', '^default']),
96
+ { externalDependencies: ['@playwright/test'] },
97
+ ],
92
98
  outputs: getOutputs(projectRoot, playwrightConfig),
93
99
  };
94
100
  const groupName = 'E2E (CI)';