# upgrade-dependencies-simple

> A simple, auditable, no external dependencies cli script that upgrades your dependencies to the latest version

Latest version **1.0.2** (published 2022-09-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install upgrade-dependencies-simple
pnpm add upgrade-dependencies-simple
yarn add upgrade-dependencies-simple
bun add upgrade-dependencies-simple
```

Provides the command `upgrade-dependencies-simple`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2022-09-24 |
| First published | 2022-09-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | gcnew |
| Maintainers | gcnew |
| Keywords | dependencies, upgrade, simple, cli, script |

## Links

- npm: https://www.npmjs.com/package/upgrade-dependencies-simple
- Repository: https://github.com/gcnew/upgrade-dependencies-simple
- Homepage: https://github.com/gcnew/upgrade-dependencies-simple#readme
- Issues: https://github.com/gcnew/upgrade-dependencies-simple/issues
- npm.io page: https://npm.io/package/upgrade-dependencies-simple

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 1.0.2 (latest) — 2022-09-24
- 0.1.0 — 2022-09-24
- 1.0.1 — 2022-09-24
- 1.0.0 — 2022-09-24

## README

## upgrade-dependencies-simple
A simple, auditable, no external dependencies cli script that upgrades your dependencies to the latest version

### Why?
There are multiple packages claiming to do this. All of them have either many dependencies, lengthy code, or it's hard to audit what they are doing.
This project is different. What we do:
 - read the `project.json` from the current working dir
 - fetch the latest `dependencies` and `devDependencies` versions from NPM via a simple rest call
 - by default no destructive actions are done, the new json simply printed to stdout
 - there is a hidden `--force-save` to write out the new `package.json` if you are lazy

### How to use

Prints the upgraded `package.json` to stdout. No destructive actions done
```bash
npx upgrade-dependencies-simple
```

Overwrites your `package.json`.
```bash
npx upgrade-dependencies-simple --force-save
```

PS: Don't forget to run `npm install` after updating your `package.json`!

### Requirements
`node version` **>=** `12`

---
_Source: https://npm.io/package/upgrade-dependencies-simple · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
