Sha256: be22998a74469f643e0159d24d61e961a12e7bf32d7cb8ee96f86a08b92999a7

Contents?: true

Size: 805 Bytes

Versions: 28

Compression:

Stored size: 805 Bytes

Contents

# Yarn

The yarn source will detect dependencies when `package.json` and `yarn.lock` are found at an app's `source_path`.

It uses the `yarn` CLI commands to enumerate dependencies and gather metadata on each package.

## Including development dependencies

**Note** Yarn versions < 1.3.0 will always include non-production dependencies due to a bug in those versions of yarn.
**Note** Yarn versions > 2.0 will always include non-production dependencies due to lack of filtering of production vs non-production dependencies in the yarn CLI.

For yarn versions between 1.3.0 and 2.0, the yarn source excludes non-production dependencies by default.  To include development and test dependencies in these versions, set `production_only: false` in `.licensed.yml`.

```yml
yarn:
  production_only: false
```

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
licensed-5.0.0 docs/sources/yarn.md
licensed-4.5.0 docs/sources/yarn.md
licensed-4.4.0 docs/sources/yarn.md
licensed-4.3.1 docs/sources/yarn.md
licensed-4.3.0 docs/sources/yarn.md
licensed-4.2.0 docs/sources/yarn.md
licensed-4.1.0 docs/sources/yarn.md
licensed-4.0.4 docs/sources/yarn.md
licensed-4.0.3 docs/sources/yarn.md
licensed-4.0.2 docs/sources/yarn.md
licensed-4.0.1 docs/sources/yarn.md
licensed-4.0.0 docs/sources/yarn.md
licensed-3.9.1 docs/sources/yarn.md
licensed-3.9.0 docs/sources/yarn.md
licensed-3.8.0 docs/sources/yarn.md
licensed-3.7.5 docs/sources/yarn.md
licensed-3.7.4 docs/sources/yarn.md
licensed-3.7.3 docs/sources/yarn.md
licensed-3.7.2 docs/sources/yarn.md
licensed-3.7.1 docs/sources/yarn.md