<!-- Please make sure you have read the submission guidelines before posting an PR --> <!-- https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr --> <!-- Please make sure that your commit message follows our format --> <!-- Example: `fix(nx): must begin with lowercase` --> <!-- If this is a particularly complex change or feature addition, you can request a dedicated Nx release for this pull request branch. Mention someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they will confirm if the PR warrants its own release for testing purposes, and generate it for you if appropriate. --> ## Current Behavior <!-- This is the behavior we have today --> ## Expected Behavior <!-- This is the behavior we should expect with the changes in this PR --> ## Related Issue(s) <!-- Please link the issue being fixed so it gets closed when this is merged. --> Fixes #
50 lines
2.0 KiB
JSON
50 lines
2.0 KiB
JSON
{
|
|
"name": "nx/plugin",
|
|
"version": "0.1",
|
|
"extends": ["@nx/workspace"],
|
|
"generators": {
|
|
"plugin": {
|
|
"factory": "./src/generators/plugin/plugin#pluginGeneratorInternal",
|
|
"schema": "./src/generators/plugin/schema.json",
|
|
"description": "Create a Nx Plugin."
|
|
},
|
|
"create-package": {
|
|
"factory": "./src/generators/create-package/create-package#createPackageGeneratorInternal",
|
|
"schema": "./src/generators/create-package/schema.json",
|
|
"description": "Create a package which can be used by npx to create a new workspace"
|
|
},
|
|
"e2e-project": {
|
|
"factory": "./src/generators/e2e-project/e2e#e2eProjectGeneratorInternal",
|
|
"schema": "./src/generators/e2e-project/schema.json",
|
|
"description": "Create a E2E application for a Nx Plugin."
|
|
},
|
|
"migration": {
|
|
"factory": "./src/generators/migration/migration",
|
|
"schema": "./src/generators/migration/schema.json",
|
|
"description": "Create a migration for an Nx Plugin."
|
|
},
|
|
"generator": {
|
|
"factory": "./src/generators/generator/generator",
|
|
"schema": "./src/generators/generator/schema.json",
|
|
"description": "Create a generator for an Nx Plugin."
|
|
},
|
|
"executor": {
|
|
"factory": "./src/generators/executor/executor",
|
|
"schema": "./src/generators/executor/schema.json",
|
|
"description": "Create an executor for an Nx Plugin."
|
|
},
|
|
"plugin-lint-checks": {
|
|
"factory": "./src/generators/lint-checks/generator",
|
|
"schema": "./src/generators/lint-checks/schema.json",
|
|
"description": "Adds linting configuration to validate common json files for nx plugins."
|
|
},
|
|
"preset": {
|
|
"factory": "./src/generators/preset/generator#presetGeneratorInternal",
|
|
"schema": "./src/generators/preset/schema.json",
|
|
"description": "Initializes a workspace with an nx-plugin inside of it. Use as: `create-nx-workspace --preset @nx/plugin`.",
|
|
"hidden": true,
|
|
"x-use-standalone-layout": true
|
|
}
|
|
}
|
|
}
|