Fatima Logofatima

vercel

"Your complete platform for the web..."

Dependencies

npm install -g vercel

Authenticating

First, log in:

vercel login

Then, link your project:

vercel link

Token Authenticating

Fatima also supports token-based authentication, which can be useful for people running containers.

Just grab your VERCEL_TOKEN, VERCEL_ORG_ID, and VERCEL_PROJECT_ID from your Vercel account and set them as environment variables, or pass down as loader options.

Importing the loader

env.config.ts
import { config, adapters } from "fatima";
import { parse } from "dotenv";
 
export default config({
  load: {
    development: [
      adapters.local.load(".env"),
      adapters.vercel.load(parse, {
        // Check out here with intellisense
      }),
    ],
  },
});

On this page