@rxap/plugin-library
Version:
This package provides generators and executors for managing and maintaining Nx plugin libraries. It includes functionality for generating index exports, fixing dependencies, generating JSON schemas, and more. It helps streamline the development process fo
61 lines (60 loc) • 1.77 kB
JSON
{
"$schema": "http://json-schema.org/schema",
"$id": "Init",
"title": "",
"type": "object",
"properties": {
"project": {
"type": "string",
"description": "The name of the library project to initialize.",
"examples": ["my-lib"]
},
"projects": {
"type": "array",
"items": {
"type": "string"
},
"description": "The list of library projects to initialize.",
"examples": [["my-lib", "another-lib"]]
},
"skipFormat": {
"type": "boolean",
"default": false,
"description": "Whether to skip formatting files with Prettier after initialization."
},
"overwrite": {
"type": "boolean",
"default": false,
"description": "Whether to overwrite existing files during initialization."
},
"skipProjects": {
"type": "boolean",
"default": false,
"description": "Whether to skip executing project-specific initialization logic."
},
"indexExport": {
"type": "boolean",
"description": "Whether to add the 'index-export' target to the library project configuration."
},
"targets": {
"type": "object",
"description": "Configuration for specific project targets.",
"properties": {
"fixDependencies": {
"type": "boolean",
"description": "Whether to add the 'fix-dependencies' target to the project."
},
"indexExport": {
"type": "boolean",
"description": "Whether to add the 'index-export' target to the project."
}
}
},
"withInitGenerator": {
"type": "boolean",
"description": "Whether to generate an 'init' generator within the library itself.",
"default": false
}
},
"required": []
}