Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

expo-version-cli

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

expo-version-cli - npm Package Compare versions

Comparing version 2.1.1 to 2.1.2

2

cli.js

@@ -11,3 +11,3 @@ #!/usr/bin/env node

const assertValidCommand = command => {
if (!['patch', 'minor', 'major'].includes(command)) {
if (!['patch', 'minor', 'major', 'build'].includes(command)) {
help();

@@ -14,0 +14,0 @@ exit();

{
"name": "expo-version-cli",
"version": "2.1.1",
"version": "2.1.2",
"description": "A simple expo version updater cli",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -50,3 +50,2 @@ const Utils = require('./utils.js');

this.setExpoVersion(split.join('.'));
this.increaseBuild();
}

@@ -58,3 +57,2 @@

this.setExpoVersion(split.join('.'));
this.increaseBuild();
}

@@ -66,3 +64,2 @@

this.setExpoVersion(split[0] + '.0.0');
this.increaseBuild();
}

@@ -69,0 +66,0 @@

@@ -21,6 +21,13 @@ const AppFile = require('./AppFile');

function increaseBuildNumber() {
const appFile = new AppFile();
appFile.increaseBuild();
appFile.save()
}
const actions = {
minor: increaseMinor,
major: increaseMajor,
patch: increasePatch
patch: increasePatch,
build: increaseBuildNumber
};

@@ -34,2 +41,3 @@

major Increase a major number
build Increase the build number
Examples

@@ -39,2 +47,3 @@ $ expo-version-cli patch

$ expo-version-cli major
$ expo-version-cli build
`);

@@ -41,0 +50,0 @@ };

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc