@dotenvx/dotenvx 0.44.5 → 0.45.0
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
CHANGED
|
@@ -2,7 +2,20 @@
|
|
|
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/v0.
|
|
5
|
+
## [Unreleased](https://github.com/dotenvx/dotenvx/compare/v0.45.0...main)
|
|
6
|
+
|
|
7
|
+
## 0.45.0
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
* Rename `dotenvx vault convert` to `dotenvx vault migrate` ([#251](https://github.com/dotenvx/dotenvx/pull/251))
|
|
12
|
+
* Update `install.sh` regex version check to be `sh` compatible (not just bash)
|
|
13
|
+
|
|
14
|
+
## 0.44.6
|
|
15
|
+
|
|
16
|
+
### Added
|
|
17
|
+
|
|
18
|
+
* Added `checksums.txt` as part of each release
|
|
6
19
|
|
|
7
20
|
## 0.44.5
|
|
8
21
|
|
package/README.md
CHANGED
|
@@ -1317,9 +1317,9 @@ The `.env.vault` file got us far, but it had limitations such as:
|
|
|
1317
1317
|
|
|
1318
1318
|
That said, the `.env.vault` tooling will still stick around for at least 1 year under `dotenvx vault` parent command. I'm still using it in projects as are many thousands of other people.
|
|
1319
1319
|
|
|
1320
|
-
####
|
|
1320
|
+
#### How do I migrate my `.env.vault` file(s) to encrypted `.env` files?
|
|
1321
1321
|
|
|
1322
|
-
|
|
1322
|
+
Run `$ dotenvx vault migrate` and follow the instructions.
|
|
1323
1323
|
|
|
1324
1324
|
|
|
1325
1325
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const { logger } = require('./../../../shared/logger')
|
|
2
2
|
|
|
3
|
-
function
|
|
3
|
+
function migrate (directory) {
|
|
4
4
|
// debug args
|
|
5
5
|
logger.debug(`directory: ${directory}`)
|
|
6
6
|
|
|
@@ -8,7 +8,7 @@ function convert (directory) {
|
|
|
8
8
|
logger.debug(`options: ${JSON.stringify(options)}`)
|
|
9
9
|
|
|
10
10
|
try {
|
|
11
|
-
logger.help2('To
|
|
11
|
+
logger.help2('To migrate your .env.vault file to encrypted .env file(s):')
|
|
12
12
|
logger.help('')
|
|
13
13
|
logger.help(' 1. Run [dotenvx vault decrypt]')
|
|
14
14
|
logger.help(' 2. Run [ls -a .env*]')
|
|
@@ -44,4 +44,4 @@ function convert (directory) {
|
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
module.exports =
|
|
47
|
+
module.exports = migrate
|
|
@@ -7,10 +7,10 @@ const vault = new Command('vault')
|
|
|
7
7
|
vault
|
|
8
8
|
.description('manage .env.vault files')
|
|
9
9
|
|
|
10
|
-
// dotenvx vault
|
|
11
|
-
vault.command('
|
|
12
|
-
.description('instructions for
|
|
13
|
-
.action(require('./../actions/vault/
|
|
10
|
+
// dotenvx vault migrate
|
|
11
|
+
vault.command('migrate')
|
|
12
|
+
.description('instructions for migrating .env.vault to encrypted env file(s)')
|
|
13
|
+
.action(require('./../actions/vault/migrate'))
|
|
14
14
|
|
|
15
15
|
// dotenvx vault encrypt
|
|
16
16
|
vault.command('encrypt')
|