chore(deps): dotenv 16 → 17, quiet:true everywhere - #5854
Open
ToddHebebrand wants to merge 1 commit into
Open
ToddHebebrand wants to merge 1 commit into
ToddHebebrand wants to merge 1 commit into
Conversation
apps/api and e2e-tests were already on dotenv ^17.4.2 on main; only
ee/workspace was still pinned to 16.6.1 (`pnpm -r up dotenv@latest`
picks it up — no other package needed a change).
v17 turns the "injecting env" banner on by default, so every explicit
config(...) call site across the repo gets quiet:true — 8 call sites
across 7 files (grepped repo-wide, one more than the brief's list:
ee/workspace/vitest.integration.config.ts): apps/api/src/db/index.ts
(both calls), src/__tests__/integration/loadEnv.ts,
vitest.config.rls-coverage.ts, vitest.integration.config.ts (apps/api
and ee/workspace), e2e-tests/live-signup/monitor.ts,
e2e-tests/perf-harness/run-perf.ts.
Also converts the two `import 'dotenv/config'` side-effect preloads in
apps/api/src/index.ts and src/worker.ts to explicit
`config({ quiet: true })` calls — the auto-config entrypoint has no
way to pass options inline (it only reads DOTENV_CONFIG_QUIET from the
environment/CLI), and both are real production entrypoints whose
startup logs this bump would otherwise re-litter with the new banner.
Updated a stale comment in normalizeNodeEnv.ts that referenced the old
import style.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018cms2ECUY322qubUH3PmVA
Deploying breeze with
|
| Latest commit: |
db90628
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://49e97ed0.breeze-9te.pages.dev |
| Branch Preview URL: | https://chore-deps-dotenv-17.breeze-9te.pages.dev |
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
Bumps
dotenvto17.4.2inee/workspace/package.json—apps/apiande2e-testswere already on^17.4.2onmain(pnpm -r up dotenv@latestwas a no-op for them). Addsquiet: trueto everydotenvconfig call in the repo so the v17 "injecting env" banner (on by default now) doesn't re-litter API/test/tooling logs.Why
Clears a major-version bump dependabot could not propose, and keeps output clean under the new default (docs/superpowers/plans/2026-09-14-dependency-major-upgrades.md).
What changed
Repo-wide grep for
config(calls fromdotenvand for thedotenv/configside-effect import found 8 call sites across 7 files — one more file than the brief listed (ee/workspace/vitest.integration.config.ts):apps/api/src/db/index.ts— bothconfig({ path: '../../.env' })and the bareconfig()cwd fallbackapps/api/src/__tests__/integration/loadEnv.tsapps/api/vitest.config.rls-coverage.tsapps/api/vitest.integration.config.tsee/workspace/vitest.integration.config.ts(not in the brief's list)e2e-tests/live-signup/monitor.tse2e-tests/perf-harness/run-perf.tsAlso converted the two
import 'dotenv/config'side-effect preloads (apps/api/src/index.ts,apps/api/src/worker.ts— the two real production entrypoints) to explicitimport { config } from 'dotenv'; config({ quiet: true }). The magicdotenv/configimport has no way to receive inline options — it only readsDOTENV_CONFIG_QUIETfrom the environment/CLI args — so leaving it as-is would have kept printing the new banner on every API/worker boot. Updated a stale comment innormalizeNodeEnv.tsthat referenced the olddotenv/configimport spelling.Verification
Lockfile drift
Regenerated
pnpm-lock.yamlviagit checkout origin/main -- pnpm-lock.yaml && pnpm install --lockfile-onlyto strip unrelatedpnpm upresolution noise. Remaining diff is exactly thedotenvspecifier/version bump plus one vitest-internal snapshot key re-keying to a different (already-present)vitepeer resolution instance — not a new package, no drift outside dotenv's own dependency graph.Concerns
None.
e2e-testshas no dedicated typecheck script and its ad-hoctsc --noEmit -p tsconfig.jsonfails on an unrelated pre-existing@types/noderesolution error — reproduced identically onorigin/mainwith zero local changes, so it predates this PR.🤖 Generated with Claude Code
https://claude.ai/code/session_018cms2ECUY322qubUH3PmVA