@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.
- package/CHANGELOG.md +24 -2
- package/README.md +81 -749
- package/package.json +3 -3
- package/src/cli/actions/{validate.js → check.js} +3 -3
- package/src/cli/actions/feedback.js +42 -0
- package/src/cli/actions/init.js +56 -2
- package/src/cli/commands/armor.js +1 -1
- package/src/cli/commands/primitives.js +46 -0
- package/src/cli/dotenvx.js +33 -16
- package/src/lib/api/postFeedback.js +31 -0
- package/src/lib/custodians/resolveLocalKey.js +68 -0
- package/src/lib/envfile/discovery/discoverEnvFiles.js +29 -0
- package/src/lib/envfile/discovery/extractEnvKeys.js +173 -0
- package/src/lib/envfile/discovery/scanSource.js +79 -0
- package/src/lib/{helpers → envfile/parsing}/readEnvfile.js +3 -3
- package/src/lib/envfile/rendering/normalizeEnvfile.js +56 -0
- package/src/lib/envfile/rendering/renderEnvfile.js +26 -0
- package/src/lib/{helpers → envfile/validation}/validate.js +2 -2
- package/src/lib/{helpers → envfile/validation}/validateEnvfile.js +1 -1
- package/src/lib/helpers/checklist.js +1 -1
- package/src/lib/helpers/errors.js +1 -1
- package/src/lib/helpers/prompts.js +17 -0
- package/src/lib/main.js +5 -1
- package/src/lib/services/armorPush.js +3 -15
- package/src/lib/services/armorUp.js +5 -12
- package/src/lib/services/init.js +34 -12
- package/src/lib/services/validate.js +2 -2
- package/src/cli/actions/define.js +0 -17
- /package/src/lib/{grammars → envfile/parsing}/envfile.peggy +0 -0
- /package/src/lib/{helpers → envfile/parsing}/envfileParser.js +0 -0
- /package/src/lib/{helpers → envfile/parsing}/formatEnvfileSyntaxError.js +0 -0
- /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.
|
|
5
|
+
[Unreleased](https://github.com/dotenvx/dotenvx/compare/v2.31.1...main)
|
|
6
6
|
|
|
7
|
-
## [2.
|
|
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
|
|