Metafield theme-check
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- typescript
調査の方向性
まず、リンクされている theme-tools の issue #502 と、既存の theme-check および CLI のパスを確認します。テーマに対して要求されているメタフィールドの検証を、theme app extensions 用のアプリ固有の定義と比較し、CLI と Theme Access に関して指摘されている違いも確認します。theme-check と CLI が定義の欠落について警告し、Dawn と Horizon に必要な lint 無視設定がある状態を完了とします。
索引モデルが issue の本文から書いたものです。
説明
Is your feature request related to a problem? Please describe.
Follows up https://github.com/Shopify/theme-tools/issues/502
We need to verify if metafields being used in the code are valid. If the metafield does not exist, you should see a warning when running shopify theme check
Describe the solution you'd like
For themes:
- running
shopify theme checkshould verify if the metafield exists on your shop - If you don't have the metafield, you should get a warning message
For theme app extensions:
- TAEs might have their own metafield definitions that are specific to it (see https://shopify.dev/docs/apps/build/custom-data/metafields/use-app-data-metafields)
- running
shopify theme checkshould verify if the metafield exists on your shop OR if the metafield is defined for the app itself - If you don't have the metafield, you should get a warning message
Tasks
- Update theme-check in theme-tools to error out when metafield definitions dont exist
- Add lint ignore rules in Dawn + Horizon where we use metafields that don't exist in any shops by default
- Update CLI so there is a warning when running
theme checkand metafield isnt defined
NOTE: There are a few differences when you pull metafield definitions from CLI or from Theme Access App via CLI
- 主要言語
- TypeScript
- スター
- 245
- フォーク
- 108
- 平均マージ
- 2日 8時間
- マージ済み PR(30日)
- 24
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Shopify/theme-tools のほかの issue
-
ThemeCheck incorrectly reports error when `with` is used in snippet対応中かも @efegokdemir が 4 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
Shopify/theme-tools#1408 ·
メンテナーはふだん 2 日以内に返信
-
CdnPreconnect misses `href="https://cdn.shopify.com"` without a trailing path対応中かも @RaphaelFakhri が 33 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Shopify/theme-tools#1365 ·
メンテナーはふだん 2 日以内に返信
-
theme-graph CLI never calls getWebComponentMap, so custom-element references are never resolved対応中かも @reginaldalfret が 51 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
Shopify/theme-tools#1291 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
JSONMissingBlock false positive for app block when section supports both @app and @theme再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Shopify/theme-tools#1144 · コメント 2 件 · リアクション 8 件 ·
メンテナーはふだん 2 日以内に返信
-
theme-language-server: creating or deleting a folder leaves stale readDirectory/stat cache対応中かも @efegokdemir が 14 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
Shopify/theme-tools#1386 ·
メンテナーはふだん 2 日以内に返信
Shopify/theme-tools の issue をすべて見る
似ている issue
-
Diagram: Gantt qa-manually-tested Type: Bug / Error
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
mermaid-js/mermaid-v13#1255 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
Name Option For /gifオープンenhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
BaseAdresseNationale/adresse.data.gouv.fr#2620 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信