This PR ensures that our init generators are hidden, such that they don't appear in Nx Console when running generators, for example. The init generator is meant to be used when running other generators, like app or lib, and should not be run directly. ## Current Behavior Init is not hidden ## Expected Behavior <!-- This is the behavior we should expect with the changes in this PR --> Init is hidden ## Related Issue(s) <!-- Please link the issue being fixed so it gets closed when this is merged. --> Fixes #
46 lines
1.4 KiB
JSON
46 lines
1.4 KiB
JSON
{
|
|
"name": "init",
|
|
"factory": "./src/generators/init/init#initGeneratorInternal",
|
|
"schema": {
|
|
"$schema": "https://json-schema.org/schema",
|
|
"$id": "NxPlaywrightInit",
|
|
"title": "Playwright Init Generator",
|
|
"description": "Initializes a Playwright project in the current workspace.",
|
|
"type": "object",
|
|
"properties": {
|
|
"skipFormat": {
|
|
"description": "Skip formatting files.",
|
|
"type": "boolean",
|
|
"default": false,
|
|
"x-priority": "internal"
|
|
},
|
|
"skipPackageJson": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "Do not add dependencies to `package.json`.",
|
|
"x-priority": "internal"
|
|
},
|
|
"keepExistingVersions": {
|
|
"type": "boolean",
|
|
"x-priority": "internal",
|
|
"description": "Keep existing dependencies versions",
|
|
"default": false
|
|
},
|
|
"updatePackageScripts": {
|
|
"type": "boolean",
|
|
"x-priority": "internal",
|
|
"description": "Update `package.json` scripts with inferred targets",
|
|
"default": false
|
|
}
|
|
},
|
|
"required": [],
|
|
"presets": []
|
|
},
|
|
"description": "Initializes a Playwright project in the current workspace",
|
|
"hidden": true,
|
|
"implementation": "/packages/playwright/src/generators/init/init#initGeneratorInternal.ts",
|
|
"aliases": [],
|
|
"path": "/packages/playwright/src/generators/init/schema.json",
|
|
"type": "generator"
|
|
}
|