Skip to content

Releases: efstajas/validate-env

v0.3.3

05 May 11:17
Compare
Choose a tag to compare
  • Fix Git Actions auto publish workflow ignoring lib folder in some cases
  • No functional changes

v0.3.2

04 May 21:56
Compare
Choose a tag to compare
  • Improve package.json with proper repo field, better keywords and a description that mentions that it can type-check vars.
  • No functional changes.

v0.3.1

04 May 21:39
Compare
Choose a tag to compare

Now, you can specify a value as optional by adding a ? after the type, like:

FOO=string?

Optional values pass validation when missing, but if present must match the specified type.

Also, you can now add comments to your template file by using a hash # character.

v0.2.3

03 May 22:30
Compare
Choose a tag to compare
  • Improve README
  • No functional changes

v0.2.2

03 May 18:14
Compare
Choose a tag to compare
  • Remove accidental console.log when checking array type.

v0.2.1

03 May 17:44
Compare
Choose a tag to compare
  • Fix README mistake
  • No functional changes

v0.2.0

03 May 17:27
Compare
Choose a tag to compare
  • By default, console.log validation result automatically.
  • Allow disabling automatic logging by passing { silent: true } as the second parameter.

v0.1.4

03 May 14:56
Compare
Choose a tag to compare
  • Fix an issue with dist directory not being included in published package
  • No functional changes.

v0.1.3

03 May 14:45
Compare
Choose a tag to compare
  • Fix npm publish not publishing lib directory

v0.1.2

03 May 14:25
Compare
Choose a tag to compare
  • Add CI Badge to README.
  • No functional changes.