npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

resolve-cloud

v0.34.2

Published

This package provides an interface used to deploy [reSolve](https://github.com/reimagined/resolve) applications to the cloud.

Downloads

108

Readme

ReSolve Cloud Platform Command Line Interface

This package provides an interface used to deploy reSolve applications to the cloud.

Usage

Use the following console inputs to add this CLI to your reSolve project, login to the reSolve Cloud Platform and deploy the application:

yarn create resolve-app resolve-app
cd resolve-app
<develop your app locally>
yarn add resolve-cloud
yarn resolve-cloud login
yarn resolve-cloud deploy

Install the CLI

The reSolve Cloud Platform CLI is available on NPM. You can add it to a project as shown below:

yarn add resolve-cloud

Log in to the reSolve Cloud Platform

Use the login command to authenticate and authorize in the reSolve cloud platform:

yarn resolve-cloud login

The CLI manages an authentication session so you stay logged in between queries.

Manage Deployments

Use the deploy command to deploy an application to the cloud:

yarn resolve-cloud deploy

The cloud platform assigns an ID to an application deployment.

Pass a deployment's ID to the remove command to remove this deployment:

yarn resolve-cloud remove <deploymentId>

View Deployment information

To view the list of all your deployments, type:

yarn resolve-cloud list

Use the describe command to view information on a specific deployment:

yarn resolve-cloud describe <deploymentId>

Manage Read Models

The read-models command manages the application's read models.

View a deployed application's read models:
yarn resolve-cloud read-models list <deploymentId>
Pause and resume read model updates:
yarn resolve-cloud read-models pause <deploymentId> <readModelName>
yarn resolve-cloud read-models resume <deploymentId> <readModelName>
yarn resolve-cloud read-models pause-all <deploymentId> 
yarn resolve-cloud read-models resume-all <deploymentId> 
Reset a read model's persistent state:
yarn resolve-cloud read-models reset <deploymentId> <readModelName>
yarn resolve-cloud read-models reset-all <deploymentId> <readModelName>

Manage Sagas

The sagas command manages the application's sagas.

View a list of available sagas:
yarn resolve-cloud sagas list <deploymentId>
Pause and resume a saga:
yarn resolve-cloud sagas pause <deploymentId> <sagaName>
yarn resolve-cloud sagas resume <deploymentId> <sagaName>
Reset a saga's persistent state:
yarn resolve-cloud sagas reset <deploymentId> <sagaName>

Manage Saga Properties

Use the sagas properties command to manage a saga's properties.

Add a property:
yarn resolve-cloud sagas properties add <deploymentId> <sagaName> <propertyName> <value>
View all saga's properties:
yarn resolve-cloud sagas properties list <deploymentId> <sagaName>
Remove a property:
yarn resolve-cloud sagas properties remove <deploymentId> <sagaName> <propertyName>
Update a property's value:
yarn resolve-cloud sagas properties update <deploymentId> <sagaName> <propertyName> <newValue>

Manage Environment Variables

The following commands allow you to manage environment variables available for a deployment.

Set environment variables:
yarn resolve-cloud environment set <deploymentId> <keyValuePairs>
Remove an environment variable:
yarn resolve-cloud environment remove <deploymentId> <variableNameList>

View Logs

Use the logs command to view and manage application logs.

View logs:
yarn resolve-cloud logs get <deploymentId>
Remove logs:
yarn resolve-cloud logs remove <deploymentId>

Trace Application Performance

Use the tracing command to control application performance tracing.

Enable performance tracing:
resolve-cloud tracing enable <deploymentId>
Disable performance tracing:
resolve-cloud tracing disable <deploymentId>
Check whether performance tracing is enabled:
resolve-cloud tracing status <deploymentId>
View the list of an application's performance traces:
resolve-cloud tracing summary <deploymentId>
View a trace:
resolve-cloud tracing get <deploymentId> <traceId>

View Help

To view help on this CLI, type:

yarn resolve-cloud --help

You can also view help for a specific command, for example:

yarn resolve-cloud deploy --help