@nx/eslint 23.0.0-beta.22 → 23.0.0-beta.23

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.
@@ -12,7 +12,7 @@ const target_options_map_1 = require("./lib/target-options-map");
12
12
  async function convertToInferred(tree, options) {
13
13
  (0, assert_supported_eslint_version_1.assertSupportedEslintVersion)(tree);
14
14
  const projectGraph = await (0, devkit_1.createProjectGraphAsync)();
15
- const migratedProjects = await (0, internal_1.migrateProjectExecutorsToPlugin)(tree, projectGraph, '@nx/eslint/plugin', plugin_1.createNodesV2, { targetName: 'lint' }, [
15
+ const migratedProjects = await (0, internal_1.migrateProjectExecutorsToPlugin)(tree, projectGraph, '@nx/eslint/plugin', plugin_1.createNodes, { targetName: 'lint' }, [
16
16
  {
17
17
  executors: ['@nx/eslint:lint', '@nrwl/linter:eslint'],
18
18
  postTargetTransformer,
@@ -90,7 +90,7 @@ async function initEsLint(tree, options) {
90
90
  '_eslint-lint',
91
91
  ];
92
92
  if (rootEslintFile && options.addPlugin && !hasPlugin) {
93
- await (0, internal_1.addPlugin)(tree, graph, '@nx/eslint/plugin', plugin_1.createNodesV2, {
93
+ await (0, internal_1.addPlugin)(tree, graph, '@nx/eslint/plugin', plugin_1.createNodes, {
94
94
  targetName: lintTargetNames,
95
95
  }, options.updatePackageScripts);
96
96
  return () => { };
@@ -101,7 +101,7 @@ async function initEsLint(tree, options) {
101
101
  updateProductionFileset(tree, options.eslintConfigFormat);
102
102
  updateVsCodeRecommendedExtensions(tree);
103
103
  if (options.addPlugin) {
104
- await (0, internal_1.addPlugin)(tree, graph, '@nx/eslint/plugin', plugin_1.createNodesV2, {
104
+ await (0, internal_1.addPlugin)(tree, graph, '@nx/eslint/plugin', plugin_1.createNodes, {
105
105
  targetName: lintTargetNames,
106
106
  }, options.updatePackageScripts);
107
107
  }
@@ -1,7 +1,7 @@
1
- import { CreateNodesV2 } from '@nx/devkit';
1
+ import { CreateNodes } from '@nx/devkit';
2
2
  export interface EslintPluginOptions {
3
3
  targetName?: string;
4
4
  extensions?: string[];
5
5
  }
6
- export declare const createNodes: CreateNodesV2<EslintPluginOptions>;
7
- export declare const createNodesV2: CreateNodesV2<EslintPluginOptions>;
6
+ export declare const createNodes: CreateNodes<EslintPluginOptions>;
7
+ export declare const createNodesV2: CreateNodes<EslintPluginOptions>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/eslint",
3
- "version": "23.0.0-beta.22",
3
+ "version": "23.0.0-beta.23",
4
4
  "private": false,
5
5
  "type": "commonjs",
6
6
  "files": [
@@ -73,17 +73,17 @@
73
73
  "peerDependencies": {
74
74
  "@zkochan/js-yaml": "0.0.7",
75
75
  "eslint": "^8.0.0 || ^9.0.0 || ^10.0.0",
76
- "@nx/jest": "23.0.0-beta.22"
76
+ "@nx/jest": "23.0.0-beta.23"
77
77
  },
78
78
  "dependencies": {
79
79
  "semver": "^7.6.3",
80
80
  "tslib": "^2.3.0",
81
81
  "typescript": "~5.9.2",
82
- "@nx/js": "23.0.0-beta.22",
83
- "@nx/devkit": "23.0.0-beta.22"
82
+ "@nx/js": "23.0.0-beta.23",
83
+ "@nx/devkit": "23.0.0-beta.23"
84
84
  },
85
85
  "devDependencies": {
86
- "nx": "23.0.0-beta.22"
86
+ "nx": "23.0.0-beta.23"
87
87
  },
88
88
  "peerDependenciesMeta": {
89
89
  "@nx/jest": {