JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q26703F
  • License MIT

now utility that automatically aliases your deployment to the previous alias

Package Exports

  • now-realias

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (now-realias) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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