Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

@pkg-tools/sync

🚧 This package is in beta. 🚧

A code mirroring tool with typed configuration.

@pkg-tools/sync::version @pkg-tools/sync::downloads

A CLI for mirroring code from a package in a monorepo to another repository.

Install

# w/ pnpm
pnpm add -D @pkg-tools/sync @pkg-tools/config

# w/ yarn
yarn add -D @pkg-tools/sync @pkg-tools/config

# w/ npm
npm install -D @pkg-tools/sync @pkg-tools/config

Usage

In your package.json, you can use the exported cli sync in your sync script e.g.

"scripts": {
  "sync": "sync"
}

Configure

Define a pkg.config.ts in the root of your package and add the following.

import { defineConfig } from "@pkg-tools/config";

export default defineConfig({
  sync: {
    //TBD
  },
});

License

MIT