Display the list of available commands that can be performed on Constellation DX components.
npm run
help command to display the list of commands that can be performed related
to Constellation DX components.Manage your local DXCB project and components that have been published to your development server by using additional commands.
Use the following commands to manage Constellation DX components:
npm run help - Displays the list of available commands that can be performed on Constellation DX components. For more information, see Listing commands.npm run list - Displays a list of the available Constellation DX components. For more information, see Listing Constellation DX components.npm run delete - Deletes Constellation DX components. For more information, see Deleting Constellation DX components.npm run rename - Renames a Constellation DX component. For more information, see Renaming Constellation DX components.npm run importComponent - Imports an existing Constellation DX component into your project. For more information, see Importing a Constellation DX component.Display the list of available commands that can be performed on Constellation DX components.
npm run
help command to display the list of commands that can be performed related
to Constellation DX components.View the available components on your local machine or the Pega Platform™ Server. You can list the components to view what is already available to the authenticated operator and to verify if the publish or delete process completed successfully.
Ensure that you have authentication to access the resources in the Pega Platform Server to list, publish, or delete components. For more information, see Authenticating Pega Platform Server user access for standalone Constellation DX components.

Free up space and make navigation easier by deleting unused or obsolete Constellation DX components either locally or on the Pega Platform™ Server. You can delete both published and unpublished components.
Ensure that you have authentication to access the resources in the Pega Platform Server to list, publish, or delete components. For more information, see Authenticating Pega Platform Server user access for standalone Constellation DX components.
Ensure that the associated ruleset is open. If the associated ruleset is not open, the components in the ruleset will not be deleted and will be displayed in App Studio.

npm run
deleteAll) follows the same procedure except that instead of selecting
the components to be deleted, it deletes all components from the server or local
machine.Use the rename command to rename Constellation DX components in the
local library.
rename command automatically updates
the component directory, storybook, and the component definition file
(config.json).rename command does not impact the published version of
the Constellation DX component. If you need to rename the component after it
is published, use the rename command as mentioned in the procedure below,
republish the component, replace the component in all views using the
component, and then delete the original component from the server.The importComponent command is used to import an existing standalone
component into your project. In library mode, the importComponent command
is used to import an existing standalone component into a library.
npm run importComponent command to import an existing
standalone component into your project. The org and library names of the imported
component are automatically renamed if they do not match the corresponding details of
your components. The value of the version property is updated in the
config.json file to match the version of the current
library.Check your knowledge with the following interaction:
Want to help us improve this content?