Adapt to FN 40.**, refactor and moving to TypeScript#1
Merged
andrewdotdev merged 6 commits intomasterfrom Apr 3, 2026
Merged
Conversation
Convert project sources from JavaScript to TypeScript (add .ts files, tsconfig.json, eslint.config.js) and update packaging (package.json changes, remove package-lock.json, add bun.lock). Update GitHub Actions to use Bun (oven-sh/setup-bun), run bun install, lint and typecheck (remove setup-node and npm steps) and adjust triggers. Also apply minor README formatting and public/index.html tweaks.
Introduce Prettier and integrate it with ESLint, CI and developer tooling: add .prettierrc and .prettierignore, add format/format:check npm scripts, and add prettier & eslint-config-prettier to deps (bun.lock/package.json). Add a PR autofix GitHub Action that runs Prettier/ESLint autofix on comment commands and update CI workflow to cache Bun deps, use actions/checkout@v5 and install with --frozen-lockfile. Update eslint.config.js to include prettier config and refine TypeScript ESLint settings. Apply consistent code-style changes across the codebase (quotes, spacing, small refactors), minor UX improvements in the CLI (better /add flow, prompts, stats/list output), small public/index.html formatting cleanups, and a handful of logic/typing tweaks (e.g. BotManager.loadAll made synchronous). Overall this enables automated formatting, faster CI, and consistent linting behavior.
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.
No description provided.