feat: upgrade to Slack Bolt v4 and modernize dependencies#201
Draft
feat: upgrade to Slack Bolt v4 and modernize dependencies#201
Conversation
- Upgrade @slack/bolt from 3.9.0 to 4.4.0 - Upgrade TypeScript from 4.3.4 to 5.8.3 - Update Jest from 27.0.4 to 29.7.0 and ts-jest for TypeScript 5 compatibility - Migrate from yarn to npm (remove yarn.lock, add package-lock.json) - Update Node.js requirement from 14 to 18 - Modernize GitHub Actions workflows: - Update actions to latest versions (checkout@v4, setup-node@v4, etc) - Switch from yarn to npm commands - Use ubuntu-latest instead of ubuntu-20.04 - Fix TypeScript compilation warnings by prefixing unused parameters - Update Jest configuration for compatibility - Add .nvmrc file specifying Node 18 - Update CONTRIBUTING.md to reflect npm usage BREAKING CHANGE: Requires Node.js 18 or higher
The env-var package requires these environment variables to be set when the application starts. Add dummy values for CI testing.
|
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
This PR upgrades Lockbot to use Slack Bolt v4 and modernizes all dependencies to their latest compatible versions.
Key Changes
Breaking Changes
Migration Notes
The upgrade to Slack Bolt v4 required no code changes to the application logic. The main updates were:
_CI/CD Updates
.nvmrcfile for consistent Node versionTesting
Dependencies Updated
Production:
@slack/bolt: 3.9.0 → 4.4.0express: 4.17.2 → 4.21.2 (kept at v4 for ExpressReceiver compatibility)@vendia/serverless-express: 4.5.3 → 4.12.6Development:
typescript: 4.3.4 → 5.8.3jest: 27.0.4 → 29.7.0ts-jest: 27.0.3 → 29.1.1@types/node: 15.6.1 → 18.0.0Checklist
🤖 Generated with Claude Code
Co-Authored-By: Claude noreply@anthropic.com