@nx/plugin 21.0.0-beta.10 → 21.0.0-beta.12

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/plugin",
3
- "version": "21.0.0-beta.10",
3
+ "version": "21.0.0-beta.12",
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": {
@@ -28,10 +28,10 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "tslib": "^2.3.0",
31
- "@nx/devkit": "21.0.0-beta.10",
32
- "@nx/jest": "21.0.0-beta.10",
33
- "@nx/js": "21.0.0-beta.10",
34
- "@nx/eslint": "21.0.0-beta.10"
31
+ "@nx/devkit": "21.0.0-beta.12",
32
+ "@nx/jest": "21.0.0-beta.12",
33
+ "@nx/js": "21.0.0-beta.12",
34
+ "@nx/eslint": "21.0.0-beta.12"
35
35
  },
36
36
  "publishConfig": {
37
37
  "access": "public"
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.pluginGenerator = pluginGenerator;
4
4
  exports.pluginGeneratorInternal = pluginGeneratorInternal;
5
5
  const devkit_1 = require("@nx/devkit");
6
- const eslint_1 = require("@nx/eslint");
7
6
  const js_1 = require("@nx/js");
8
7
  const add_swc_dependencies_1 = require("@nx/js/src/utils/swc/add-swc-dependencies");
9
8
  const add_tslib_dependencies_1 = require("@nx/js/src/utils/typescript/add-tslib-dependencies");
@@ -100,7 +99,7 @@ async function pluginGeneratorInternal(host, schema) {
100
99
  addPlugin: options.addPlugin,
101
100
  }));
102
101
  }
103
- if (options.linter === eslint_1.Linter.EsLint && !options.skipLintChecks) {
102
+ if (options.linter === 'eslint' && !options.skipLintChecks) {
104
103
  await (0, generator_1.default)(host, { projectName: options.projectName });
105
104
  }
106
105
  if (!options.skipFormat) {