@nx/eslint-plugin 23.2.0-pr.36838.ef8e258 → 23.2.0-rc.0

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.
@@ -126,13 +126,10 @@ async function loadWorkspaceRules(directory, tsConfigPath) {
126
126
  }
127
127
  catch (err) {
128
128
  // Top-level await (`ERR_REQUIRE_ASYNC_MODULE`) and ESM-only modules
129
- // (`ERR_REQUIRE_ESM`) must be loaded via dynamic import(). Mirror
130
- // devkit's loadTypeScriptModule: register tsconfig-paths first so
131
- // workspace alias imports resolve, then try native dynamic import.
132
- // Only escalate to forceRegisterEsmLoader on unsupported TS syntax
133
- // (enum, runtime namespace, etc.) - surface the original ESM error
134
- // if no loader can be installed. Without this the outer catch
135
- // swallows the error and the lint run silently has no rules.
129
+ // (`ERR_REQUIRE_ESM`) must be loaded via dynamic import(). Keep
130
+ // CommonJS tsconfig-path resolution active during the import, and
131
+ // escalate to an ESM transpiler only for unsupported TS syntax;
132
+ // surface the original ESM error if no loader can be installed.
136
133
  if (err?.code !== 'ERR_REQUIRE_ESM' &&
137
134
  err?.code !== 'ERR_REQUIRE_ASYNC_MODULE') {
138
135
  throw err;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/eslint-plugin",
3
- "version": "23.2.0-pr.36838.ef8e258",
3
+ "version": "23.2.0-rc.0",
4
4
  "private": false,
5
5
  "type": "commonjs",
6
6
  "files": [
@@ -109,11 +109,11 @@
109
109
  "picocolors": "^1.1.0",
110
110
  "semver": "^7.6.3",
111
111
  "tslib": "^2.3.0",
112
- "@nx/devkit": "23.2.0-pr.36838.ef8e258",
113
- "@nx/js": "23.2.0-pr.36838.ef8e258"
112
+ "@nx/devkit": "23.2.0-rc.0",
113
+ "@nx/js": "23.2.0-rc.0"
114
114
  },
115
115
  "devDependencies": {
116
- "nx": "23.2.0-pr.36838.ef8e258"
116
+ "nx": "23.2.0-rc.0"
117
117
  },
118
118
  "publishConfig": {
119
119
  "access": "public"