@dinanathdash/envault 1.0.0 → 1.0.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 +31 -0
- package/LICENSE +21 -0
- package/README.md +66 -0
- package/package.json +14 -4
- package/release.config.js +24 -0
- package/src/lib/config.js +6 -2
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
## [1.0.2](https://github.com/DinanathDash/Envault/compare/v1.0.1...v1.0.2) (2026-02-01)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* sync version and verify automated release ([ab54ab2](https://github.com/DinanathDash/Envault/commit/ab54ab2b4a9ac045ea986d34d9187ab4c705c76e))
|
|
7
|
+
|
|
8
|
+
# 1.0.0 (2026-02-01)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **ci:** upgrade node to v22 for semantic-release ([fcdd294](https://github.com/DinanathDash/Envault/commit/fcdd29467dad11ddbe33190df04afd6ba03bfde0))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
* Add comprehensive authentication flows including password reset, email confirmation, and update password with new UI components and email templates. ([c1da2ed](https://github.com/DinanathDash/Envault/commit/c1da2ed12a5669e76ad2d28d1c37564e55c3aeee))
|
|
19
|
+
* add landing page animations and update auth pages ([3c04f52](https://github.com/DinanathDash/Envault/commit/3c04f529ffa6dc2cf3e0bfdadb95fa5491a810f0))
|
|
20
|
+
* Add Open Graph and Twitter image metadata, including a new `open-graph.png` asset. ([3291026](https://github.com/DinanathDash/Envault/commit/3291026e2311b5d1f80016a769ba8c0fab2171d5))
|
|
21
|
+
* Add project governance documents, update README, and implement async secret decryption and user sign-out. ([380c88a](https://github.com/DinanathDash/Envault/commit/380c88accae92a7c0583c0bdd28963f55fc523f1))
|
|
22
|
+
* Add variable value visibility toggle, implement Tooltip component, and refine UI spacing and responsiveness. ([25fd618](https://github.com/DinanathDash/Envault/commit/25fd618f58977f8ef128105ac3d59466498c0637))
|
|
23
|
+
* document Upstash Redis integration and add rounded corners to favicon. ([7d68a5d](https://github.com/DinanathDash/Envault/commit/7d68a5d944b66547199268bfc5a93dc16fc0cfa6))
|
|
24
|
+
* Implement .env file download functionality and update application icons. ([81db44b](https://github.com/DinanathDash/Envault/commit/81db44b9094c21a5bbc314cd427b049fbdaff580))
|
|
25
|
+
* Implement amber theme for landing page and optimize session monitoring for public routes. ([e8634f2](https://github.com/DinanathDash/Envault/commit/e8634f2ac4d3e2561fc27c2d466ace91dcee0b00))
|
|
26
|
+
* implement CLI authentication and device flow ([85f794f](https://github.com/DinanathDash/Envault/commit/85f794feffa3256c1bb9f40fd37de28962fe045c))
|
|
27
|
+
* Implement core application structure with user authentication, project and environment variable management, and a comprehensive UI component library. ([1990916](https://github.com/DinanathDash/Envault/commit/1990916e90d2277b503c69363a4409e2c6d34db3))
|
|
28
|
+
* Implement key wrapping and rotation, add GitHub authentication, and enhance variable dialog with upsert logic and status indicators. ([a73783e](https://github.com/DinanathDash/Envault/commit/a73783ecedbd36d947fdd9b7ab39e7e38ea4edb1))
|
|
29
|
+
* Implement user authentication, project management, and bulk .env variable import with encryption. ([aa890cf](https://github.com/DinanathDash/Envault/commit/aa890cf9c4eee958648e5c82a8af4e0234cd5026))
|
|
30
|
+
* Introduce preloader component, global loading state, and skeleton UIs for dashboard and project views. ([3f052d6](https://github.com/DinanathDash/Envault/commit/3f052d6300133398505e43748a97e7aac2f29624))
|
|
31
|
+
* Refactor key rotation to use chunked processing and job management, integrate Upstash Redis for caching, and add Vercel Analytics. ([17ba173](https://github.com/DinanathDash/Envault/commit/17ba173e03c8f139f98069b6b04a0b77c9dea428))
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Dinanath Dash
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# Envault CLI
|
|
2
|
+
|
|
3
|
+
<p align="center">
|
|
4
|
+
<img src="https://envault.tech/logo.png" alt="Envault Logo" width="100" />
|
|
5
|
+
</p>
|
|
6
|
+
|
|
7
|
+
<p align="center">
|
|
8
|
+
<b>Secure Environment Variable Management for Modern Teams</b>
|
|
9
|
+
</p>
|
|
10
|
+
|
|
11
|
+
<p align="center">
|
|
12
|
+
Securely push, pull, and manage your secrets directly from your terminal with the same ease as `git push`.
|
|
13
|
+
</p>
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## Features
|
|
18
|
+
|
|
19
|
+
- 🔒 **End-to-End Encryption**: Secrets are encrypted before they leave your machine.
|
|
20
|
+
- 🔑 **Device Flow Authentication**: Secure, browser-based login mechanism.
|
|
21
|
+
- 🚀 **Zero-Config**: Works with your existing `.env` files.
|
|
22
|
+
- ⚡ **Framework Agnostic**: Works with Next.js, Node.js, Python, Go, etc.
|
|
23
|
+
|
|
24
|
+
## Installation
|
|
25
|
+
|
|
26
|
+
You can run Envault directly using `npx` (recommended) or install it globally.
|
|
27
|
+
|
|
28
|
+
### Using Number (Zero Install)
|
|
29
|
+
```bash
|
|
30
|
+
npx @dinanathdash/envault login
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
### Global Install
|
|
34
|
+
```bash
|
|
35
|
+
npm install -g @dinanathdash/envault
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Quick Start
|
|
39
|
+
|
|
40
|
+
### 1. Login
|
|
41
|
+
Authenticate your machine securely.
|
|
42
|
+
```bash
|
|
43
|
+
envault login
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
### 2. Initialize Project
|
|
47
|
+
Link your current folder to an Envault project.
|
|
48
|
+
```bash
|
|
49
|
+
envault init
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
### 3. Deploy Secrets
|
|
53
|
+
Push your local `.env` variables to the secure cloud vault.
|
|
54
|
+
```bash
|
|
55
|
+
envault deploy
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
### 4. Pull Secrets
|
|
59
|
+
Fetch the latest secrets from the cloud and update your `.env` file.
|
|
60
|
+
```bash
|
|
61
|
+
envault pull
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
## License
|
|
65
|
+
|
|
66
|
+
MIT © [Envault](https://envault.tech)
|
package/package.json
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dinanathdash/envault",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Envault CLI - Securely manage your environment variables",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/DinanathDash/Envault.git"
|
|
8
|
+
},
|
|
5
9
|
"main": "src/index.js",
|
|
6
10
|
"bin": {
|
|
7
11
|
"envault": "./bin/envault.js"
|
|
@@ -25,7 +29,13 @@
|
|
|
25
29
|
"conf": "^12.0.0",
|
|
26
30
|
"dotenv": "^16.3.1",
|
|
27
31
|
"inquirer": "^9.2.11",
|
|
28
|
-
"
|
|
29
|
-
"
|
|
32
|
+
"open": "^10.0.3",
|
|
33
|
+
"ora": "^7.0.1"
|
|
34
|
+
},
|
|
35
|
+
"devDependencies": {
|
|
36
|
+
"@semantic-release/changelog": "^6.0.3",
|
|
37
|
+
"@semantic-release/exec": "^7.1.0",
|
|
38
|
+
"@semantic-release/git": "^10.0.1",
|
|
39
|
+
"semantic-release": "^25.0.3"
|
|
30
40
|
}
|
|
31
|
-
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const config = {
|
|
2
|
+
branches: ['main'],
|
|
3
|
+
plugins: [
|
|
4
|
+
'@semantic-release/commit-analyzer',
|
|
5
|
+
'@semantic-release/release-notes-generator',
|
|
6
|
+
[
|
|
7
|
+
'@semantic-release/changelog',
|
|
8
|
+
{
|
|
9
|
+
changelogFile: 'CHANGELOG.md',
|
|
10
|
+
},
|
|
11
|
+
],
|
|
12
|
+
'@semantic-release/npm', // Updates package.json and publishes
|
|
13
|
+
[
|
|
14
|
+
'@semantic-release/git',
|
|
15
|
+
{
|
|
16
|
+
assets: ['package.json', 'CHANGELOG.md', 'README.md'],
|
|
17
|
+
message: 'chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}',
|
|
18
|
+
},
|
|
19
|
+
],
|
|
20
|
+
'@semantic-release/github',
|
|
21
|
+
],
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export default config;
|
package/src/lib/config.js
CHANGED
|
@@ -26,6 +26,10 @@ export function clearToken() {
|
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
export function getApiUrl() {
|
|
29
|
-
//
|
|
30
|
-
|
|
29
|
+
// Check for developer override first
|
|
30
|
+
if (process.env.ENVAULT_API_URL) {
|
|
31
|
+
return process.env.ENVAULT_API_URL;
|
|
32
|
+
}
|
|
33
|
+
// Default to production for the published package
|
|
34
|
+
return 'https://envault.tech/api/cli';
|
|
31
35
|
}
|