Skip to content

Helper to automate steps after initialising a new SPFx project

Notifications You must be signed in to change notification settings

BassemNKhalil/spfx-jack

Repository files navigation

Merge checks

SPFx Jack

Helper to automate steps after initialising a new SPFx project. Current features:

  1. Run SPFx serve command as fast as possible using SPFx Fast Serve by Sergei Sergeev
  2. Automatically align SharePoint version number to npm's by updating version number in SPFx package-solution file after running npm version. I use my own script Sync Version adapted from Stefan Bauer and Hugo Bernier.
  3. Create git commits when git is installed. This ensures transparency as to what was done using spfx-jack.
  4. Format all files using Prettier to create a well-formatted solution baseline. This is because when using format on save, changes made to a file for the first time also create many changes related to formatting. By formatting the solution ahead, we ensure any subsequent changes are easier to review.
  5. Sort entries in package.json file for better readibility using sort-package-json

Motivation

I built this as I repeatedly do these things every time I start a new project. The goal is to have as many "independent" commands as needed.

About

Helper to automate steps after initialising a new SPFx project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published