@nx/plugin 23.1.0-rc.3 → 23.1.1

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.
@@ -121,7 +121,7 @@ async function addLintingToApplication(tree, options) {
121
121
  ],
122
122
  unitTestRunner: 'jest',
123
123
  skipFormat: true,
124
- setParserOptionsProject: false,
124
+ enableTypedLinting: false,
125
125
  addPlugin: options.addPlugin,
126
126
  });
127
127
  return lintTask;
@@ -12,6 +12,10 @@ export interface Schema {
12
12
  tags?: string;
13
13
  unitTestRunner?: 'jest' | 'vitest' | 'none';
14
14
  linter?: Linter | LinterType;
15
+ enableTypedLinting?: boolean;
16
+ /**
17
+ * @deprecated Use `enableTypedLinting` instead. This option will be removed in Nx v24.
18
+ */
15
19
  setParserOptionsProject?: boolean;
16
20
  compiler?: 'swc' | 'tsc';
17
21
  rootProject?: boolean;
@@ -75,11 +75,17 @@
75
75
  "type": "string",
76
76
  "description": "A directory where the plugin E2E project is placed."
77
77
  },
78
- "setParserOptionsProject": {
78
+ "enableTypedLinting": {
79
79
  "type": "boolean",
80
- "description": "Whether or not to configure the ESLint `parserOptions.project` option. We do not do this by default for lint performance reasons.",
80
+ "description": "Whether to enable typed linting. For flat configs, this configures the recommended `parserOptions.projectService` and `tsconfigRootDir`. For legacy `.eslintrc` configs, this configures `parserOptions.project`. We do not enable this by default for lint performance reasons.",
81
81
  "default": false
82
82
  },
83
+ "setParserOptionsProject": {
84
+ "type": "boolean",
85
+ "description": "Deprecated alias for `enableTypedLinting`.",
86
+ "default": false,
87
+ "x-deprecated": "Use `enableTypedLinting` instead. This option will be removed in Nx v24."
88
+ },
83
89
  "compiler": {
84
90
  "type": "string",
85
91
  "enum": ["tsc", "swc"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/plugin",
3
- "version": "23.1.0-rc.3",
3
+ "version": "23.1.1",
4
4
  "private": false,
5
5
  "description": "This plugin is used to create Nx plugins! It contains generators for generating common plugin features like generators, executors, migrations and more.",
6
6
  "repository": {
@@ -36,13 +36,13 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "tslib": "^2.3.0",
39
- "@nx/devkit": "23.1.0-rc.3",
40
- "@nx/jest": "23.1.0-rc.3",
41
- "@nx/js": "23.1.0-rc.3",
42
- "@nx/eslint": "23.1.0-rc.3"
39
+ "@nx/devkit": "23.1.1",
40
+ "@nx/jest": "23.1.1",
41
+ "@nx/js": "23.1.1",
42
+ "@nx/eslint": "23.1.1"
43
43
  },
44
44
  "devDependencies": {
45
- "nx": "23.1.0-rc.3"
45
+ "nx": "23.1.1"
46
46
  },
47
47
  "publishConfig": {
48
48
  "access": "public"