Skip to content

chore: major dependency and action upgrades (P2) - #9

Merged
philippzentner merged 10 commits into
mainfrom
chore/p2-major-upgrades
Nov 6, 2026
Merged

philippzentner merged 10 commits into
mainfrom
chore/p2-major-upgrades

Conversation

@philippzentner

Copy link
Copy Markdown
Contributor

Upgrades

Package / action From To Status
bumpp ^9.11.1 ^12.3.0 done
typescript ^5.7.0 ^7.0.2 (native compiler) done; tsc and bunx --bun tsc both emit .d.ts and maps
@types/node ^25.5.2 ^26.6.6 done
actions/checkout v4.2.1 v7.0.1 (3d3c42e) done
actions/setup-node v4.4.0 v7.1.0 (949feb2) done
softprops/action-gh-release v2.5.2 v3.0.3 (efb3536) done
amannn/action-semantic-pull-request v5.5.2 v6.1.1 (48f2562) done
oven-sh/setup-bun v2.1.3 v2.2.0 (0c5077e) done

Breaking changes handled

  • actions/checkout v5–v7: these releases move to Node 24 (runner ≥ 2.327.1), persist credentials to a separate file, and block fork-PR checkout under pull_request_target. That last one doesn't affect us: semantic-pr.yml doesn't check out code. No input changes were needed.
  • actions/setup-node v5–v7: these releases move to Node 24 and turn on automatic caching only when there's a packageManager field and the package manager is npm. There is no packageManager field, so nothing changes. v7 also drops the dummy NODE_AUTH_TOKEN export, which is fine because publishing uses OIDC trusted publishing. No input changes were needed.
  • action-gh-release v3 / action-semantic-pull-request v6: the only breaking change is the Node 24 runtime. Inputs are unchanged.
  • TypeScript 7: the code needed no changes. The existing tsconfig (moduleResolution: bundler, declaration, declarationMap) compiles cleanly.
  • bumpp 12: the flags --tag 'v%s' --commit 'chore: release v%s' --no-push --preid beta|alpha still exist and work. bumpp has no --dry-run flag, though: it is silently ignored. I tested each script locally with --release patch|prepatch --yes and no push. That created the expected version bump, chore: release vX commit and vX tag, which I then deleted locally. Nothing was pushed or published.

Verification

Command Baseline (main) After
bun install --frozen-lockfile ❌ fails: lockfile is stale (axios removed in #3 without updating bun.lock) ✅ (lockfile regenerated)
bun run build ✅ (after non-frozen install) ✅
bunx --bun tsc (prepublishOnly) ✅ ✅
npm pack --dry-run (packages/tron-lib) 107 files the same 107 files (diffed)
release / release:beta / release:alpha (local, no push) n/a ✅ commit + v%s tag created as expected, then deleted

There are no lint or test scripts in the repo.

Reviewer checks

  • Check the emitted dist/*.d.ts from TS 7 against a consumer, e.g. the contracts repos that import @lifi/tron-devkit and @lifi/tron-devkit/safe.
  • The first tag push after merge will exercise the Node 24 actions and the release and publish jobs.
  • Don't pass --dry-run to the bumpp scripts: it doesn't exist, so the scripts commit and tag for real.

chore: add oxlint, oxfmt, CI checks and Dependabot
@philippzentner
philippzentner marked this pull request as ready for review November 6, 2026 21:01
@philippzentner
philippzentner merged commit 3536d0b into main Nov 6, 2026
3 checks passed
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