Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
apphubdeploy
Advanced tools
Build and Deploy to AppHub.io in one fell swoop.
npm install --global apphubdeploy
This will install AppHubDeploy globally so you can use it in all of your AppHub projects without installing it for each one.
Run from your project root directory.
This will build and deploy to AppHub.io with the default settings:
$ apphubdeploy
Build and Deploy with Options
The real power of AppHub Deploy comes when you add options such as -t
/ --target
allowing you to deliver over-the-air (OTA) updates to your users via AppHub.io without ever leaving the command line. Powerful stuff!
For example, this will create and deploy a build with a name and description that's targeted to your debug users who are running version 1.0.3 of your app:
$ apphubdeploy -n "Build Name" -d "Build Description" -t "debug" -a 1.0.3
Less time clicking and more time being awesome.
The first time you call apphubdeploy
in a project directory it will prompt you for your AppHub ID and AppHub Secret, which can be found on the settings panel of your AppHub.io account.
Your AppHub credentials will be stored in a .apphub
file that is readable only by you for security. Going forward, it will try to read your AppHub credentials from this file instead of prompting you.
In the event that you need to change your AppHub credentials, either modify the .apphub
file itself or simply run apphubdeploy
with the --configure
option, like apphubdeploy --configure
, and you will be prompted for your credentials again.
In the event that you're creating the .apphub
file yourself, for example with an integration server, here is the sample format for the file:
{"appHubId":"thisismywonderfulapphubid","appHubSecret":"andthisismywonderfulapphubsecretshhhhh"}
You can pass a number of options to the apphubdeploy
command in order to specify how the build will be treated by AppHub as well as other options for the CLI like --verbose
.
You can get a list of all the options by passing -h
or --help
as an option:
$ apphubdeploy --help
Short Flag | Long Flag | Description |
---|---|---|
-a | --app-versions <app-versions> | App Versions separated by commas that are compatible with this build. Either do not use a space in between version or wrap it in quotes. Example: -a 1.0.3,1.0.4 Defaults to value in Info.plist of build file. |
-d | --build-description <description> | Description of the build. Wrap in quotes if it includes spaces. |
-e | --entry-file <entry-file> | The entry file for your application. Defaults to index.ios.js . |
-n | --build-name <name> | Name of the build. Wrap in quotes if it includes spaces. |
-p | --plist-file <plist-file> | Specify a custom .plist file path. Defaults to Info.plist . |
-t | --target <target> | One of all , debug or none which specifies the target audience of the build. Defaults to none . |
Short Flag | Long Flag | Description |
---|---|---|
-c | --configure | (Re)Configure AppHub ID and Secret key. |
-h | --help | Output usage information. |
-o | --open-build-url | Open AppHub Builds URL with your default browser after a successful build and deploy. |
-r | --retain-build | Do not remove the build after a successful deploy. By default it will be removed. |
-v | --verbose | Unleashes "Chatty Kathy" to the STDOUT - great for debugging! |
-V | --version | Output the version number. |
The MIT License (MIT)
Copyright 2016 - Time.now()
by Joshua Pinter
FAQs
Build and Deploy to AppHub in one fell swoop.
The npm package apphubdeploy receives a total of 2 weekly downloads. As such, apphubdeploy popularity was classified as not popular.
We found that apphubdeploy demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.