@nx/playwright 19.0.2 → 19.0.4

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.0.2",
3
+ "version": "19.0.4",
4
4
  "type": "commonjs",
5
5
  "homepage": "https://nx.dev",
6
6
  "private": false,
@@ -33,9 +33,9 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "@phenomnomnominal/tsquery": "~5.0.1",
36
- "@nx/devkit": "19.0.2",
37
- "@nx/eslint": "19.0.2",
38
- "@nx/js": "19.0.2",
36
+ "@nx/devkit": "19.0.4",
37
+ "@nx/eslint": "19.0.4",
38
+ "@nx/js": "19.0.4",
39
39
  "tslib": "^2.3.0",
40
40
  "minimatch": "9.0.3"
41
41
  },
@@ -31,7 +31,8 @@ async function addLinterToPlaywrightProject(tree, options) {
31
31
  tasks.push(!options.skipPackageJson
32
32
  ? (0, devkit_1.addDependenciesToPackageJson)(tree, {}, { 'eslint-plugin-playwright': versions_1.eslintPluginPlaywrightVersion })
33
33
  : () => { });
34
- if ((0, eslint_file_1.isEslintConfigSupported)(tree)) {
34
+ if ((0, eslint_file_1.isEslintConfigSupported)(tree, projectConfig.root) ||
35
+ (0, eslint_file_1.isEslintConfigSupported)(tree)) {
35
36
  (0, eslint_file_1.addExtendsToLintConfig)(tree, projectConfig.root, 'plugin:playwright/recommended');
36
37
  if (options.rootProject) {
37
38
  (0, eslint_file_1.addPluginsToLintConfig)(tree, projectConfig.root, '@nx');