0.0.2 • Published 8 months ago

vercenv v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

vercenv

A simple command line program that will load environment variables pulled from Vercel.

This is to help avoid errors during checks and tests where your code is expecting certain variables to be defined.

$ vercel env pull
$ vercenv vite build

Additionally, this allows you to run npm run dev as normal instead of using vercel dev. This can be useful, for example, when starting scripts from VSCode's GUI.

// package.json
{
  "scripts": {
    "dev": "vercenv vite dev"
  }
}
$ npm run dev
0.0.2

8 months ago

0.0.1

8 months ago