Skip to content

Bump env-cmd to 11 and @types/node to 26 - #739

Merged
barborico merged 2 commits into
mainfrom
brynna/deps_env_cmd_11
Nov 5, 2026
Merged

barborico merged 2 commits into
mainfrom
brynna/deps_env_cmd_11

Conversation

@barborico

@barborico barborico commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Bumps env-cmd to 11 and @types/node to 26, and adds the -- separator that env-cmd 11 requires to the build script. This carries two of the three bumps from Dependabot's #730; its third, react-hook-form-mui 9, needs MUI 9 and lands with #706 instead.

Urgency: LOW: patches no open security advisories.
Expected review effort: 1 min

Motivation

#730 fails every node job at npm ci because react-hook-form-mui 9 needs MUI 9. That failure also hid a second break: env-cmd 11 requires -- between its own flags and the command it runs, so env-cmd -f .env.production vite build exits with an error and the production build fails.

@types/node 26 matches the Node 26 that CI and the Docker build stage run.

Breaking Changes

env-cmd 11 treats an unquoted # in .env.production as the start of an inline comment. This only affects the frontend build, which is the one place env-cmd reads the file. It matches the dotenv parsing that Vite's loadEnv already applies to the same file in vite.config.ts, so frontend build values shouldn't change. Operators who set a build-time value containing # should quote it.

Validation

Confidence: high

  • npm run build passes with a .env.production present. Without the --, env-cmd 11 fails.
  • An unquoted VITE_PROBE=a # b reaches the command as "a".
  • tsc --noEmit and vitest run (205/205) pass locally.

🤖 Generated with Claude Code

env-cmd 11 requires `--` between its own flags and the command it runs,
so the `build` script now passes `-- vite build`; without it env-cmd 11
exits with an error and the production build fails. env-cmd 11 also
treats an unquoted ` #` in `.env.production` as the start of an inline
comment, which matches the dotenv parsing Vite's `loadEnv` already
applies to the same file in vite.config.ts.

@types/node 26 matches the Node 26 that CI and the Docker build stage
run.

This carries the env-cmd and @types/node bumps from Dependabot's
npm-major group. Its react-hook-form-mui 9 bump needs MUI 9 and lands
with the MUI upgrade instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…_cmd_11

# Conflicts:
#	package-lock.json
#	package.json
@barborico
barborico merged commit 6dd961a into main Nov 5, 2026
8 checks passed
@barborico
barborico deleted the brynna/deps_env_cmd_11 branch November 5, 2026 17:55
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