spfx-jack
v1.7.0
Published
Helper to automate steps after initialising a new SPFx project
Downloads
6
Readme
SPFx Jack
Helper to automate steps after initialising a new SPFx project. Current features:
- Run SPFx serve command as fast as possible using SPFx Fast Serve by Sergei Sergeev
- 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.
- Create git commits when git is installed. This ensures transparency as to what was done using spfx-jack.
- 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.
- 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.