Repository navigation
Update hackmd extension - #22035
Update hackmd extension#22035
Conversation
There was a problem hiding this comment.
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:- Platform Expansion: Added Windows to the supported platforms array in
package.json, expanding from macOS-only to cross-platform compatibility - 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 - ESLint Configuration Modernization: Migrated from legacy
.eslintrc.jsonto the modern flat config format usingeslint.config.mjswith ES module syntax - Minor Code Improvements: Applied formatting improvements and TypeScript type refinements that align with updated dependencies
- Documentation: Properly updated
CHANGELOG.mdwith 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.jsondependency 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
|
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. |
pernielsentikaer
left a comment
There was a problem hiding this comment.
Looks good to me, approved 🔥
|
Published to the Raycast Store: |
|
🎉 🎉 🎉 We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag. |
Description
Screencast
Checklist
npm run buildand tested this distribution build in Raycastassetsfolder are used by the extension itselfREADMEare located outside the metadata folder if they were not generated with our metadata tool