Leosvel Pérez Espinosa f7f26d847e
feat(nx-plugin): add support for the ts solution config setup to the @nx/plugin plugin (#28724)
<!-- 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 #
2024-11-12 14:25:31 -05:00

64 lines
2.4 KiB
JSON

{
"name": "e2e-project",
"factory": "./src/generators/e2e-project/e2e#e2eProjectGeneratorInternal",
"schema": {
"$schema": "https://json-schema.org/schema",
"cli": "nx",
"$id": "NxPluginE2E",
"title": "Create an E2E app for a Nx Plugin",
"description": "Create an E2E app for a Nx Plugin.",
"examplesFile": "## Examples\n\n{% tabs %}\n{% tab label=\"E2E Project\" %}\n\nScaffolds an E2E project for the plugin `my-plugin`.\n\n```bash\nnx g @nx/plugin:e2e-project --pluginName my-plugin --npmPackageName my-plugin --pluginOutputPath dist/my-plugin\n```\n\n{% /tab %}\n{% /tabs %}\n",
"type": "object",
"properties": {
"pluginName": {
"type": "string",
"description": "the project name of the plugin to be tested.",
"x-priority": "important"
},
"npmPackageName": {
"type": "string",
"description": "the package name of the plugin as it would be published to NPM.",
"x-priority": "important"
},
"projectDirectory": {
"type": "string",
"description": "the directory where the plugin is placed."
},
"pluginOutputPath": {
"type": "string",
"description": "the output path of the plugin after it builds.",
"x-priority": "important"
},
"jestConfig": { "type": "string", "description": "Jest config file." },
"linter": {
"description": "The tool to use for running lint checks.",
"type": "string",
"enum": ["none", "eslint"]
},
"minimal": {
"type": "boolean",
"description": "Generate the e2e project with a minimal setup. This would involve not generating tests for a default executor and generator.",
"default": false
},
"skipFormat": {
"description": "Skip formatting files.",
"type": "boolean",
"default": false,
"x-priority": "internal"
},
"useProjectJson": {
"type": "boolean",
"description": "Use a `project.json` configuration file instead of inlining the Nx configuration in the `package.json` file."
}
},
"required": ["pluginName", "npmPackageName"],
"presets": []
},
"description": "Create a E2E application for a Nx Plugin.",
"implementation": "/packages/plugin/src/generators/e2e-project/e2e#e2eProjectGeneratorInternal.ts",
"aliases": [],
"hidden": false,
"path": "/packages/plugin/src/generators/e2e-project/schema.json",
"type": "generator"
}