# yarn-workspace-sync-deps

> A simple script for keeping dependencies are same between root and packages on Yarn workspaces

Latest version **0.3.3** (published 2022-06-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install yarn-workspace-sync-deps
pnpm add yarn-workspace-sync-deps
yarn add yarn-workspace-sync-deps
bun add yarn-workspace-sync-deps
```

Provides the commands `yarnw-sync-deps`, `yarn-workspace-sync-deps`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.3 |
| Published | 2022-06-17 |
| First published | 2017-11-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 7.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Jhen |
| Maintainers | jhen0409 |

## Links

- npm: https://www.npmjs.com/package/yarn-workspace-sync-deps
- Repository: https://github.com/mybigday/yarn-workspace-sync-deps
- Homepage: https://github.com/mybigday/yarn-workspace-sync-deps#readme
- Issues: https://github.com/mybigday/yarn-workspace-sync-deps/issues
- npm.io page: https://npm.io/package/yarn-workspace-sync-deps

## Dependencies (1)

- [minimist](https://npm.io/package/minimist.md) ^1.2.0

## Recent versions

- 0.3.3 (latest) — 2022-06-17
- 0.3.2 — 2019-12-27
- 0.3.1 — 2019-12-25
- 0.3.0 — 2019-12-24
- 0.2.1 — 2019-10-05
- 0.2.0 — 2019-09-23
- 0.1.8 — 2018-07-25
- 0.1.7 — 2018-07-09
- 0.1.6 — 2018-04-17
- 0.1.5 — 2017-12-23
- 0.1.4 — 2017-11-30
- 0.1.3 — 2017-11-30
- 0.1.2 — 2017-11-30
- 0.1.1 — 2017-11-30
- 0.1.0 — 2017-11-30

## README

# yarn-workspace-sync-deps

> A simple script for keeping dependencies are same between root and packages on
> Yarn workspaces.

## What?

We are using Yarn workspaces and enabled [Greenkeeper](https://greenkeeper.io),
but Greenkeeper currently doesn't check for `packages/*`. We gave up the
independent dependencies in `packages/*`, make the dependencies same as root
dependencies.

You still need update the dependencies of `packages/*` on local, but it will be
helpful for CI and Greenkeeper.

## Installation

In the root workspace:

```bash
$ yarn add --dev -W yarn-workspace-sync-deps
```

## Usage

We are using it after yarn install in the root workspace:

```json
{
  "scripts": {
    "postinstall": "yarnw-sync-deps && yarn --ignore-scripts"
  }
}
```

## License

[MIT](LICENSE.md)

---
_Source: https://npm.io/package/yarn-workspace-sync-deps · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
