Command-line tools for Power Platform Component Framework (PCF) development, providing streamlined utilities to initialize, build, deploy, and manage your PCF controls in Dataverse environments.
PCF Helper simplifies the PCF development workflow by automating common tasks such as project initialization, building, importing, and deploying PCF controls.
- 🏗️ Project Initialization: Scaffold new PCF projects with proper structure
- ⚡ Fast Build Process: Build PCF controls with TypeScript compilation
- 🚀 Automated Deployment: Deploy controls to your Dataverse environment (runs upgrade + build + import)
- 📦 Solution Management: Import PCF controls into your solutions
- 🔄 Upgrade Automation: Keep your PCF projects up-to-date with latest dependencies
- 🎯 Session Management: Handle development sessions with live reloading capabilities
This monorepo contains two complementary packages:
| Package | Description | NPM Link |
|---|---|---|
| @tywalk/pcf-helper | Core library with individual CLI commands | |
| @tywalk/pcf-helper-run | Unified CLI interface |
- Use
@tywalk/pcf-helperfor individual commands or integration into scripts - Use
@tywalk/pcf-helper-runfor a unified CLI experience
- Node.js (version 16.x or higher)
- Microsoft Power Platform CLI (
pac) - Installation Guide - .NET SDK - Download .NET
# Check Node.js version
node --version
# Verify PAC CLI installation
pac --version
# Check .NET SDK
dotnet --versionIndividual Commands
npm install -g @tywalk/pcf-helperUnified Interface
npm install -g @tywalk/pcf-helper-run# Using individual commands
pcf-helper-init -n MyControl --publisher-name "My Publisher" --publisher-prefix myprefix
# Using unified interface
pcf-helper-run init -n MyControl --publisher-name "My Publisher" --publisher-prefix myprefix# Navigate to your solution folder
cd path/to/your/solution
# Build the control
pcf-helper-build -p .
# or
pcf-helper-run build -p .- PCF Helper Core - Individual CLI commands and API reference
- PCF Helper Run - Unified CLI interface
- Power Platform Component Framework Documentation
- Power Platform CLI Documentation
- PCF Gallery - Community Controls
The project uses Jest for testing:
# Run all tests
npm test
# Run tests for specific package
cd packages/pcf-helper && npm test
cd packages/pcf-helper-run && npm testMade with ❤️ for the Power Platform community
For questions, issues, or feature requests, please visit our GitHub Issues page.