diff options
author | Fabio Berger <me@fabioberger.com> | 2018-04-20 09:01:21 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-04-20 09:01:21 +0800 |
commit | 30256cbe517c217e7aa1e80e8c9428239751d5cb (patch) | |
tree | 95113b1e6001cfaf030fa756fc5ff95fe45a713a /packages/monorepo-scripts/README.md | |
parent | 7f46e9af2cef99667da798205bd0dd6fa590f897 (diff) | |
download | dexon-sol-tools-30256cbe517c217e7aa1e80e8c9428239751d5cb.tar dexon-sol-tools-30256cbe517c217e7aa1e80e8c9428239751d5cb.tar.gz dexon-sol-tools-30256cbe517c217e7aa1e80e8c9428239751d5cb.tar.bz2 dexon-sol-tools-30256cbe517c217e7aa1e80e8c9428239751d5cb.tar.lz dexon-sol-tools-30256cbe517c217e7aa1e80e8c9428239751d5cb.tar.xz dexon-sol-tools-30256cbe517c217e7aa1e80e8c9428239751d5cb.tar.zst dexon-sol-tools-30256cbe517c217e7aa1e80e8c9428239751d5cb.zip |
Capitalize yarn
Diffstat (limited to 'packages/monorepo-scripts/README.md')
-rw-r--r-- | packages/monorepo-scripts/README.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/monorepo-scripts/README.md b/packages/monorepo-scripts/README.md index 1bfa1b0d8..cec77a10d 100644 --- a/packages/monorepo-scripts/README.md +++ b/packages/monorepo-scripts/README.md @@ -4,7 +4,7 @@ This repository contains a few helpful scripts for working with this mono repo. #### Scripts -**`yarn deps_versions`**: Since we use Lerna + yarn workspaces, shared dependencies between packages in the monorepo get hoisted to a top-level `node_modules` directory. If two packages use different versions of the same dependency however, both get installed. To avoid having many versions of a dependency installed, we try to keep dependency versions the same across packages in the monorepo. This script will list any dependencies for which we have multiple versions installed. We can then go through them and try to consolidate to a single version where possible. +**`yarn deps_versions`**: Since we use Lerna + Yarn workspaces, shared dependencies between packages in the monorepo get hoisted to a top-level `node_modules` directory. If two packages use different versions of the same dependency however, both get installed. To avoid having many versions of a dependency installed, we try to keep dependency versions the same across packages in the monorepo. This script will list any dependencies for which we have multiple versions installed. We can then go through them and try to consolidate to a single version where possible. **`yarn find_unused_deps`**: Sometimes we accidentally leave dependencies listed in `package.json` that are no longer being used. This script finds potential dependencies that might no longer be in use. Please verify that it is no longer in use before removing, the `depcheck` package we use under-the-hood doesn't handle some TS quirks perfectly. |