Skip to content

Commit

Permalink
feat(core): remove cli property from generators and executors schema.…
Browse files Browse the repository at this point in the history
…json file
  • Loading branch information
AgentEnder committed Apr 12, 2023
1 parent 1e31d47 commit 45dc757
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"$schema": "http://json-schema.org/schema",
"version": 2,
"cli": "nx",
"title": "<%= className %> executor",
"description": "",
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"$schema": "http://json-schema.org/schema",
"cli": "nx",
"$id": "<%= className %>",
"title": "",
"type": "object",
Expand Down
8 changes: 1 addition & 7 deletions packages/nx-plugin/src/generators/migration/migration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,7 @@ import type { Tree } from '@nrwl/devkit';
import type { Schema } from './schema';
import * as path from 'path';
import { addMigrationJsonChecks } from '../lint-checks/generator';
import type { Linter as EsLint } from 'eslint';
import {
NxMigrationsConfiguration,
PackageJson,
PackageJsonTargetConfiguration,
readNxMigrateConfig,
} from 'nx/src/utils/package-json';
import { PackageJson, readNxMigrateConfig } from 'nx/src/utils/package-json';
interface NormalizedSchema extends Schema {
projectRoot: string;
projectSourceRoot: string;
Expand Down

0 comments on commit 45dc757

Please sign in to comment.