@dotenvx/dotenvx 1.13.0 → 1.13.2
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 +23 -1
- package/package.json +1 -1
- package/src/lib/main.js +10 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,26 +2,48 @@
|
|
|
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/v1.13.
|
|
5
|
+
## [Unreleased](https://github.com/dotenvx/dotenvx/compare/v1.13.2...main)
|
|
6
|
+
|
|
7
|
+
## 1.13.2
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
* expose `getColor` and `bold` to `lib/main.js` ([#369](https://github.com/dotenvx/dotenvx/pull/369))
|
|
12
|
+
|
|
13
|
+
## 1.13.1
|
|
14
|
+
|
|
15
|
+
### Added
|
|
16
|
+
|
|
17
|
+
* expose `logger` and `setLogLevel` to `lib/main.js` - `const = { logger, setLogLevel } = require('@dotenvx/dotenvx')` ([#368](https://github.com/dotenvx/dotenvx/pull/368))
|
|
6
18
|
|
|
7
19
|
## 1.13.0
|
|
8
20
|
|
|
21
|
+
### Changed
|
|
22
|
+
|
|
9
23
|
* move `ls` to core commands ([#367](https://github.com/dotenvx/dotenvx/pull/367))
|
|
10
24
|
|
|
11
25
|
## 1.12.1
|
|
12
26
|
|
|
27
|
+
### Changed
|
|
28
|
+
|
|
13
29
|
* return without quotations for `dotenvx get --format shell` ([#366](https://github.com/dotenvx/dotenvx/pull/366))
|
|
14
30
|
|
|
15
31
|
## 1.12.0
|
|
16
32
|
|
|
33
|
+
### Added
|
|
34
|
+
|
|
17
35
|
* add `dotenvx get --format shell` option ([#363](https://github.com/dotenvx/dotenvx/pull/363))
|
|
18
36
|
|
|
19
37
|
## 1.11.5
|
|
20
38
|
|
|
39
|
+
### Changed
|
|
40
|
+
|
|
21
41
|
* revert `tinyexec` for `execa` - to support usage in bun
|
|
22
42
|
|
|
23
43
|
## 1.11.4
|
|
24
44
|
|
|
45
|
+
### Changed
|
|
46
|
+
|
|
25
47
|
* bump `tinyexec` and add postrelease-bunx check ([#362](https://github.com/dotenvx/dotenvx/pull/362))
|
|
26
48
|
|
|
27
49
|
## 1.11.3
|
package/package.json
CHANGED
package/src/lib/main.js
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
// @ts-check
|
|
2
2
|
const path = require('path')
|
|
3
|
-
const { logger } = require('./../shared/logger')
|
|
4
3
|
const dotenv = require('dotenv')
|
|
5
4
|
|
|
5
|
+
// shared
|
|
6
|
+
const { setLogLevel, logger } = require('./../shared/logger')
|
|
7
|
+
const { getColor, bold } = require('./../shared/colors')
|
|
8
|
+
|
|
6
9
|
// services
|
|
7
10
|
const Ls = require('./services/ls')
|
|
8
11
|
const Get = require('./services/get')
|
|
@@ -15,7 +18,6 @@ const Genexample = require('./services/genexample')
|
|
|
15
18
|
// helpers
|
|
16
19
|
const conventions = require('./helpers/conventions')
|
|
17
20
|
const dotenvOptionPaths = require('./helpers/dotenvOptionPaths')
|
|
18
|
-
const { setLogLevel } = require('../shared/logger')
|
|
19
21
|
|
|
20
22
|
// proxies to dotenv
|
|
21
23
|
|
|
@@ -219,5 +221,10 @@ module.exports = {
|
|
|
219
221
|
ls,
|
|
220
222
|
get,
|
|
221
223
|
set,
|
|
222
|
-
genexample
|
|
224
|
+
genexample,
|
|
225
|
+
// expose for libs depending on @dotenvx/dotenvx - like dotenvx-pro
|
|
226
|
+
setLogLevel,
|
|
227
|
+
logger,
|
|
228
|
+
getColor,
|
|
229
|
+
bold
|
|
223
230
|
}
|