@dotenvx/dotenvx 1.61.1 → 1.61.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 +9 -1
- package/README.md +5 -67
- package/package.json +1 -1
- package/src/lib/extensions/ops.js +4 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,10 +2,18 @@
|
|
|
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.61.
|
|
5
|
+
[Unreleased](https://github.com/dotenvx/dotenvx/compare/v1.61.2...main)
|
|
6
|
+
|
|
7
|
+
## [1.61.2](https://github.com/dotenvx/dotenvx/compare/v1.61.1...v1.61.2) (2026-04-21)
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
* For Ops ⛨ users surface stderr ([#796](https://github.com/dotenvx/dotenvx/pull/796))
|
|
6
12
|
|
|
7
13
|
## [1.61.1](https://github.com/dotenvx/dotenvx/compare/v1.61.0...v1.61.1) (2026-04-17)
|
|
8
14
|
|
|
15
|
+
### Changed
|
|
16
|
+
|
|
9
17
|
* Faster coldstarts! ([#781](https://github.com/dotenvx/dotenvx/pull/781))
|
|
10
18
|
* Patch `dotenvx precommit|prebuild` shorthand ([#793](https://github.com/dotenvx/dotenvx/pull/793))
|
|
11
19
|
|
package/README.md
CHANGED
|
@@ -2617,77 +2617,15 @@ This is known as *Decryption at Access* and is written about in [the whitepaper]
|
|
|
2617
2617
|
|
|
2618
2618
|
## Ops ⛨
|
|
2619
2619
|
|
|
2620
|
-
[](https://dotenvx.com/ops)
|
|
2621
2621
|
|
|
2622
|
-
> ⛨ ARMORED KEYS: Harden your private keys.
|
|
2623
|
-
|
|
2624
|
-
### Quickstart
|
|
2625
|
-
|
|
2626
|
-
Install it and gain `ops` commands.
|
|
2627
|
-
|
|
2628
|
-
```sh
|
|
2629
|
-
$ curl -sfS https://dotenvx.sh/ops | sh
|
|
2630
|
-
$ dotenvx ops login
|
|
2631
|
-
$ dotenvx encrypt
|
|
2632
|
-
```
|
|
2633
|
-
|
|
2634
|
-
### CLI
|
|
2635
|
-
|
|
2636
|
-
<details><summary>`ops login`</summary><br>
|
|
2637
|
-
|
|
2638
|
-
Log in.
|
|
2639
|
-
|
|
2640
|
-
```sh
|
|
2641
|
-
$ dotenvx-ops login
|
|
2642
|
-
press Enter to open [https://ops.dotenvx.com/login/device] and enter code [D9C1-03BC]... (Y/n)
|
|
2643
|
-
⠹ waiting on browser authorization
|
|
2644
|
-
◈ logged in [username] to this device and activated token [dxo_6kjPifI…]
|
|
2645
|
-
```
|
|
2646
|
-
|
|
2647
|
-
</details>
|
|
2648
|
-
<details><summary>`ops logout`</summary><br>
|
|
2649
|
-
|
|
2650
|
-
Log out.
|
|
2651
|
-
|
|
2652
|
-
```sh
|
|
2653
|
-
$ dotenvx ops logout
|
|
2654
|
-
◈ logged out [username] from this device and revoked token [dxo_5ZrwRXV…]
|
|
2655
2622
|
```
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
Check and configure various settings for [Ops](https://dotenvx.com/ops) - `username`, `token`, and more.
|
|
2661
|
-
|
|
2662
|
-
```sh
|
|
2663
|
-
$ dotenvx-ops settings
|
|
2664
|
-
Usage: dotenvx-ops settings [options] [command]
|
|
2665
|
-
|
|
2666
|
-
⚙️ settings
|
|
2667
|
-
|
|
2668
|
-
Options:
|
|
2669
|
-
-h, --help display help for command
|
|
2670
|
-
|
|
2671
|
-
Commands:
|
|
2672
|
-
username print your username
|
|
2673
|
-
token [options] print your access token (--unmask)
|
|
2674
|
-
device [options] print your device pubkey (--unmask)
|
|
2675
|
-
hostname print hostname
|
|
2676
|
-
path print path to settings file
|
|
2677
|
-
help [command] display help for command
|
|
2678
|
-
```
|
|
2679
|
-
|
|
2680
|
-
</details>
|
|
2681
|
-
<details><summary>`ops status`</summary><br>
|
|
2682
|
-
|
|
2683
|
-
Check current status of [Ops](https://dotenvx.com/ops) - `on` or `off` (logged in or out).
|
|
2684
|
-
|
|
2685
|
-
```sh
|
|
2686
|
-
$ dotenvx ops status
|
|
2687
|
-
on
|
|
2623
|
+
⛨ ARMORED KEYS: Harden your private keys.
|
|
2624
|
+
⮕ install [curl -sfS https://dotenvx.sh/ops | sh]
|
|
2625
|
+
⮕ then run [dotenvx-ops login]
|
|
2688
2626
|
```
|
|
2689
2627
|
|
|
2690
|
-
|
|
2628
|
+
[Learn more](https://dotenvx.com/ops)
|
|
2691
2629
|
|
|
2692
2630
|
|
|
2693
2631
|
|
package/package.json
CHANGED
|
@@ -90,7 +90,10 @@ class Ops {
|
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
async _exec (binary, args) {
|
|
93
|
-
const { stdout } = await execFile(binary, args)
|
|
93
|
+
const { stdout, stderr } = await execFile(binary, args)
|
|
94
|
+
if (stderr && stderr.length > 0) {
|
|
95
|
+
process.stderr.write(stderr.toString())
|
|
96
|
+
}
|
|
94
97
|
return stdout.toString().trim()
|
|
95
98
|
}
|
|
96
99
|
|