Skip to content

Commit 7c82023

Browse files
add shopify
1 parent ba34496 commit 7c82023

File tree

2 files changed

+61
-0
lines changed

2 files changed

+61
-0
lines changed

docs/tools/shopify-cli.md

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
---
2+
title: Shopify CLI
3+
sidebar_label: Shopify CLI
4+
description: CodeRabbit's guide to Shopify CLI.
5+
---
6+
7+
```mdx-code-block
8+
import ProPlanNotice from '@site/src/components/ProPlanNotice.mdx';
9+
10+
<ProPlanNotice />
11+
```
12+
13+
[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.
14+
15+
## Configuration
16+
17+
Shopify CLI supports configuration through various files depending on the project type:
18+
19+
## Validation Rules
20+
21+
The tool checks for:
22+
23+
### Theme Validation
24+
25+
- Liquid syntax errors
26+
- Theme requirements compliance
27+
- Asset organization
28+
- Performance best practices
29+
- Accessibility standards
30+
31+
### App Validation
32+
33+
- App extension configuration
34+
- Function implementation
35+
- API version compatibility
36+
- Security best practices
37+
38+
## Common Issues
39+
40+
The tool helps identify and fix:
41+
42+
1. Theme Issues:
43+
- Invalid Liquid syntax
44+
- Missing required templates
45+
- Performance bottlenecks
46+
- Accessibility violations
47+
48+
2. App Issues:
49+
- Invalid API usage
50+
- Missing dependencies
51+
- Configuration errors
52+
- Security vulnerabilities
53+
54+
## Links
55+
56+
- [Shopify CLI GitHub Repository](https://github.com/Shopify/cli)
57+
- [Shopify CLI Theme Documentation](https://shopify.dev/docs/api/shopify-cli/theme)
58+
- [Shopify CLI App Documentation](https://shopify.dev/docs/apps/tools/cli)
59+
- [Theme Development Requirements](https://shopify.dev/docs/themes/store/requirements)

docs/tools/tools.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ Remove extraneous f prefix
7070
| Ruby | [RuboCop][RuboCop] | Code Quality |
7171
| Semgrep | [Semgrep][Semgrep] | Code Security |
7272
| Shell (sh, bash, ksh, dash) | [ShellCheck][ShellCheck] | Code Quality |
73+
| Shopify | [Shopify CLI][ShopifyCLI] | Code Quality |
7374
| SQL | [SQLFluff][SQLFluff] | Code Quality |
7475
| Swift | [SwiftLint][SwiftLint] | Code Quality |
7576
| Terraform | [Checkov][Checkov] | Code Security |
@@ -103,3 +104,4 @@ Remove extraneous f prefix
103104
[Pipeline]: ./pipeline-remediation.md
104105
[PrismaLint]: ./prisma-lint.md
105106
[OXC]: ./oxc.md
107+
[ShopifyCLI]: ./shopify-cli.md

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy