Deploy a Custom Developed Piece

Step 1: Build the Piece

npx nx build piece-name

Replace ‘name’ with the name of your piece.

Step 2: Navigate to the Build Directory

cd dist/packages/pieces/name

Replace ‘name’ with the actual name of your piece.

Step 3: Login to npm

npm login

Step 4: Publish Your Piece

npm publish