@dotenvx/dotenvx 2.30.0 → 2.31.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/CHANGELOG.md +24 -2
  2. package/README.md +81 -749
  3. package/package.json +3 -3
  4. package/src/cli/actions/{validate.js → check.js} +3 -3
  5. package/src/cli/actions/feedback.js +42 -0
  6. package/src/cli/actions/init.js +56 -2
  7. package/src/cli/commands/armor.js +1 -1
  8. package/src/cli/commands/primitives.js +46 -0
  9. package/src/cli/dotenvx.js +33 -16
  10. package/src/lib/api/postFeedback.js +31 -0
  11. package/src/lib/custodians/resolveLocalKey.js +68 -0
  12. package/src/lib/envfile/discovery/discoverEnvFiles.js +29 -0
  13. package/src/lib/envfile/discovery/extractEnvKeys.js +173 -0
  14. package/src/lib/envfile/discovery/scanSource.js +79 -0
  15. package/src/lib/{helpers → envfile/parsing}/readEnvfile.js +3 -3
  16. package/src/lib/envfile/rendering/normalizeEnvfile.js +56 -0
  17. package/src/lib/envfile/rendering/renderEnvfile.js +26 -0
  18. package/src/lib/{helpers → envfile/validation}/validate.js +2 -2
  19. package/src/lib/{helpers → envfile/validation}/validateEnvfile.js +1 -1
  20. package/src/lib/helpers/checklist.js +1 -1
  21. package/src/lib/helpers/errors.js +1 -1
  22. package/src/lib/helpers/prompts.js +17 -0
  23. package/src/lib/main.js +5 -1
  24. package/src/lib/services/armorPush.js +3 -15
  25. package/src/lib/services/armorUp.js +5 -12
  26. package/src/lib/services/init.js +34 -12
  27. package/src/lib/services/validate.js +2 -2
  28. package/src/cli/actions/define.js +0 -17
  29. /package/src/lib/{grammars → envfile/parsing}/envfile.peggy +0 -0
  30. /package/src/lib/{helpers → envfile/parsing}/envfileParser.js +0 -0
  31. /package/src/lib/{helpers → envfile/parsing}/formatEnvfileSyntaxError.js +0 -0
  32. /package/src/lib/{helpers → envfile/validation}/encryptedSources.js +0 -0
package/CHANGELOG.md CHANGED
@@ -2,9 +2,31 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
- [Unreleased](https://github.com/dotenvx/dotenvx/compare/v2.30.0...main)
5
+ [Unreleased](https://github.com/dotenvx/dotenvx/compare/v2.31.1...main)
6
6
 
7
- ## [2.23.0](https://github.com/dotenvx/dotenvx/compare/v2.29.0...v2.30.0) (2026-09-22)
7
+ ## [2.31.1](https://github.com/dotenvx/dotenvx/compare/v2.31.0...v2.31.1) (2026-09-27)
8
+
9
+ ### Changed
10
+
11
+ * `armor up` should read for os secret store, 1password, and bitwarden ([#992](https://github.com/dotenvx/dotenvx/pull/992))
12
+
13
+ ## [2.31.0](https://github.com/dotenvx/dotenvx/compare/v2.30.0...v2.31.0) (2026-09-27)
14
+
15
+ ### Added
16
+
17
+ * Add `dotenvx feedback` command so you (and your coding agent) can give feedback on the cli ([#987](https://github.com/dotenvx/dotenvx/pull/987))
18
+ * Add `dotenvx init` for generating your `Envfile` ([#990](https://github.com/dotenvx/dotenvx/pull/990))
19
+
20
+ ### Changed
21
+
22
+ * Restore ESM named imports such as `import { config } from '@dotenvx/dotenvx'`, broken in 2.30.0 by the `withEvents` export ([#989](https://github.com/dotenvx/dotenvx/issues/989)).
23
+ * BREAKING: `dotenvx validate` renamed to `dotenvx check` and works off Envfile only going forward. Support for .env.example dropped. Switch to using an `Envfile`.
24
+
25
+ ### Removed
26
+
27
+ * BREAKING: `dotenvx define` removed. Use `dotenvx init`.
28
+
29
+ ## [2.30.0](https://github.com/dotenvx/dotenvx/compare/v2.29.0...v2.30.0) (2026-09-22)
8
30
 
9
31
  ### Added
10
32