# semantic-release-ionic-config

> Semantic release plugin for updating config.xml version automatically

Latest version **1.0.1** (published 2019-09-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install semantic-release-ionic-config
pnpm add semantic-release-ionic-config
yarn add semantic-release-ionic-config
bun add semantic-release-ionic-config
```

## 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.1 |
| Published | 2019-09-23 |
| First published | 2019-09-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 5.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Lance Vo |
| Maintainers | lnvo |
| Keywords | semantic-release, ionic, config.xml |

## Links

- npm: https://www.npmjs.com/package/semantic-release-ionic-config
- Repository: https://github.com/lancevo/semantic-release-ionic-config
- Homepage: https://github.com/lancevo/semantic-release-ionic-config#readme
- Issues: https://github.com/lancevo/semantic-release-ionic-config/issues
- npm.io page: https://npm.io/package/semantic-release-ionic-config

## Dependencies (1)

- [cordova-set-version](https://npm.io/package/cordova-set-version.md) ^8.1.3

## Alternatives

- [babylon](https://npm.io/package/babylon.md) — 5.1M weekly downloads
- [csscolorparser](https://npm.io/package/csscolorparser.md) — 3.7M weekly downloads
- [expr-eval-fork](https://npm.io/package/expr-eval-fork.md) — 1.5M weekly downloads
- [@leeoniya/ufuzzy](https://npm.io/package/@leeoniya/ufuzzy.md) — 247.7K weekly downloads
- [xml-parser](https://npm.io/package/xml-parser.md) — 78.4K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2019-09-23

## README

# semantic-release-ionic-config

Semantic release plugin for automatically update config.xml files.

## Install

```bash
$ npm install -D semantic-release-ionic-config
```

## Usage

The plugin can be configured in the [**semantic-release** configuration file](https://github.com/semantic-release/semantic-release/blob/master/docs/usage/configuration.md#configuration):

By default, it updates config.xml to the latest version

`YAML`:

```yaml
prepare:
  - @semantic-release-ionic-config"
```

`JSON`:

```json
{
  "prepare": ["semantic-release-ionic-config"]
}
```

## Configuration

### Options

| **Options** | **Desctiption**               |
| ----------- | ----------------------------- |
| filenames   | name of the config.xml files. |

The example is to update multiple config.xml files, and commit them afterward.

`YAML`:

```yaml
prepare:
  - - 'semantic-release-ionic-config'
    - filenames: ['config.xml', 'config.dev.xml', 'config.prod.xml']

  - - '@semantic-release/git'
    - assets:
        [
          'package.json',
          'package-lock.json',
          'config.xml',
          'config.dev.xml',
          'config.prod.xml',
          'CHANGELOG.md',
        ]
    - message: 'chore(release): v${nextRelease.version}'
```

`JSON`:

```json
{
  "prepare": [
    [
      "semantic-release-ado",
      {
        "filenames": ["config.xml", "config.dev.xml", "config.prod.xml"]
      }
    ],
    {
      "path": "@semantic-release/git",
      "assets": [
        "package.json",
        "package-lock.json",
        "config.xml",
        "config.dev.xml",
        "config.prod.xml",
        "CHANGELOG.md"
      ],
      "message": "chore(release): v${nextRelease.version}"
    }
  ]
}
```

## Commit the modified config.xml files

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