Repository navigation
Make sure extensions use official npm registry - #19911
Conversation
There was a problem hiding this comment.
PR Summary
This PR standardizes npm registry usage across multiple extensions but introduces problematic type definition updates that could cause compatibility issues.
- Updates to
@types/node(22.13.10) and@types/react(19.0.10) are invalid as they exceed current stable versions of Node.js and React - Removes unnecessary
react-devtoolsdependency across multiple extensions as Raycast provides built-in dev tools - The type change in
chatgo/src/hooks/useChat.tsximproves type safety by correctly usingNodeJS.Timeout - The MarginNote extension description contains a typo ('Extensition')
- Type definition mismatches could lead to compilation issues despite code working at runtime
27 files reviewed, 2 comments
Edit PR Review Bot Settings | Greptile
There was a problem hiding this comment.
logic: writeFile callback continues execution without waiting for error toast to complete due to async callback. This could lead to race conditions where actualPath is returned before error handling completes
|
We can consider adding a GitHub Actions workflow for checking unofficial registries. However, it may also be necessary to consider some exceptional use cases. Some extensions used a third-party registry because that package does not exist on npm. Here are two packages I found:
|
df14427 to
04d1b8e
Compare
|
@LitoMore indeed, such a check will be present in the next CLI release (part of the API) (which will run on the CI) |
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