@nx/vite
Version:
44 lines (43 loc) • 1.2 kB
JSON
{
"cli": "nx",
"title": "Initialize Vite in the workspace.",
"description": "Initialize Vite in the workspace.",
"$id": "init-vite-plugin",
"type": "object",
"properties": {
"skipFormat": {
"description": "Skip formatting files.",
"type": "boolean",
"default": false
},
"skipPackageJson": {
"description": "Do not add dependencies to `package.json`.",
"type": "boolean",
"default": false
},
"setupPathsPlugin": {
"type": "boolean",
"description": "Updates vite config files to enable support for workspace libraries via the nxViteTsPaths plugin.",
"default": false
},
"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
},
"useViteV5": {
"type": "boolean",
"description": "Use Vite v5",
"default": false,
"x-priority": "internal",
"hidden": true
}
}
}