2.0.0 • Published 6 months ago

@zityhub/check-updates v2.0.0

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

check-updates

npm version CI

Installation

Install it as a development dependency:

npm install -D @zityhub/check-updates

Or run it directly using npx:

npx @zityhub/check-updates

Usage

Check if any of your project's dependencies have a major version update:

check-updates

2024-10-08T18:32:05.485Z ERROR Job check-updates finished failed
{
  "type": {
    "name": "job",
    "data": {
      "jobName": "check-updates",
      "message": "Major update available for: awilix,jsonpath-plus,stripe"
    }
  }
}

The command will return an error if there are any packages that need a major version update.

Exclude Packages

You can ignore specific dependencies to ensure the check returns an exit code 0:

check-updates --exclude=awilix --exclude=jsonpath-plus --exclude=stripe

2024-10-08T18:34:51.341Z INFO Job check-updates finished success
{
  "type": {
    "name": "job",
    "data": {
      "jobName": "check-updates",
      "message": "Major update available for: awilix,jsonpath-plus,stripe"
    }
  }
}

Add it as a Script in your Package

It is recommended to add it as a script in your package.json for easier usage:

{
  "scripts": {
    "check-updates": "check-updates"
  }
}
2.0.0

6 months ago

1.0.1

9 months ago

1.0.0

9 months ago

0.0.6

9 months ago

0.0.4

9 months ago

0.0.2

9 months ago