# ui5-version-automator

> An npm package that automates versioning for SAP UI5 applications, streamlining the release process and ensuring version consistency.

Latest version **0.5.10** (published 2023-09-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install ui5-version-automator
pnpm add ui5-version-automator
yarn add ui5-version-automator
bun add ui5-version-automator
```

## 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.5.10 |
| Published | 2023-09-06 |
| First published | 2023-09-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 21.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | vbalko@gmail.com |
| Maintainers | vbalko |
| Keywords | ui5, version, auto, tool |

## Links

- npm: https://www.npmjs.com/package/ui5-version-automator
- Repository: https://github.com/vbalko/ui5-version-automator
- Homepage: https://github.com/vbalko/ui5-version-automator#readme
- Issues: https://github.com/vbalko/ui5-version-automator/issues
- npm.io page: https://npm.io/package/ui5-version-automator

## Dependencies (1)

- [jsonfile](https://npm.io/package/jsonfile.md) ^6.1.0

## Alternatives

- [lodash.assign](https://npm.io/package/lodash.assign.md) — 2.3M weekly downloads
- [lodash.chunk](https://npm.io/package/lodash.chunk.md) — 1.8M weekly downloads
- [react-native-ios-utilities](https://npm.io/package/react-native-ios-utilities.md) — 138.5K weekly downloads
- [@technically/lodash](https://npm.io/package/@technically/lodash.md) — 50.9K weekly downloads
- [@fluid-topics/ft-icon](https://npm.io/package/@fluid-topics/ft-icon.md) — 20.6K weekly downloads

## Recent versions

- 0.5.10 (latest) — 2023-09-06
- 0.5.0 — 2023-09-05

## README

# ui5-version-automator

An npm package that automates versioning for SAP UI5 applications, streamlining the release process and ensuring version consistency.

## Installation

To install the package, run the following command:

```javascript
npm install ui5-version-automator
```

## Usage

To use the package, follow these steps:

1. Import the module into your code using 
```javascript
const versionManager = require('ui5-version-automator')
```
2. Call the `readManifest` function to read the manifest.json file. For example:

```javascript
const manifestPath = './manifest.json';
const manifestData = versionManager.readManifest(manifestPath);
```

3. Call the readCurrentVersion function to get the current version number from the manifest data. For example:

```javascript
const currentVersion = versionManager.readCurrentVersion(manifestData);
```

4. Call the incrementMajorVersion or incrementMinorVersion function to increment the version number. For example:

```javascript
const newVersion = versionManager.incrementMajorVersion(currentVersion);
```

5. Call the prepareManifest function to prepare a new manifest.json file with the updated version number. For example:

```javascript
const newManifest = versionManager.prepareManifest(manifestData, newVersion);
```

6. Write the new manifest.json file to disk using the writeManifest function. For example:

```javascript
versionManager.writeManifest(manifestPath, newManifest);
```

7. Use any other functionalities provided by the module as needed.

#Contributing
Contributions are welcome! To contribute to the project, follow these steps:

1. Fork the repository.
2. Create a new branch for your feature or bug fix.
3. Make your changes and commit them with a descriptive message.
4. Push your changes to your fork.
5. Submit a pull request to the main repository.

#License
This project is licensed under the MIT License. See the LICENSE file for details.

Let me know if you have any questions or need further assistance!

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