feat(data-layer): isolate env vars into dedicated .env file#17270
Merged
Conversation
Move data-layer specific environment variables to src/data-layer/.env.example for cleaner separation between the main Next.js app and Trigger.dev tasks. Changes: - Create src/data-layer/.env.example with all data-layer env vars - Update package.json trigger scripts to use src/data-layer/.env - Move CoinGecko constants from lib/constants.ts to fetchStablecoinsData.ts - Clean up root .env.example, removing data-layer only vars - Add section headers and cross-references between env files
✅ Deploy Preview for ethereumorg ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
wackerow
approved these changes
Feb 18, 2026
pettinarip
added a commit
that referenced
this pull request
Feb 23, 2026
Update documentation and scripts to reflect the data-layer environment variable isolation introduced in PR #17270. Changes .env to .env.local for consistency with Next.js conventions.
This was referenced Feb 23, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
src/data-layer/.env.examplewith all data-layer/Trigger.dev environment variablessrc/data-layer/.envinstead of.env.localsrc/lib/constants.tstosrc/data-layer/fetchers/fetchStablecoinsData.ts(only used there).env.exampleby removing data-layer only vars and adding section headersTest plan
pnpm trigger:devworks withsrc/data-layer/.env.env