Gathering detailed insights and metrics for react-native-versioner
Gathering detailed insights and metrics for react-native-versioner
Gathering detailed insights and metrics for react-native-versioner
Gathering detailed insights and metrics for react-native-versioner
A tool to set version in node and react-native projects
npm install react-native-versioner
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
22 Commits
2 Forks
9 Branches
1 Contributors
Updated on Jan 14, 2021
Latest Version
1.1.0
Package Id
react-native-versioner@1.1.0
Unpacked Size
22.42 kB
Size
4.74 kB
File Count
7
NPM Version
8.5.2
Node Version
16.19.1
Published on
Jul 14, 2023
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
This tool allows you to easily update the version name and code of a React Native application. It will update the following files if found:
In order to use this package, your project version must comply with the format described on semver.org.
There are two ways to install react-native-versioner: globally and locally.
This is the recommended way to install react-native-versioner.
npm:
1npm install react-native-versioner --save-dev
yarn:
1yarn add react-native-versioner --dev
You can then use this command in your project directory to run react-native-versioner:
npm:
1$ npm run setVersion <versionName> <versionCode> <androidFolderName (optional, defaults to android)> <iosFolderName (optional, defaults to ios)> 2-- or -- 3$ npm run set-version <versionName> <versionCode> <androidFolderName (optional, defaults to android)> <iosFolderName (optional, defaults to ios)>
yarn:
1$ yarn setVersion <versionName> <versionCode> <androidFolderName (optional, defaults to android)> <iosFolderName (optional, defaults to ios)> 2-- or -- 3$ yarn set-version <versionName> <versionCode> <androidFolderName (optional, defaults to android)> <iosFolderName (optional, defaults to ios)>
This installation method allows you to use react-native-versioner in any project.
npm:
1npm install -g react-native-versioner
yarn:
1yarn global add react-native-versioner
You can then use this command in your project directory to run react-native-versioner:
1setVersion <versionName> <versionCode> <androidFolderName (optional, defaults to android)> <iosFolderName (optional, defaults to ios)> 2-- or -- 3set-version <versionName> <versionCode> <androidFolderName (optional, defaults to android)> <iosFolderName (optional, defaults to ios)>
When invoked, react-native-versioner will make the following changes to your project files:
The version attribute in package.json
will be updated with the specified parameter versionName
.
It will update the version name and the version code in both build.gradle
and AndroidManifest.xml
with the specified parameter versionName
. and versionCode
.
Version information should not be in the AndroidManifest.xml
since this information is overridden by build.gradle
.
See https://developer.android.com/studio/publish/versioning for further informations.
For that reason react-native-versioner
will only write in the AndroidManifest.xml
if android:versionCode
and/or android:versionName
are already in the file.
It will update the CFBundleShortVersionString and the CFBundleVersion in Info.plist
.
This software uses the MIT license.
You must use the following style guide:
This project contains a linting config, you should setup eslint
into your IDE with .eslintrc.js
.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
Found 0/22 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
33 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-14
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More