Skip to content

Adapt to FN 40.**, refactor and moving to TypeScript#1

Merged
andrewdotdev merged 6 commits intomasterfrom
pr-update-40.00
Apr 3, 2026
Merged

Adapt to FN 40.**, refactor and moving to TypeScript#1
andrewdotdev merged 6 commits intomasterfrom
pr-update-40.00

Conversation

@andrewdotdev
Copy link
Copy Markdown
Owner

No description provided.

@andrewdotdev andrewdotdev self-assigned this Apr 3, 2026
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.
@andrewdotdev andrewdotdev added bug Something isn't working enhancement New feature or request labels Apr 3, 2026
@andrewdotdev andrewdotdev marked this pull request as draft April 3, 2026 19:10
@andrewdotdev andrewdotdev marked this pull request as ready for review April 3, 2026 19:10
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.
@andrewdotdev andrewdotdev merged commit 95c7233 into master Apr 3, 2026
4 checks passed
@andrewdotdev andrewdotdev deleted the pr-update-40.00 branch April 3, 2026 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant