pnv 1.6.0 copy "pnv: ^1.6.0" to clipboard
pnv: ^1.6.0 copied to clipboard

A package to help with safely storing environment variables publicly

Change Log #

1.6.0 | 6.7.25 #

Features #

  • Add abililty to force types when generating Dart files from .env files

Enhancements #

  • Update README
  • Update logs

1.5.0 | 5.08.25 #

Features #

  • Add ability to specify the class name when generating Dart env file
    • Applies only to the --file flag

Enhancements #

  • Add logging when creating a flavor

Fixes #

  • Identify numbers as numbers when generating Dart env files

1.4.2 | 5.02.25 #

Features #

  • Add ability to create flavors during the init command
  • Create new key when flavor exists within the config but the key does not
  • Add delete flavor command to delete a flavor and the key associated with it

Enhancements #

  • Add error handling to the generate env command when no input or directory is provided

Chore #

  • Update README.md

1.3.0 | 3.13.25 #

Features #

  • Add generate dart command to generate Dart files from env files

Fixes #

  • Fix issue where a flavor that was included in the list of additional extensions would cause an error to be thrown

Deprecations #

  • generate-env command has been deprecated in favor of the generate env command
    • Functionality remains the same

1.2.0 | 2.5.25 #

Features #

  • Create a .pnvrc config file to handle multiple flavors and storage location to easily manage secrets
    • Add pnv init command to create a .pnvrc file
    • Point to the directory where the encryption keys are stored and the flavors will be imported automatically
  • Encrypt, decrypt, and generate env files with the new --flavor flag
  • Create a new flavor with the create flavor command
    • Creates a new encryption key and flavor within the configuration file

Deprecations #

These deprecations will be removed in the next major release

  • create-key command has been deprecated in favor of the create key command

1.1.0 | 11.29.24 #

Enhancements #

  • Instead of separated commas, to-dart-define formats the output space separated using the -D flag

1.0.0 | 11.15.24 #

  • Initial release
1
likes
140
points
177
downloads

Publisher

verified publishermrgnhnt.com

Weekly Downloads

A package to help with safely storing environment variables publicly

Repository (GitHub)
View/report issues

Topics

#env #environment

Documentation

API reference

Funding

Consider supporting this project:

github.com

License

MIT (license)

Dependencies

args, change_case, crypto, equatable, file, json_annotation, mason_logger, path, pointycastle, yaml

More

Packages that depend on pnv