Skip to content

chore(deps): bulk update dependencies and refresh lockfile - #167

Merged
nerdchanii merged 3 commits into
mainfrom
chore/bulk-deps-update
Aug 10, 2026
Merged

chore(deps): bulk update dependencies and refresh lockfile#167
nerdchanii merged 3 commits into
mainfrom
chore/bulk-deps-update

Conversation

@nerdchanii

@nerdchanii nerdchanii commented Aug 10, 2026

Copy link
Copy Markdown
Owner

Consolidates the open Dependabot PRs and restores a green CI.

Why

Dependabot's lockfile regeneration dropped react@18.3.1 (overrides + optional peer), so npm ci failed on every recent Dependabot PR. Separately, main itself has been red since the React 19 switch (f4f3806): the snippet checker injected JSX.Element, a namespace React 19 removed. This PR fixes both.

Changes

Root devDependencies

  • @types/node ^25.9.1 → ^26.1.2
  • vitest ^4.1.7 → ^4.1.10
  • (merged from main: @types/react/@types/react-dom 19.x, React 19 dev deps, @typescript-eslint 8.63, eslint 10.6)

example devDependencies

  • autoprefixer ^10.4.8 → ^10.5.4
  • postcss ^8.5.15 → ^8.5.25
  • tailwindcss ^4.3.1 → ^4.3.3
  • vite ^8.0.16 → ^8.2.0
  • (merged from main: @vitejs/plugin-react ^6.0.3)

Transitive (via npm update): postcss 8.5.26, brace-expansion 5.0.9, undici 7.29.0 — resolves 3 high-severity advisories (0 remaining).

Fix: scripts/check-public-doc-snippets.cjs now emits import("react").JSX.Element instead of the removed global JSX.Element, restoring docs:snippets on React 19.

Verification

Local: lint ✓ (33 snippets), typecheck ✓, type-test ✓, test (16/16) ✓, build (esm+cjs) ✓, docs:build ✓.

Notes

Closes #166, #165, #164, #162, #161, #160, #159, #158, #156, #154. Supersedes #152.

@nerdchanii nerdchanii closed this Aug 10, 2026
@nerdchanii nerdchanii reopened this Aug 10, 2026
Consolidates pending Dependabot PRs into a single verified update.

Root devDependencies:
- @types/node ^25.9.1 -> ^26.1.2
- vitest ^4.1.7 -> ^4.1.10

example devDependencies:
- autoprefixer ^10.4.8 -> ^10.5.4
- postcss ^8.5.15 -> ^8.5.25
- tailwindcss ^4.3.1 -> ^4.3.3
- vite ^8.0.16 -> ^8.2.0

Transitive (via npm update): postcss 8.5.26, brace-expansion 5.0.9,
undici 7.29.0. Resolves 3 high-severity advisories (0 remaining).

Regenerate package-lock.json with npm 11 to fix the npm ci sync
failure (react@18.3.1 reported missing from lock) that broke every
Dependabot PR's CI. Verified locally: lint, typecheck, type-test,
test (16/16), build (esm+cjs), docs:build all pass.

typescript kept at 5.9.3 (7.0.2 needs a moduleResolution migration,
tracked separately).
@nerdchanii
nerdchanii force-pushed the chore/bulk-deps-update branch from 80b5e2a to cc6690c Compare August 10, 2026 02:07

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 80b5e2aefe

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread example/package.json
"autoprefixer": "^10.4.8",
"postcss": "^8.5.15",
"tailwindcss": "^4.3.1",
"autoprefixer": "^10.5.4",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Refresh the example Yarn lockfile

When the example is installed with Yarn, the updated dependency descriptors are absent from example/yarn.lock, which still records ranges such as autoprefixer@^10.4.8, postcss@^8.5.15, tailwindcss@^4.3.1, and vite@^8.0.16. Yarn must therefore resolve and rewrite the lockfile instead of reproducing its committed resolutions, while an immutable/frozen install fails because, as yarn install --help specifies, it aborts when the lockfile would be modified. Regenerate and commit example/yarn.lock with these version bumps.

Useful? React with 👍 / 👎.

; Conflicts:
;	example/package.json
;	package-lock.json
;	package.json
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.

1 participant