Socket
Book a DemoInstallSign in
Socket

now-realias

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

now-realias

now utility that automatically aliases your deployment to the previous alias

latest
Source
npmnpm
Version
1.1.2
Version published
Maintainers
1
Created
Source

now-realias

This is a quick utility I wrote that helps with updating the alias on your now deployed projects.

You will need to have manually set an initial alias on your deployment, but after that, if you run this utility in the project directory, it will update the alias from the penultimate deploy to the latest deploy.

Note that the code is extremely simple, so it doesn't do anything more than described above.

Installation

Preferred installation as a global utility, though obviously you can include as a devDependency for continuous integration:

npm install -g now-realias

Usage

From the project directory that you previously ran now in, you can run (without any arguments):

now-realias

Note that now-realias will detect your NOW_TOKEN from either your ~/.now.json or your environment.

That's it.

License

  • MIT

Keywords

now

FAQs

Package last updated on 16 Sep 2016

Did you know?

Socket

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.

Install

Related posts