Skip to content

Releases: mfyuu/e2sm

v0.6.2

27 Jan 07:29
079d6cc

Choose a tag to compare

Patch Changes

  • 8b57d23 Thanks @mfyuu! - fix(build): prioritize ESM module resolution for jsonc-parser
    • add inputOptions with resolve.mainFields to tsdown config
    • set mainFields to ["module", "main"] to prioritize ESM entry
    • fixes "Cannot find module './impl/format'" error when running built CLI
    • resolves dynamic require issues from jsonc-parser UMD bundle

v0.6.1

27 Jan 07:18
fc288b1

Choose a tag to compare

Patch Changes

  • c561328 Thanks @mfyuu! - fix tsdown build error by adding loader option for .jsonc files

v0.5.0

22 Jan 10:34
c9d40af

Choose a tag to compare

Minor Changes

  • 024e95e Thanks @mfyuu! - feat: add get subcommand and improve JSON formatting
    • add get subcommand to retrieve secrets from AWS Secrets Manager
    • implement interactive secret selection with profile/region support
    • add kleur dependency for colored terminal output
    • enhance formatJson function with dim styling for structural symbols
    • refactor exec function to lib.ts for code reuse
    • replace util.inspect with custom formatJson in dry-run mode
    • add comprehensive tests for new get command and exec function

v0.4.2

22 Jan 04:55
d3f8e10

Choose a tag to compare

Patch Changes

  • 574f30b Thanks @mfyuu! - fix(config): replace Bun.file() with node:fs/promises for Node.js compatibility
    • replace Bun.file() with readFile from node:fs/promises in loadConfig()
    • ensure configuration loading works in Node.js environment when using bunx
    • improve error handling comment to clarify file not found and parse errors

v0.4.1

22 Jan 04:46
0dd020a

Choose a tag to compare

Patch Changes

  • 058f529 Thanks @mfyuu! - fix(ci): add build step to release script
    • ensure dist includes loadConfig before publish
    • fixes missing configuration file feature in v0.4.0

v0.4.0

22 Jan 00:48
ac2a00d

Choose a tag to compare

Minor Changes

  • 9af035a Thanks @mfyuu! - add .e2smrc.json configuration file support
    • load config from project (./.e2smrc.json) or global (~/.e2smrc.json)
    • CLI flags take precedence over config values
    • configurable options: template, application, stage, profile, region, input
    • include JSON Schema for editor autocompletion

v0.3.0

21 Jan 23:46
336abd3

Choose a tag to compare

Minor Changes

  • 10d2e1c Thanks @mfyuu! - add --template (-t), --application (-a), and --stage (-s) flags for generating secret names
    • enable template mode to generate secret name as $application/$stage format
    • implicit template mode: using -a or -s alone activates template mode without -t
    • add flag conflict validation: --name cannot be used with template mode flags
    • interactive prompts for missing application/stage values with sensible defaults

v0.2.1

21 Jan 14:26
7669d3b

Choose a tag to compare

Patch Changes

  • 8279784 Thanks @mfyuu! - add colored output for --dry-run mode using node:util inspect.

v0.2.0

21 Jan 14:16
f14e07a

Choose a tag to compare

Minor Changes

  • 101e933 Thanks @mfyuu! - Bundle CLI with tsdown for Node.js compatibility
    • Replace Bun-specific APIs with Node.js standard modules
    • Enable installation and execution via npx e2sm without requiring Bun runtime
    • Remove jq dependency for JSON formatting