0.1.9 • Published 3 months ago

@clabnet/configs-syncpack v0.1.9

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

Shared syncpack configuration

npm.io 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


0.1.9

3 months ago

0.1.8

3 months ago

0.1.6

3 months ago

0.1.3

4 months ago

0.1.2

4 months ago

0.1.1

4 months ago

0.1.0

4 months ago