Socket
Book a DemoInstallSign in
Socket

@clabnet/configs-syncpack

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@clabnet/configs-syncpack

Shared syncpack config for monorepo and lib packages

latest
Source
npmnpm
Version
0.1.18
Version published
Maintainers
1
Created
Source

Shared syncpack configuration

License: MIT

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

Contents

  • Setup
  • Usage

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

Keywords

configs

FAQs

Package last updated on 06 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts