envilder 0.7.4 → 0.7.5
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/README.md +1 -1
- package/docs/CHANGELOG.md +126 -133
- package/package.json +4 -7
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# 🗝️ Envilder ☁️
|
|
2
2
|
|
|
3
3
|
<p align="center">
|
|
4
|
-
<img src="https://github.com/user-attachments/assets/
|
|
4
|
+
<img src="https://github.com/user-attachments/assets/70635670-9235-4400-83a9-cb6543915ed9" alt="Envilder">
|
|
5
5
|
</p>
|
|
6
6
|
|
|
7
7
|
<p align="center">
|
package/docs/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
# [0.7.0](https://github.com/macalbert/envilder/compare/v0.6.6...v0.7.0) (2025-11-16)
|
|
2
2
|
|
|
3
|
-
|
|
4
3
|
* ♻️ Move GitHub Action to github-action/ subfolder ([d9bf4d2](https://github.com/macalbert/envilder/commit/d9bf4d2e81acbb1ef2b4e0034c0b6aaa8b307ba3))
|
|
5
4
|
|
|
6
|
-
|
|
7
5
|
### Bug Fixes
|
|
8
6
|
|
|
9
7
|
* **githubAction:** Correct author name in action.yml ([e964aff](https://github.com/macalbert/envilder/commit/e964affbca8410aada8494648dee62ab2a1ab5de))
|
|
@@ -12,7 +10,6 @@
|
|
|
12
10
|
* **githubAction:** Remove source map generation from build:gha script ([8989448](https://github.com/macalbert/envilder/commit/898944898cdea866f28f8874b714bfe3fd2dd88e))
|
|
13
11
|
* **githubAction:** Update action references in documentation and code ([412601b](https://github.com/macalbert/envilder/commit/412601b7b56a90dd50e031addcaf192e2dec8ba3))
|
|
14
12
|
|
|
15
|
-
|
|
16
13
|
### Features
|
|
17
14
|
|
|
18
15
|
* **githubAction:** Add end-to-end tests for GitHub Actions simulation ([29464a0](https://github.com/macalbert/envilder/commit/29464a016d0072cc728345400f68e0c62669579b))
|
|
@@ -20,13 +17,10 @@
|
|
|
20
17
|
* **githubAction:** Update action script paths and add entry point ([9f64e56](https://github.com/macalbert/envilder/commit/9f64e567d8c90832ee402accb6aba9264554a1e7))
|
|
21
18
|
* **packaging:** Add project build and uninstall functionality ([70fc574](https://github.com/macalbert/envilder/commit/70fc5745c1490f33322f5fb8af1b68dd7e565fc1))
|
|
22
19
|
|
|
23
|
-
|
|
24
20
|
### BREAKING CHANGES
|
|
25
21
|
|
|
26
22
|
* Action path changed from macalbert/envilder@v1 to macalbert/envilder/github-action@v1
|
|
27
23
|
|
|
28
|
-
|
|
29
|
-
|
|
30
24
|
# Changelog
|
|
31
25
|
<!-- markdownlint-disable MD024 -->
|
|
32
26
|
|
|
@@ -39,221 +33,221 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
39
33
|
|
|
40
34
|
### Changed
|
|
41
35
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
36
|
+
* Updated AWS credentials configuration in workflows
|
|
37
|
+
* Bumped vite from 7.1.10 to 7.1.11
|
|
38
|
+
* Bumped @types/node from 24.7.2 to 24.9.2
|
|
39
|
+
* Bumped @biomejs/biome from 2.2.6 to 2.3.2
|
|
40
|
+
* Bumped GitHub/codeql-action from 3 to 4
|
|
41
|
+
* Bumped actions/setup-node from 5 to 6
|
|
42
|
+
* Bumped vitest from 3.2.4 to 4.0.6
|
|
49
43
|
|
|
50
44
|
### Documentation
|
|
51
45
|
|
|
52
|
-
|
|
46
|
+
* Added Snyk badge for known vulnerabilities in README
|
|
53
47
|
|
|
54
48
|
## [0.6.5] - 2025-10-15
|
|
55
49
|
|
|
56
50
|
### Added
|
|
57
51
|
|
|
58
|
-
|
|
52
|
+
* Enabled npm trusted publishing with OIDC authentication
|
|
59
53
|
|
|
60
54
|
### Changed
|
|
61
55
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
56
|
+
* Bumped tmp from 0.2.3 to 0.2.4
|
|
57
|
+
* Bumped @types/node from 22.16.3 to 24.3.0
|
|
58
|
+
* Bumped @testcontainers/localstack from 11.2.1 to 11.5.1
|
|
59
|
+
* Bumped testcontainers from 11.2.1 to 11.5.1
|
|
60
|
+
* Bumped @aws-sdk/credential-providers from 3.844.0 to 3.879.0
|
|
61
|
+
* Bumped secretlint from 10.2.1 to 11.2.0
|
|
62
|
+
* Bumped @biomejs/biome from 2.1.3 to 2.2.4
|
|
63
|
+
* Bumped @secretlint/secretlint-rule-preset-recommend from 10.2.1 to 11.2.4
|
|
64
|
+
* Bumped vite from 7.0.4 to 7.1.5
|
|
65
|
+
* Bumped commander from 14.0.0 to 14.0.1
|
|
66
|
+
* Bumped inversify from 7.6.1 to 7.10.2
|
|
67
|
+
* Updated actions/checkout from 4 to 5
|
|
68
|
+
* Updated actions/setup-node from 4 to 5
|
|
69
|
+
* Updated actions/upload-pages-artifact from 3 to 4
|
|
70
|
+
* Updated aws-actions/configure-aws-credentials from 4 to 5
|
|
77
71
|
|
|
78
72
|
## [0.6.4] - 2025-08-02
|
|
79
73
|
|
|
80
74
|
### Changed
|
|
81
75
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
76
|
+
* Bumped typescript from 5.8.3 to 5.9.2
|
|
77
|
+
* Bumped secretlint from 10.2.0 to 10.2.1
|
|
78
|
+
* Bumped @types/glob from 8.1.0 to 9.0.0
|
|
79
|
+
* Bumped @secretlint/secretlint-rule-preset-recommend from 10.2.0 to 10.2.1
|
|
80
|
+
* Bumped @biomejs/biome from 2.1.1 to 2.1.3
|
|
87
81
|
|
|
88
82
|
## [0.6.3] - 2025-07-20
|
|
89
83
|
|
|
90
84
|
### Changed
|
|
91
85
|
|
|
92
|
-
|
|
93
|
-
|
|
86
|
+
* Implemented .NET-Style DIP Startup Pattern for dependency injection
|
|
87
|
+
* Improved separation of concerns in dependency configuration
|
|
94
88
|
|
|
95
89
|
## [0.6.1] - 2025-07-13
|
|
96
90
|
|
|
97
91
|
### Added
|
|
98
92
|
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
93
|
+
* **Push Mode** functionality to upload environment variables to AWS SSM Parameter Store
|
|
94
|
+
* File-based approach for pushing multiple variables from `.env` files
|
|
95
|
+
* Single-variable approach for direct command line uploads
|
|
96
|
+
* Support for working with different AWS profiles when pushing secrets
|
|
97
|
+
* Comprehensive test coverage for all Push Mode functionality
|
|
104
98
|
|
|
105
99
|
### Security
|
|
106
100
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
101
|
+
* Implemented secure parameter handling to protect sensitive values
|
|
102
|
+
* Maintained AWS IAM best practices for least privilege
|
|
103
|
+
* Added safeguards against accidental overwrites of critical parameters
|
|
110
104
|
|
|
111
105
|
### Changed
|
|
112
106
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
107
|
+
* Designed clean, modular command structure for Push Mode operations
|
|
108
|
+
* Added new domain models and handlers to support Push feature
|
|
109
|
+
* Maintained separation of concerns between infrastructure and application layers
|
|
110
|
+
* Ensured backward compatibility with existing Pull Mode features
|
|
117
111
|
|
|
118
112
|
### Documentation
|
|
119
113
|
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
114
|
+
* Added comprehensive examples for all new Push Mode commands
|
|
115
|
+
* Created visual diagrams explaining Push Mode data flow
|
|
116
|
+
* Documented options and parameters for Push Mode operations
|
|
123
117
|
|
|
124
118
|
## [0.5.6] - 2025-07-06
|
|
125
119
|
|
|
126
120
|
### Added
|
|
127
121
|
|
|
128
|
-
|
|
122
|
+
* Introduced new logger interface for seamless integration of custom logging implementations
|
|
129
123
|
|
|
130
124
|
### Changed
|
|
131
125
|
|
|
132
|
-
|
|
126
|
+
* Updated several packages to latest versions for improved security and performance
|
|
133
127
|
|
|
134
128
|
### Documentation
|
|
135
129
|
|
|
136
|
-
|
|
137
|
-
|
|
130
|
+
* Added video guide to README demonstrating CLI usage
|
|
131
|
+
* Enhanced user onboarding materials
|
|
138
132
|
|
|
139
133
|
## [0.5.5] - 2025-06-29
|
|
140
134
|
|
|
141
135
|
### Changed
|
|
142
136
|
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
137
|
+
* Moved `EnvilderBuilder` from `domain` to `application/builders` directory
|
|
138
|
+
* Updated import paths across codebase for better organization
|
|
139
|
+
* Enhanced code architecture alignment with domain-driven design principles
|
|
146
140
|
|
|
147
141
|
### Fixed
|
|
148
142
|
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
143
|
+
* Fixed glob pattern and path handling in test cleanup functions
|
|
144
|
+
* Corrected file path resolution in end-to-end tests
|
|
145
|
+
* Improved error handling during test file deletions
|
|
152
146
|
|
|
153
147
|
### Documentation
|
|
154
148
|
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
149
|
+
* Extensively updated README with clearer structure and table of contents
|
|
150
|
+
* Added feature status table to clarify implemented vs planned features
|
|
151
|
+
* Simplified installation and usage instructions
|
|
152
|
+
* Revamped pull request template for better contributor experience
|
|
153
|
+
* Removed outdated environment-specific parameter examples
|
|
160
154
|
|
|
161
155
|
## [0.5.4] - 2025-06-10
|
|
162
156
|
|
|
163
157
|
### Added
|
|
164
158
|
|
|
165
|
-
|
|
166
|
-
|
|
159
|
+
* Added unit tests for error handling with missing CLI arguments
|
|
160
|
+
* Enhanced unit test reporting with JUnit format for better CI integration
|
|
167
161
|
|
|
168
162
|
### Changed
|
|
169
163
|
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
164
|
+
* Refactored `EnvFileManager` and related interfaces to use async/await
|
|
165
|
+
* Improved error handling and modularized secret processing in `Envilder`
|
|
166
|
+
* Enhanced error handling for missing secrets with clearer feedback
|
|
167
|
+
* Renamed methods, test suite descriptions, and filenames for consistency
|
|
168
|
+
* Extracted package.json version retrieval into dedicated `PackageJsonFinder` class
|
|
169
|
+
* Modularized and simplified `escapeEnvValue` method and related tests
|
|
170
|
+
* Updated dependencies for better reliability
|
|
171
|
+
* Improved test cleanup for more reliable test runs
|
|
172
|
+
* Added and reorganized permissions in CI workflow
|
|
173
|
+
* Updated `.gitattributes` for better language stats on GitHub
|
|
180
174
|
|
|
181
175
|
## [0.5.3] - 2025-06-07
|
|
182
176
|
|
|
183
177
|
### Added
|
|
184
178
|
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
179
|
+
* Modular CLI for environment variable synchronization with pluggable secret providers
|
|
180
|
+
* Builder pattern for flexible CLI configuration and usage
|
|
181
|
+
* Extensive unit, integration, and end-to-end tests
|
|
182
|
+
* AWS integration testing using Localstack with Testcontainers
|
|
183
|
+
* Expanded tests for environment file escaping and builder configuration
|
|
190
184
|
|
|
191
185
|
### Changed
|
|
192
186
|
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
187
|
+
* **BREAKING**: Full TypeScript migration from JavaScript
|
|
188
|
+
* Introduced modular, layered architecture with clear separation
|
|
189
|
+
* Restructured CLI internals for improved maintainability
|
|
190
|
+
* Test structure now mirrors production code structure
|
|
191
|
+
* Migrated CI/CD workflows and scripts from Yarn to npm
|
|
192
|
+
* Updated ignore files and configuration
|
|
199
193
|
|
|
200
194
|
### Documentation
|
|
201
195
|
|
|
202
|
-
|
|
203
|
-
|
|
196
|
+
* Updated documentation to focus on npm commands
|
|
197
|
+
* Improved workflow and script documentation
|
|
204
198
|
|
|
205
199
|
## [0.5.2] - 2025-05-18
|
|
206
200
|
|
|
207
201
|
### Added
|
|
208
202
|
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
203
|
+
* Comprehensive E2E validation test in CI/CD pipeline
|
|
204
|
+
* Validation includes: build, `npm pack`, local install, and CLI command execution
|
|
205
|
+
* Ensures package integrity and command-line operability before release
|
|
212
206
|
|
|
213
207
|
## [0.5.1] - 2025-05-16
|
|
214
208
|
|
|
215
209
|
### Fixed
|
|
216
210
|
|
|
217
|
-
|
|
218
|
-
|
|
211
|
+
* CLI command not recognized after global install (`npm install -g envilder`)
|
|
212
|
+
* Fixed missing compiled `lib/` files in published package
|
|
219
213
|
|
|
220
214
|
## [0.3.0] - 2025-05-09
|
|
221
215
|
|
|
222
216
|
### Added
|
|
223
217
|
|
|
224
|
-
|
|
218
|
+
* Support for working with different AWS accounts and configurations via AWS profiles
|
|
225
219
|
|
|
226
220
|
### Changed
|
|
227
221
|
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
222
|
+
* Bumped @secretlint/secretlint-rule-preset-recommend from 9.3.0 to 9.3.2
|
|
223
|
+
* Bumped @types/node from 22.14.1 to 22.15.3
|
|
224
|
+
* Bumped commander from 12.1.0 to 13.1.0
|
|
225
|
+
* Bumped vite from 6.2.6 to 6.3.4
|
|
226
|
+
* Bumped @aws-sdk/client-ssm from 3.787.0 to 3.799.0
|
|
233
227
|
|
|
234
228
|
## [0.2.3] - 2025-04-12
|
|
235
229
|
|
|
236
230
|
### Changed
|
|
237
231
|
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
232
|
+
* Updated multiple dependencies including:
|
|
233
|
+
* @types/node from 22.7.5 to 22.10.3
|
|
234
|
+
* @aws-sdk/client-ssm from 3.670.0 to 3.716.0
|
|
235
|
+
* @biomejs/biome from 1.9.3 to 1.9.4
|
|
236
|
+
* nanoid from 3.3.7 to 3.3.8
|
|
237
|
+
* @secretlint/secretlint-rule-preset-recommend from 8.5.0 to 9.0.0
|
|
238
|
+
* secretlint from 8.5.0 to 9.0.0
|
|
245
239
|
|
|
246
240
|
## [0.2.1] - 2024-10-16
|
|
247
241
|
|
|
248
242
|
### Added
|
|
249
243
|
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
244
|
+
* Code coverage reporting and deployment to GitHub Pages
|
|
245
|
+
* CodeQL workflow for security analysis
|
|
246
|
+
* Preserve existing `.env` file and update values if present
|
|
253
247
|
|
|
254
248
|
### Documentation
|
|
255
249
|
|
|
256
|
-
|
|
250
|
+
* Updated README.md with improved documentation
|
|
257
251
|
|
|
258
252
|
## [0.1.4] - 2024-10-01
|
|
259
253
|
|
|
@@ -277,15 +271,15 @@ This changelog follows [Conventional Commits](https://www.conventionalcommits.or
|
|
|
277
271
|
|
|
278
272
|
### Types
|
|
279
273
|
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
274
|
+
* `feat`: A new feature (triggers MINOR version bump)
|
|
275
|
+
* `fix`: A bug fix (triggers PATCH version bump)
|
|
276
|
+
* `docs`: Documentation-only changes
|
|
277
|
+
* `style`: Changes that don't affect code meaning (formatting, etc.)
|
|
278
|
+
* `refactor`: Code change that neither fixes a bug nor adds a feature
|
|
279
|
+
* `perf`: Performance improvements
|
|
280
|
+
* `test`: Adding or correcting tests
|
|
281
|
+
* `chore`: Changes to build process or auxiliary tools
|
|
282
|
+
* `ci`: Changes to CI configuration files and scripts
|
|
289
283
|
|
|
290
284
|
### Breaking Changes
|
|
291
285
|
|
|
@@ -314,19 +308,18 @@ git commit -m "feat!: redesign CLI interface"
|
|
|
314
308
|
|
|
315
309
|
---
|
|
316
310
|
|
|
317
|
-
##
|
|
311
|
+
## Maintenance
|
|
312
|
+
|
|
313
|
+
This project follows [Conventional Commits](https://www.conventionalcommits.org/) for commit messages.
|
|
318
314
|
|
|
319
|
-
|
|
315
|
+
**To update this changelog**:
|
|
320
316
|
|
|
321
|
-
1.
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
317
|
+
1. Edit this file following the format above
|
|
318
|
+
2. Add entries under `[Unreleased]` section
|
|
319
|
+
3. Run `pnpm version [patch|minor|major]` to create a new release
|
|
320
|
+
4. Move `[Unreleased]` entries to the new version section
|
|
325
321
|
|
|
326
|
-
|
|
327
|
-
- Use conventional commits in your commit messages
|
|
328
|
-
- Run `pnpm changelog` to generate entries from git history
|
|
329
|
-
- Changelog will be auto-generated from commit messages
|
|
322
|
+
**Alternative**: Use [GitHub Releases](https://github.com/macalbert/envilder/releases) to auto-generate release notes from commit messages.
|
|
330
323
|
|
|
331
324
|
[0.6.6]: https://github.com/macalbert/envilder/compare/v0.6.5...v0.6.6
|
|
332
325
|
[0.6.5]: https://github.com/macalbert/envilder/compare/v0.6.4...v0.6.5
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "envilder",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.5",
|
|
4
4
|
"description": "A CLI that securely centralizes your environment variables from AWS SSM as a single source of truth",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Marçal Albert Castellví",
|
|
@@ -70,7 +70,6 @@
|
|
|
70
70
|
"@testcontainers/localstack": "^11.11.0",
|
|
71
71
|
"@vercel/ncc": "^0.38.4",
|
|
72
72
|
"@vitest/coverage-v8": "^4.0.16",
|
|
73
|
-
"conventional-changelog-cli": "^5.0.0",
|
|
74
73
|
"glob": "^13.0.0",
|
|
75
74
|
"secretlint": "^11.2.5",
|
|
76
75
|
"testcontainers": "^11.11.0",
|
|
@@ -94,12 +93,10 @@
|
|
|
94
93
|
"lint:fix": "biome lint --fix",
|
|
95
94
|
"test": "vitest run --reporter=verbose --coverage",
|
|
96
95
|
"test:ci": "vitest run --reporter=verbose --reporter=junit --coverage --outputFile=coverage/junit/test-results.xml",
|
|
97
|
-
"changelog": "conventional-changelog -p angular -i docs/CHANGELOG.md -s",
|
|
98
|
-
"changelog:all": "conventional-changelog -p angular -i docs/CHANGELOG.md -s -r 0",
|
|
99
96
|
"action-publish": "pnpm build:gha && pnpm verify:gha",
|
|
100
|
-
"release-patch": "pnpm version patch
|
|
101
|
-
"release-minor": "pnpm version minor
|
|
102
|
-
"release-major": "pnpm version major
|
|
97
|
+
"release-patch": "pnpm version patch",
|
|
98
|
+
"release-minor": "pnpm version minor",
|
|
99
|
+
"release-major": "pnpm version major",
|
|
103
100
|
"release-prerelease": "pnpm version prerelease"
|
|
104
101
|
}
|
|
105
102
|
}
|