Skip to content

Commit

Permalink
chore(repo): docs and format
Browse files Browse the repository at this point in the history
  • Loading branch information
AgentEnder committed Apr 5, 2022
1 parent 44db323 commit dabb60f
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 7 deletions.
7 changes: 7 additions & 0 deletions docs/generated/api-nx-devkit/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ It only uses language primitives and immutable objects
### Other Interfaces

- [NxPlugin](../../nx-devkit/index#nxplugin)
- [PackageJson](../../nx-devkit/index#packagejson)

### Project Graph Interfaces

Expand Down Expand Up @@ -226,6 +227,12 @@ A plugin for Nx

---

### PackageJson

**PackageJson**: `Object`

---

## Project Graph Interfaces

### FileData
Expand Down
34 changes: 34 additions & 0 deletions docs/generated/packages/nx-plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,40 @@
"aliases": [],
"hidden": false,
"path": "/packages/nx-plugin/src/executors/e2e/schema.json"
},
{
"name": "plugin-lint",
"implementation": "/packages/nx-plugin/src/executors/plugin-lint/plugin-lint.impl.ts",
"schema": {
"title": "Nx Plugin Lint Target",
"description": "Checks a Nx Plugin for validity.",
"cli": "nx",
"type": "object",
"properties": {
"validateSchemas": {
"description": "Should the schema files be validated?",
"type": "boolean",
"default": true
},
"validateImplementationLocations": {
"type": "boolean",
"description": "Should the implementation locations be validated?",
"default": true
},
"packageJson": {
"type": "string",
"description": "The path to the package.json file for the plugin",
"default": "generators.json"
}
},
"additionalProperties": false,
"required": ["packageJson"],
"presets": []
},
"description": "Checks a Nx plugin for validity.",
"aliases": [],
"hidden": false,
"path": "/packages/nx-plugin/src/executors/plugin-lint/schema.json"
}
]
}
5 changes: 5 additions & 0 deletions docs/map.json
Original file line number Diff line number Diff line change
Expand Up @@ -1251,6 +1251,11 @@
"name": "e2e executor",
"id": "e2e",
"path": "/packages/nx-plugin/executors/e2e"
},
{
"name": "plugin-lint executor",
"id": "plugin-lint",
"path": "/packages/nx-plugin/executors/plugin-lint"
}
]
},
Expand Down
2 changes: 1 addition & 1 deletion docs/packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@
"name": "nx-plugin",
"path": "generated/packages/nx-plugin.json",
"schemas": {
"executors": ["e2e"],
"executors": ["e2e", "plugin-lint"],
"generators": [
"plugin",
"e2e-project",
Expand Down
4 changes: 1 addition & 3 deletions packages/devkit/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,7 @@ export type {
ProjectTargetConfigurator,
} from 'nx/src/utils/nx-plugin';

export type {
PackageJson
} from 'nx/src/utils/package-json'
export type { PackageJson } from 'nx/src/utils/package-json';

/**
* @category Workspace
Expand Down
6 changes: 3 additions & 3 deletions packages/linter/src/executors/lint/compat.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { convertNxExecutor } from "@nrwl/devkit"
import executor from './lint.impl'
import { convertNxExecutor } from '@nrwl/devkit';
import executor from './lint.impl';

export default convertNxExecutor(executor)
export default convertNxExecutor(executor);

0 comments on commit dabb60f

Please sign in to comment.