Shared syncpack config
npm install @flixlix/config-syncpackThe purpose of the syncpack is formatting package json and validating dependencies versions.
---
- Setup
- Usage
- Donation
- License
- Add workspace reference to @flixlix/config-syncpack and its peer dependencies:
``sh`
pnpm add -w @flixlix/config-syncpack syncpack
- Add syncpack configuration file:
`js
// .syncpackrc.js
module.exports = require('@flixlix/config-syncpack');
`
- Add syncpack scripts:
`jsonc
// package.json
"scripts": {
...
"syncpack:fix": "syncpack format && syncpack fix-mismatches"
...
}
`
- Manual usage from command line:
`sh``
pnpm format:check .
pnpm format:fix .
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!
---
---