# upgrade-angular

> Tool to upgrade angular versions in package.json

Latest version **0.1.3** (published 2017-12-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install upgrade-angular
pnpm add upgrade-angular
yarn add upgrade-angular
bun add upgrade-angular
```

Provides the commands `upgrade-angular`, `upgrade-angularjs`.

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.3 |
| Published | 2017-12-10 |
| First published | 2017-12-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | torbenm |
| Maintainers | torben.meyer |
| Keywords | angular, upgrade, tool |

## Links

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

## Dependencies (4)

- [chalk](https://npm.io/package/chalk.md) ^2.3.0
- [yargs](https://npm.io/package/yargs.md) ^10.0.3
- [figures](https://npm.io/package/figures.md) ^2.0.0
- [request](https://npm.io/package/request.md) ^2.83.0

## Recent versions

- 0.1.3 (latest) — 2017-12-10
- 0.1.2 — 2017-12-09
- 0.1.1 — 2017-12-09
- 0.1.0 — 2017-12-09

## README

# Upgrade Angular

For Angular / AngularJS, there are a lot of dependencies which must have the same version installed.
Updating all of them can be a bit annoying. Therefore, use this tool to quickly update all angular packages.

## Installation

```
npm install -g upgrade-angular
```

## Usage for Angular

```
upgrade-angular [arguments] [version]
```

Where arguments can be

| Command  | Description             | Default           |
|----------|-------------------------|-------------------|
| --file   | Path to package.json    | `./package.json`  |
| --stable | Whether to only include stable version    | `true`  |

`version` can be any particular version or a placeholder, such as 5.x for the latest 5 version.
Or just use latest to get the latest overall version.

> **Attention** Be aware that any semver notation will be overwritten by the exact version.

### Examples

Normal use case:

```
upgrade-angular
```

Upgrading to angular 5.x:

```
upgrade-angular 5.x
```

From a different folder:

```
upgrade-angular --file my_project/package.json
```

## Usage for Angular.JS ( <= 1.6)

```
upgrade-angularjs [arguments] [version]
```

For options, see the Angular version.

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