@nx/eslint-plugin 21.2.0-beta.1 → 21.2.0-beta.3
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/README.md +1 -1
- package/package.json +3 -3
- package/src/utils/runtime-lint-utils.js +1 -1
package/README.md
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
|
|
23
23
|
# Nx: Smart Repos · Fast Builds
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
An AI-first build platform that connects everything from your editor to CI. Helping you deliver fast, without breaking things.
|
|
26
26
|
|
|
27
27
|
This package is an ESLint plugin for Nx.
|
|
28
28
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/eslint-plugin",
|
|
3
|
-
"version": "21.2.0-beta.
|
|
3
|
+
"version": "21.2.0-beta.3",
|
|
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": "21.2.0-beta.
|
|
38
|
-
"@nx/js": "21.2.0-beta.
|
|
37
|
+
"@nx/devkit": "21.2.0-beta.3",
|
|
38
|
+
"@nx/js": "21.2.0-beta.3",
|
|
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, '../');
|