youtube image
From YouTube: Easily fix errors in your SPFx projects with CLI for Microsoft 365

Description

In this 22-minute developer focused demo – Waldek Mastykarz and Alex Terentiev introduce you to the SPFx project doctor! The new CLI command that validates the correctness of an SPFx project – dependencies in sync and correct versions, appropriately placed in the code, correct gulp, PnPjs, rush stack compiler, code redundancies, etc., all based on SPFx version project is using. Report generated in json, markdown or CodeTour. Run fix commands one by one or all together from a single script. Get the full tour here. This PnP Community demo is taken from the weekly Microsoft 365 Platform Community call recorded on April 26, 2022.

Demo Presenters
• Waldek Mastykarz (Microsoft) | @waldekm
• Alex Terentiev (Microsoft) | @alexaterentiev

Supporting materials
• Tool - CLI for Microsoft 365 | https://pnp.github.io/cli-microsoft365/
• Documentation - spfx project doctor | https://pnp.github.io/cli-microsoft365/cmd/spfx/project/project-doctor/
• Video - Validate SharePoint Framework project easily using CLI for Microsoft 365 - Rabia Williams (Microsoft) | @williamsrabia | https://www.youtube.com/watch?v=qo8ZSIlb_pU
• Extension - CodeTour | https://marketplace.visualstudio.com/items?itemName=vsls-contrib.codetour

Learn more
• Microsoft 365 Unified Sample gallery - https://aka.ms/m365/samples
• Microsoft 365 Platform Community in YouTube - https://aka.ms/m365/videos
• Microsoft 365 Platform Community - http://aka.ms/m365pnp