@nrwl/linter 14.7.8 → 14.7.9
Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,6 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5
5
|
|
6
|
-
## [14.7.
|
6
|
+
## [14.7.9](https://github.com/nrwl/nx/compare/14.7.8...14.7.9) (2022-09-22)
|
7
7
|
|
8
8
|
**Note:** Version bump only for package @nrwl/linter
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@nrwl/linter",
|
3
|
-
"version": "14.7.
|
3
|
+
"version": "14.7.9",
|
4
4
|
"private": false,
|
5
5
|
"description": "The Linter plugin for Nx contains executors, generators and utilities used for linting JavaScript/TypeScript projects within an Nx workspace.",
|
6
6
|
"repository": {
|
@@ -34,10 +34,10 @@
|
|
34
34
|
"eslint": "^8.0.0"
|
35
35
|
},
|
36
36
|
"dependencies": {
|
37
|
-
"@nrwl/devkit": "14.7.
|
38
|
-
"@nrwl/jest": "14.7.
|
37
|
+
"@nrwl/devkit": "14.7.9",
|
38
|
+
"@nrwl/jest": "14.7.9",
|
39
39
|
"@phenomnomnominal/tsquery": "4.1.1",
|
40
|
-
"nx": "14.7.
|
40
|
+
"nx": "14.7.9",
|
41
41
|
"tmp": "~0.2.1",
|
42
42
|
"tslib": "^2.3.0"
|
43
43
|
},
|
@@ -49,5 +49,5 @@
|
|
49
49
|
"publishConfig": {
|
50
50
|
"access": "public"
|
51
51
|
},
|
52
|
-
"gitHead": "
|
52
|
+
"gitHead": "2890289f7bd6fd3d8c545dd6d2b28249a5038d79"
|
53
53
|
}
|
@@ -10,7 +10,12 @@ function run(task, context) {
|
|
10
10
|
const deps = allDeps(task.id, context.taskGraph, context.projectGraph);
|
11
11
|
const tags = context.hasher.hashArray(deps.map((d) => (context.workspaceConfig.projects[d].tags || []).join('|')));
|
12
12
|
const command = res.details['command'];
|
13
|
-
|
13
|
+
let selfSource = '';
|
14
|
+
for (let n of Object.keys(res.details)) {
|
15
|
+
if (n.startsWith(`${task.target.project}:`)) {
|
16
|
+
selfSource = res.details.nodes[n];
|
17
|
+
}
|
18
|
+
}
|
14
19
|
const nodes = {};
|
15
20
|
const hashes = [];
|
16
21
|
for (const d of Object.keys(res.details.nodes)) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"hasher.js","sourceRoot":"","sources":["../../../../../../packages/linter/src/executors/eslint/hasher.ts"],"names":[],"mappings":";;;AASA,SAA8B,GAAG,CAC/B,IAAU,EACV,OAKC;;QAED,MAAM,GAAG,GAAG,MAAM,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QAChD,IAAI,IAAI,CAAC,SAAS,CAAC,mBAAmB,CAAC,KAAK,IAAI,EAAE;YAChD,OAAO,GAAG,CAAC;SACZ;QAED,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,EAAE,EAAE,OAAO,CAAC,SAAS,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC;QACvE,MAAM,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,SAAS,CACnC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,eAAe,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAC5E,CAAC;QAEF,MAAM,OAAO,GAAG,GAAG,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;QACvC,
|
1
|
+
{"version":3,"file":"hasher.js","sourceRoot":"","sources":["../../../../../../packages/linter/src/executors/eslint/hasher.ts"],"names":[],"mappings":";;;AASA,SAA8B,GAAG,CAC/B,IAAU,EACV,OAKC;;QAED,MAAM,GAAG,GAAG,MAAM,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QAChD,IAAI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