Skip to content

fix: remove dotenv - #101

Merged
ryoppippi merged 2 commits into
mainfrom
remove-dotenv
Sep 22, 2025
Merged

fix: remove dotenv#101
ryoppippi merged 2 commits into
mainfrom
remove-dotenv

Conversation

@ryoppippi

@ryoppippiryoppippi commented Sep 22, 2025

Copy link
Copy Markdown
Contributor

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.

CopilotAI review requested due to automatic review settings September 22, 2025 11:22

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

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.

FileDescription
package.jsonRemoves dotenv dependency from the project
examples/index.tsRemoves dotenv import and config call from example code
bun.test.setup.tsRemoves 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
Copy Markdown

Open in StackBlitz

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

commit: 64f0947

@cubic-dev-aicubic-dev-aiBot left a comment

Copy link
Copy Markdown
Contributor

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

@NicolasBelissentNicolasBelissent left a comment

Copy link
Copy Markdown
Contributor

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 mainSep 22, 2025
9 checks passed
@ryoppippi
ryoppippi deleted the remove-dotenv branch September 22, 2025 12:15
@github-actionsgithub-actionsBot mentioned this pull request Sep 22, 2025
Sign up for freeto 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.

3 participants

@ryoppippi@NicolasBelissent