Skip to content
This repository was archived by the owner on Aug 16, 2025. It is now read-only.

Feat/changelog shopify bitbucket #278

Merged
merged 3 commits into from
Apr 14, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
add shopify
  • Loading branch information
alexcoderabbitai committed Apr 14, 2025
commit 7c82023aa3a3f45878c3435998dec728f7a12e40
59 changes: 59 additions & 0 deletions docs/tools/shopify-cli.md
Original file line number Diff line number Diff line change
@@ -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';

<ProPlanNotice />
```

[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)
2 changes: 2 additions & 0 deletions docs/tools/tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down Expand Up @@ -103,3 +104,4 @@ Remove extraneous f prefix
[Pipeline]: ./pipeline-remediation.md
[PrismaLint]: ./prisma-lint.md
[OXC]: ./oxc.md
[ShopifyCLI]: ./shopify-cli.md