Releases: luqmanoop/sync-dotenv
Releases · luqmanoop/sync-dotenv
v2.7.0
Add option to avoid comments and emptyLines in env
before sync
configure sync-dotenv
in your package.json
{
"scripts": {
...
},
"sync-dotenv": {
"comments": false, // comments in .env will not be synced
"emptyLines": true, // empty lines in .env will be synced
}
}
Thanks @danieldspx for contributing
Fix empty line entries
Fixes an issue where empty line entries such as __EMPTYLINE_10__
are added to sample env after sync.
Drop ES module
Before now, sync-dotenv
builds in es/cjs module format. This release dropped es module from the build and stick to commonJS.
- Remove ES Modules from the build
Now available as CLI tool 🎉
You can now use sync-dotenv
from the command line
$ sync-dotenv
For CLI options, use the --help
flag
$ sync-dotenv --help