Skip to content

ackinc/dotenv-autosync-samplefiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

dotenv-autosync-samplefiles

If you're tired of manually updating your .env.sample files to keep them in sync with their corresponding .env files, DAS can help.

Install it as a dev-dependency in your project. The postinstall script will install a pre-push git hook that will update your .env.sample files to match their equivalent .env files in your project.

You might forget to update your .env.sample files during local development, but your teammates will never know :)


Notes

  • Supports suffixed .env files (.env.staging, .env.production, etc.)
  • This package is best installed as a dev-dependency
  • This package does not currently support Windows
  • [WARNING] If you have an existing pre-push hook installed, this package will overwrite it

About

DAS keeps your .env.sample files in sync with their corresponding .env files

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages