Skip to content

fix: 🐛 make dotenv work in ESM CLI executable#266

Merged
calvinbrewer merged 2 commits into
mainfrom
env-stach-sli
Jan 27, 2026
Merged

fix: 🐛 make dotenv work in ESM CLI executable#266
calvinbrewer merged 2 commits into
mainfrom
env-stach-sli

Conversation

@calvinbrewer

Copy link
Copy Markdown
Contributor
  • Externalize dotenv in tsup config to avoid bundling issues
  • Use ESM-compatible dotenv import instead of dotenv/config
  • Move dotenv from devDependencies to dependencies (runtime dependency)
  • Pin dotenv version to 16.4.7 for consistency

- Externalize dotenv in tsup config to avoid bundling issues
- Use ESM-compatible dotenv import instead of dotenv/config
- Move dotenv from devDependencies to dependencies (runtime dependency)
- Pin dotenv version to 16.4.7 for consistency
@changeset-bot

changeset-bot Bot commented Jan 27, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 9ccaf68

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 9 packages
Name Type
@cipherstash/protect Minor
@cipherstash/drizzle Major
@cipherstash/protect-dynamodb Major
@cipherstash/basic-example Patch
@cipherstash/dynamo-example Patch
nest Patch
next-drizzle-mysql Patch
@cipherstash/nextjs-clerk-example Patch
@cipherstash/typeorm-example Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@auxesis auxesis 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.

Straightforward, thanks for this @calvinbrewer ❤️

@calvinbrewer calvinbrewer merged commit 0e37bf6 into main Jan 27, 2026
1 check passed
@calvinbrewer calvinbrewer deleted the env-stach-sli branch January 27, 2026 23: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.

2 participants