@clabnet/configs-syncpack
v0.1.18
Published
Shared syncpack config for monorepo and lib packages
Readme
Shared syncpack configuration
The purpose of the syncpack is formatting package json and validating dependencies versions.
Contents
Setup
Add workspace reference to
@clabnet/configs-syncpackand its peer dependencies:pnpm add -w @clabnet/configs-syncpack syncpackAdd 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 .
