@nx/eslint 19.7.0-canary.20240817-b91d788 → 19.7.0-canary.20240821-2065033

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 CHANGED
@@ -22,7 +22,7 @@
22
22
 
23
23
  # Nx: Smart Monorepos · Fast CI
24
24
 
25
- Nx is a build system with built-in tooling and advanced CI capabilities. It helps you maintain and scale monorepos, both locally and on CI.
25
+ Nx is a build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced CI capabilities including caching and distribution.
26
26
 
27
27
  ## Getting Started
28
28
 
package/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  export { lintProjectGenerator } from './src/generators/lint-project/lint-project';
2
2
  export { lintInitGenerator } from './src/generators/init/init';
3
- export { Linter } from './src/generators/utils/linter';
3
+ export { Linter, LinterType } from './src/generators/utils/linter';
4
4
  export { hasRulesRequiringTypeChecking } from './src/utils/rules-requiring-type-checking';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/eslint",
3
- "version": "19.7.0-canary.20240817-b91d788",
3
+ "version": "19.7.0-canary.20240821-2065033",
4
4
  "private": false,
5
5
  "description": "The ESLint plugin for Nx contains executors, generators and utilities used for linting JavaScript/TypeScript projects within an Nx workspace.",
6
6
  "repository": {
@@ -35,12 +35,12 @@
35
35
  "eslint": "^8.0.0 || ^9.0.0"
36
36
  },
37
37
  "dependencies": {
38
- "@nx/devkit": "19.7.0-canary.20240817-b91d788",
39
- "@nx/js": "19.7.0-canary.20240817-b91d788",
38
+ "@nx/devkit": "19.7.0-canary.20240821-2065033",
39
+ "@nx/js": "19.7.0-canary.20240821-2065033",
40
40
  "semver": "^7.5.3",
41
41
  "tslib": "^2.3.0",
42
42
  "typescript": "~5.4.2",
43
- "@nx/linter": "19.7.0-canary.20240817-b91d788"
43
+ "@nx/linter": "19.7.0-canary.20240821-2065033"
44
44
  },
45
45
  "peerDependenciesMeta": {
46
46
  "@zkochan/js-yaml": {
@@ -1,8 +1,8 @@
1
1
  import { GeneratorCallback, Tree } from '@nx/devkit';
2
- import { Linter as LinterEnum } from '../utils/linter';
2
+ import { Linter as LinterEnum, LinterType } from '../utils/linter';
3
3
  interface LintProjectOptions {
4
4
  project: string;
5
- linter?: LinterEnum;
5
+ linter?: LinterEnum | LinterType;
6
6
  eslintFilePatterns?: string[];
7
7
  tsConfigPaths?: string[];
8
8
  skipFormat: boolean;
@@ -2,3 +2,4 @@ export declare enum Linter {
2
2
  EsLint = "eslint",
3
3
  None = "none"
4
4
  }
5
+ export type LinterType = 'eslint' | 'none';
@@ -1,6 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Linter = void 0;
4
+ /*
5
+ * @deprecated Use LinterType instead
6
+ */
4
7
  var Linter;
5
8
  (function (Linter) {
6
9
  Linter["EsLint"] = "eslint";