1.0.1-dev-0.6 • Published 6 days ago

@pega/constellation-dx-components-build-utils v1.0.1-dev-0.6

Weekly downloads
-
License
SEE LICENSE IN LI...
Repository
github
Last release
6 days ago

ComponentLoader-v2

1.0.1-dev-0.5 1.0.1-dev-0.5

This tool uses a 'v2' approach to group components in a library, create a component map, employ webpack, and load the library like Pega-generated components.

Installation

npm install @pega/constellation-dx-components-build-utils
npx build-library 

To build the library, the library name and version are determined by the package.json of your project

npx publish-library

To publish the library, ensure that the APPSTATICURL Constant is updated to the app-static server URL. You can pass an optional argument (e.g., --token-path=node_modules/@pega/xyz/.access_token) to specify the path to the access token file. Alternatively, you can update the constant.js file for B2STOKEN or TOKEN_PATH.

npx delete-library 

To delete the published library or a specific version from library published, Only dev version(e.g. 1.0.1-dev) can be deleted.

npx list-library 

To list the published libraries, including their respective versions and the components assets they offer.