@nx/eslint-plugin 0.0.0-pr-31379-d0ba8d3 → 0.0.0-pr-31423-b5ff84d

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/eslint-plugin",
3
- "version": "0.0.0-pr-31379-d0ba8d3",
3
+ "version": "0.0.0-pr-31423-b5ff84d",
4
4
  "private": false,
5
5
  "description": "The eslint-plugin package is an ESLint plugin that contains a collection of recommended ESLint rule configurations which you can extend from in your own ESLint configs, as well as an Nx-specific lint rule called enforce-module-boundaries.",
6
6
  "repository": {
@@ -34,8 +34,8 @@
34
34
  }
35
35
  },
36
36
  "dependencies": {
37
- "@nx/devkit": "0.0.0-pr-31379-d0ba8d3",
38
- "@nx/js": "0.0.0-pr-31379-d0ba8d3",
37
+ "@nx/devkit": "0.0.0-pr-31423-b5ff84d",
38
+ "@nx/js": "0.0.0-pr-31423-b5ff84d",
39
39
  "@typescript-eslint/type-utils": "^8.0.0",
40
40
  "@typescript-eslint/utils": "^8.0.0",
41
41
  "chalk": "^4.1.0",
@@ -360,7 +360,7 @@ function getEntryPoint(file, projectRoot) {
360
360
  const ngPackageContent = (0, fileutils_1.readFileIfExisting)(path.join(devkit_1.workspaceRoot, parent, 'ng-package.json'));
361
361
  if (ngPackageContent) {
362
362
  // https://github.com/ng-packagr/ng-packagr/blob/23c718d04eea85e015b4c261310b7bd0c39e5311/src/ng-package.schema.json#L54
363
- const entryFile = (0, devkit_1.parseJson)(ngPackageContent)?.lib?.entryFile;
363
+ const entryFile = (0, devkit_1.parseJson)(ngPackageContent)?.lib?.entryFile ?? 'src/public_api.ts';
364
364
  return (0, devkit_1.joinPathFragments)(parent, entryFile);
365
365
  }
366
366
  parent = (0, devkit_1.joinPathFragments)(parent, '../');