Skip to content

✨ Getting Started

Prerequisites

  • NodeJS 20+.
  • Install npm i -g @pbuilder/cli or use npx @pbuilder/cli.

Starting a New Project

Creation of schematic library project
builder new <project-name> [author] --bundler <bundler-name> --package-manager <manager> --skip-installation --dry-run --help

Create a new schematic

  1. To create a schematic, execute this:
Terminal window
builder g @pbuilder/sm sc --name="my-schematic"
  1. Before testing we need to build it:
Terminal window
npm run build
  1. To test it we can run:
Terminal window
builder exec ./dist/collection.json my-schematic