Skip to content

fix(lib): Update package.json to include dotenv dependency#30

Merged
JFusco merged 1 commit into
mainfrom
fix/setup
May 13, 2026
Merged

fix(lib): Update package.json to include dotenv dependency#30
JFusco merged 1 commit into
mainfrom
fix/setup

Conversation

@JFusco
Copy link
Copy Markdown
Collaborator

@JFusco JFusco commented May 13, 2026

fix(lib): Update package.json to include dotenv dependency

Summary (AI, bounded)

  • Update package.json to include dotenv dependency and modify related code in lib/init-workspace.js, bin/cli.js, and README.md (commit 076cda3)

Changes

  • 076cda3 fix(lib): Update package.json to include dotenv dependency

Files changed

  • M README.md
  • M bin/cli.js
  • M lib/init-workspace.js

Diff stats

README.md             |  4 ++--
 bin/cli.js            |  2 +-
 lib/init-workspace.js | 20 +++++++++++++++++++-
 3 files changed, 22 insertions(+), 4 deletions(-)

Testing

  • Manual smoke test
  • CI green

Risk / Impact

  • Risk level: Low / Medium / High
  • Rollback plan:

Base: main → Head: fix/setup

Suggested labels / Review checklist

Suggested labels: bug, dependencies, backend

Review checklist:

  • Verify dotenv dependency is correctly added to package.json
  • Confirm related code changes properly utilize dotenv
  • Check README.md updates for accuracy and clarity
  • Run manual smoke test to ensure no regressions
  • Ensure CI passes successfully

This commit enhances the package initialization process by adding the
dotenv dependency to the package.json file when it is missing. The
update ensures that dotenv is included in the devDependencies section,
but it will skip adding it if it is already listed under dependencies,
devDependencies, or optionalDependencies.

This change improves the setup experience for users by ensuring that
dotenv is readily available for managing environment variables. As a
result, developers can avoid potential issues related to missing
configuration, leading to a smoother development workflow.
@JFusco JFusco marked this pull request as ready for review May 13, 2026 21:37
@JFusco JFusco merged commit 79aa123 into main May 13, 2026
3 checks passed
@JFusco JFusco deleted the fix/setup branch May 13, 2026 21:37
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 2.6.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant