0.8.7 • Published 10 months ago

exact-dependency-checker v0.8.7

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

Exact dependency checker

badge

Easily control when your project accepts only exact versions of dependencies.

Usage

Customizing

{
  "exactDependencyChecker": {
    "blocksToCheck": [
      "dependencies",
      "devDependencies"
    ],
    "ignoredDependencies": [
      "husky",
      "jest"
    ]
  }
}

GitHub actions

This action only takes one parameter: the path to the package.json file to be checked. This param is optional, and the exact-dependency-checker will look for the file in the same directory it runs.

uses: matheusjardimb/js-exact-dependency-action@v1.0.0

Example specifying a custom path to package.json:

uses: matheusjardimb/js-exact-dependency-action@v1.0.0
with:
  packageJsonPath: 'app/package.json'

Gitlab

image: node:16.20.0

validate_dependencies:
  script:
    - export INPUT_PACKAGEJSONPATH='package.json' # Optional
    - npx exact-dependency-checker@0.5.0

NPX

export INPUT_PACKAGEJSONPATH='package.json' # Optional
npx exact-dependency-checker@0.4.3

License

See more about the MIT licensing at LICENSE.md. This project was originally created as a fork of github-developer/javascript-action.

Contributing

Pull requests are welcome! See CONTRIBUTING.md for more. Please consider activating pre-commit before committing (npm run pre-commit.install).

0.8.7

10 months ago

0.8.6

10 months ago

0.8.5

10 months ago

0.8.3

10 months ago

0.7.5

10 months ago

0.4.3

11 months ago

0.4.1

11 months ago

0.4.0

11 months ago