0.0.1 • Published 1 year ago

@flixlix/config-syncpack v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Shared syncpack configuration

The purpose of the syncpack is formatting package json and validating dependencies versions.


Contents

Setup

  • Add workspace reference to @flixlix/config-syncpack and its peer dependencies:

    pnpm add -w @flixlix/config-syncpack syncpack
  • Add syncpack configuration file:

    // .syncpackrc.js
    
    module.exports = require('@flixlix/config-syncpack');
  • Add syncpack scripts:

    // package.json
    
    "scripts": {
      ...
      "syncpack:fix": "syncpack format && syncpack fix-mismatches"
      ...
    }

Usage

  • Manual usage from command line:

    pnpm format:check .
    pnpm format:fix .

Donation

If you found this project helpful, consider\ buying me a coffee, donate by paypal or just leave a star⭐\ Thanks for your support, it is much appreciated!

License

MIT © Luca Félix


⬅ Back


0.0.1

1 year ago