Skip to content

Add dotenv.org feature (dotenvx via bun)#206

Merged
sebst merged 3 commits intomainfrom
copilot/add-dotenv-org-feature
Mar 26, 2026
Merged

Add dotenv.org feature (dotenvx via bun)#206
sebst merged 3 commits intomainfrom
copilot/add-dotenv-org-feature

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 26, 2026

Adds a new devcontainer feature for dotenvx — the next-gen dotenv CLI with multi-environment and encrypted .env support — installed globally via bun install -g @dotenvx/dotenvx.

Changes

  • src/dotenv.org/ — new feature following the bun install template (critique.work as reference):
    • devcontainer-feature.json — id dotenv.org, v1.0.0, version option defaulting to latest
    • install.sh — auto-installs bun to /usr/local if absent, then runs bun install -g @dotenvx/dotenvx[@version]
    • NOTES.md — project link, description, install method
  • test/dotenv.org/test.sh — verifies binary exists at /usr/local/bin/dotenvx and executes
  • README.md — new row inserted alphabetically between dolthub.com/doltgres and dozzle.dev

Usage

// devcontainer.json
{
  "features": {
    "ghcr.io/devcontainer-community/features/dotenv.org:1": {}
  }
}
Original prompt

This section details on the original issue you should resolve

<issue_title>Add feature dotenv.org</issue_title>
<issue_description>use bun install globally</issue_description>

Comments on the Issue (you are @copilot in this section)


📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.

@sebst sebst marked this pull request as ready for review March 26, 2026 10:48
Copilot AI changed the title [WIP] Add feature dotenv.org and use bun install globally Add dotenv.org feature (dotenvx via bun) Mar 26, 2026
Copilot AI requested a review from sebst March 26, 2026 10:52
Copy link
Copy Markdown
Member

@sebst sebst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tests fail

Copy link
Copy Markdown
Contributor Author

Copilot AI commented Mar 26, 2026

tests fail

Fixed in e1b9969. The root cause was that bun install -g creates a symlink to dotenvx.js which has a #!/usr/bin/env node shebang — but node isn't installed in the container. The fix resolves the symlink to the actual JS path, removes it, and writes a shell wrapper (#!/bin/sh\nexec bun run "..." "$@") so dotenvx runs via bun instead.

Copilot AI requested a review from sebst March 26, 2026 15:26
@sebst sebst merged commit fb44b91 into main Mar 26, 2026
7 checks passed
@sebst sebst deleted the copilot/add-dotenv-org-feature branch March 26, 2026 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add feature dotenv.org

2 participants