1.0.2 • Published 11 months ago

netlify-env-dry-runner v1.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
11 months ago

netlify-env-dry-runner

Requirement

netlify cli

Description

Using this cli tool, you can compare the environment variables set in the Netlify application with those written in the .env format file in the repository, and display the differences in the standard output. In other words, if there are environment variables that are only set in one of them, it will show the difference in the standard output.

Setup

npm install netlify-env-dry-runner
netlify login

Usage

npm run netlify-env-dry-runner <site-name> <config-path>

For example:

netlify login
npm run netlify-env-dry-runner todo-service-production /Users/kyogom/dev/private/todo-service/prod.env

+ VITE_OGP_IMG=https://manage-expense-assets.s3.ap-northeast-1.amazonaws.com/ogp.png

! VITE_SITE_TITLE=todo-service-prod1
! VITE_SITE_TITLE=todo-service-prod2

+ : adding environment variable
- : removing environment variable
! : changing environment variable

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago