Skip to content

Latest commit

 

History

History
54 lines (39 loc) · 1.1 KB

DEVELOPMENT.md

File metadata and controls

54 lines (39 loc) · 1.1 KB

Development README

Fork and clone the repo. Use ./bin/dev to run local development commands.

./bin/dev new
./bin/dev push
./bin/dev pull
# etc

If you need to send the request to a different vault url, modify your command(s) to the following.

NODE_TLS_REJECT_UNAUTHORIZED=0 DOTENV_API_URL=https://vault.dotenv.development ./bin/dev

Note that dotenv-vault uses oclif.

Testing

npm test

Tarballs

npx [email protected] pack tarballs
bash
env $(cat .env | xargs) npx [email protected] upload tarballs
env $(cat .env | xargs) npx [email protected] promote --version VERSION --sha SHA

Win

./node_modules/.bin/oclif pack:win
bash
env $(cat .env | xargs) ./node_modules/.bin/oclif upload win
env $(cat .env | xargs) ./node_modules/.bin/oclif promote --win --version VERSION --sha SHA

Publishing

Only for those with permission.

npm version patch
npm publish