Skip to content

Update hackmd extension - #22035

Merged
raycastbot merged 2 commits into
raycast:mainfrom
ridemountainpig:hackmd-windows
Oct 13, 2025
Merged

raycastbot merged 2 commits into
raycast:mainfrom
ridemountainpig:hackmd-windows

Conversation

@ridemountainpig

Copy link
Copy Markdown
Contributor

Description

  • Add support for Windows platform, and test well on Raycast windows.
  • Bump all dependencies to the latest.

Screencast

CleanShot 2025-10-08 at 10 08 51 CleanShot 2025-10-08 at 10 09 16

Checklist

@raycastbot raycastbot added extension fix / improvement Label for PRs with extension's fix improvements extension: hackmd Issues related to the hackmd extension AI Extension platform: macOS platform: Windows labels Oct 8, 2025

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Greptile Overview

Summary

This PR modernizes the HackMD extension by adding Windows platform support and updating all dependencies to their latest versions. The changes include:
  1. Platform Expansion: Added Windows to the supported platforms array in package.json, expanding from macOS-only to cross-platform compatibility
  2. Dependency Updates: Comprehensive updates to all dependencies including major version bumps for @raycast/api (1.93.0 → 1.103.3), @raycast/utils (1.0.7 → 2.2.1), and development tools like ESLint and TypeScript
  3. ESLint Configuration Modernization: Migrated from legacy .eslintrc.json to the modern flat config format using eslint.config.mjs with ES module syntax
  4. Minor Code Improvements: Applied formatting improvements and TypeScript type refinements that align with updated dependencies
  5. Documentation: Properly updated CHANGELOG.md with the required template format

The extension maintains all existing functionality while expanding compatibility to Windows users and adopting modern toolchain standards. The developer included a contributor (ridemountainpig) suggesting collaborative testing on Windows platform.

Important Files Changed

Changed Files
Filename Score Overview
extensions/hackmd/package.json 4/5 Added Windows platform support, contributor, and comprehensive dependency updates
extensions/hackmd/CHANGELOG.md 5/5 Added properly formatted maintenance entry with required template
extensions/hackmd/eslint.config.mjs 5/5 New ESLint flat config file with ES module format replacing legacy configuration
extensions/hackmd/.eslintrc.json 5/5 Removed legacy ESLint configuration as part of modernization
extensions/hackmd/src/components/NotesList.tsx 5/5 Minor TypeScript type refinement for stricter typing after dependency updates
extensions/hackmd/src/components/NoteDetail.tsx 5/5 Code formatting improvement for better readability

Confidence score: 4/5

  • This PR is safe to merge with minimal risk as it primarily adds platform support and updates dependencies
  • Score reflects comprehensive testing mentioned and straightforward platform expansion, with only minor concern about the significant dependency version jumps
  • Pay closer attention to package.json dependency updates to ensure no breaking changes were introduced with the major version bumps

Context used:

Rule from dashboard - If an extension uses platform-specific APIs (like AppleScript or paths that only exists on on platfo... (source)
Rule from dashboard - ## ESLint Configuration

Import Path for defineConfig

  • The correct import path for `defineConf... (source)

6 files reviewed, no comments

Edit Code Review Agent Settings | Greptile

@raycastbot

Copy link
Copy Markdown
Collaborator

Thank you for your contribution! 🎉

🔔 @Yukaii you might want to have a look.

You can use this guide to learn how to check out the Pull Request locally in order to test it.

You can expect an initial review within five business days.

@Yukaii Yukaii left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LATMLooks Awesome To Me

@pernielsentikaer pernielsentikaer self-assigned this Oct 13, 2025

@pernielsentikaer pernielsentikaer left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, approved 🔥

@raycastbot
raycastbot merged commit 187ad3c into raycast:main Oct 13, 2025
@github-actions

Copy link
Copy Markdown
Contributor

@raycastbot

Copy link
Copy Markdown
Collaborator

🎉 🎉 🎉

We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag.

@ridemountainpig
ridemountainpig deleted the hackmd-windows branch October 14, 2025 01:58
tktcorporation added a commit to tktcorporation/extensions that referenced this pull request Nov 2, 2025