1.0.12 • Published 4 years ago

enforce-peer-dependencies v1.0.12

Weekly downloads
199
License
MIT
Repository
github
Last release
4 years ago

Enforce Peer Dependencies

This package fixes a lot of the bugs associated with NPM Links.

Basically forces peerDependencies to be used for all node_modules.

This is primarily for development purposes.

Installation

yarn add enfore-peer-dependencies
npm i --save enfore-peer-dependencies

Usage

import 'enforce-peer-dependencies';
import 'enforce-peer-dependencies/debug'; // for debugging

Jest configuration.

To add to jest just add to the configuration jest.config.json

{
    "resolver": "enforce-peer-dependencies/jest" 
    "resolver": "enforce-peer-dependencies/debug-jest" // for debugging
}

Ceveats

Maybe in the future we can just do it for NPM Linked packages.

1.0.11

4 years ago

1.0.12

4 years ago

1.0.9

4 years ago

1.0.10

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.2

4 years ago

1.0.3

4 years ago

1.0.1

4 years ago

1.0.0

6 years ago