@nx/plugin 16.4.0-beta.13 → 16.4.0-beta.16

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": "16.4.0-beta.13",
3
+ "version": "16.4.0-beta.16",
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,11 +28,11 @@
28
28
  "migrations": "./migrations.json"
29
29
  },
30
30
  "dependencies": {
31
- "@nrwl/nx-plugin": "16.4.0-beta.13",
32
- "@nx/devkit": "16.4.0-beta.13",
33
- "@nx/jest": "16.4.0-beta.13",
34
- "@nx/js": "16.4.0-beta.13",
35
- "@nx/linter": "16.4.0-beta.13",
31
+ "@nrwl/nx-plugin": "16.4.0-beta.16",
32
+ "@nx/devkit": "16.4.0-beta.16",
33
+ "@nx/jest": "16.4.0-beta.16",
34
+ "@nx/js": "16.4.0-beta.16",
35
+ "@nx/linter": "16.4.0-beta.16",
36
36
  "@phenomnomnominal/tsquery": "~5.0.1",
37
37
  "dotenv": "~10.0.0",
38
38
  "fs-extra": "^11.1.0",
@@ -41,5 +41,5 @@
41
41
  "publishConfig": {
42
42
  "access": "public"
43
43
  },
44
- "gitHead": "d81afedfcc8d07db8cdb9b0e9286de0321ee184e"
44
+ "gitHead": "720cf9de0102e6829b93d259ef5f8955dbd983f1"
45
45
  }
@@ -1,7 +1,7 @@
1
1
  import { ProjectConfiguration, TargetConfiguration, Tree } from '@nx/devkit';
2
- import { Schema as EsLintExecutorOptions } from '@nx/linter/src/executors/eslint/schema';
2
+ import type { Schema as EsLintExecutorOptions } from '@nx/linter/src/executors/eslint/schema';
3
3
  import { PluginLintChecksGeneratorSchema } from './schema';
4
4
  import { PackageJson } from 'nx/src/utils/package-json';
5
- export default function pluginLintCheckGenerator(host: Tree, options: PluginLintChecksGeneratorSchema): Promise<() => import("@nx/devkit").GeneratorCallback>;
5
+ export default function pluginLintCheckGenerator(host: Tree, options: PluginLintChecksGeneratorSchema): Promise<void>;
6
6
  export declare function addMigrationJsonChecks(host: Tree, options: PluginLintChecksGeneratorSchema, packageJson: PackageJson): void;
7
7
  export declare function getEsLintOptions(project: ProjectConfiguration): [target: string, configuration: TargetConfiguration<EsLintExecutorOptions>];
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getEsLintOptions = exports.addMigrationJsonChecks = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const devkit_1 = require("@nx/devkit");
6
- const versions_1 = require("../../utils/versions");
7
6
  const logger_1 = require("nx/src/utils/logger");
8
7
  const package_json_1 = require("nx/src/utils/package-json");
9
8
  function pluginLintCheckGenerator(host, options) {
@@ -29,11 +28,9 @@ function pluginLintCheckGenerator(host, options) {
29
28
  else {
30
29
  devkit_1.logger.error(`${logger_1.NX_PREFIX} plugin lint checks can only be added to plugins which use eslint for linting`);
31
30
  }
32
- const installTask = (0, devkit_1.addDependenciesToPackageJson)(host, {}, { 'jsonc-eslint-parser': versions_1.jsoncEslintParserVersion });
33
31
  if (!options.skipFormat) {
34
32
  yield (0, devkit_1.formatFiles)(host);
35
33
  }
36
- return () => installTask;
37
34
  });
38
35
  }
39
36
  exports.default = pluginLintCheckGenerator;