## Current Behavior `convert-webpack` generator is offered by `@nx/rspack` plugin. ## Expected Behavior Add an alias of `convert-to-rspack` to make it clearer
36 lines
1.1 KiB
JSON
36 lines
1.1 KiB
JSON
{
|
|
"name": "convert-webpack",
|
|
"alias": "convert-to-rspack",
|
|
"factory": "./src/generators/convert-webpack/convert-webpack",
|
|
"schema": {
|
|
"$schema": "http://json-schema.org/schema",
|
|
"$id": "Rspack",
|
|
"title": "Nx Webpack to Rspack Generator",
|
|
"description": "Convert a Webpack project to Rspack.",
|
|
"type": "object",
|
|
"properties": {
|
|
"project": {
|
|
"type": "string",
|
|
"description": "The name of the project.",
|
|
"$default": { "$source": "argv", "index": 0 },
|
|
"x-dropdown": "project",
|
|
"x-prompt": "What is the name of the project to convert to rspack?",
|
|
"x-priority": "important"
|
|
},
|
|
"skipFormat": {
|
|
"description": "Skip formatting files.",
|
|
"type": "boolean",
|
|
"default": false,
|
|
"x-priority": "internal"
|
|
}
|
|
},
|
|
"presets": []
|
|
},
|
|
"description": "Convert a webpack application to use rspack.",
|
|
"implementation": "/packages/rspack/src/generators/convert-webpack/convert-webpack.ts",
|
|
"aliases": [],
|
|
"hidden": false,
|
|
"path": "/packages/rspack/src/generators/convert-webpack/schema.json",
|
|
"type": "generator"
|
|
}
|