Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/codechecks/ban-deps-codecheck
Prevent direct or indirect dependencies on your package
https://github.com/codechecks/ban-deps-codecheck
Last synced: about 2 months ago
JSON representation
Prevent direct or indirect dependencies on your package
- Host: GitHub
- URL: https://github.com/codechecks/ban-deps-codecheck
- Owner: codechecks
- License: mit
- Created: 2019-07-13T21:05:02.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-11-28T07:17:56.000Z (almost 3 years ago)
- Last Synced: 2024-07-08T16:11:21.156Z (3 months ago)
- Language: TypeScript
- Size: 110 KB
- Stars: 9
- Watchers: 3
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
Ban Dependencies Codecheck
Prevent direct or indirect production dependencies on your package
## Install
```sh
npm install --save-dev @codechecks/ban-deps-codecheck
```## Usage
Are you new to codechecks? Check out
[getting started guide (it's simple)](https://github.com/codechecks/docs/blob/master/getting-started.md)!Add to your `codechecks.yml` file:
```yml
checks:
- name: ban-deps-codecheck
options:
- name: node-gyp
reason: "No native modules please! They make installation much harder"
# ...
```### 👉 Note:
- it will check only production dependencies
- works only with yarn right now## Contributing
Have an idea to improve this check? Don't hesitate to create an issue / submit a PR!