Skip to content

Conversation

@yusifaliyevpro
Copy link
Contributor

@yusifaliyevpro yusifaliyevpro commented Jan 31, 2026

Description

Updated package.json for module type and contributors, upgraded dependencies, and adjusted TypeScript configuration for Node16 module resolution. Enhanced the Prisma Docs Search component with improved types and state management.

Screencast

image

Checklist

  • I read the extension guidelines
  • I read the documentation about publishing
  • I ran npm run build and tested this distribution build in Raycast here
  • I checked that files in the assets folder are used by the extension itself
  • I checked that assets used in the README are located outside the metadata folder if they were not generated with our metadata tool

…ependencies

refactor: enhance prisma-docs-search component with improved types and state management

fix: adjust tsconfig for Node16 module resolution and update lib target

chore: add .prettierrc for consistent code formatting
@raycastbot raycastbot added extension fix / improvement Label for PRs with extension's fix improvements extension: prisma-docs-search Issues related to the prisma-docs-search extension platform: macOS platform: Windows labels Jan 31, 2026
@raycastbot
Copy link
Collaborator

raycastbot commented Jan 31, 2026

Thank you for your contribution! 🎉

🔔 @petradonka 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.

📋 Quick checkout commands
BRANCH="prisma-ai-docs-add-windows-support"
FORK_URL="https://github.com/yusifaliyevpro/raycast-extensions.git"
EXTENSION_NAME="prisma-docs-search"
REPO_NAME="raycast-extensions"

git clone -n --depth=1 --filter=tree:0 -b $BRANCH $FORK_URL
cd $REPO_NAME
git sparse-checkout set --no-cone "extensions/$EXTENSION_NAME"
git checkout
cd "extensions/$EXTENSION_NAME"
npm install && npm run dev

We're currently experiencing a high volume of incoming requests. As a result, the initial review may take up to 10-15 business days.

@yusifaliyevpro
Copy link
Contributor Author

@pernielsentikaer Ready for review

@greptile-apps
Copy link
Contributor

greptile-apps bot commented Jan 31, 2026

Greptile Overview

Greptile Summary

This PR adds Windows platform support to the Prisma Docs Search extension. The main changes include:

  • Added "Windows" to the platforms array in package.json
  • Updated all keyboard shortcuts to support both macOS and Windows platforms with appropriate modifiers (cmd for macOS, ctrl for Windows)
  • Migrated from CommonJS to ESM by setting "type": "module" in package.json and updating tsconfig.json to use Node16 module resolution
  • Removed manual Preferences interface definition in favor of auto-generated types from raycast-env.d.ts
  • Updated dependencies to latest versions (@raycast/utils from ^1.17.0 to ^2.2.2)
  • Added contributor to package.json
  • Improved code formatting and TypeScript type annotations

Issues Found:

  • The .prettierrc configuration uses printWidth: 110 instead of the required 120 per Raycast standards

Confidence Score: 4/5

  • This PR is mostly safe to merge with one minor config fix needed
  • The implementation correctly adds Windows support with proper keyboard shortcuts and platform declarations. The migration to ESM is well-executed, and the removal of manual type definitions follows best practices. However, the Prettier config violates Raycast standards with incorrect printWidth value.
  • extensions/prisma-docs-search/.prettierrc requires correction of printWidth value

Important Files Changed

Filename Overview
extensions/prisma-docs-search/.prettierrc Added Prettier config with non-standard printWidth value
extensions/prisma-docs-search/package.json Added Windows platform support, updated dependencies, and set module type to ESM
extensions/prisma-docs-search/src/prisma-docs-search.tsx Removed manual type definitions, added Windows keyboard shortcuts, improved formatting

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

3 files reviewed, 1 comment

Edit Code Review Agent Settings | Greptile

@0xdhrv 0xdhrv self-assigned this Feb 2, 2026
Copy link
Contributor

@0xdhrv 0xdhrv left a comment

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 70bea99 into raycast:main Feb 2, 2026
2 checks passed
@github-actions
Copy link
Contributor

github-actions bot commented Feb 2, 2026

Published to the Raycast Store:
https://raycast.com/petra/prisma-docs-search

@raycastbot
Copy link
Collaborator

🎉 🎉 🎉

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

extension fix / improvement Label for PRs with extension's fix improvements extension: prisma-docs-search Issues related to the prisma-docs-search extension platform: macOS platform: Windows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants