Skip to content

Update dependencies, GitHub Actions, and swap Jest for Vitest - #1

Merged
WentTheFox merged 1 commit into
mainfrom
deps/update-2026-10
Oct 16, 2026
Merged

WentTheFox merged 1 commit into
mainfrom
deps/update-2026-10

Conversation

@WentTheFox

Copy link
Copy Markdown
Member

GitHub Actions

  • actions/setup-node v7.0.0 -> v7.1.0 (checkout and cache already latest)

npm (in-range)

  • discord.js 14.27, axios 1.20, date-fns 4.4, @discordjs/rest 2.6.3, etc.

npm (majors)

  • @types/node 20 -> 24, concurrently 9 -> 10, dotenv 16 -> 18,
    typescript 5.5 -> 5.9
  • Held back: eslint 8, @typescript-eslint 7, eslint-config-airbnb-typescript
    (peer-pinned to typescript-eslint 7), pm2 5, discord-api-types 0.37

Jest -> Vitest 5

  • Removed jest, @types/jest, ts-jest, jest-ts-webcompat-resolver,
    eslint-plugin-jest and their config; added vitest.config.ts
  • Tests import from 'vitest'; scripts are now vitest run / vitest
  • tsconfig: skipLibCheck, exclude vitest.config.ts from the build

Version info

  • getGitData now reads only .git-deploy-commit and throws a clear error if
    it is missing or malformed; the git-log fallback, child_process use and
    shell-escape (+ @types/shell-escape) are removed. Fixes the
    no-use-before-define lint error in get-git-data.ts.
  • /version catches that error and replies "Bot is running an unknown
    version", consistent with create-client.ts.

🤖 Generated with Claude Code

GitHub Actions
- actions/setup-node v7.0.0 -> v7.1.0 (checkout and cache already latest)

npm (in-range)
- discord.js 14.27, axios 1.20, date-fns 4.4, @discordjs/rest 2.6.3, etc.

npm (majors)
- @types/node 20 -> 24, concurrently 9 -> 10, dotenv 16 -> 18,
  typescript 5.5 -> 5.9
- Held back: eslint 8, @typescript-eslint 7, eslint-config-airbnb-typescript
  (peer-pinned to typescript-eslint 7), pm2 5, discord-api-types 0.37

Jest -> Vitest 5
- Removed jest, @types/jest, ts-jest, jest-ts-webcompat-resolver,
  eslint-plugin-jest and their config; added vitest.config.ts
- Tests import from 'vitest'; scripts are now vitest run / vitest
- tsconfig: skipLibCheck, exclude vitest.config.ts from the build

Version info
- getGitData now reads only .git-deploy-commit and throws a clear error if
  it is missing or malformed; the git-log fallback, child_process use and
  shell-escape (+ @types/shell-escape) are removed. Fixes the
  no-use-before-define lint error in get-git-data.ts.
- /version catches that error and replies "Bot is running an unknown
  version", consistent with create-client.ts.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@WentTheFox
WentTheFox merged commit b58c42a into main Oct 16, 2026
2 checks passed

This branch was previously deployed

1 inactive deployment
production — b58c42a7 Deployed Oct 16, 2026 by WentTheFox
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant