@nx/oxlint 23.2.0-beta.11 → 23.2.0-beta.12

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.
@@ -338,6 +338,8 @@ function collectConfigChains(oxlintConfigFiles, workspaceRoot) {
338
338
  catch {
339
339
  // A malformed config drops its chain from the task inputs rather than
340
340
  // failing graph construction, matching `readCachedJson` in @nx/js.
341
+ // `oxlint.config.ts`/`.mts` land here too: their chains and jsPlugins
342
+ // are out of scope, so they get neither file inputs nor graph edges.
341
343
  json = null;
342
344
  }
343
345
  }
@@ -516,7 +518,8 @@ async function collectLintableFilesByProjectRoot(projectRoots, context) {
516
518
  /**
517
519
  * `.eslintignore` candidates in every ancestor directory of the project root,
518
520
  * workspace root included. The project's own directory is excluded — files
519
- * there are covered by the `default` input.
521
+ * there are covered by the `default` input — except at the workspace root,
522
+ * which is its own ancestor and so keeps its `.eslintignore`.
520
523
  */
521
524
  function ancestorEslintignorePaths(projectRoot) {
522
525
  const result = [];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nx/oxlint",
3
3
  "description": "Experimental. The Oxlint plugin for Nx contains generators and utilities used for linting JavaScript/TypeScript projects within an Nx workspace.",
4
- "version": "23.2.0-beta.11",
4
+ "version": "23.2.0-beta.12",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist",
@@ -69,9 +69,9 @@
69
69
  "generators": "./generators.json",
70
70
  "dependencies": {
71
71
  "tslib": "^2.3.0",
72
- "@nx/devkit": "23.2.0-beta.11",
73
- "@nx/eslint-plugin": "23.2.0-beta.11",
74
- "@nx/js": "23.2.0-beta.11"
72
+ "@nx/devkit": "23.2.0-beta.12",
73
+ "@nx/eslint-plugin": "23.2.0-beta.12",
74
+ "@nx/js": "23.2.0-beta.12"
75
75
  },
76
76
  "peerDependencies": {
77
77
  "oxlint": "^1.43.0"
@@ -85,6 +85,6 @@
85
85
  "node": "^20.19.0 || >=22.12.0"
86
86
  },
87
87
  "devDependencies": {
88
- "nx": "23.2.0-beta.11"
88
+ "nx": "23.2.0-beta.12"
89
89
  }
90
90
  }