@nx/eslint-plugin 16.7.1 → 16.7.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/eslint-plugin",
|
|
3
|
-
"version": "16.7.
|
|
3
|
+
"version": "16.7.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": {
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@nrwl/eslint-plugin-nx": "16.7.
|
|
37
|
-
"@nx/devkit": "16.7.
|
|
38
|
-
"@nx/js": "16.7.
|
|
36
|
+
"@nrwl/eslint-plugin-nx": "16.7.3",
|
|
37
|
+
"@nx/devkit": "16.7.3",
|
|
38
|
+
"@nx/js": "16.7.3",
|
|
39
39
|
"@typescript-eslint/type-utils": "^5.60.1",
|
|
40
40
|
"@typescript-eslint/utils": "^5.60.1",
|
|
41
41
|
"chalk": "^4.1.0",
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"migrations": "./migrations.json"
|
|
52
52
|
},
|
|
53
53
|
"type": "commonjs",
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "6ff5487c5f4ed9ed008df2af39e37d98fd289259"
|
|
55
55
|
}
|
|
@@ -140,8 +140,9 @@ function onlyLoadChildren(graph, sourceProjectName, targetProjectName, visited)
|
|
|
140
140
|
}
|
|
141
141
|
exports.onlyLoadChildren = onlyLoadChildren;
|
|
142
142
|
function getSourceFilePath(sourceFileName, projectPath) {
|
|
143
|
-
const
|
|
144
|
-
|
|
143
|
+
const normalizedProjectPath = (0, devkit_1.normalizePath)(projectPath);
|
|
144
|
+
const normalizedSourceFileName = (0, devkit_1.normalizePath)(sourceFileName);
|
|
145
|
+
return normalizedSourceFileName.slice(normalizedProjectPath.length + 1);
|
|
145
146
|
}
|
|
146
147
|
exports.getSourceFilePath = getSourceFilePath;
|
|
147
148
|
/**
|