chore: dependency and build toolchain updates#90
Merged
Conversation
Updates npm-side devDependencies and tightens engines to match what newer eslint transitives require (^20.19.0 || ^22.13.0 || >=24). Also bumps actions/checkout, actions/setup-node, and actions/setup-java to majors running on Node 24, ahead of the June 2026 deprecation deadline. - Root: lint-staged 16.4, prettier 3.8, prettier-plugin-java 2.8 - npm/: eslint 9.39, jest 30.3, typescript 5.9.3, typescript-eslint 8.59, patch-package 8.0.1, @types/node 22.19 - Workflows: checkout@v6, setup-node@v6, setup-java@v5 - Reformat .java files under prettier-plugin-java 2.8 (whitespace only) - Preserve ApexParseTreeWalker.DEFAULT narrow type with eslint-disable for the now-stricter no-unnecessary-type-assertion rule
Brings the JVM build toolchain up to date. JUnit also switches from the engine-only artifact to the junit-jupiter aggregator (api + params + engine), which is the current best-practice form. - junit-jupiter-engine 5.1.0 -> junit-jupiter 5.12.2 - maven-surefire-plugin 2.22.1 -> 3.5.5 - maven-compiler-plugin 3.5.1 -> 3.15.0 - maven-jar-plugin 3.0.2 -> 3.5.0 - maven-source-plugin 2.2.1 -> 3.4.0 - maven-gpg-plugin 3.0.1 -> 3.2.8 - maven-javadoc-plugin 3.3.0 -> 3.12.0 - maven-dependency-plugin: pin to 3.10.0 (was unversioned) Also switch compiler config from <source>/<target>1.8</source> to <release>8</release> (clears a bootstrap-classpath warning and prevents accidental use of post-8 APIs), and add <source>8</source> to javadoc config to silence the JDK-module cross-link warning.
Covers both npm manifests, both maven poms, and the workflow files. Minor and patch bumps per ecosystem are grouped into a single weekly PR to keep churn down; major bumps come through as individual PRs so they get reviewed on their own. Commit prefix is set to "chore(deps):" to match the existing convention.
Jest 30.3 updated the URL embedded in the snapshot file header (goo.gl/fbAQLP -> jestjs.io/docs/snapshot-testing). One-time cosmetic change picked up by the system test run.
nawforce
approved these changes
Apr 23, 2026
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
Umbrella dep/hygiene PR covering four slices:
engines.nodeto^20.19.0 || ^22.13.0 || >=24to match what newer eslint transitives actually require. Bumpactions/checkout@v6,setup-node@v6,setup-java@v5ahead of the June 2026 Node 20 deprecation.junit-jupiteraggregator artifact), surefire 2.22.1 → 3.5.5, plus compiler/jar/source/gpg/javadoc/dependency plugin bumps. Switch compiler config from<source>/<target>1.8</source>to<release>8</release>and add<source>8</source>to javadoc config — clears two longstanding warnings the newer plugins surface..javafiles (whitespace only); aneslint-disable-next-linepreserves theApexParseTreeWalker.DEFAULTnarrow type under typescript-eslint 8.59's stricterno-unnecessary-type-assertionrule; jest 30.3 refreshed the snapshot file header URL.Out of scope (flagged for future)
npm auditstill reports 7 dev-only lodash-chain moderates viaprettier-plugin-java → chevrotain. Deliberately not patched — dev-only, not in the published package. Can add anignore:block to the dependabot config later if PR noise is an issue.antlr4@4.13.2(the only runtime dep) is unchanged — no newer release on npm, and the localantlr4+4.13.2.patchfor ESM import extensions still applies cleanly.Test plan
npm run build:npm— 74/74 unit tests passmvn -f jvm package— 73/73 JVM tests pass, all three jars built (main, sources, javadoc), zero warningsnpm run lintinnpm/— cleanprettier --checkon.java— cleannpm auditinnpm/— 0 vulnerabilitiesnpm run systest) — run locally