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

@apollosproject/cli

Package Overview
Dependencies
Maintainers
4
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apollosproject/cli - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

## [0.1.3](https://github.com/apollosproject/cli/compare/v0.1.2...v0.1.3) (2022-06-06)
### Bug Fixes
* fix mobile init script ([2effde2](https://github.com/apollosproject/cli/commit/2effde2567385bce02f6fcb84259db7de91a7b86))
## [0.1.2](https://github.com/apollosproject/cli/compare/v0.1.1...v0.1.2) (2022-06-03)

@@ -7,0 +14,0 @@

24

commands/mobile/deploy.js
import fs from 'fs';
import path, { dirname } from 'path';
import { fileURLToPath } from 'url';
import path from 'path';
import { execa } from 'execa';

@@ -10,4 +9,3 @@ import prompts from 'prompts';

// eslint-disable-next-line
const __dirname = dirname(fileURLToPath(import.meta.url));
import scriptsDir from '../../utils/get-scripts-dir.cjs';

@@ -90,3 +88,3 @@ export default () => {

const { stdout } = await execa(
`${__dirname}/../../scripts/display-ios-setup-commands.sh`,
`${scriptsDir}/display-ios-setup-commands.sh`,
[appleID],

@@ -97,3 +95,3 @@ );

if (Object.keys(response).length === questions.length) {
execa(`${__dirname}/../../scripts/setup-ios-deployments.sh`, [
execa(`${scriptsDir}/setup-ios-deployments.sh`, [
response.certsRepo,

@@ -122,3 +120,3 @@ response.ghUser,

try {
await execa(`${__dirname}/../../scripts/deploy-ios.sh`, [track]);
await execa(`${scriptsDir}/deploy-ios.sh`, [track]);
} catch (e) {

@@ -151,6 +149,5 @@ spinner.fail('Failed');

if (Object.keys(response).length === 1) {
const child = execa(
`${__dirname}/../../scripts/setup-android-deployments.sh`,
[response.key],
);
const child = execa(`${scriptsDir}/setup-android-deployments.sh`, [
response.key,
]);
child.stdout.pipe(process.stdout);

@@ -180,6 +177,3 @@ // Keystore cert credentials

try {
await execa(`${__dirname}/../../scripts/deploy-android.sh`, [
track,
options.offset,
]);
await execa(`${scriptsDir}/deploy-android.sh`, [track, options.offset]);
} catch (e) {

@@ -186,0 +180,0 @@ spinner.fail('Failed');

@@ -5,2 +5,3 @@ import { Command } from 'commander';

import scriptsDir from '../../utils/get-scripts-dir.cjs';
import logo from './logo.js';

@@ -64,3 +65,3 @@ import makeDeployCommand from './deploy.js';

try {
execa(`${__dirname}/../../scripts/create-mobile.sh`, [
execa(`${scriptsDir}/create-mobile.sh`, [
response.appName,

@@ -100,3 +101,3 @@ response.iosID,

try {
execa(`${__dirname}/../../scripts/get-mobile-versions.sh`, [
execa(`${scriptsDir}/get-mobile-versions.sh`, [
response.appleID,

@@ -103,0 +104,0 @@ ]).stdout.pipe(process.stdout);

@@ -19,7 +19,9 @@ #!/usr/bin/env node

// check version
const { stdout: latest } = execaSync(`${scriptsDir}/get-latest-version.sh`);
if (latest !== version) {
consola.warn(
`Apollos CLI current version: ${version}. Newer version is available: ${latest}`,
);
if (process.env.NODE_ENV !== 'test') {
const { stdout: latest } = execaSync(`${scriptsDir}/get-latest-version.sh`);
if (latest !== version) {
consola.warn(
`Apollos CLI current version: ${version}. Newer version is available: ${latest}`,
);
}
}

@@ -26,0 +28,0 @@

{
"name": "@apollosproject/cli",
"version": "0.1.2",
"version": "0.1.3",
"repository": "github:apollosproject/cli",

@@ -26,3 +26,3 @@ "description": "",

"scripts": {
"prerelease": "yarn test -t version -u",
"postbump": "yarn test -t version -u",
"postchangelog": "sed -i \"\" \"s/### \\[/## \\[/g\" CHANGELOG.md",

@@ -29,0 +29,0 @@ "posttag": "git push --follow-tags origin master && yarn publish . && gh-release --yes"

Sorry, the diff of this file is not supported yet

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