@nrwl/workspace:convert-to-buildable
Convert an Nx library to be buildable
Usage
nx generate convert-to-buildable ...
By default, Nx will search for convert-to-buildable
in the default collection provisioned in workspace.json
.
You can specify the collection explicitly as follows:
nx g @nrwl/workspace:convert-to-buildable ...
Show what will be generated without writing to disk:
nx g convert-to-buildable ... --dry-run
Examples
Convert the my-feature-lib project to be buildable:
nx g @nrwl/workspace:convert-to-buildable --project my-feature-lib
Options
project
Type: string
Name of project to convert to buildable lib.
skipFormat
Default: false
Type: boolean
Skip formatting files.
type
Type: string
Possible values: js
, node
, nest
, next
, react
, detox
, web
The type of library that this is.