Skip to content

Conversation

@ryoppippi
Copy link
Contributor

@ryoppippi ryoppippi commented Sep 22, 2025

bun/node can read .env without dotenv


Summary by cubic

Removed dotenv and now rely on Bun's native .env loading. Deleted the dependency and removed dotenv imports/config in tests and examples; no behavior change.

Copilot AI review requested due to automatic review settings September 22, 2025 11:22
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR removes the dotenv package dependency and its usage throughout the codebase, as modern Node.js and Bun runtimes can natively read .env files without requiring additional packages.

  • Removes dotenv package from dependencies in package.json
  • Removes dotenv import and configuration calls from example files and test setup
  • Simplifies environment variable loading by relying on native runtime support

Reviewed Changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

File Description
package.json Removes dotenv dependency from the project
examples/index.ts Removes dotenv import and config call from example code
bun.test.setup.ts Removes dotenv import and config call from test setup

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@ryoppippi ryoppippi enabled auto-merge (squash) September 22, 2025 11:22
@pkg-pr-new
Copy link

pkg-pr-new bot commented Sep 22, 2025

Open in StackBlitz

npm i https://pkg.pr.new/StackOneHQ/stackone-ai-node/@stackone/ai@101

commit: 64f0947

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 4 files

Copy link
Contributor

@NicolasBelissent NicolasBelissent left a comment

Choose a reason for hiding this comment

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

lgtm

@ryoppippi ryoppippi merged commit f1e6997 into main Sep 22, 2025
9 checks passed
@ryoppippi ryoppippi deleted the remove-dotenv branch September 22, 2025 12:15
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.

2 participants