Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the Bot.ts framework into v9.0.0 #48

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

GhomKrosmonaute
Copy link
Member

⚠️ Need some tests before the merge

This pull request introduces significant changes to the codebase, focusing on migrating the project to use Bun, updating configuration files, and improving build and deployment processes. Below are the most important changes:

Migration to Bun:

  • Dockerfile: Changed the base image to oven/bun:latest and updated commands to use Bun instead of npm.
  • package.json: Updated scripts to use Bun commands (bun run, bunx, etc.) and added new dependencies for Bun. [1] [2] [3] [4]
  • compatibility.json: Added configurations for Bun, including commands for building, testing, and running the bot.

Configuration updates:

Build and deployment improvements:

  • rollup.config.mjs: Added Rollup configuration with plugins for aliasing, resolving node modules, and TypeScript support.
  • scripts/copy-keepers.js: Created a script to copy .keep files from the source to the distribution directory.
  • scripts/generate-readme.js: Created a script to generate the readme.md file dynamically based on the bot's configuration and commands.

These changes streamline the development process, improve compatibility, and enhance the overall project configuration.

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