@nrwl/linter 15.8.0-beta.7 → 15.8.0-beta.9
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@nrwl/linter",
|
3
|
-
"version": "15.8.0-beta.
|
3
|
+
"version": "15.8.0-beta.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": {
|
@@ -33,8 +33,8 @@
|
|
33
33
|
"eslint": "^8.0.0"
|
34
34
|
},
|
35
35
|
"dependencies": {
|
36
|
-
"@nrwl/devkit": "15.8.0-beta.
|
37
|
-
"@nrwl/js": "15.8.0-beta.
|
36
|
+
"@nrwl/devkit": "15.8.0-beta.9",
|
37
|
+
"@nrwl/js": "15.8.0-beta.9",
|
38
38
|
"@phenomnomnominal/tsquery": "4.1.1",
|
39
39
|
"tmp": "~0.2.1",
|
40
40
|
"tslib": "^2.3.0"
|
@@ -48,5 +48,5 @@
|
|
48
48
|
"access": "public"
|
49
49
|
},
|
50
50
|
"types": "./index.d.ts",
|
51
|
-
"gitHead": "
|
51
|
+
"gitHead": "b3e3c6aaae0de27385903cb3d7c81ae34888c11d"
|
52
52
|
}
|
@@ -18,8 +18,8 @@ function migrateConfigToMonorepoStyle(projects, tree, unitTestRunner) {
|
|
18
18
|
}
|
19
19
|
exports.migrateConfigToMonorepoStyle = migrateConfigToMonorepoStyle;
|
20
20
|
function findLintTarget(project) {
|
21
|
-
var _a;
|
22
|
-
return (
|
21
|
+
var _a, _b;
|
22
|
+
return (_b = Object.entries((_a = project.targets) !== null && _a !== void 0 ? _a : {}).find(([name, target]) => name === 'lint' || target.executor === '@nrwl/linter:eslint')) === null || _b === void 0 ? void 0 : _b[1];
|
23
23
|
}
|
24
24
|
exports.findLintTarget = findLintTarget;
|
25
25
|
function migrateEslintFile(projectEslintPath, tree) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"init-migration.js","sourceRoot":"","sources":["../../../../../../packages/linter/src/generators/init/init-migration.ts"],"names":[],"mappings":";;;AAAA,yCAQsB;AACtB,+BAA+B;AAC/B,sDAAsD;AACtD,iEAAsE;AAEtE,SAAgB,4BAA4B,CAC1C,QAAgC,EAChC,IAAU,EACV,cAAsB;IAEtB,IAAA,kBAAS,EACP,IAAI,EACJ,qBAAqB,EACrB,IAAA,mDAA4B,EAAC,cAAc,CAAC,CAC7C,CAAC;IAEF,gDAAgD;IAChD,QAAQ,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;QAC3B,MAAM,UAAU,GAAG,cAAc,CAAC,OAAO,CAAC,CAAC;QAC3C,IAAI,UAAU,EAAE;YACd,MAAM,iBAAiB,GAAG,IAAA,0BAAiB,EACzC,OAAO,CAAC,IAAI,EACZ,UAAU,CAAC,OAAO,CAAC,YAAY,IAAI,IAAA,4BAAc,EAAC,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,CACtE,CAAC;YACF,iBAAiB,CAAC,iBAAiB,EAAE,IAAI,CAAC,CAAC;SAC5C;IACH,CAAC,CAAC,CAAC;AACL,CAAC;AAtBD,oEAsBC;AAED,SAAgB,cAAc,CAC5B,OAA6B;;IAE7B,OAAO,MAAA,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,IAAI,
|
1
|
+
{"version":3,"file":"init-migration.js","sourceRoot":"","sources":["../../../../../../packages/linter/src/generators/init/init-migration.ts"],"names":[],"mappings":";;;AAAA,yCAQsB;AACtB,+BAA+B;AAC/B,sDAAsD;AACtD,iEAAsE;AAEtE,SAAgB,4BAA4B,CAC1C,QAAgC,EAChC,IAAU,EACV,cAAsB;IAEtB,IAAA,kBAAS,EACP,IAAI,EACJ,qBAAqB,EACrB,IAAA,mDAA4B,EAAC,cAAc,CAAC,CAC7C,CAAC;IAEF,gDAAgD;IAChD,QAAQ,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;QAC3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