@dotenvx/dotenvx-ops 0.38.2 → 0.39.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,19 @@
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-ops/compare/v0.38.2...main)
5
+ [Unreleased](https://github.com/dotenvx/dotenvx-ops/compare/v0.39.0...main)
6
+
7
+ ## [0.39.0](https://github.com/dotenvx/dotenvx-ops/compare/v0.38.3...v0.39.0) (2026-04-23)
8
+
9
+ ### Added
10
+
11
+ * Added `armor up` and `armor down` placeholders ([#53](https://github.com/dotenvx/dotenvx-ops/pull/53))
12
+
13
+ ## [0.38.3](https://github.com/dotenvx/dotenvx-ops/compare/v0.38.2...v0.38.3) (2026-04-21)
14
+
15
+ ### Changed
16
+
17
+ * Bump dotenvx
6
18
 
7
19
  ## [0.38.2](https://github.com/dotenvx/dotenvx-ops/compare/v0.38.1...v0.38.2) (2026-04-20)
8
20
 
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.38.2",
2
+ "version": "0.39.0",
3
3
  "name": "@dotenvx/dotenvx-ops",
4
4
  "description": "Secrets for agents–from the creator of `dotenv` and `dotenvx`",
5
5
  "author": "@motdotla",
@@ -43,7 +43,7 @@
43
43
  },
44
44
  "dependencies": {
45
45
  "@clack/core": "^0.4.2",
46
- "@dotenvx/dotenvx": "^1.60.2",
46
+ "@dotenvx/dotenvx": "^1.61.3",
47
47
  "@inquirer/prompts": "^7.10.1",
48
48
  "arch": "^2.1.1",
49
49
  "commander": "^11.1.0",
@@ -0,0 +1,17 @@
1
+ const { logger } = require('@dotenvx/dotenvx')
2
+
3
+ const Session = require('./../../../db/session')
4
+
5
+ function down () {
6
+ try {
7
+ const sesh = new Session()
8
+ sesh.notifyUpdate()
9
+
10
+ logger.success('⛨ coming soon')
11
+ } catch (error) {
12
+ logger.error(error.message)
13
+ process.exit(1)
14
+ }
15
+ }
16
+
17
+ module.exports = down
@@ -0,0 +1,17 @@
1
+ const { logger } = require('@dotenvx/dotenvx')
2
+
3
+ const Session = require('./../../../db/session')
4
+
5
+ function up () {
6
+ try {
7
+ const sesh = new Session()
8
+ sesh.notifyUpdate()
9
+
10
+ logger.success('⛨ coming soon')
11
+ } catch (error) {
12
+ logger.error(error.message)
13
+ process.exit(1)
14
+ }
15
+ }
16
+
17
+ module.exports = up
@@ -0,0 +1,22 @@
1
+ const { Command } = require('commander')
2
+
3
+ const armor = new Command('armor')
4
+
5
+ armor
6
+ .description('ARMORED KEYS ⛨')
7
+ .allowUnknownOption()
8
+
9
+ // dotenvx-ops armor up
10
+ const upAction = require('./../actions/armor/up')
11
+ armor
12
+ .command('up')
13
+ .description('harden private key')
14
+ .action(upAction)
15
+
16
+ const downAction = require('./../actions/armor/down')
17
+ armor
18
+ .command('down')
19
+ .description('soften private key')
20
+ .action(downAction)
21
+
22
+ module.exports = armor
@@ -97,6 +97,9 @@ if (shouldLoadRotateCommand) {
97
97
  program.addCommand(require('./commands/rotate'))
98
98
  }
99
99
 
100
+ // dotenvx-ops armor
101
+ program.addCommand(require('./commands/armor'))
102
+
100
103
  // dotenvx-ops login
101
104
  const loginAction = require('./actions/login')
102
105
  program
@@ -124,7 +127,7 @@ program
124
127
  const keypairAction = require('./actions/keypair')
125
128
  program
126
129
  .command('keypair')
127
- .description('generate keypair')
130
+ .description('generate armored keypair')
128
131
  .argument('[publicKey]', 'existing public key')
129
132
  .option('-h, --hostname <url>', 'set hostname')
130
133
  .option('--token <token>', 'set token')