From 7c82023aa3a3f45878c3435998dec728f7a12e40 Mon Sep 17 00:00:00 2001 From: alex Date: Mon, 14 Apr 2025 11:28:49 -0400 Subject: [PATCH 1/3] add shopify --- docs/tools/shopify-cli.md | 59 +++++++++++++++++++++++++++++++++++++++ docs/tools/tools.md | 2 ++ 2 files changed, 61 insertions(+) create mode 100644 docs/tools/shopify-cli.md diff --git a/docs/tools/shopify-cli.md b/docs/tools/shopify-cli.md new file mode 100644 index 00000000..8ae542cf --- /dev/null +++ b/docs/tools/shopify-cli.md @@ -0,0 +1,59 @@ +--- +title: Shopify CLI +sidebar_label: Shopify CLI +description: CodeRabbit's guide to Shopify CLI. +--- + +```mdx-code-block +import ProPlanNotice from '@site/src/components/ProPlanNotice.mdx'; + + +``` + +[Shopify CLI](https://github.com/Shopify/cli) is a command-line tool that helps you build Shopify apps, themes, and custom storefronts. It provides functionality for initializing, building, developing, and deploying Shopify projects. + +## Configuration + +Shopify CLI supports configuration through various files depending on the project type: + +## Validation Rules + +The tool checks for: + +### Theme Validation + +- Liquid syntax errors +- Theme requirements compliance +- Asset organization +- Performance best practices +- Accessibility standards + +### App Validation + +- App extension configuration +- Function implementation +- API version compatibility +- Security best practices + +## Common Issues + +The tool helps identify and fix: + +1. Theme Issues: + - Invalid Liquid syntax + - Missing required templates + - Performance bottlenecks + - Accessibility violations + +2. App Issues: + - Invalid API usage + - Missing dependencies + - Configuration errors + - Security vulnerabilities + +## Links + +- [Shopify CLI GitHub Repository](https://github.com/Shopify/cli) +- [Shopify CLI Theme Documentation](https://shopify.dev/docs/api/shopify-cli/theme) +- [Shopify CLI App Documentation](https://shopify.dev/docs/apps/tools/cli) +- [Theme Development Requirements](https://shopify.dev/docs/themes/store/requirements) diff --git a/docs/tools/tools.md b/docs/tools/tools.md index 71651f3a..c21a1225 100644 --- a/docs/tools/tools.md +++ b/docs/tools/tools.md @@ -70,6 +70,7 @@ Remove extraneous f prefix | Ruby | [RuboCop][RuboCop] | Code Quality | | Semgrep | [Semgrep][Semgrep] | Code Security | | Shell (sh, bash, ksh, dash) | [ShellCheck][ShellCheck] | Code Quality | +| Shopify | [Shopify CLI][ShopifyCLI] | Code Quality | | SQL | [SQLFluff][SQLFluff] | Code Quality | | Swift | [SwiftLint][SwiftLint] | Code Quality | | Terraform | [Checkov][Checkov] | Code Security | @@ -103,3 +104,4 @@ Remove extraneous f prefix [Pipeline]: ./pipeline-remediation.md [PrismaLint]: ./prisma-lint.md [OXC]: ./oxc.md +[ShopifyCLI]: ./shopify-cli.md From ecd594f75b5d28cba250b7200ceee2cb0906c7a0 Mon Sep 17 00:00:00 2001 From: alex Date: Mon, 14 Apr 2025 11:35:37 -0400 Subject: [PATCH 2/3] add changelog and fixes --- docs/changelog.md | 27 ++++++++++++++++++++++++++- docs/tools/shopify-cli.md | 1 + 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/docs/changelog.md b/docs/changelog.md index 1218e4f9..474cc733 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -5,6 +5,31 @@ description: The latest updates and changes to CodeRabbit. sidebar_position: 13 --- +## April 14, 2025 + +### Shopify CLI Integration & Bitbucket Cloud Reporting + +We're excited to announce two significant updates: + +#### Shopify CLI Integration + +We've added support for [Shopify CLI](https://docs.coderabbit.ai/tools/shopify-cli), a powerful tool for validating and analyzing Shopify themes and apps. This integration helps ensure your Shopify projects follow best practices by: + +- Validating Liquid syntax and theme requirements +- Checking app extension configurations +- Identifying performance bottlenecks +- Ensuring accessibility standards +- Detecting security vulnerabilities + +#### Bitbucket Cloud Scheduled Reporting + +Our reporting capabilities now extend to Bitbucket Cloud! You can now: + +- Schedule automated reports for your Bitbucket Cloud repositories +- Generate customized summaries of team performance +- Track PR review metrics +- Deliver reports via Email, Slack, Microsoft Teams, or Discord + ## April 8, 2025 ### New Static Analysis Tools @@ -29,7 +54,7 @@ In the review status message. It is automatically enabled for all users. ### Automatically Run a Web Query to Include Latest Information -CodeRabbit now performs Web Queries automatically to include the most recent publicly available information — even if it wasn’t included in the latest LLM update. This feature is enabled by default for all users, and you may notice it being used in review comments and chat responses. +CodeRabbit now performs Web Queries automatically to include the most recent publicly available information — even if it wasn't included in the latest LLM update. This feature is enabled by default for all users, and you may notice it being used in review comments and chat responses. Web Queries allow CodeRabbit to fetch the latest documentation and external content to improve the accuracy and relevance of its output. You can disable this feature by setting web_search: false in your knowledge_base settings. diff --git a/docs/tools/shopify-cli.md b/docs/tools/shopify-cli.md index 8ae542cf..4deeaab2 100644 --- a/docs/tools/shopify-cli.md +++ b/docs/tools/shopify-cli.md @@ -40,6 +40,7 @@ The tool checks for: The tool helps identify and fix: 1. Theme Issues: + - Invalid Liquid syntax - Missing required templates - Performance bottlenecks From 3cccc23abb4ac1ddb8a1dc9c6a3ed6d30b88e820 Mon Sep 17 00:00:00 2001 From: alex Date: Mon, 14 Apr 2025 12:00:25 -0400 Subject: [PATCH 3/3] remove empty section --- docs/tools/shopify-cli.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/docs/tools/shopify-cli.md b/docs/tools/shopify-cli.md index 4deeaab2..934a6345 100644 --- a/docs/tools/shopify-cli.md +++ b/docs/tools/shopify-cli.md @@ -12,10 +12,6 @@ import ProPlanNotice from '@site/src/components/ProPlanNotice.mdx'; [Shopify CLI](https://github.com/Shopify/cli) is a command-line tool that helps you build Shopify apps, themes, and custom storefronts. It provides functionality for initializing, building, developing, and deploying Shopify projects. -## Configuration - -Shopify CLI supports configuration through various files depending on the project type: - ## Validation Rules The tool checks for: