spfx-jack

1.7.0 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i spfx-jack

Weekly Downloads

0

Version

1.7.0

License

ISC

Unpacked Size

16.9 kB

Total Files

18

Last publish

Collaborators

  • bassemk