@clabnet/configs-syncpack

0.1.9 • Public • Published

Shared syncpack configuration

License: MIT

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


Contents

Setup

  • Add workspace reference to @clabnet/configs-syncpack and its peer dependencies:

    pnpm add -w @clabnet/configs-syncpack syncpack
  • Add syncpack configuration file:

    // .syncpackrc.js
    
    module.exports = require('@clabnet/configs-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 .

⬅ Back


Readme

Keywords

Package Sidebar

Install

npm i @clabnet/configs-syncpack

Weekly Downloads

20

Version

0.1.9

License

MIT

Unpacked Size

3.27 kB

Total Files

4

Last publish

Collaborators

  • clabnet